CN102006301B - Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals - Google Patents

Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals Download PDF

Info

Publication number
CN102006301B
CN102006301B CN 201010568213 CN201010568213A CN102006301B CN 102006301 B CN102006301 B CN 102006301B CN 201010568213 CN201010568213 CN 201010568213 CN 201010568213 A CN201010568213 A CN 201010568213A CN 102006301 B CN102006301 B CN 102006301B
Authority
CN
China
Prior art keywords
terminal
coupling
sctp
control
opposite end
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.)
Expired - Fee Related
Application number
CN 201010568213
Other languages
Chinese (zh)
Other versions
CN102006301A (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.)
Nanjing Post and Telecommunication University
Nanjing University of Posts and Telecommunications
Original Assignee
Nanjing Post and Telecommunication University
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 Nanjing Post and Telecommunication University filed Critical Nanjing Post and Telecommunication University
Priority to CN 201010568213 priority Critical patent/CN102006301B/en
Publication of CN102006301A publication Critical patent/CN102006301A/en
Application granted granted Critical
Publication of CN102006301B publication Critical patent/CN102006301B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for controlling the movement of stream control transmission protocol (SCTP) association among multiple terminals. In the method, control association is established between a first terminal and the second terminal of a transfer target, and a fixed port matching relationship exists between the control association and the original communication association; and the continuity of alternative transmission between the second terminal and an opposite terminal is maintained by dynamic address reconfiguration (DAR). An SCTP association transfer control method disclosed by the invention is compatible with the conventional SCTP implementation system which meets the regulation, can ensure that real-time multimedia application which is operated on line moves from one physical terminal to the other physical terminal in a seamless mode, and overcomes the defect of transmission discontinuity caused by the movement of a network layer and an application layer. In addition, an SCTP association transfer control process disclosed by the invention does not limit the number of the terminals and does not have special requirements on the functions of the terminals, so that the SCTP association transfer control process is suitable for mutual transfer in a multi-terminal group and the transfer among different places which spans the local range.

Description

