CN104579746B - Dual link transfer control method and device - Google Patents
Dual link transfer control method and device Download PDFInfo
- Publication number
- CN104579746B CN104579746B CN201410742732.8A CN201410742732A CN104579746B CN 104579746 B CN104579746 B CN 104579746B CN 201410742732 A CN201410742732 A CN 201410742732A CN 104579746 B CN104579746 B CN 104579746B
- Authority
- CN
- China
- Prior art keywords
- link
- control
- data
- control terminal
- transmission
- 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
Links
- 238000001514 detection method Methods 0.000 claims abstract description 105
- 230000005540 biological transmission Effects 0.000 claims description 89
- 230000002159 abnormal effect Effects 0.000 claims description 17
- 230000000051 modifying Effects 0.000 claims description 5
- 210000004209 Hair Anatomy 0.000 claims description 4
- 230000001276 controlling effect Effects 0.000 claims description 2
- 238000007689 inspection Methods 0.000 claims 1
- 238000010295 mobile communication Methods 0.000 abstract description 11
- 238000011084 recovery Methods 0.000 abstract description 8
- 238000005516 engineering process Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 2
- 230000000875 corresponding Effects 0.000 description 2
- 230000001808 coupling Effects 0.000 description 2
- 238000010168 coupling process Methods 0.000 description 2
- 238000005859 coupling reaction Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 2
- 235000013399 edible fruits Nutrition 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Abstract
The embodiment of the present invention provides a kind of dual link transfer control method and device, wherein, the dual link transfer control method, including:Control terminal carries out dialing link setup by the first modem, establishes the first link;First link described in the control terminal-pair carries out heartbeat detection, and the result according to the heartbeat detection, judges whether first link exception occurs;If it is determined that exception occurs in first link, then the control terminal carries out dialing link setup by second modem, establishes the second link.Dual link transfer control method provided in an embodiment of the present invention, it is possible to reduce the recovery time of data transfer after Radio Link exception, improve the stability of the data transfer on mobile communication link.
Description
Technical field
The present embodiments relate to mobile communication technology, more particularly to a kind of dual link transfer control method and device.
Background technology
Carry out data transmission needing first to control modem using mobile communication (such as GSM, CDMA etc.) link
(Modem) dialing link setup is carried out, is carried out data transmission after dialing link setup success.
In the prior art, when Radio Link appearance is abnormal in data transmission procedure and can not recover, it is necessary to wait Modem
Resource can just re-start dialing link setup after discharging successfully.Assuming that it is t1 that dialing link setup, which needs the time, link can not recover extremely
It is t2 that Modem, which discharges resource time, afterwards, then in the case where being carried out data transmission using single-link, abnormal, data occurs in link
Transmitting the time recovered again at least needs:t2+t1.
After causing data-transmission interruptions because the generation of mobile communication link is abnormal in the prior art, the wait of data recovery transmission
Time is longer, and the stability of data transfer is poor.
The content of the invention
The embodiment of the present invention provides a kind of dual link transfer control method and device, after reducing mobile communication link exception
Data transfer recovery time.
In a first aspect, the embodiment of the present invention provides a kind of dual link transfer control method, wherein, methods described includes:
Control terminal carries out dialing link setup by the first modem, establishes the first link;
First link described in the control terminal-pair carries out heartbeat detection, and the result according to the heartbeat detection, judges
Whether first link there is exception;
If it is determined that first link occurs abnormal, then the control terminal carries out dialing by second modem and built
Chain, establish the second link.
According in a first aspect, in the first possible implementation of first aspect, the described in the control terminal-pair
One link carries out heartbeat detection, including:
The control terminal controls server periodically to send heartbeat detection and asked by the first chain road direction;
The control terminal receives the heartbeat request that the control server returns and replied.
According to the first possible implementation of first aspect, in second of possible implementation of first aspect
In, the control terminal controls server periodically to send heartbeat detection and asked by the first chain road direction, including:
If the control terminal is not carried out data transmission by first link, by first link according to solid
Fix time to be spaced to the control server and send heartbeat detection request;
Or
If the control terminal is carried out data transmission by first link, the control terminal often sends a number
According to being considered as to the control server and have sent the request of heartbeat detection.
According to the first possible implementation of first aspect, in the third possible implementation of first aspect
In, the result according to the heartbeat detection judges whether first link exception occurs, including:
If T-S>C, then judge the heartbeat detection request timed out;Wherein, the T is current time, and the S is the heart
The transmission time of detection request is jumped, the c is timeout threshold;
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, institute
State control terminal and judge that exception occurs in first link.
According to the first possible implementation of first aspect, in the 4th kind of possible implementation of first aspect
In, it is described if it is determined that the first link appearance exception, then carry out dialing link setup by second modem, establish the second chain
After road, in addition to:
If the control terminal determines the non-chain rupture of the first link, dual link transmission is carried out;Wherein, the dual link
Transmission refers to that identical data are transmitted by the control terminal on first link and second link respectively, if
The control server first receives the data on first link, then the control server is carried out to the data
Forwarding, and the data received from second link are abandoned;Or if the control server is first described second
The data are received on link, then the control server forwards to the data, and will be connect from first link
The data are received to abandon;
Or
If the control terminal determines the first link chain rupture, carried out data transmission by second link.
According to the 4th of first aspect the kind of possible implementation, in the 5th kind of possible implementation of first aspect
In, if the control terminal determines the non-chain rupture of the first link, after carrying out dual link transmission, in addition to:
The control terminal carries out heartbeat detection to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat
Request timed out is detected, then the control terminal hangs up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat in first link and/or second link
Request timed out is detected, then the control terminal continues dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d is dual link
Transmission control thresholding.
According in a first aspect, in the 6th kind of possible implementation of first aspect, in addition to:
If it is described control terminal by the second modem carry out dial link setup it is failed, control described first
Modem and the second modem carry out dialing link setup again respectively.
Second aspect, the embodiment of the present invention provide a kind of dual link transmission control unit, wherein, described device includes:Dial
Number key chain module, for carrying out dialing link setup by the first modem, establish the first link;
Heart beat detection module, for carrying out heartbeat detection, and the result according to the heartbeat detection to first link,
Judge whether first link exception occurs;
The dial key chain module, if being additionally operable to the heart beat detection module judges that exception occurs in first link,
Dialing link setup is carried out by second modem, establishes the second link.
According to second aspect, in the first possible implementation of second aspect, the heart beat detection module, specifically
For:Control server periodically to send heartbeat detection by the first chain road direction to ask;The control server is received to return
Heartbeat request reply.
According to the first possible implementation of second aspect, in second of possible implementation of second aspect
In, the heart beat detection module, it is specifically used for:If the dual link transmission control unit does not enter line number by first link
According to transmission, then heartbeat detection is sent to the control server according to Fixed Time Interval by first link and asked;Or
Person,
If the dual link transmission control unit is carried out data transmission by first link, the dual link transmission
Control device often sends a data, is considered as the heart beat detection module and have sent a heartbeat detection to the control server
Request.
According to the first possible implementation of second aspect, in the third possible implementation of second aspect
In, the heart beat detection module, it is specifically used for:
If T-S>C, then judge the heartbeat detection request timed out;Wherein, the T is current time, and the S is the heart
The transmission time of detection request is jumped, the c is timeout threshold;
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, sentence
Fixed first link occurs abnormal.
According to the first possible implementation of second aspect, in the 4th kind of possible implementation of second aspect
In, in addition to:
Transport module, if abnormal for judging that first link occurs in the heart beat detection module, pass through second
Modem carries out dialing link setup, establishes after the second link, if the heart beat detection module judges first link not
Chain rupture, then carry out dual link transmission;Wherein, the dual link transmission refers to the control terminal by identical data respectively in institute
State and be transmitted on the first link and second link, if the control server first receives institute on first link
Data are stated, then the control server forwards to the data, and the data that will be received from second link
Abandon;Or if the control server first receives the data, the control server pair on second link
The data are forwarded, and the data will be received from first link and are abandoned;
Or
If the heart beat detection module judges the first link chain rupture, data biography is carried out by second link
It is defeated.
According to the 4th of second aspect the kind of possible implementation, in the 5th kind of possible implementation of second aspect
In, the heart beat detection module, if specifically for determining the non-chain rupture of the first link in the control terminal, carry out double-strand
After the transmission of road, heartbeat detection is carried out to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat
Request timed out is detected, then the dial key chain module hangs up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat in first link and/or second link
Request timed out is detected, then the transport module continues dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d is dual link
Transmission control thresholding.
According to second aspect, in the 6th kind of possible implementation of second aspect, the dial key chain module is also used
In:If by second modem carry out dial link setup it is failed, control first modem and described second
Modem carries out dialing link setup again respectively.
Dual link transfer control method and device provided in an embodiment of the present invention, control terminal pass through the first modem
Dialing link setup is carried out, establishes the first link;First link described in the control terminal-pair carries out heartbeat detection, and according to the heart
The result of detection is jumped, judges whether first link exception occurs;If it is determined that there is abnormal, the then control in first link
Terminal processed carries out dialing link setup by second modem, establishes the second link, reduces the number after mobile communication link exception
According to the recovery time of transmission, the stability of the data transfer on mobile communication link is improved.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are this hairs
Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with
Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the structural representation of dual link provided in an embodiment of the present invention transmission control network;
Fig. 2 is the flow chart of dual link transfer control method provided in an embodiment of the present invention;
Fig. 3 is the structural representation of dual link transmission control unit provided in an embodiment of the present invention;
Fig. 4 is the another structural representation of dual link transmission control unit provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the structural representation of dual link provided in an embodiment of the present invention transmission control network.Fig. 2 is implemented for the present invention
The flow chart for the dual link transfer control method that example provides.As depicted in figs. 1 and 2, dual link provided in an embodiment of the present invention passes
Defeated control network includes:Mobile unit 10, ground network 20, dual link control server 21 and mobile communications network 30, wherein,
The mobile unit 10 includes:Mobile unit network 11, dual link control terminal 12, the modulation of the first modem 13, second
Demodulator 14.Data interaction between mobile unit network 11 and ground network 20 controls terminal 12, dual link by dual link
Control server 21 is forwarded.Dual link control terminal 12 by control two modems (the first modem 13,
Second modem 14) dual link transmission control is realized, to reduce the recovery of the data transfer after mobile communication link exception
Time.
Dual link transfer control method provided in an embodiment of the present invention includes:
101st, control terminal carries out dialing link setup by the first modem, establishes the first link.
Specifically, the control terminal can be that the dual link shown in Fig. 1 controls terminal 12.
102nd, the first link described in the control terminal-pair carries out heartbeat detection, and the result according to the heartbeat detection,
Judge whether first link exception occurs;
103 if it is determined that there is exception in first link, then the control terminal is dialled by second modem
Number link setup, establishes the second link.
Specifically, in embodiments of the present invention, control terminal carries out dialing link setup by the first modem, establishes the
One link;First link described in the control terminal-pair carries out heartbeat detection, and the result according to the heartbeat detection, judges institute
State whether the first link exception occurs, the communication quality of first link is judged with this.If described in the control terminal judges
There is exception in first link, then the control terminal carries out dialing link setup by second modem, establishes the second link.
In the prior art when Radio Link appearance is abnormal in data transmission procedure and can not recover, it is necessary to wait modulatedemodulate
Device resource is adjusted just to re-start dialing link setup after discharging successfully, it is assumed that the dialing link setup time is t1, and link can not recover extremely
Modem release resource time is t2 afterwards, and after exception occurs in Radio Link, the time that data transfer is recovered again at least needs
Want t2+t1;Wherein, Radio Link can include chain rupture, poor signal quality, wireless module failure etc. extremely, due to causing link
Abnormal factor is different, and t2 value is not fixed, is typically sized to several seconds to more than ten seconds.
However, in the embodiment of the present invention, when control terminal judgement the first link appearance exception, then pass through the second modulation /demodulation
Device carries out dialing link setup to establish the second link, it is assumed that by carrying out heartbeat detection to the first link and judging that the first link occurs
The abnormal time is t3, and after exception occurs in the first link, the time that data transfer is recovered at least needs t3+t1.Actual conditions
Under, t3 carries out corresponding configuration according to different network, what t3 value was to determine, and size is several milliseconds to hundreds of milliseconds.
It is readily apparent that the time (t3+t1) that data transfer is recovered in the embodiment of the present invention is much smaller than in the prior art
There is the time (t2+t1) that data transfer after exception is recovered again in Radio Link.It can be seen that dual link provided in an embodiment of the present invention passes
Transmission control method, it is possible to reduce the recovery time of data transfer after Radio Link exception, improve the data on mobile communication link
The stability of transmission.
On the basis of above-described embodiment, the first link described in terminal-pair is controlled to carry out a kind of implementation of heartbeat detection
For:After first link establishment success, control terminal controls server periodically to send heartbeat detection and asked by the first chain road direction;Control
After control server receives the heartbeat detection request that control terminal is sent, control terminal replies heartbeat please by the first chain road direction immediately
Ask reply;Control terminal to receive the heartbeat request that control server returns to reply.
In one embodiment of the invention, if control terminal is not carried out data transmission by first link, lead to
Cross first link and send heartbeat detection request to the control server according to Fixed Time Interval.Specifically, if heartbeat
Timer is H, and Fixed Time Interval (i.e. eartbeat interval) is i, current time T, and heartbeat detection request is alternatively referred to as heartbeat report
Text.In the case where mobile unit network does not have data transmission scenarios to ground network direction, the sending method of heartbeat message is as follows:Work as T-
During H=i, send a heartbeat message (this is common heartbeat), while H=T is set.
In one embodiment of the invention, if control terminal is carried out data transmission by first link, control
Terminal often sends a data, is considered as to the control server and have sent a heartbeat detection request.Specifically, terminal is controlled
After the data for receiving the transmission of mobile unit network, earthward during forwarded, each data message is simultaneously as a heartbeat report
Text;(it is considered as when T moment forwarding data packets while have sent a heartbeat message, this is data heartbeat), while H=is set
T。
In one embodiment of the invention, result of the terminal according to the heartbeat detection is controlled, judges first chain
Whether road there is abnormal implementation:
After control terminal sends a heartbeat message (common heartbeat or data heartbeat), control terminal can record the heart
Jump the mark of message, send the information such as time.Terminal is controlled to carry out overtime detection to the heartbeat message of these records, it is assumed that super
When threshold value be c, the T is current time, and the S is the transmission time of heartbeat detection request;
If work as T-S>During c, control terminal does not receive the heartbeat request that control server returns also and replied, then judges the heart
Jump message (i.e. heartbeat detection is asked) time-out;Delete the heartbeat message information.
When controlling terminal to receive the heartbeat request reply that control server returns, if T-S<=c, then judge the heartbeat
Message (i.e. heartbeat detection is asked) is not timed-out;Or if T-S>C, then judge the heartbeat message time-out.
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, institute
State control terminal and judge that exception occurs in first link;Wherein, the number of attempt threshold value allows a chain for control terminal
Continuously there is the number thresholding of heartbeat detection request timed out in road.
Optionally, the number of attempt threshold value can include:Common heartbeat number of attempt threshold value and data heartbeat are attempted secondary
Number threshold value.Specifically, it is assumed that control terminal to allow the common beats of the continuous time-out of a link to be p, control terminal allows one
The data beats of the continuous time-out of bar link are q.If the common beats of the continuous time-out of link are more than p, judge that the link goes out
It is now abnormal;If the data beats of the continuous time-out of link are more than q, it is abnormal to judge that the link occurs.
In one embodiment of the invention, if it is determined that exception occurs in first link, then the second modulation /demodulation is passed through
Device carries out dialing link setup, after being successfully established the second link:
If the control terminal determines the non-chain rupture of the first link, dual link transmission is carried out;The dual link transmission
Refer to that identical data are transmitted by the control terminal on first link and second link respectively, if described
Control server first receives the data on first link, then the control server turns to the data
Hair, and the data received from second link are abandoned;Or if the control server is first in second chain
The data are received on road, then the control server forwards to the data, and will be received from first link
Abandoned to the data.After the control terminal persistently carries out the dual link transmission of a period of time, determined according to link detecting strategy
It is fixed whether to hang up a wherein link, and the link for being continuing with not hanging up carries out single-link transmission;If the control terminal
During carrying out dual link transmission, wherein exception occurs for a link, then the control terminal directly uses another link
Carry out single-link data transfer.
Further, the link detecting strategy is:If the control terminal determines the non-chain rupture of the first link, carry out
After dual link transmission, the control terminal carries out heartbeat detection to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat
Request timed out is detected, then the control terminal hangs up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat in first link and/or second link
Request timed out is detected, then the control terminal continues dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d is dual link
Transmission control thresholding.
Or if the control terminal determines the first link chain rupture, the control terminal is directly by described
Second link carries out data transmission.
In one embodiment of the invention, link setup mistake of dialling is carried out by second modem in the control terminal
When losing, the first modem and the second modem carry out dial key chain respectively described in the control terminal control.
Fig. 3 is the structural representation of dual link transmission control unit provided in an embodiment of the present invention.The embodiment of the present invention carries
The dual link transmission control unit of confession can be used for the technical scheme for performing embodiment of the method shown in Fig. 2.As shown in figure 3, this hair
The dual link transmission control unit that bright embodiment provides includes:
Dial key chain module 301, for carrying out dialing link setup by the first modem, establish the first link;
Heart beat detection module 302, for carrying out heartbeat detection, and the knot according to the heartbeat detection to first link
Fruit, judges whether first link exception occurs;
The dial key chain module 301, if being additionally operable to the heart beat detection module 302 judges that the first link appearance is different
Often, then dialing link setup is carried out by second modem, establishes the second link.
Dual link transmission control unit provided in an embodiment of the present invention, it is possible to reduce data transfer after Radio Link exception
Recovery time, improve the stability of the data transfer on mobile communication link.
In one embodiment of the invention, the heart beat detection module 302, is specifically used for:Pass through first link
Heartbeat detection request is periodically sent to control server;The heartbeat request that the control server returns is received to reply.
Optionally, the heart beat detection module 302, is specifically used for:If the dual link transmission control unit does not pass through institute
State the first link to carry out data transmission, then sent by first link according to Fixed Time Interval to the control server
Heartbeat detection is asked;Or
If the dual link transmission control unit is carried out data transmission by first link, the dual link transmission
Control device often sends a data, is considered as the heart beat detection module 302 and have sent a heartbeat to the control server
Detection request.
Optionally, the heart beat detection module 302, is specifically used for:
If T-S>C, then judge the heartbeat detection request timed out;Wherein, the T is current time, and the S is the heart
The transmission time of detection request is jumped, the c is timeout threshold;
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, sentence
Fixed first link occurs abnormal.
Fig. 4 is the another structural representation of dual link transmission control unit provided in an embodiment of the present invention.The present invention is implemented
The dual link transmission control unit that example provides is based on the device shown in Fig. 3, further, double-strand provided in an embodiment of the present invention
Road transmission control unit also includes:Transport module 303, if for judging first link in the heart beat detection module 302
There is exception, then dialing link setup is carried out by second modem, established after the second link, if the heart beat detection module
302 judge the non-chain rupture of the first link, then carry out dual link transmission;Wherein, the dual link transmission refers to the control eventually
Identical data are transmitted by end on first link and second link respectively, if the control server first exists
The data are received on first link, then the control server forwards to the data, and will be from described the
The data that two links receive abandon;Or if the control server first received on second link it is described
Data, then the control server is forwarded to the data, and the data will be received from first link and are abandoned;
Or
If the heart beat detection module 302 judges the first link chain rupture, line number is entered by second link
According to transmission.
Further, the heart beat detection module 302, if specifically for determining first link not in the control terminal
Chain rupture, then after carrying out dual link transmission, heartbeat detection is carried out to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat
Request timed out is detected, then the dial key chain module hangs up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat in first link and/or second link
Request timed out is detected, then the transport module continues dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d is dual link
Transmission control thresholding.
In one embodiment of the invention, the dial key chain module 301 is additionally operable to:If pass through second modem
It is failed to carry out dialing link setup, then controls first modem and the second modem to be dialled again respectively
Number link setup.
Dual link transmission control unit provided in an embodiment of the present invention, it is possible to reduce data transfer after Radio Link exception
Recovery time, improve the stability of the data transfer on mobile communication link.
In several embodiments provided by the present invention, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be the INDIRECT COUPLINGs or logical by some interfaces, device or unit
Letter connection, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer
It is each that equipment (can be personal computer, server, or network equipment etc.) or processor (processor) perform the present invention
The part steps of embodiment methods described.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-
Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disc or CD etc. it is various
Can be with the medium of store program codes.
Those skilled in the art can be understood that, for convenience and simplicity of description, only with above-mentioned each functional module
Division progress for example, in practical application, can be complete by different functional modules by above-mentioned function distribution as needed
Into the internal structure of device being divided into different functional modules, to complete all or part of function described above.On
The specific work process of the device of description is stated, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.
Claims (10)
1. a kind of dual link transfer control method, including:
Control terminal carries out dialing link setup by the first modem, establishes the first link;
First link described in the control terminal-pair carries out heartbeat detection, and the result according to the heartbeat detection, described in judgement
Whether the first link there is exception;
If it is determined that exception occurs in first link, then the control terminal carries out dialing link setup by second modem,
Establish the second link;
It is described if it is determined that first link occurs abnormal, then dialing link setup is carried out by second modem, establishes second
After link, in addition to:
If the control terminal determines the non-chain rupture of the first link, dual link transmission is carried out;Wherein, the dual link transmission
Refer to that identical data are transmitted by the control terminal on first link and second link respectively, if control
Server first receives the data on first link, then the control server forwards to the data, and
The data received from second link are abandoned;If control server first receives described on second link
Data, then the control server is forwarded to the data, and the data received from first link are lost
Abandon;
If the control terminal determines the first link chain rupture, carried out data transmission by second link;
If the control terminal determines the non-chain rupture of the first link, after carrying out dual link transmission, in addition to:
The control terminal carries out heartbeat detection to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat detection
Request timed out, then it is described to control terminal to hang up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat detection in first link and/or second link
Request timed out, then it is described to control terminal to continue dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d transmits for dual link
Control thresholding.
2. according to the method for claim 1, it is characterised in that the first link described in the control terminal-pair carries out heartbeat inspection
Survey, including:
The control terminal is asked by controlling server periodically to send heartbeat detection described in the first chain road direction;
The control terminal receives the heartbeat request that the control server returns and replied.
3. according to the method for claim 2, it is characterised in that the control terminal passes through control described in the first chain road direction
Control server periodically sends heartbeat detection request, including:
If the control terminal is not carried out data transmission by first link, by first link according to it is fixed when
Between be spaced to it is described control server send heartbeat detection request;
If the control terminal is carried out data transmission by first link, the control terminal often sends a data,
It is considered as to the control server and have sent a heartbeat detection request.
4. according to the method for claim 2, it is characterised in that the result according to the heartbeat detection, described in judgement
Whether the first link there is exception, including:
If T-S>C, then judge the heartbeat detection request timed out;Wherein, the T is current time, and the S examines for the heartbeat
The transmission time of request is surveyed, the c is timeout threshold;
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, the control
It is abnormal that terminal processed judges that first link occurs.
5. according to the method for claim 1, it is characterised in that also include:
If it is described control terminal by the second modem carry out dial link setup it is failed, control it is described first modulation
Demodulator and the second modem carry out dialing link setup again respectively.
6. a kind of dual link transmission control unit, including:
Dial key chain module, for carrying out dialing link setup by the first modem, establish the first link;
Heart beat detection module, for carrying out heartbeat detection, and the result according to the heartbeat detection to first link, judge
Whether first link there is exception;
The dial key chain module, if being additionally operable to the heart beat detection module judges that exception occurs in first link, pass through
Second modem carries out dialing link setup, establishes the second link;
Transport module, if abnormal for judging that first link occurs in the heart beat detection module, pass through the second modulation
Demodulator carries out dialing link setup, establishes after the second link, if the heart beat detection module judges the non-chain rupture of the first link,
Then carry out dual link transmission;Wherein, dual link transmission refers to the control terminal by identical data respectively described the
It is transmitted on one link and second link, if control server first receives the data on first link,
Then the control server is forwarded to the data, and the data received from second link are abandoned;If
Control server first receives the data on second link, then the control server turns to the data
Hair, and the data received from first link are abandoned;
If the heart beat detection module judges the first link chain rupture, carried out data transmission by second link;
The heart beat detection module, if specifically for determining the non-chain rupture of the first link in the control terminal, carry out double
After link transmission, heartbeat detection is carried out to first link and second link respectively;
If T-M2>=d, and the period (T-d, T] in, first link and second link do not occur heartbeat detection
Request timed out, then the dial key chain module hang up second link;
If T-M2>=d, and the period (T-d, T] in, there is heartbeat detection in first link and/or second link
Request timed out, then the transport module continue dual link transmission;
Wherein, the T is current time, and the M2 is the link establishment moment of second link, and the d transmits for dual link
Control thresholding.
7. device according to claim 6, it is characterised in that the heart beat detection module, be specifically used for:Pass through described
Server is controlled periodically to send heartbeat detection request described in one chain road direction;The heartbeat request that the control server returns is received to return
It is multiple.
8. device according to claim 7, it is characterised in that the heart beat detection module, be specifically used for:If the double-strand
Road transmission control unit is not carried out data transmission by first link, then by first link according between the set time
Asked every sending heartbeat detection to the control server;
If the dual link transmission control unit is carried out data transmission by first link, the dual link transmission control
Device often sends a data, be considered as the heart beat detection module to it is described control server have sent a heartbeat detection please
Ask.
9. device according to claim 7, it is characterised in that the heart beat detection module, be specifically used for:
If T-S>C, then judge the heartbeat detection request timed out;Wherein, the T is current time, and the S examines for the heartbeat
The transmission time of request is surveyed, the c is timeout threshold;
If the number of the heartbeat detection request timed out continuously occurred on first link exceedes number of attempt threshold value, institute is judged
State the first link and exception occur.
10. device according to claim 6, it is characterised in that the dial key chain module is additionally operable to:If adjusted by second
The modulator-demodulator link setup that dial is failed, then controls first modem and the second modem respectively again
It is secondary to carry out dialing link setup.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410742732.8A CN104579746B (en) | 2014-12-05 | 2014-12-05 | Dual link transfer control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410742732.8A CN104579746B (en) | 2014-12-05 | 2014-12-05 | Dual link transfer control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104579746A CN104579746A (en) | 2015-04-29 |
CN104579746B true CN104579746B (en) | 2018-03-23 |
Family
ID=53095011
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410742732.8A Active CN104579746B (en) | 2014-12-05 | 2014-12-05 | Dual link transfer control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104579746B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107888413A (en) * | 2017-11-03 | 2018-04-06 | 鼎点视讯科技有限公司 | CMTS system upper level link guard methods and device |
CN108924955B (en) * | 2018-07-30 | 2021-12-14 | 山东大骋医疗科技有限公司 | CT data transmission and control method and device based on double-chain wireless communication |
CN111107509A (en) * | 2018-10-26 | 2020-05-05 | 深圳市理邦精密仪器股份有限公司 | Monitoring data transmission method, system and probe |
CN110430244A (en) * | 2019-07-16 | 2019-11-08 | 浙江大华技术股份有限公司 | Link establishment method, apparatus, filming apparatus and storage medium |
CN110943998B (en) * | 2019-12-04 | 2022-02-01 | 腾讯科技(深圳)有限公司 | Signal transmission method, device, equipment and medium |
CN111918138A (en) * | 2020-07-20 | 2020-11-10 | 桂林长海发展有限责任公司 | Ship dual-link-based video on demand method and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101373990A (en) * | 2008-09-23 | 2009-02-25 | 北京星网锐捷网络技术有限公司 | Method and apparatus for link backup |
CN101459541A (en) * | 2008-12-31 | 2009-06-17 | 华为技术有限公司 | Method, equipment and system for detecting link break |
CN102045600A (en) * | 2009-10-22 | 2011-05-04 | 中兴通讯股份有限公司 | Link protection method and device of Ethernet accessed to SDH (Synchronous Digital Hierarchy) optical network |
CN102088372A (en) * | 2009-12-03 | 2011-06-08 | 大唐移动通信设备有限公司 | Heartbeat detecting method, system and equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202217333U (en) * | 2011-09-02 | 2012-05-09 | 广州市浩云安防科技股份有限公司 | Access control device |
US8908503B2 (en) * | 2011-12-05 | 2014-12-09 | Kaseya Limited | Method and apparatus of performing a multi-channel data transmission |
-
2014
- 2014-12-05 CN CN201410742732.8A patent/CN104579746B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101373990A (en) * | 2008-09-23 | 2009-02-25 | 北京星网锐捷网络技术有限公司 | Method and apparatus for link backup |
CN101459541A (en) * | 2008-12-31 | 2009-06-17 | 华为技术有限公司 | Method, equipment and system for detecting link break |
CN102045600A (en) * | 2009-10-22 | 2011-05-04 | 中兴通讯股份有限公司 | Link protection method and device of Ethernet accessed to SDH (Synchronous Digital Hierarchy) optical network |
CN102088372A (en) * | 2009-12-03 | 2011-06-08 | 大唐移动通信设备有限公司 | Heartbeat detecting method, system and equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104579746A (en) | 2015-04-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104579746B (en) | Dual link transfer control method and device | |
CN105635116B (en) | Disconnection reconnecting method, apparatus and system | |
CN107864228B (en) | Connection establishment method and system in content distribution network | |
CN100461708C (en) | Alarm synchronization method | |
CN106961747A (en) | Base station and the method and device that configuration connection recovers the method for information, connection recovers | |
CN104601541A (en) | Data transmission method, server and user equipment | |
CN107567107A (en) | A kind of method and device for transmitting data | |
CN104486243B (en) | Data transmission method, equipment and system | |
CN104954153A (en) | Method and device for node fault detection | |
CN109194521B (en) | Flow forwarding method and equipment | |
CN107396297A (en) | Intelligent networking system and its method of controlling security based on bluetooth | |
CN109803453A (en) | A kind of communication means, communication equipment and its communication system | |
CN109413762A (en) | A kind of awakening method and device of vehicle-mounted Tbox | |
CN103546917B (en) | Data transmission method and device | |
CN103560898A (en) | Port state setting method, and port priority selection method and device | |
CN103167479B (en) | Realize that terminal is distant gets killed or the distant methods, devices and systems opened | |
CN108200216A (en) | A kind of method, apparatus, storage medium and equipment for binding internet of things equipment | |
CN109639712B (en) | Method and system for preventing DDOS attack | |
CN103701932A (en) | Method of data transmission in internet of things | |
CN105721235B (en) | A kind of method and apparatus detecting connectivity | |
CN104580346B (en) | Data transmission method and device | |
CN105578487B (en) | A kind of monitoring method and terminal, base station of terminal disconnection | |
CN108471427A (en) | A kind of method and device of defensive attack | |
CN108540274A (en) | A kind of data transmission method and device based on NB-iot | |
US8503333B2 (en) | Reestablishment of an interface between nodes in a network using a backoff time |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |