CN102437943B - Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card - Google Patents
Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card Download PDFInfo
- Publication number
- CN102437943B CN102437943B CN201110459135.0A CN201110459135A CN102437943B CN 102437943 B CN102437943 B CN 102437943B CN 201110459135 A CN201110459135 A CN 201110459135A CN 102437943 B CN102437943 B CN 102437943B
- Authority
- CN
- China
- Prior art keywords
- dsl
- dialing
- link
- message
- wan
- 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
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention provides a method and a device for surfing the Internet based on a 3G (3rd Generation Telecommunication) data card, wherein the method and the device are used for providing Internet access for users through a 3G data card link backup DSL (Digital Subscriber Line) when a DSL connection is unavailable. The embodiment of the invention comprises the following steps that: if a link backup management module obtains a message which indicates whether 3G dialing is required to start, the link backup management module judges whether more than one non-3G WAN (Wide Area Network) connection exists, a Connection Status value of the connection is Connected and the connectivity is valid, if so, the link backup management module needs not to start the 3G dialing or notifies a dialing management module to disconnect the current 3G connection, and if not, the link backup management module notifies the dialing management module to start the 3G dialing.
Description
Technical field
The present invention relates to wireless communication technology field, especially relate to a kind of method and apparatus using 3G data card to surf the Net.
Background technology
Home gateway is the terminal be arranged in subscriber household, is the hinge connecting carrier network and domestic consumer's network, realizes resource consolidation and the integrated services of carrier network and home network.
Current most of home gateway product generally uses digital subscriber line (DSL, Digital SubscriberLine) technical battery receives in carrier network, Internet access service is provided to user, DSL technology is the broadband access technology based on ordinary telephone line, and it transmits data and voice signal respectively on same copper cash.
But use DSL connect home gateway product, there will be DSL and connect disabled situation, the circuit question of such as DSL, carrier server end fault etc., these time just cannot meet user surf the Net demand, make troubles.
Summary of the invention
Embodiments provide a kind of method and apparatus using 3G data card to surf the Net, for when DSL connects unavailable, adopt 3G data card link backup DSL to provide linking Internet to user.
The method using 3G data card to surf the Net, comprising:
If link backup administration module gets the message be used to indicate the need of starting 3G dialing,
Then judge whether that the wide area network WAN of the non-3G that there is one or more connects, and its connection status ConnectionStatus value is for connect Connected, and it is effectively connective, if, then do not need to start 3G dialing or notify that dialing administration module disconnects current 3G and connects, if not, then notice dialing administration module starts 3G dialing.
The equipment using 3G data card to surf the Net, comprising:
Link backup administration module, if for receiving the message be used to indicate the need of starting 3G dialing, then judge whether that the WAN of the non-3G that there is one or more connects, its ConnectionStatus value is Connected, and effectively connective, if so, then do not need to start 3G dialing or notify that dialing administration module disconnects current 3G and connects, if not, then notice dialing administration module starts 3G dialing;
Dialing administration module, the dial request sent for receiver backup management module and parameter, and complete dialing, and dialing result is advertised to link backup administration module.
As can be seen from the above technical solutions, a kind of method and apparatus using 3G data card to surf the Net that the embodiment of the present invention provides, when DSL access is unavailable, uses 3G data card link backup DSL to provide linking Internet to user, meet the demand of user's online, work etc. of providing amenities for the people; In addition, because 3G cost of surfing the net is higher, therefore when DSL access is available, 3G can be closed and connect.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described describing the required accompanying drawing used to embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
A kind of method flow diagram using 3G data card to surf the Net that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is to the flow chart that the connectedness of DSL link detects in the embodiment of the present invention;
A kind of device structure block diagram using 3G data card to surf the Net that Fig. 3 provides for the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method and apparatus using 3G data card to surf the Net, for when DSL connects unavailable, adopt 3G data card link backup DSL to provide linking Internet to user.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Below be described in detail respectively.
A kind of method using 3G data card to surf the Net that the embodiment of the present invention provides, as shown in Figure 1, the method comprises its method flow diagram:
If S10, link backup administration module get the message be used to indicate the need of starting 3G dialing, then judge whether that the wide area network WAN of the non-3G that there is one or more connects, its connection status ConnectionStatus value is for connect Connected, and connectedness effectively;
In some embodiments, be used to indicate the message the need of starting 3G dialing, can be that DSL link connects the message that invalid number of times exceedes preset threshold value in the time threshold preset, or, the message of the 3G data card pattern handover success that hot plug module sends, or, the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager sends.
Wherein, the message that DSL connectivity of link is effective or DSL connectivity of link is invalid represents that DSL line can be used or disabled message; Meanwhile, the acquisition process of this kind of message can think the length according to the preset time interval, periodically DSL link is carried out to the process of detection of connectivity;
Further, as shown in Figure 2, the detection of connectivity in its cycle can complete based on following steps, comprising:
S101, by network interface corresponding to the DSL link of connectedness to be detected, link backup administration module sends the response protocol ECHO packet of Internet Control Message agreement ICMP to net association IP address;
Wherein, Internet Control Message agreement ICMP, full name Internet Control Message Protocol.It is a sub-protocol of TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Protocol) protocol suite, for transmitting control message between IP main frame, router.Control message refers to that network leads to the message of the network such as obstructed, whether main frame can reach, whether route can be used itself.Although these control messages not transmitting user data, the transmission for user data plays an important role; Response protocol ECHO, or claim Echo Protocol, it is mainly used in debugging and detection.
Send the ECHO packet of ICMP to IP address after, then can perform following steps:
The reply bag receiving corresponding ICMP whether is had in the time threshold that S102, judgement are preset;
If S103a have received the reply bag of corresponding ICMP in the time threshold preset, then the DSL connectivity of link of connectedness to be detected is effective;
If have received the reply bag of corresponding ICMP in the time threshold preset, then think that the DSL link of connectedness to be detected connects effectively, namely this connectivity of link is effective.
If S103b does not receive the reply bag of corresponding ICMP in the time threshold preset, then judge whether the number of times of DSL link connection failure exceedes preset threshold value;
If the connection failure of DSL link, then in the time threshold preset, calculate the number of times of its connection failure of accumulation, and judge whether the number of times of connection failure exceedes preset threshold value;
If S104a number of times exceedes preset threshold value, then the DSL connectivity of link of connectedness to be detected is invalid;
If S104b number of times does not exceed preset threshold value, then trigger the step of the ECHO packet sending ICMP to IP address;
If number of times does not exceed preset threshold value, then can think triggered step S101.
In addition, if get the message of the 3G data card pattern handover success that hot plug module sends, then this message not necessarily represents that DSL line is unavailable, but can think that this 3G data card can be used for starting 3G dialing;
Be understandable that, the pattern of 3G data card switches, due in life application, 3G data card has two kinds of working methods: show as a read-only optical disc CDROM (Compact Disc Read-Only Memory) equipment when 3G data card being inserted into personal computer PC (Personal computer), serial equipment, i.e. a modem device is shown as after certain operation is adopted to 3G data card.Wherein, this " certain operation " is the different operating taked for different 3G data cards.Usually, by general-purpose serial bus USB (Universal Serial BUS) interface write one piece of data, or sent the order of a series of customization by small computer system interface SCSI (Small Computer System Interface) interface.The reason that 3G data card designs like this is, makes 3G data card can realize, from installing, exactly the driver of 3G data card and pc client software being left in 3G data card itself, thus not needing extra installation laser disc on PC.Owing to requiring to deposit specific client software itself, so manufacturer is designed to two kinds of operating states 3G data card, therefore also just there is the situation that the pattern of 3G data card switches.
The message the need of starting 3G dialing is used to indicate if get, for the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection of Configuration Manager transmission, wherein, the ConnectionStatus value of WANPPPConnection or WANIPConnection, the concrete expression implication corresponding with it is as shown in Table 1, as follows:
Table one
ConnectionStatus value | Represent implication |
Unconfigured | Corresponding WAN connects does not have configuration parameter, can not start connection |
Connecting | Just in this connection |
Authenticating | Carry out authentication with internet service provider |
Connected | Connect, and successful connection, can data communication be carried out |
Disconnecting | Connect in disconnecting |
Disconnected | Do not connect |
Subsequently, according to the message be used to indicate the need of starting 3G dialing got, judge whether to need to start 3G dialing, namely judge whether that the wide area network WAN of the non-3G that there is one or more connects, its connection status ConnectionStatus value is for connect Connected, and effectively connective, and perform following steps according to the result judged.
S11a, if so, then do not need to start 3G dialing or notice dialing administration module and disconnect current 3G and connect;
If the WAN that there is the non-3G of one or more connects, namely existence can be the WAN connection of DSL, and its connection status ConnectionStatus value is for connect Connected, and the detection of connectivity of this DSL link is effective, in this case, then can think that DSL access is available.
Consider because 3G cost of surfing the net is higher, therefore when DSL access is available, then not think and need to start 3G dialing, if or have the 3G connected to connect, then notify that dialing administration module disconnects current 3G and connects.
S11b, if not, then notice dialing administration module starts 3G dialing;
If the WAN that there is not the non-3G of one or more connects, the WAN that namely there is not non-3G connects, and the WAN that namely there is not DSL connects, then notice dialing administration module starts 3G dialing.
Further, a kind of method using 3G data card to surf the Net that this enforcement provides, also comprises:
If link backup administration module receives the 3G that sends of dialing administration module and to dial the message connecting or disconnect, or, the message that the 3G data card that hot plug module sends if receive is pulled out,
Then notify that Configuration Manager changes the value of member ConnectionsStatus in the corresponding WANPPPConnection object of 3G.
Can put it briefly, if receive the 3G that sends of dialing administration module to dial the message connecting or disconnect, then notify that Configuration Manager changes the value of member ConnectionsStatus in the corresponding WANPPPConnection object of 3G, be replaced by " Connected " or " Disconnected "; The message that the 3G data card that hot plug module sends if receive is pulled out, then notify that the value of member ConnectionsStatus in corresponding for 3G WANPPPConnection object is replaced by " Disconnected " by Configuration Manager.
Be understandable that, the link backup administration module in the present embodiment realizes the function that TR069 agreement specifies.TR069 agreement is the terminal function that standardizes that is used for of Broadband Forum formulation, and a main protocol in the series of protocols of management, which specify interface and the function of management system.
Preferably, a kind of method using 3G data card to surf the Net that this enforcement provides, can based on following steps determination default route:
If link backup administration module receives the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager is sent;
Then according to the message determination default route of ConnectionStatus value change, if the default route determined is different with original default route, then notify that Configuration Manager changes default route.
In addition, can also based on following steps determination default route:
Link backup administration module determines the first default route,
Link backup administration module receives the second default route that Configuration Manager is determined,
If the first default route and the second default route different, then notify that Configuration Manager changes the second default route, if and be currently in 3G connection status, and the first default route that described link backup administration module is determined is not 3G corresponding WAN connects, then disconnect current 3G and connect.
Be understandable that, even default route is that the WAN that DSL is corresponding connects, then current 3G connects and disconnect, that is the meaning will preferentially use ConnectionStatus value for Connected, and the WAN of connective effective non-3G connects (WANIPConnection or WANIPConnection) route by default.
The relation determined default route and start between 3G dialing is told about below with two methods scene:
The first, if the detection of connectivity result of DSL link is invalid, then represent DSL access unavailable, need to start 3G dialing, the WAN setting up 3G connects, and the ConnectionStatus value that now Configuration Manager can connect the WAN of 3G becomes Connected; Link backup module then determines that default route is the WAN connection of 3G, if the WAN that the default route of original link backup module is DSL connects, then notifies that Configuration Manager changes default route.
Effective or invalid message is detected because Configuration Manager can not receive DSL connectivity of link, therefore Configuration Manager can not change default route initiatively, and the ConnectionStatus value that the WAN that namely originally invalid DSL is corresponding connects is still Connected.
The notice of Configuration Manager receiver backup management module, determines default route, and default route is changed to 3G connection, consistent with the default route that link backup module is determined, then current default route is that 3G connects.
The second, suppose that the WAN based on above the first situation existence connects, the ConnectionStatus value that namely the current WAN having a DSL connects is Connected, but connective inefficacy; The WAN of a 3G is also had to connect, its ConnectionStatus value is also Connected, and be confirmed as default route, in that case, the WAN accessing a new DSL connects, and ConnectionStatus value be Connected, then link backup module determination default route is the WAN connection of the DSL newly accessed, the default route (3G is connected) determined with Configuration Manager is different, then link backup module notice Configuration Manager change default route.
Meanwhile, because the current WAN that there is 3G connects, but the WAN that link backup module determination default route is the DSL of new access connects, and is not namely that the WAN that 3G is corresponding connects, therefore disconnects 3G and connect.
To sum up, a kind of method using 3G data card to surf the Net that the embodiment of the present invention provides, when DSL access is unavailable, use 3G data card link backup DSL to provide linking Internet to user, when DSL access is available, 3G can be closed and connect, meet the demand of user's online, work etc. of providing amenities for the people.
For ease of better implementing the technical scheme of the embodiment of the present invention, the embodiment of the present invention is also provided for the relevant device implementing such scheme.
Please refer to Fig. 3, the embodiment of the present invention provides a kind of equipment using 3G data card to surf the Net, and this equipment comprises:
Link backup administration module 10, if for receiving the message be used to indicate the need of starting 3G dialing, then judge whether that the WAN of the non-3G that there is one or more connects, its ConnectionStatus value is Connected, and effectively connective, if so, then do not need to start 3G dialing or notify that dialing administration module 30 disconnects current 3G and connects, if not, then notice dialing administration module 30 starts 3G dialing;
Dialing administration module 30, the dial request sent for receiver backup management module 10 and parameter, and complete dialing, and dialing result is advertised to link backup administration module 10.
Wherein, being used to indicate the message the need of starting 3G dialing, can comprising:
The message effective at DSL connectivity of link or DSL connectivity of link is invalid, or, the message of the 3G data card pattern handover success that hot plug module 20 sends, or, the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager 40 sends.
Be understandable that, the parameter that link backup administration module 10 is sent is determined, as number, and APN APN (Access Point Name), user name, password, initialization AT instruction etc.
Further, this link backup administration module 10 is also for the length according to the preset time interval, and periodically carry out detection of connectivity to DSL link, its detection of connectivity of carrying out a cycle can complete based on following steps:
By the network interface that the DSL link of connectedness to be detected is corresponding, send the ECHO packet of ICMP to IP address;
If have received the reply bag of corresponding ICMP in the time threshold preset, then the DSL connectivity of link of connectedness to be detected is effective;
If do not receive the reply bag of corresponding ICMP in the time threshold preset, then judge whether the number of times of DSL link connection failure exceedes preset threshold value;
If number of times exceedes preset threshold value, then the DSL connectivity of link of connectedness to be detected is invalid, if number of times does not exceed preset threshold value, then triggers the step of the ECHO packet sending ICMP to IP address.
Further, the equipment of the use 3G data card online that the present embodiment provides, also comprises:
Hot plug module 20, is sent to link backup administration module 10 for being pulled out by 3G data card with the message of 3G data card pattern handover success; The message that 3G data card inserts is sent to 3G data card mode switch module 50;
3G data card mode switch module 50, the message that the 3G data card sent for receiving hot plug module 20 inserts.
Configuration Manager 40, for sending the ConnectionStatus value of WANPPPConnection or WANIPConnection to link backup administration module 10, and WANPPPConnection or WANIPConnection used for current default route is advertised to link backup administration module 10;
This Configuration Manager 40 also changes the request of the value of member ConnectionsStatus in the corresponding WANPPPConnection object of 3G for receiver backup management module 10, and changes.
Preferably, link backup administration module 10, if also for receiving the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager 40 is sent; Then according to the message determination default route of ConnectionStatus value change, if the default route determined is different with original default route, then notify that Configuration Manager 40 changes default route.
Link backup administration module 10, also for determining the first default route, receive the second default route that Configuration Manager 40 is determined, if the first default route and the second default route different, then notify that Configuration Manager 40 changes the second default route, if and be currently in 3G connection status, and the first default route that it is determined is not 3G corresponding WAN connects, then disconnect current 3G and connect.
Be understandable that, link backup administration module 10 realizes the function that TR069 agreement specifies.TR069 agreement is the terminal function that standardizes that is used for of Broadband Forum formulation, and a main protocol in the series of protocols of management, which specify interface and the function of management system.
To sum up, a kind of equipment using 3G data card to surf the Net that the embodiment of the present invention provides, when DSL access is unavailable, use 3G data card link backup DSL to provide linking Internet to user, when DSL access is available, 3G can be closed and connect, meet the demand of user's online, work etc. of providing amenities for the people.
Be understandable that, a kind of equipment using 3G data card to surf the Net that the present embodiment provides, the function of its each functional module can according to the method specific implementation in said method embodiment, and its specific implementation process with reference to the associated description of said method embodiment, can repeat no more herein.
Above the method and apparatus of a kind of 3G of use data card online provided by the present invention is described in detail, for one of ordinary skill in the art, according to the thought of the embodiment of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (10)
1. the method using 3G data card to surf the Net, is characterized in that, comprising:
If link backup administration module gets the message be used to indicate the need of starting 3G dialing, then judge whether that the wide area network WAN of the non-3G that there is one or more connects, its connection status ConnectionStatus value is for connect Connected, and connectedness effectively;
If so, then do not need to start 3G dialing or notify that dialing administration module disconnects current 3G and connects, if not, then notice dialing administration module startup 3G dialing;
If described link backup administration module receives 3G that described dialing administration module sends and to dial the message connecting or disconnect, or, the message that the 3G data card that hot plug module sends if receive is pulled out, then notify that Configuration Manager changes the value of member ConnectionsStatus in the corresponding WANPPPConnection object of 3G, be replaced by " Connected " or " Disconnected "; The message that the 3G data card that hot plug module sends if receive is pulled out, then notify that the value of member ConnectionsStatus in corresponding for 3G WANPPPConnection object is replaced by " Disconnected " by Configuration Manager;
Described method also comprises:
When described dialing administration module starts 3G dialing, when setting up the WAN connection of 3G, the ConnectionStatus value that the WAN of 3G connects by described Configuration Manager is set to Connected;
If the WAN that the default route of described link backup module is DSL connects, then the default route of described link backup module is revised as the WAN connection of 3G by described link backup module, and notifies that described Configuration Manager changes the default route of described Configuration Manager;
Described Configuration Manager receives the notice that described link backup administration module sends, and the WAN default route of described Configuration Manager being replaced by 3G connects;
Described method also comprises:
The ConnectionStatus value connected as the WAN of DSL is Connected, but connective inefficacy, and the ConnectionStatus value that the WAN of 3G connects is also Connected, and when being confirmed as default route,
If the WAN accessing a new DSL connects, and ConnectionStatus value is Connected, then the default route of link backup module is defined as the WAN connection of the DSL of new access by described link backup module, and notifies that described Configuration Manager changes the default route of described Configuration Manager;
After described link backup module determines that the default route of described link backup module is the WAN connection of the DSL of new access, the WAN disconnecting 3G connects.
2. method according to claim 1, is characterized in that, described in be used to indicate the need of start 3G dialing message comprise:
The message that DSL connectivity of link is effective or DSL connectivity of link is invalid, or,
The message of the 3G data card pattern handover success that hot plug module sends, or,
The message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager sends.
3. method according to claim 2, it is characterized in that, the message that described DSL connectivity of link is effective or DSL connectivity of link is invalid, based on the length according to the preset time interval, periodically carry out detection of connectivity to DSL link to get, its step comprises:
By the network interface that the DSL link of connectedness to be detected is corresponding, link backup administration module sends the response protocol ECHO packet of Internet Control Message agreement ICMP to net association IP address;
If have received the reply bag of corresponding ICMP in the time threshold preset, then the DSL connectivity of link of described connectedness to be detected is effective;
If do not receive the reply bag of corresponding ICMP in the time threshold preset, then judge whether the number of times of DSL link connection failure exceedes preset threshold value;
If described number of times exceedes preset threshold value, then the DSL connectivity of link of described connectedness to be detected is invalid, if described number of times does not exceed preset threshold value, then triggers the step of the ECHO packet sending ICMP to IP address.
4. according to the method in any one of claims 1 to 3, it is characterized in that, the method also comprises:
If link backup administration module receives the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager is sent;
Then according to the message determination default route of described ConnectionStatus value change, if the default route determined is different with original default route, then notify that Configuration Manager changes default route.
5. the equipment using 3G data card to surf the Net, is characterized in that, comprising:
Link backup administration module, if for receiving the message be used to indicate the need of starting 3G dialing, then judge whether that the WAN of the non-3G that there is one or more connects, and its ConnectionStatus value is Connected, and effectively connective, if so, then do not need to start 3G dialing or notify that dialing administration module disconnects current 3G and connects, if not, then notice dialing administration module starts 3G dialing;
Dialing administration module, for receiving the dial request and parameter that described link backup administration module sends, and completes dialing, and dialing result is advertised to described link backup administration module;
Configuration Manager, changes the request of the value of member ConnectionsStatus in the corresponding WANPPPConnection object of 3G, and changes, be replaced by " Connected " or " Disconnected " for receiving described link backup administration module; The message that the 3G data card that hot plug module sends if receive is pulled out, then notify that the value of member ConnectionsStatus in corresponding for 3G WANPPPConnection object is replaced by " Disconnected " by Configuration Manager;
Described equipment also comprises:
Described Configuration Manager is also for starting 3G dialing when described dialing administration module, and when setting up the WAN connection of 3G, the ConnectionStatus value connected by the WAN of 3G is set to Connected;
If the WAN that described link backup module is also DSL for the default route of described link backup module connects, the WAN default route of described link backup module being revised as 3G connects, and notifies that described Configuration Manager changes the default route of described Configuration Manager;
Described Configuration Manager is also for receiving the notice that described link backup administration module sends, and the WAN default route of described Configuration Manager being replaced by 3G connects;
Described equipment also comprises:
The ConnectionStatus value of described link backup module also for connecting as the WAN of DSL is Connected, but connective inefficacy, and the ConnectionStatus value that the WAN of 3G connects also is Connected, and when being confirmed as default route, if the WAN accessing a new DSL connects, and ConnectionStatus value is Connected, the WAN default route of link backup module being defined as the DSL of new access connects, and notifies that described Configuration Manager changes the default route of described Configuration Manager;
Described dialing administration module is also for determining that in described link backup module the default route of described link backup module is that after the WAN of the DSL of new access connects, the WAN disconnecting 3G connects.
6. equipment according to claim 5, is characterized in that, described in be used to indicate the need of start 3G dialing message, comprising:
The message that DSL connectivity of link is effective or DSL connectivity of link is invalid, or,
The message of the 3G data card pattern handover success that hot plug module sends, or,
The message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that Configuration Manager sends.
7. the equipment according to claim 5 or 6, is characterized in that, described link backup administration module, also for the length according to the preset time interval, periodically carries out detection of connectivity to DSL link, comprising:
By the network interface that the DSL link of connectedness to be detected is corresponding, send the ECHO packet of ICMP to IP address;
If have received the reply bag of corresponding ICMP in the time threshold preset, then the DSL connectivity of link of described connectedness to be detected is effective;
If do not receive the reply bag of corresponding ICMP in the time threshold preset, then judge whether the number of times of DSL link connection failure exceedes preset threshold value;
If described number of times exceedes preset threshold value, then the DSL connectivity of link of described connectedness to be detected is invalid, if described number of times does not exceed preset threshold value, then triggers the step of the ECHO packet sending ICMP to IP address.
8. the equipment according to claim 5 or 6, is characterized in that, this equipment also comprises:
Hot plug module, is sent to described link backup administration module for being pulled out by 3G data card with the message of 3G data card pattern handover success; The message inserting 3G data card is sent to 3G data card mode switch module;
3G data card mode switch module, the message that the 3G data card sent for receiving described hot plug module inserts.
9. equipment according to claim 8, is characterized in that:
Described Configuration Manager, also for sending the ConnectionStatus value of WANPPPConnection or WANIPConnection to described link backup administration module, and WANPPPConnection or WANIPConnection used for current default route is advertised to described link backup administration module.
10. the equipment according to claim 5 or 6, is characterized in that, comprising:
Described link backup administration module, if also for receiving the message of the ConnectionStatus value change of WANPPPConnection or WANIPConnection that described Configuration Manager is sent, then according to the message determination default route of described ConnectionStatus value change, if the default route determined is different with original default route, then notify that described Configuration Manager changes default route.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110459135.0A CN102437943B (en) | 2011-12-31 | 2011-12-31 | Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110459135.0A CN102437943B (en) | 2011-12-31 | 2011-12-31 | Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102437943A CN102437943A (en) | 2012-05-02 |
CN102437943B true CN102437943B (en) | 2015-07-08 |
Family
ID=45985826
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110459135.0A Active CN102437943B (en) | 2011-12-31 | 2011-12-31 | Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102437943B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102945172A (en) * | 2012-10-22 | 2013-02-27 | 深圳市中兴移动通信有限公司 | Self-adapting method of 3G data cards under Android system |
CN104427521B (en) * | 2013-08-29 | 2019-01-22 | 深圳市共进电子股份有限公司 | Embedded 3G card of surfing Internet working method and system |
CN105094864A (en) | 2014-05-08 | 2015-11-25 | 中兴通讯股份有限公司 | Data card connection management method, apparatus and system and data card |
CN105871667B (en) * | 2016-03-24 | 2019-07-16 | 上海泓亚通信技术有限公司 | A kind of method for switching network of gateway |
CN105933179B (en) * | 2016-04-11 | 2018-11-13 | 烽火通信科技股份有限公司 | The method of multimedia terminal and push online unexpected message |
CN106060053A (en) * | 2016-06-12 | 2016-10-26 | 上海携程商务有限公司 | Method and system for automatically identifying and cleaning abnormal connection based on firewall |
CN106686077A (en) * | 2016-12-24 | 2017-05-17 | 上海七牛信息技术有限公司 | System and method for processing network requests across double-layer proxies of data centers in computer rooms |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812342A (en) * | 2006-01-23 | 2006-08-02 | 北京朗通环球科技有限公司 | Link backup method and apparatus for computer network |
CN101051951A (en) * | 2006-05-29 | 2007-10-10 | 华为技术有限公司 | Method and device for securing server connection reliability |
CN101764744A (en) * | 2009-11-24 | 2010-06-30 | 福建星网锐捷网络有限公司 | VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment |
CN102143536A (en) * | 2010-12-17 | 2011-08-03 | 华为终端有限公司 | Method and device for automatically switching networks, wireless access equipment and intermediate equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101668322B (en) * | 2009-09-17 | 2012-06-27 | 华为终端有限公司 | Network switching method of terminal and terminal equipment |
CN102098184A (en) * | 2009-12-09 | 2011-06-15 | 华为终端有限公司 | Network access method and device |
-
2011
- 2011-12-31 CN CN201110459135.0A patent/CN102437943B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1812342A (en) * | 2006-01-23 | 2006-08-02 | 北京朗通环球科技有限公司 | Link backup method and apparatus for computer network |
CN101051951A (en) * | 2006-05-29 | 2007-10-10 | 华为技术有限公司 | Method and device for securing server connection reliability |
CN101764744A (en) * | 2009-11-24 | 2010-06-30 | 福建星网锐捷网络有限公司 | VRRP (Virtual Router Redundancy Protocol) access method, device and system, as well as VRRP routing equipment |
CN102143536A (en) * | 2010-12-17 | 2011-08-03 | 华为终端有限公司 | Method and device for automatically switching networks, wireless access equipment and intermediate equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102437943A (en) | 2012-05-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102437943B (en) | Method and device for surfing Internet based on 3G ( 3rd Generation Telecommunication) data card | |
CN101222519B (en) | Remote activation of home devices | |
US20160294575A1 (en) | System, Apparatus, and Method for Automatically Configuring Application Terminals in Home Network | |
CN103249047A (en) | Wireless local area network hotspot access authentication method and device | |
EP2124404A1 (en) | A device, system and method for automatically configuring application terminals in home network | |
US9805175B2 (en) | Method, apparatus and system for software management | |
CN101796774A (en) | Method and system for checking automatically connectivity status of an IP link on IP network | |
CN103220283A (en) | Method, equipment and system for network sharing | |
CN102111728A (en) | Network connection management module and method of mobile terminal | |
JP2006525729A (en) | Ad hoc network, network device, and configuration management method thereof | |
CN106031091B (en) | Techniques for facilitating remote diagnostics for access gateways | |
CN101136769B (en) | Method and system to automatically configure ADSL terminal equipment | |
CN101699905A (en) | Wireless intelligent terminal, webmaster platform and management method by webmaster platform | |
CN114143904B (en) | CPE management method based on 5G fusion network shunt | |
CN102387073B (en) | Method and system for realizing mixed connecting manner of bridge and router of user equipment | |
CN112910767B (en) | Method, equipment and system for selecting gateway | |
CN114286403A (en) | Switching method and switching device for internet access mode of gateway equipment | |
CN103987017A (en) | Method and system for establishing service access in WLAN | |
CN104065491A (en) | Internet surfing time billing method and device | |
CN105163335B (en) | A kind of network access management method, server, mobile terminal and system | |
CN103856571A (en) | Self-adaptive network connection method and system | |
CN112118119A (en) | Lottery special network connection method, router and lottery management system | |
CN112751706A (en) | Target data transmission method and device | |
CN104796271A (en) | Connecting method and connecting device | |
CN101114963A (en) | Broadband service communication method, system and device |
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 |