The control method for movement of stream control transmission protocol coupling between a kind of multiple terminals
Technical field
The present invention is directed to based on stream control transmission protocol (SCTP, Stream Control Transmission Protocol) technology proposes coupling migration control method, finish the seamless migration of real-time multimedia communication between the multiple terminals, support to use and the level and smooth movement of session between the physics individual terminals, technical field is the electronics and communication engineering.
Background technology
The mobility of the Internet, or mobile Internet are the bases of all kinds of novel information communications applications.Mobile model is used the maximum differential of using with fixed, is mainly manifested in that fast mobile terminal, user move, Network Mobility and application move.
(1) fast mobile terminal, a terminal that refers to user's use is moved between diverse access point, main by the handover of existing physical layer and the Mobile Internet Protocol (MIP of network layer, Mobile Internet Protocol), with the uninterrupted access of the terminal after the migration of realization physical location to the mobile base station, and the communication continuation after the neutralization of end network address change process.
(2) user moves, refer to that a user moves between a plurality of terminals, can be by the session initiation protocol (SIP of the Internet, Session Initiation Protocol), to support the transfer of session between different terminals, realize that calling transfer, Call Forwarding and the multimachine of similar telephone service are with shaking function.
(3) Network Mobility, refer to the collective synchronization migration of a plurality of terminals between diverse access point in the same sub-network, main network mobility (NEMO by the Internet, Network Mobility) and the MIP technology, realize couple in router or the uninterrupted switching of gateway between the different hosts net.
(4) application is mobile, refer to information source or the information sink used, under a user or a plurality of users' requirement, between a plurality of terminals, move, can realize uninterrupted the switching based on open service framework (OSA, Open Service Architecture) technology by SIP and other in theory.
More than 4 classes move, in current Implementation Technology, relate to physical layer handover, network layer MIP and NEMO, application layer sip technique.In recent years, people have proposed again host identity protocol (HIP, Host Identity Protocol), can be used for solving the hydraulic performance decline problem of fast mobile terminal.HIP is the bed course between network layer and the transport layer, mainly is applicable to the mobility of unit/terminal.In a word, up to now, Internet technology lacks one for the mobility control protocol of transport layer, moves between different terminals in order to support applications.
Be positioned at the SCTP of ICP/IP protocol bunch transport layer, between 2 communication end points, set up coupling (Association), the carrying service of Media Stream and control stream is provided for the application of Internet-based technology.Originally, the application target of SCTP is by the Internet bearer conventional telecommunications net signaling, and for the multiplexed characteristics of signaling, multithread (multiple streaming) control method has been proposed, for high reliability request, standard many hosts (multiple homing) and failover (failover) control flow.Through amendment and supplement for many years, the range of application of SCTP is expanded gradually, has possessed at present that multimedia transmits in real time, the function such as heterogeneous network seamless switching and the concurrent service of multiserver.In the existing SCTP standard, the Main Function of coupling is to keep 2 transmission controls between the communication end point.Up to now, do not have open and clear and definite report, SCTP is applied to conversation shift and application migration between the multiple terminals.
The identification parameter of SCTP coupling comprises network layer address and the transport layer port number of 2 communication end points.IETF (internet engineering task group) RFC4960 (No. 4960 consult on file) regulation: the two ends of a SCTP coupling, can have many host's configurations, a plurality of network layer address can be arranged, but any end can only there be a transport layer port value.In the end points, different SCTP couplings must distribute different port values; A pair of end points can only be set up a coupling simultaneously.Dynamic address reconstruct (the DAR of SCTP, Dynamic AddressReconfiguration) function (seeing IETF RFC5061), allow end points in application and the unbroken situation of session, the dynamic-configuration network layer address, and by ASCONF (reshuffle the address, and AddressCONFiguration) the control message piece is announced to the opposite end.The autonomous managerial ability of DAR in transport layer provides a kind of end points can combine with the Mobility Technology of physical layer, network layer, application layer, is that the migration of terminal between a plurality of interfaces provides support.
Along with the development of intelligent mobile phone terminal, internet television, panel computer and mobile Internet with popularize, the communication terminal quantity that the user can use simultaneously or be used alternatingly generally surpasses 1, and termination function and performance present variation and collaborative demand for development.The multiple terminals is assembled and is reshuffled one of key issue that becomes the terminal communication technology.The present invention is take SCTP as the basis, and towards real-time Multimedia session and application, propose to communicate by letter coupling and method and coupling migration control flow that the control coupling is associated are used for session and Application mobility between the support multiple terminals.
The invention provides a kind of IP network at the control method for movement of transport layer, can move with application layer, network layer moves, physical channel layer mobile technology constructed a complete mobile Internet applied environment.
The mobile support method of application layer mainly contains sip technique.The SIP network comprises user agent and the webserver.The webserver is mainly the user agent services such as route, authentication, authentication, registration is provided.Sip terminal has unique SIP URI (unified resource sign, Universal Resource Identifier).When terminal has been assigned with new IP address, set up new IP address and the binding of SIP URL by register flow path, therefore no matter how terminal moves, and the positional information corresponding with it all can obtain more up-to-date, and the session of having set up can be kept.SIP does not rely on any lower layer protocol technology to ambulant support, has very large applicable surface.But its switching in SIP can cause larger switching delay, and is lower to the relevance grade of real time communication.
The network layer mobile support method mainly contains MIP and HIP.MIP has been Terminal Design home network distributes a permanent home address to portable terminal.In addition, MIP has introduced home agent and Foreign Agent.When the MIP portable terminal left home network and enters field network, it obtained a provisional Care-of Address from Foreign Agent, and sent login request message to announce its new address to home agent.The grouping that all mail to portable terminal from Correspondent Node when arriving home network, is intercepted and captured and is utilized the tunnel to be transmitted to the Foreign Agent of managing mobile terminal by home agent, then by Foreign Agent this message is transmitted to portable terminal again.There is the triangle routing issue in MIP, and operating efficiency is not high simultaneously, handoff delay is larger, is unfavorable for the mobile management of using in real time.
HIP passes through to increase new protocol layer in order to separate the identify label function of IP address between network layer and transport layer, and provides ambulant support.HIP has introduced a new host identification name field, and connection and the host identification of transport layer are bound, and no longer bind with the IP address.HIP can provide safe, seamless communication mechanism, but need to again transform existing internet architecture, so that it is difficult to by large scale deployment.
Physical layer moves and is mainly used in handover, is a key technology of mobile communication system.When the user moved to the another one residential quarter from the zone that a cell base station covers, new link must be set up between the residential quarter of user and Xin, and the link between user and the original residential quarter must be deleted and discharge, so that user's conversation can continue.At present, global system for mobile communications (GSM, Global System for MobileCommunications) system and code division multiple access (CDMA, Code Division Multiple Access) switching controls of system all is to adopt the mode of Mobile Assisted Handover, it requires the signal strength signal intensity of port around the moving table measuring and reports to old port, then judges whether to switch and switch to which port by network.It is obstructed that the main distinction of GSM and CDMA is to switch to the mode of new port, and the gsm system travelling carriage adopts the mode of direct-cut operation, and travelling carriage must disconnect first and being connected of old port, and sets up and new being connected of port again; What cdma system adopted is soft handover, when can keeping being connected with old port, the user connects with new port, and then being connected of disconnection and old port.
The SCTP standard that IETF formulates comprises: protocol Data Unit structure, function and coding; The foundation of single coupling, management and dismounting control; Flow control and error control that message transmits; Dynamic address reconstruct, first address are specified; Fault management and path management.At present, a plurality of operating systems have been assembled the protocol stack of following the SCTP standard.
R.Stewart (Stewart), P.Lei (thunder) and M.Tuexen (Tucson) have proposed SCTP stream and have reshuffled (Stream Reconfiguration) draft (drafi-ietf-tsvwg-sctp-strrst), (ULP, Up Layer Protocol) and application provide stream to reuse function take enterprise as upper-layer protocol.Stream is reshuffled draft and has been designed SCTP stream replacement agreement, and it allows arbitrary end of coupling to send indication to the opposite end, requires the opposite end that the Flow Control state parameter is reset to designated value.The Flow Control state parameter that agreement can be reset comprises transmission sequence number (TSN, Transmission Sequence Number) and the stream sequence number (SSN, StreamSequence Number) of Transmitting and Receiving End on the input and output both direction.
With the publication of the present invention in same field, mainly contain following 6, be described below.
(1) publication " a kind of method (CN1512714) of recovering protocol message transmission in the SCTP coupling ".
This patent disclosure a kind of method of recovering the transmission of protocol message in the SCTP coupling, the method may further comprise the steps: the break down upper-layer protocol of end equipment of A. is switched the spare part of self and is primary part, and disconnects the upper-layer service environment of self; B. break down end equipment according to the coupling information on the current primary part, send the coupling request to the opposite end SCTP endpoint, and the coupling between two SCTP endpoint corresponding with opposite equip. reconstruction terminal device; C. the SCTP endpoint of opposite equip. sends the request that restarts to this opposite end upper-layer protocol, by restarting the upper-layer service environment of recover to break down end equipment and opposite equip..The method is at one end in the situation of device fails, recover rapidly to connect, rebuild coupling and upper strata transport service environment, avoid an end fault after, its opposite end is not known and is thought that still the coupling between the two ends is normal, and causes losing of a large amount of protocol messages.
(2) publication " based on the multi address selection method (CN1534951) of SCTP "
This patent realized for existing multi-address SCTP endpoint to carry out data when again transmitting, respectively all opposite end and local addresss of choice for use successively; Like this, if the prefered path fault of using can also be found out other available paths, and can guarantee that in the addressing process existing each address of SCTP endpoint all can be chosen to; Simultaneously, the situation that the present invention was once lost efficacy and recovered again later for primary local address or address, opposite end, SCTP connects and still can use primary address to carry out transfer of data, to satisfy user's transmission demand.
(3) publication " to the method (CN1533100) of protecting based on the coupling of SCTP "
This patent relates to the method for protecting between the processed machine in the SCTP place of being coupled in the IP network.May further comprise the steps: the active and standby machine of local terminal is set up the SCTP coupling with the opposite end end points, and the main frame coupling enters coupling and sets up state, and standby host enters coupling backup set-up state; The Stream Control Transmission Protocol flow process of the coupling complete of setting up on the main frame, standby host enter sets up Status of Backups; When coupling on the main frame is ended or is closed, switch between master and slave machines and changing role normal operation.
(4) publication number " implementation method of function of multiple attributions in stream control and transmission protocol (CN101094240) "
This patent provides a kind of SCTP to belong to function realizing method more, comprises following processing: safeguard parameter preset in SCTP is the data structure of each bar communication path of SCTP coupling; Determine the quantity of the communication path of SCTP coupling, and determine the source address of each bar communication path and the address corresponding relation of destination address, and determine primary path; When needs carried out the switching of primary path, poll SCTP coupling other communication paths except primary path selected suitable communication path as new primary path.
(5) publication " method of transference between network host (US 20060164974A1) "
This patent provides a kind of method of the fault tolerant based on SCTP, and application scenarios comprises primary main frame, backup host and opposite end main frame.Primary main frame is connected SCTP and is connected with the opposite end main frame; Backup host backs up the state of primary main frame and the information of SCTP coupling thereof by redundancy scheme, and whether detect primary main frame by heartbeat mechanism available.When primary main frame was unavailable, backup host sent the SCTP bag to the opposite end main frame and upgrades its coupling information, and the response message by the opposite end main frame is set up the SCTP coupling of itself and opposite end main frame with off-gauge mode.In the process of this transference, the message that the opposite end main frame sends will be lost, and this is not so that the method is suitable for real time business, and it mainly should be in the transfer of BGP route.
(6) publication " method and system (US20100218034A1) that provides high availability SCTP to use "
Propose a high availability server system and comprise a primary server and a backup server.Primary server and backup server communicate by the control channel of setting up.After primary server and client side had set up the SCTP coupling, it sent the IP address of primary server and backup server to client, by control channel state and the upper layer application of SCTP storehouse is shone upon to backup server simultaneously.When primary server is detected when unavailable, continue to provide service to client by backup server.The method is mainly for the mobility of server end network.
Summary of the invention
Technical problem: the objective of the invention is, utilize the physically separated a plurality of communication terminals of control function dynamic management of SCTP, cooperation is finished SCTP and is coupled at uninterrupted migration between these terminals, support session level and on Real-time multimedia in the seamless level and smooth movement of terminal room, overcome the real-time multimedia that network layer mobility and application layer mobility cause and transmit discontinuous problem.
Technical scheme: the present invention announces the control method for movement of stream control transmission protocol coupling between a kind of multiple terminals, first terminal is set up the control coupling with the second terminal of migration target, there is fixing port match relation in the control coupling with original coupling of communicating by letter, reshuffle the continuity that keeps the mutual transmission of the second terminal and opposite end by DAR, concrete methods of realizing is:
1) first terminal uses the port value different from the opposite end when setting up the communication coupling;
2) first terminal is when setting up the control coupling, and the both sides port is complementary with the coupling of communicating by letter, and namely the serve port value of the second terminal uses communication to be coupled at the port value of first terminal side, and first terminal uses communication to be coupled at distolateral port value;
3) first terminal initiate to be revised the coupling address table of opposite end and the second terminal, and guarantees matching relationship, and namely the destination address kept of opposite end comprises the reachable address of the second terminal, and the destination address that the second terminal is kept comprises the reachable address of opposite end;
4) state synchronized of the second terminal and first terminal is finished in first terminal control;
5) finish above-mentioned control after, control coupling be transformed to the communication coupling; The second terminal substitutes original first terminal, again comprises original first terminal initiation coupling migration control to other-end;
6) in the SCTP coupling transition process, the SCTP coupling that keep the opposite end is not interrupted, and the message of opposite end ULP and application and data transmit does not interrupt.
Step 4) control of described state synchronized not only comprises the state of ULP, also comprise the state relevant with SCTP stream, wherein the state parameter relevant with SCTP stream comprises transmission sequence number (TSN), the number of failing to be sold at auction (SID), the stream sequence number (SSN) of 2 directions at least.
The Synchronization Control of described SCTP stream is finished by service primitive by ULP or is adopted SCTP stream to reshuffle agreement and finish in transport layer.
Beneficial effect: the SCTP coupling migration control method that the present invention proposes, the compatible existing SCTP that meets standard realizes system, can make the Real-time multimedia of on-line operation move to another physical terminal with a kind of seamless way from a physical terminal, overcome network layer and move with application layer and move the transmission discontinuity that causes.In addition, the SCTP coupling migration control flow that the present invention proposes, the both quantity of limiting terminal does not propose specific (special) requirements, the strange land migration that therefore is applicable to the mutual migration within the group of multiple terminals and crosses over local scope to the function of terminal yet.
Description of drawings
Fig. 1 is the typical application scenarios of SCTP coupling migration.
Fig. 2 is the control message flow process of SCTP coupling migration.
Fig. 3 is the state transition diagram of SCTP coupling migration.
Fig. 4 is the topological structure schematic diagram of 3 meshed network emulation experiments.Wherein, first terminal A is comprised of core node (core1), 1 interface node (intf1), 2 SCTP entities (sctp1 and sctp11) of 1 route control; The second terminal B is comprised of core node (core2), 1 interface node (intf2), 1 SCTP entity (sctp2) of 1 route control; Opposite end Z is comprised of core node (core0), 1 interface node (cn), 1 SCTP entity of 1 route control.
Fig. 5 is grouping serial number and the simulation time variation relation that the master control end points receives.
Fig. 6 is grouping serial number and the simulation time variation relation that new end points receives after the coupling migration.
Fig. 7 is that the opposite end sends grouping serial number and simulation time variation relation.
Embodiment
The present invention is take transport layer Stream Control Transmission Protocol technology as the basis, take the identity property of SCTP coupling as control object, set up SCTP control coupling between the terminal of needs migration, subsidiary communications is coupled at smoothly moving of terminal room, guarantees real-time and the continuity of Real-time multimedia in transition process.
Stream Control Transmission Protocol runs on the IP, for 2 end points provide connection-oriented end-to-end communication control.For sake of convenience, following different forms method description technique scheme.
Do not lose a characteristic of stock, establish end points A by name, other end point is called Z.The SCTP coupling that A and Z set up is designated as S (A, Z), and the coupling that Z and A set up is S (Z, A).The terminal of another B by name and A assemble, and join S (A, Z) through the dynamic address configuration, reshuffle through primary address,
S(A,Z)→S(B,Z),
S(Z,A)→S(Z,B), (1)
Wherein symbol →, the expression conversion.For simplicity, title A is first terminal, and B is the second terminal, and Z is the opposite end.
From the angle that administers and maintains of coupling, the property parameters of sign SCTP coupling mainly comprises network layer address, transport layer port and transport layer protocol type.Because transport layer protocol type involved in the present invention is SCTP, therefore, has:
S(A,Z)=(R {A,Z},P {A,Z},R {Z,A},P {Z,A})
S(Z,A)=(R {Z,A},P {Z,A},R {A,Z},P {A,Z}), (2)
Wherein, P { A, Z}And P { Z, A}Being scalar, is the port value that first terminal A and opposite end Z distribute to this coupling; R { A, Z}And R { Z, A}Being vector, is A and Z require adding separately according to ULP address table, can only contain an address, also can contain many addresses.Method provided by the invention requires that first terminal A is different with opposite end Z to choose identical port value, that is:
P {A,Z}≠P {Z,A}. (3)
Coupling S (A, Z) and S (Z, A) are called the communication coupling.The gathering of the second terminal B and first terminal A and reshuffle by ULP and start the coupling S (A, B) and the S (B, A) that between A and B set up:
S(A,B)=(R {A,B},P {A,B},R {B,A},P {B,A}),
S(B,A)=(R {B,A},P {B,A},R {A,B},P {A,B}), (4)
Wherein, P { A, B}And P { B, A}Be vector, be respectively first terminal A and the second terminal B require adding according to ULP address table.The present invention requires:
P { A, B}=P { Z, A}, and, P { B, A}=P { A, Z}. (5)
Coupling S (A, B) and S (B, A) are called the control coupling.By DAR control, A sends the address to B and adds message, requires B with R { Z, A}Join in the address table of opposite end, that is:
R {A,B}→R {AZ,B}=R {A,B}∪R {Z,A}. (6)
Wherein, symbol ∪ represents to merge.Simultaneously, by DAR control, A sends the address to Z and adds message, requires Z with R { B, A}Join in the opposite end address table of Z, that is:
R {A,Z}→R {AB,Z}=R {A,Z}∪R {B,A}. (7)
So, finish communication coupling and control the reshuffling of coupling, can be expressed as:
S(Z,A)→S(Z,A∪B),
S(B,A)→S(B,A∪Z). (8)
Further, by DAR control, send the address tear down message to B and Z respectively by A, that is:
R {AZ,B}→R {Z,B}=R {A,B}∪R {Z,A}-R {A,B}
R {AB,Z}→R {B,Z}=R {A,Z}∪R {B,A}-R {A,Z}, (9)
So, have:
S(A∪B,Z)→S(B,Z),
S(A∪Z,B)→S(Z,B). (10)
In other words, under the control of the first terminal A, communication coupling S (A, Z) and S (Z, A) be transitted towards incessantly S (B, Z) and B (Z, B), the message of originally carrying out between A and Z transmits, and can turn by B and Z with a kind of continuation mode and finish alternately.
Below provide the concrete control message flow process of coupling migration.
(1) first terminal is set up the coupling of communicating by letter with the opposite end
According to the requirement of ULP, initiated by first terminal, set up the SCTP coupling with the opposite end.Before coupling was set up, the local port value that requires first terminal to choose was different from the port value that the opposite end is in service state.The process of setting up of communication coupling is followed the SCTP standard, shakes hands by 4 times and finishes.
(2) real-time session is carried out in first terminal and opposite end
Any end of communication coupling carries out the transmission of real-time multimedia message, and carries out flow control and error control by code requirement after delaying time by HEARTBEAT (heartbeat) detective path.
(3) first terminal and the second terminal are set up the control coupling
According to the requirement of ULP, initiated by first terminal, set up the control coupling with the second terminal.Before coupling was set up, the second terminal was in service state, and the value of its serve port is identical with the port that communication is coupled at the first terminal side; First terminal is with client computer role access the second terminal, and its local port must be chosen communication and is coupled at distolateral serve port value.The process of setting up of control coupling is followed the SCTP standard, shakes hands by 4 times and finishes.
(4) the transmission control flow of first terminal time-out and opposite end
First terminal suspends the real-time session of all and opposite end.If the state synchronized failure, first terminal is removed the control coupling with the second terminal, the real-time session of recovery and opposite end, and get back to (2) listed communications status.
(5) first terminal and the second terminal are carried out state synchronized
In accordance with the SCTP code requirement, after any end of control coupling is delayed time by HEARTBEAT (heartbeat) detective path, by first terminal control, require the second terminal to carry out the synchronous of ULP state and SCTP Flow Control state.
(6) second terminal addresss are reshuffled
First terminal is abideed by the DAR standard of SCTP, transmits ASCONF controll block by the control coupling to the second terminal.ASCONF controll block comprises 2 control requests at least, and one requires to add reached at the network address of opposite end, and its two requirement is made as first address with this address.If DAR controls unsuccessfully, first terminal is removed the control coupling with the second terminal, the real-time session of recovery and opposite end, and get back to (2) listed stage of communication.
(7) reshuffle the address, opposite end
First terminal is abideed by the DAR standard of SCTP, transmits ASCONF controll block to the opposite end by the communication coupling.ASCONF controll block comprises 2 control requests at least, and one requires to add reached at the network address of the second terminal, and it two will be made as first address with this address.If DAR controls unsuccessfully, first terminal is removed the control coupling with the second terminal, the real-time session of recovery and opposite end, and get back to (2) listed stage of communication.
Real-time session is carried out in (8) second terminals and opposite end
Either party of the second terminal and opposite end after the time-delay of HEARTBEAT (heartbeat) detective path, continues the transmission of real-time multimedia message, and carries out flow control and error control by code requirement.
It is pointed out that the Synchronization Control in above-mentioned (5) step of control flow, synchronizing content not only comprises the state of ULP, also comprises the state relevant with SCTP stream.Wherein flow relevant state parameter with SCTP, comprise at least transmission sequence number (TSN), the number of failing to be sold at auction (SID), the stream sequence number (SSN) of 2 directions.The Synchronization Control of SCTP stream, its specific implementation can be finished by service primitive by ULP, also can adopt SCTP stream to reshuffle agreement and finish in transport layer.
SCTP coupling described above migration control flow, except state synchronized, the operation of other step all can be used the Stream Control Transmission Protocol software module of the existing DAR of support, such as the lksctp that increases income etc.
For control procedure and the effect that shows multiple terminals SCTP coupling migration directly perceived, the existing communication system that consists of take 3 SCTP nodes is as example, and take the NS2 network simulator of increasing income as the basis, the checking implementation method.Detailed process is as described below.
(1) simulator brief description
Open source software bag NS2 is the universal network simulator that adopts the object-oriented method design, is widely used in design and the checking of communication network protocol and algorithm.After version 2 .19, NS2 is integrated Stream Control Transmission Protocol copying has been used to the new function of SCTP and the performance studies such as concurrent multi-path transmission (CMT, Concurrent Multiple Transmission) of DAR.
(2) simulator expansion
In existing NS2 (before the version 2 .33) software, a SCTP simulation node is combined into by 1 host node and the interface node more than 1, the interface IP address that adds the SCTP coupling can only be finished by pre-configured, and the foundation of coupling relies on the data transmission requirement of upper layer application.In addition, existing SCTP emulation module does not have the Flow Control state parameter to reshuffle interface.Before the emulation experiment, the SCTP copying of NS2 that needed Revision and supplement mainly comprises following 4 points.
Newly-increased time-out control function for the data block Flow Control;
Revise original acceptance and process function, under halted state, do not respond to the opposite end;
The initialization function of newly-increased interface IP address is to support the DAR function;
The newly-increased function that reads and reshuffle for the Flow Control state parameter.
(3) network topology of 3 SCTP nodes of configuration
Each SCTP node is comprised of 2 NS2 universal nodes, respectively comprises 1 host node and 1 interface node, and 3 interface nodes two or two are interconnected, and its topological structure as shown in Figure 4.Wherein, first terminal A disposes 2 Stream Control Transmission Protocol emulation modules, sets up the SCTP coupling with opposite end Z and the second terminal B respectively.
For the available bandwidth of observing coupling migration front and back changes, the link of first terminal A and opposite end Z, its bandwidth is set to 10Mbps, and time-delay is set to 2ms; The link of the second terminal B and opposite end Z, its bandwidth is set to 2Mbps, and time-delay is set to 20ms; The link of first terminal A and the second terminal B, its bandwidth and time-delay can not moved critical impact to coupling, and its value is set to respectively 2Mbps and 20ms.Article 3, the link setting is bi-directional symmetrical, and the output buffer setting of corresponding physical port is 50 groupings.
(4) DAR configuration
First terminal A is connected with the FTP that opposite end Z sets up based on SCTP in advance, makes up the communication coupling, and uninterruptedly sends packet by Z.Before DAR starts, be connected with the FTP that the second terminal B sets up based on SCTP by first terminal A, and send a grouping by A, drive the SCTP emulation module and set up the control coupling.
DAR is when starting, and first terminal A suspends the Flow Control of communication coupling, by the simulation configurations order, in the address of the second terminal B one side adding opposite end Z that controls coupling, adds the address of B in Z one side of communication coupling.Simultaneously, obtain the Flow Control state parameter value of A, be used for the Flow Control state parameter of reprovision B, the SCTP first address of reset subsequently B and Z points to respectively Z and B.
(5) record all simulated events
In the emulation experiment configurator, open the event tracking function, be recorded in the external file, be used for the interpretation of result after emulation experiment finishes.
(6) SCTP simulated events subsequent processes
From event track record file, filter respectively all that obtain sending from opposite end Z, that first terminal A receives, that the second terminal B receives SCTP groupings, extract SSN and corresponding simulation time.
(7) other simulation parameters arrange
The PMTU of SCTP coupling (MTU, maximum transmission unit) all is set to 1500 bytes, the default value of flow control and error control parameters selection NS2.Set up when communication is coupled at 0.5s, set up when control is coupled at 3.0s, carry out when DAR operates in 5.0s, emulation experiment finishes when 10.0s.
(8) the simulation experiment result
Accompanying drawing 5 to accompanying drawing 7 has provided the SSN of SCTP grouping and the variation relation of simulation time.
As can be seen from Figure 5, first terminal A receives the stream of packets from opposite end Z operate time between (at 5.0s time) to DAR after the communication coupling is set up in continuously; After the DAR operation, within the short time, still receive a plurality of groupings from Z.
As can be seen from Figure 6, when 5.0s, the second terminal B receives the grouping from opposite end Z within the short time after the DAR operation is finished, but the SSN value of these groupings exceeds the SSN that waits for reception.Through behind about 100ms, B continues to receive from Z and has the stream of packets of correct SSN.
As can be seen from Figure 7, opposite end Z after the communication coupling is set up (0.5s) to the DAR operation (5.0s), to send out SSN and the time of dividing into groups in linear relation, the link bandwidth of slope and 10Mbps is complementary.In short time after the DAR operation (duration is less than 100ms), it is unstable that Z sends SSN and the time relationship of grouping.Afterwards, rollback appears in the grouping SSN that Z sends, and after about 500ms, SSN and the time of the grouping of sending out present stable linear relation again, and slope diminishes, but is complementary with the link bandwidth of 2Mbps.5.0s before with 5.5s after, the change curve of SSN and time, the change of slope fits like a glove with topological arrangement.
More than move by the SCTP coupling of simulating, verifying, the continuity of ULP data message can better be guaranteed, because of the grouping SSN out-of-sequence unstable duration that causes less than 100ms, the duration that the throughput performance that causes because of migration descends, the available bandwidth of link can obtain stable taking less than 500ms.
The SCTP coupling moving method that the present invention proposes can satisfy the performance requirement of Real-time multimedia.

