CN102368860B - A kind of method for switching network and device - Google Patents
A kind of method for switching network and device Download PDFInfo
- Publication number
- CN102368860B CN102368860B CN201110243213.3A CN201110243213A CN102368860B CN 102368860 B CN102368860 B CN 102368860B CN 201110243213 A CN201110243213 A CN 201110243213A CN 102368860 B CN102368860 B CN 102368860B
- Authority
- CN
- China
- Prior art keywords
- link
- auxiliary
- connection
- auxiliary link
- routing
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method for switching network and device, including:Terminal establishes the connection of primary link and at least one auxiliary link, backs up the routing of the auxiliary link, and the routing of the auxiliary link is deleted in System Routing Table, in the enterprising industry business of the primary link;The terminal selects an auxiliary link when the primary link disconnects, and restores the routing of the auxiliary link of selection, in the enterprising industry business of the auxiliary link of selection.The present invention is route by control terminal, realizes the fast transferring in each network, and user is not felt by the migration of application network, improves the experience that user uses network.
Description
Technical field
The present invention relates to the wireless network communications field more particularly to a kind of method for switching network and device.
Background technology
WiFi (wireless fidelity, Wireless Fidelity) is applied to various terminal equipment at present, such as:Mobile phone, notes
This and tablet computer etc., have become a kind of standard configuration.WiFi is the nickname of IEEE802.11 related protocols, and the country is also referred to as
WLAN (WLAN) is a kind of short-distance wireless communication technology as bluetooth, but wider than the coverage area of bluetooth,
Also faster, transmission rate can reach more than 300Mbps to data transmission at present.
Cellular mobile communication networks, such as widely applied TD-SCDMA (Time Division-Synchronous now
Code Division Multiple Access, TD SDMA), WCDMA (Wideband Code Division
Multiple Access, wideband code division multiple access) and networks such as CDMA (CDMA), wide covering, high mobility can be provided
Network application, but message transmission rate is relatively low, it is impossible to meet the needs of user is to highspeed network applications.
As the supplement of cellular mobile communication networks, terminal can utilize the characteristics of WLAN high speed data transfers and make up honeycomb
The insufficient weakness of mobile data transfer rate.Wlan network rapid networking facilitates low cost, while utilizes cellular mobile communications networks
Network perfect authentication and billing mechanism, operator may also be combined with cellular mobile communication networks and cover it is not necessary to modify the network architecture
Covering the characteristics of wide carries out multimode multiple access and quickly selects network function, achieves that melting for WLAN and cellular mobile communication in this way
It closes, meets the high-speed data service demand of mobile client, further expand mobile operation portfolio.
Terminal is during wlan network is used, particularly during movement, due to coverage area and interference etc.
The influence of various factors, is susceptible to that connection is abnormal to be disconnected, and connects phenomena such as unstable, leads to that user goes offline and WLAN data passes
The problems such as defeated interruption, influences the use of user.
Invention content
The technical problem to be solved in the present invention is to provide a kind of method for switching network and devices, realize fast in heterogeneous networks
Speed switching.
In order to solve the above technical problems, a kind of method for switching network of the present invention, including:
Terminal establishes the connection of primary link and at least one auxiliary link, backs up the routing of the auxiliary link, and on system road
By deleting the routing of the auxiliary link in table, in the enterprising industry business of the primary link;
The terminal selects an auxiliary link, restores the routing of the auxiliary link of selection, selecting when the primary link disconnects
The business of auxiliary link enterprising industry.
Further, it further includes:
The terminal detects the network signal conditions of the primary link, initiates the connection of the primary link, after successful connection,
The routing of selected auxiliary link is backed up, the routing of selected auxiliary link is deleted in System Routing Table, in the master
The enterprising industry business of link.
Further, the network signal of primary link described in the terminal-pair carries out N (N > 1) secondary detection, is obtained in detection
Signal value is all higher than the connection threshold value of setting, and last time signal value (Rn) not less than secondary signal value second from the bottom
(Rn-1) when, initiate the connection of the primary link.
Further, the terminal is established the connection of primary link and at least one auxiliary link and is included:
The terminal detects whether there is the link connected, if it does not exist, then initiating to establish the primary link simultaneously
With the connection of at least one auxiliary link, in the connection for being successfully established the primary link and at least one auxiliary link, described in execution
The routing of the auxiliary link is backed up, and deletes in System Routing Table the operation of the routing of the auxiliary link.
Further, it further includes:
The terminal detect only with the primary link establish connection or not successfully at least one auxiliary link
It when establishing connection, initiates to establish the connection with the auxiliary link, when success is connect with the auxiliary link establishment, backup is described auxiliary
The routing of link, and delete in System Routing Table the routing of the auxiliary link.
Further, it further includes:
The terminal detect only connect at least one auxiliary link establishment or not successfully with the primary link
When establishing connection, in the enterprising industry business of auxiliary link that connection has been established, and initiate to establish the connection with the primary link, in success
When establishing connection with the primary link, the routing of the auxiliary link is backed up, and the auxiliary link is deleted in System Routing Table
Routing.
Further, the terminal with multiple auxiliary link establishments when connecting, according to the preferential of the multiple auxiliary link
Grade selects the auxiliary link of highest priority, restores the routing of the auxiliary link of selection, wherein:
Product of the priority of the auxiliary link for the series of rate priority and the series of link dynamic priority.
Further, the primary link is WLAN (WLAN) link, and the auxiliary link is cellular mobile network chain
Road.
Further, a kind of network switching device, including:Connection establishment unit, System Routing Table unit and business processing
Unit, wherein:
The connection establishment unit, for establishing the connection of primary link and at least one auxiliary link;
The System Routing Table unit, for backing up the routing of the auxiliary link, and in System Routing Table described in deletion
The routing of auxiliary link when the primary link disconnects, selects an auxiliary link, restores the routing of the auxiliary link of selection;
The Service Processing Unit, for being engaged in the enterprising industry of the primary link, when the primary link disconnects, described
The enterprising industry business of auxiliary link of System Routing Table Unit selection.
Further, the connection establishment unit is additionally operable to after the primary link disconnects, and detects the net of the primary link
Network signal(l)ing condition initiates the connection with the primary link;
The System Routing Table unit is additionally operable to establish connection with the primary link in connection establishment unit success
When, the routing of selected auxiliary link is deleted in System Routing Table.
In conclusion the present invention is route by control terminal, the fast transferring in each network is realized, user is not felt by
The migration of application network improves the experience that user uses network.
Description of the drawings
Fig. 1 is the flow chart of the method for switching network of present embodiment;
Fig. 2 is the Organization Chart of the network switching device of present embodiment.
Specific embodiment
Have many advantages, such as to cover wide and high mobility, therefore cellular mobile network can be passed through in view of cellular mobile network
It solves wlan network and the interruption that when connection is abnormal to be disconnected and connect phenomena such as unstable, caused WLAN data is transmitted, shadow occurs
The problem of user uses is rung, ensures that user can remain online in use.
Present embodiment keeps the link of two or more successful connections in terminal, wherein a link is used as and works as
The primary link of advance industry business, link other than primary link as spare auxiliary link, when primary link when something goes wrong, move rapidly
Move on to an auxiliary chain road, and by routeing and the method for interface Synchronization Control solves the select permeability of auxiliary link, below with
For quickly being selected between WLAN and cellular mobile network.
Present embodiment realizes that the fast transferring of network should based on the control being route to link and the control of link connection
With solving wlan network disconnection extremely leads to user's disconnection, improves user experience.
As shown in Figure 1, the method for switching network of present embodiment includes:
Step 101:Starting up of terminal opens user interface (UI);
Step 102:Terminal is detected whether there are link connection, if it does not exist, then performing step 110;If it is present
Perform step 103;
Step 103:Whether the link that terminal judgement detects is WLAN links, if it is, performing step 104;Otherwise,
Perform step 107;
Step 104:Terminal shows WLAN connections on UI, and initiates the connection of cellular mobile network link;
Step 105:Terminal judges whether the connection of cellular mobile network link succeeds, if it succeeds, performing step
106;Otherwise, step 104 is performed;
Step 106:The routing of terminal backup cellular mobile network link, and cellular network chain is deleted in System Routing Table
The routing on road terminates;
The routing of cellular network link is deleted in System Routing Table, only retains currently used WLAN in System Routing Table
The routing of link.
Step 107:If the link detected is cellular mobile network link, terminal shows cellular mobile network on UI
It connects (such as TD-SCDMA), and initiates the connection of WLAN links;
Step 108:Terminal judges whether the connection of WLAN links succeeds, if it succeeds, performing step 109;Otherwise, it holds
Row step 107;
Step 109:The routing of terminal backup cellular mobile network link, and delete cellular mobile network in System Routing Table
The routing of link, terminal show WLAN connections on UI, terminate;
Here the presence of link is kept by deleting the route implementing of cellular mobile network link, but makes lost route,
Business is made to walk WLAN, it is consistent with the display of UI.
Step 110:Terminal initiates the connection of WLAN links and cellular mobile network link simultaneously, in WLAN links and honeycomb
When mobile network links successful connections, terminal shows WLAN connections on UI, and backs up the routing of cellular mobile network link,
The routing of cellular mobile network link is deleted in System Routing Table;
If WLAN links connect not successfully, above-mentioned steps 107 are performed;If the failed connection of cellular mobile network link,
Then perform above-mentioned steps 104.
Step 111:Terminal, according to the priority that cellular mobile network links, selects excellent when WLAN links disconnect extremely
The first highest link of grade restores the route stand-by (Millisecond) of the cellular mobile network link of selection, service switching to selection
Cellular mobile network chain road, terminal simultaneous display on UI move to cellular mobile network link (such as TD- of selection
SCDMA);
WLAN links may cause to disconnect due to poor signal quality or other factors.
The priority of cellular mobile network link is that association rate priority and link dynamic priority are calculated.Speed
Rate priority determines that rate is bigger, and rate priority is higher by transmitted data on network rate, and series is represented with natural number, numerical value
Bigger rate priority is higher.Link dynamic priority is determined according to P values, P=frequency of abnormity/connection number, and P values are smaller
Priority is higher, divides the different brackets of link dynamic priority accordingly, and series is represented with natural number, numerical value bigger priority
It is higher.The priority that rate priority and the product of link dynamic priority are linked as cellular mobile network, product are bigger
Priority is higher.
For example, when the priority of TD-SCDMA links is higher than the priority of WCDMA links, then restore TD-SCDMA links
Route stand-by.
Step 112:Terminal timing scan wlan network is all higher than setting in the signal value that the secondary scannings of continuous N (N > 1) obtain
Fixed connection threshold value, and last time signal value RnNot less than last time signal value Rn-1When, terminal initiates the company of WLAN links
It connects, after successful connection, display is switched to WLAN links on UI, while backs up cellular network link routing, and route in system
The routing of cellular mobile network link is deleted in table, business is made to walk WLAN links.
As shown in Fig. 2, present embodiment additionally provides a kind of network switching device, including:Connection establishment unit, system road
By table unit and Service Processing Unit, wherein:
Connection establishment unit, for establishing the connection of primary link and at least one auxiliary link.
The connection that connection establishment unit establishes primary link and at least one auxiliary link includes:Detect whether there is what is connected
Link, if it does not exist, then the connection of primary link and at least one auxiliary link is established in initiation simultaneously.
System Routing Table unit, for being successfully established the connection of primary link and at least one auxiliary link in connection establishment unit
When, the routing of auxiliary link is backed up, and the routing of auxiliary link is deleted in System Routing Table, when primary link disconnects, selection one is auxiliary
Link restores the routing of the auxiliary link of selection;
Service Processing Unit for carrying out business over the primary link, when primary link disconnects, is selected in System Routing Table unit
The enterprising industry business of auxiliary link selected.
Connection establishment unit is additionally operable to after primary link disconnects, and the network signal conditions of primary link is detected, to primary link
Network signal carries out N (N > 1) secondary detection, and the connection threshold value of setting, and last time are all higher than in the signal value that detection obtains
Signal value (Rn) not less than secondary signal value (R second from the bottomn-1) when, initiate the connection of primary link.
System Routing Table unit is additionally operable to, when connection establishment unit success is established with primary link and connected, route in system
The routing of the auxiliary link of selection is deleted in table.
Connection establishment unit detect only with primary link establish connection or not successfully at least one auxiliary link establishment
During connection, initiate to establish the connection with auxiliary link;System Routing Table unit connects in connection establishment unit success with auxiliary link establishment
When connecing, the routing of auxiliary link is backed up, and the routing of auxiliary link is deleted in System Routing Table.
Connection establishment unit only connect at least one auxiliary link establishment detecting or is established not successfully with primary link
During connection, initiate to establish the connection with primary link;System Routing Table unit is established in connection establishment unit success with primary link to be connected
When connecing, the routing of auxiliary link is backed up, and the routing of auxiliary link is deleted in System Routing Table.
Obviously, those skilled in the art should be understood that each module of the above-mentioned present invention or each step can be with general
Computing device realize that they can concentrate on single computing device or be distributed in multiple computing devices and be formed
Network on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are stored
It is performed in the storage device by computing device, and in some cases, it can be to be different from shown in sequence herein performs
The step of going out or describing they are either fabricated to each integrated circuit modules respectively or by multiple modules in them or
Step is fabricated to single integrated circuit module to realize.It to be combined in this way, the present invention is not limited to any specific hardware and softwares.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, that is made any repaiies
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (8)
1. a kind of method for switching network, which is characterized in that including:
Terminal establishes the connection of primary link and at least one auxiliary link, backs up the routing of the auxiliary link, and in System Routing Table
The middle routing for deleting the auxiliary link, in the enterprising industry business of the primary link;
The terminal selects an auxiliary link when the primary link disconnects, and restores the routing of the auxiliary link of selection, in the auxiliary of selection
The enterprising industry business of link;
Wherein, the terminal is established the connection of primary link and at least one auxiliary link and is included:
The terminal detect only with the primary link establish connection or not successfully at least one auxiliary link establishment
It during connection, initiates to establish the connection with the auxiliary link, when success is connect with the auxiliary link establishment, backs up the auxiliary link
Routing, and delete in System Routing Table the routing of the auxiliary link;
The primary link is WLAN (WLAN) link, and the auxiliary link is cellular mobile network link.
2. the method as described in claim 1, which is characterized in that further include:
The terminal detects the network signal conditions of the primary link, initiates the connection of the primary link, after successful connection, backup
The routing of selected auxiliary link deletes the routing of selected auxiliary link, in the primary link in System Routing Table
Enterprising industry business.
3. method as claimed in claim 2, it is characterised in that:
The network signal of primary link described in the terminal-pair carries out n times detection, and setting is all higher than in the signal value that detection obtains
Threshold value is connected, and during signal value of the last time signal value not less than second from the bottom time, initiates the connection of the primary link;
Wherein, the N is the positive integer more than 1.
4. the method as described in claim 1, which is characterized in that the terminal establishes the company of primary link and at least one auxiliary link
It connects and further includes:
The terminal detects whether there is the link that has connected, if it does not exist, then initiating to establish the primary link and extremely simultaneously
The connection of a few auxiliary link, in the connection for being successfully established the primary link and at least one auxiliary link, performs the backup
The routing of the auxiliary link, and delete in System Routing Table the operation of the routing of the auxiliary link.
5. method as claimed in claim 4, which is characterized in that further include:
The terminal only connect at least one auxiliary link establishment detecting or is established not successfully with the primary link
During connection, in the enterprising industry business of auxiliary link that connection has been established, and initiate to establish the connection with the primary link, in success and institute
When stating primary link foundation connection, the routing of the auxiliary link is backed up, and the routing of the auxiliary link is deleted in System Routing Table.
6. the method as described in claim 1, it is characterised in that:
The terminal, according to the priority of the multiple auxiliary link, selects priority when being connect with multiple auxiliary link establishments
Highest auxiliary link restores the routing of the auxiliary link of selection, wherein:
Product of the priority of the auxiliary link for the series of rate priority and the series of link dynamic priority.
7. a kind of network switching device, which is characterized in that including:Connection establishment unit, System Routing Table unit and business processing
Unit, wherein:
The connection establishment unit, for establishing the connection of primary link and at least one auxiliary link;
The System Routing Table unit for backing up the routing of the auxiliary link, and deletes the auxiliary chain in System Routing Table
The routing on road when the primary link disconnects, selects an auxiliary link, restores the routing of the auxiliary link of selection;
The Service Processing Unit, for being engaged in the enterprising industry of the primary link, when the primary link disconnects, in the system
The enterprising industry business of auxiliary link of routing table Unit selection;
Wherein, the connection establishment unit includes for establishing the connection of primary link and at least one auxiliary link:
Terminal detect only with the primary link establish connection or connect not successfully at least one auxiliary link establishment
When, it initiates to establish the connection with the auxiliary link, when success is connect with the auxiliary link establishment, backs up the road of the auxiliary link
By, and delete in System Routing Table the routing of the auxiliary link;
The primary link is WLAN (WLAN) link, and the auxiliary link is cellular mobile network link.
8. device as claimed in claim 7, it is characterised in that:
The connection establishment unit is additionally operable to after the primary link disconnects, and detects the network signal conditions of the primary link, hair
Play the connection with the primary link;
The System Routing Table unit is additionally operable to when connection establishment unit success is established with the primary link and connected,
The routing of selected auxiliary link is deleted in System Routing Table.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110243213.3A CN102368860B (en) | 2011-08-23 | 2011-08-23 | A kind of method for switching network and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110243213.3A CN102368860B (en) | 2011-08-23 | 2011-08-23 | A kind of method for switching network and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102368860A CN102368860A (en) | 2012-03-07 |
CN102368860B true CN102368860B (en) | 2018-07-06 |
Family
ID=45761407
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110243213.3A Expired - Fee Related CN102368860B (en) | 2011-08-23 | 2011-08-23 | A kind of method for switching network and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102368860B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106332206A (en) * | 2015-07-07 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for realizing network switching |
CN106454801B (en) * | 2016-12-14 | 2019-10-01 | 北京小米移动软件有限公司 | Method for switching network and terminal |
CN111148227B (en) * | 2018-11-02 | 2023-01-17 | 展讯半导体(南京)有限公司 | Method and device for requesting time-frequency resource in fleet, storage medium and UE |
CN109587052B (en) | 2019-01-30 | 2022-03-15 | 展讯通信(上海)有限公司 | Multilink data transmission method and device |
CN111614554B (en) * | 2020-05-20 | 2022-02-01 | 中国联合网络通信集团有限公司 | Route switching method, control device, multi-route network system and storage medium |
CN111698742B (en) * | 2020-06-08 | 2023-03-21 | 锐捷网络股份有限公司 | Data communication method, terminal device, electronic device, and computer storage medium |
CN112543230B (en) * | 2020-12-04 | 2023-06-27 | 深圳市捷顺科技实业股份有限公司 | Method, device, equipment and medium for communication between controller host and cloud platform |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1726727A (en) * | 2002-11-13 | 2006-01-25 | 诺基亚公司 | Method and apparatus for performing inter-technology handoff from WLAN to cellular network |
CN101373990A (en) * | 2008-09-23 | 2009-02-25 | 北京星网锐捷网络技术有限公司 | Method and apparatus for link backup |
CN101668322A (en) * | 2009-09-17 | 2010-03-10 | 深圳华为通信技术有限公司 | Network switching method of terminal and terminal equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7042876B1 (en) * | 2000-09-12 | 2006-05-09 | Cisco Technology, Inc. | Stateful network address translation protocol implemented over a data network |
WO2006049235A1 (en) * | 2004-11-04 | 2006-05-11 | Matsushita Electric Industrial Co., Ltd. | Multi-interface communication equipment, terminal and path switching method |
CN101136845A (en) * | 2006-08-30 | 2008-03-05 | 中兴通讯股份有限公司 | Multi-protocol routing configuration device and method |
US7835286B2 (en) * | 2008-01-11 | 2010-11-16 | Alcatel Lucent | Dynamic multi-objective grid resources access |
-
2011
- 2011-08-23 CN CN201110243213.3A patent/CN102368860B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1726727A (en) * | 2002-11-13 | 2006-01-25 | 诺基亚公司 | Method and apparatus for performing inter-technology handoff from WLAN to cellular network |
CN101373990A (en) * | 2008-09-23 | 2009-02-25 | 北京星网锐捷网络技术有限公司 | Method and apparatus for link backup |
CN101668322A (en) * | 2009-09-17 | 2010-03-10 | 深圳华为通信技术有限公司 | Network switching method of terminal and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN102368860A (en) | 2012-03-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102368860B (en) | A kind of method for switching network and device | |
EP3322217B1 (en) | Wireless hotspot switching method, mobile terminal and storage medium | |
CN111565407B (en) | Master cell group failure recovery for dual connectivity wireless devices | |
CN109743783B (en) | Data transmission control method and related product | |
CN103024874B (en) | A kind of method and device selecting network insertion | |
US9225816B2 (en) | Wireless device system—architecture | |
CN101917749B (en) | Method and device for realizing channel dynamic handoff in train communication system | |
CN106559916A (en) | A kind of method and its device, base station and terminal for setting up auxiliary signaling link | |
CN108781371B (en) | Wireless resource management method and device | |
US9769721B2 (en) | Channel switching method, apparatus, and device | |
CN103501506A (en) | Terminal self-adaptive data transmission system and method for Internet of Vehicles service | |
CN103220736B (en) | The reconstruction object cell selection method of RRC connection reconstruction and device | |
CN102244912A (en) | Method and system for switching networks | |
US20190021036A1 (en) | Terminal apparatus, communication system, and connection-destination selection method | |
CN112243301B (en) | Roaming implementation method and device based on link backup | |
JP2009141632A (en) | Communication method and mobile machine | |
EP3018968B1 (en) | Wireless access method, apparatus and system | |
CN106332301A (en) | Terminal, base station, and wireless resource control method | |
CN104837017B (en) | Intelligent block image Transmission system and method | |
JP4429132B2 (en) | Mobile radio communication system | |
CN105228203A (en) | A kind of cell configuring method and device | |
CN106060850A (en) | Voice scheduling method and device | |
CN111565479A (en) | Communication method, device and system thereof | |
CN105979607B (en) | Method for using the peer-data of WLAN radio to shift | |
CN107548166A (en) | Configure method, master base station, user equipment and the communication system of multi-link signaling |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180706 Termination date: 20180823 |