Claims (3)

1. the control method for movement of stream control transmission protocol coupling between the multiple terminals, it is characterized in that first terminal and the second terminal foundation control coupling of moving target, there is fixing port match relation in the control coupling with original coupling of communicating by letter, reshuffle the continuity that keeps the mutual transmission of the second terminal and opposite end by dynamic address reconstruct DAR, concrete methods of realizing is:
1) first terminal uses the port value different from the opposite end when setting up the communication coupling;
2) first terminal is when setting up the control coupling, and the both sides port is complementary with the coupling of communicating by letter, and namely the serve port value of the second terminal uses communication to be coupled at the port value of first terminal side, and first terminal uses communication to be coupled at distolateral port value;
3) first terminal initiate to be revised the coupling address table of opposite end and the second terminal, and guarantees matching relationship, and namely the destination address kept of opposite end comprises the reachable address of the second terminal, and the destination address that the second terminal is kept comprises the reachable address of opposite end;
4) state synchronized of the second terminal and first terminal is finished in first terminal control;
5) finish above-mentioned control after, control coupling be transformed to the communication coupling; The second terminal substitutes original first terminal, again comprises original first terminal initiation coupling migration control to other-end;
6) in the SCTP coupling transition process, the SCTP coupling that keep the opposite end is not interrupted, and the message of opposite end upper-layer protocol ULP and application and data transmit does not interrupt.
2. the control method for movement of stream control transmission protocol coupling between a kind of multiple terminals according to claim 1, it is characterized in that the described state synchronized control of step 4) not only comprises the state of ULP, also comprise the state relevant with SCTP stream, wherein the state parameter relevant with SCTP stream comprises transmission sequence number (TSN), the number of failing to be sold at auction (SID), the stream sequence number (SSN) of 2 directions at least.
3. the control method for movement of stream control transmission protocol coupling between a kind of multiple terminals according to claim 2, the Synchronization Control that it is characterized in that described SCTP stream is finished by service primitive by ULP or is adopted SCTP stream to reshuffle agreement and finish in transport layer.
CN 201010568213 2010-12-01 2010-12-01 Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals Expired - Fee Related CN102006301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010568213 CN102006301B (en) 2010-12-01 2010-12-01 Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010568213 CN102006301B (en) 2010-12-01 2010-12-01 Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals

Publications (2)

Publication Number Publication Date
CN102006301A CN102006301A (en) 2011-04-06
CN102006301B true CN102006301B (en) 2013-10-30

Family

ID=43813372

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010568213 Expired - Fee Related CN102006301B (en) 2010-12-01 2010-12-01 Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals

Country Status (1)

Country Link
CN (1) CN102006301B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103793217B (en) * 2012-10-31 2017-03-01 国际商业机器公司 Method and system for software rapid configuration
CN107690165A (en) * 2016-08-05 2018-02-13 北京信威通信技术股份有限公司 A kind of method of network connection, base station, trunk subscriber equipment and system
CN109803333B (en) * 2017-11-17 2022-04-19 中兴通讯股份有限公司 Coupling redirection method and device
CN112055035B (en) * 2019-06-05 2021-10-29 大唐移动通信设备有限公司 NG interface establishing method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262437A (en) * 2008-04-17 2008-09-10 中兴通讯股份有限公司 A method for state migration of stream control transmission protocol
CN101415006A (en) * 2008-11-25 2009-04-22 华为技术有限公司 Method, apparatus and system for signaling migration

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9032240B2 (en) * 2009-02-24 2015-05-12 Hewlett-Packard Development Company, L.P. Method and system for providing high availability SCTP applications

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262437A (en) * 2008-04-17 2008-09-10 中兴通讯股份有限公司 A method for state migration of stream control transmission protocol
CN101415006A (en) * 2008-11-25 2009-04-22 华为技术有限公司 Method, apparatus and system for signaling migration

Also Published As

Publication number Publication date
CN102006301A (en) 2011-04-06

Similar Documents

Publication Publication Date Title
CN110912780B (en) High-availability cluster detection method, system and controlled terminal
US6999434B1 (en) Method, system and circuitry for soft handoff in internet protocol-based code division multiple access networks
US6912197B2 (en) System and method for implementing redundancy for multilink point to point protocol
CN102510408B (en) Method for realizing TCP (transmission control protocol) application main and standby changeover
US7801135B2 (en) Transport protocol connection synchronization
EP1919136B1 (en) Communication Service Continuation System and Method
CN1921369B (en) Adapting method for network connection
EP1829267B1 (en) Redundant l2tp end points
CN101022451A (en) Connection state synchronizing method in data communication and applied communication node thereof
CN101471940B (en) Method, system and device for synchronizing BGP route
WO2012000234A1 (en) Method, apparatus and system for fast switching between links
CN101027644A (en) Transparent TCP connection failover
KR20040005604A (en) Apparatus and method for recovering communication sessions in a wireless network gateway
CN101164307A (en) Method and gateway equipment for resuming service after switching status of main/standby gateway device
GB2485024A (en) Providing failover for a Point to Point tunnel for Wireless Local Area Network (WLAN) split-plane environments
CN102780635B (en) The method of pretection switch, TOR switch and system is realized based on TRILL network
US7675851B2 (en) System and method for synchronizing a back-up device in a communications environment
CN101060533B (en) A method, system and device for improving the reliability of VGMP protocol
CN102447583B (en) The method and device of the two-node cluster hot backup of network address translation apparatus
CN109194383A (en) A kind of mobility method in management LEO satellite communication systems
CN101651706A (en) Method, system and device for sending and receiving data
CN102804727A (en) Method And Apparatus For Handling Broken Path In Peer-to-peer Network
CN102006301B (en) Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals
CN100388721C (en) Method for protecting coupling based on flow control transfer protocol
US7246168B1 (en) Technique for improving the interaction between data link switch backup peer devices and ethernet switches

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
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20110406

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: Nanjing Post & Telecommunication Univ.

Contract record no.: 2016320000218

Denomination of invention: Method for controlling movement of stream control transmission protocol (SCTP) association among multiple terminals

Granted publication date: 20131030

License type: Common License

Record date: 20161118

LICC Enforcement, change and cancellation of record of contracts on the licence for exploitation of a patent or utility model
EC01 Cancellation of recordation of patent licensing contract
EC01 Cancellation of recordation of patent licensing contract

Assignee: Jiangsu Nanyou IOT Technology Park Ltd.

Assignor: Nanjing Post & Telecommunication Univ.

Contract record no.: 2016320000218

Date of cancellation: 20180116

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20131030

Termination date: 20171201