CN102711181B - A kind of mobile terminal utilizes multilink to realize the method for network shunt - Google Patents

A kind of mobile terminal utilizes multilink to realize the method for network shunt Download PDF

Info

Publication number
CN102711181B
CN102711181B CN201210181400.8A CN201210181400A CN102711181B CN 102711181 B CN102711181 B CN 102711181B CN 201210181400 A CN201210181400 A CN 201210181400A CN 102711181 B CN102711181 B CN 102711181B
Authority
CN
China
Prior art keywords
mobile terminal
link
new
multilink
new link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210181400.8A
Other languages
Chinese (zh)
Other versions
CN102711181A (en
Inventor
姜顺豹
谢志清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Zhongxing Technology Co., Ltd.
Original Assignee
Shenzhen ZTE Mobile Telecom Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen ZTE Mobile Telecom Co Ltd filed Critical Shenzhen ZTE Mobile Telecom Co Ltd
Priority to CN201210181400.8A priority Critical patent/CN102711181B/en
Publication of CN102711181A publication Critical patent/CN102711181A/en
Application granted granted Critical
Publication of CN102711181B publication Critical patent/CN102711181B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a kind of mobile terminal utilizes multilink to realize the method for network shunt, comprises the following steps: a: set up new link B and open focus; B: create new routing table for new link B, and configuration and ip configuration are carried out to described new link B; C: Provisioning Policy route implementing network shunt.The present invention adopts and does flow segmentation according to the identity accessed terminal, by setting up two links, use two routing tables simultaneously, and arrange with policybased routing, make it two links passage passless respectively, thus can make mobile terminal when as focus time, the data of the machine and the data of forwarding are separated completely, for operator, doing like this can balance server load, for mobile phone users, article two, link is separate, be independent of each other, the networking speed of the machine can not be affected like this in time accessing terminal too much, promote Consumer's Experience.

Description

A kind of mobile terminal utilizes multilink to realize the method for network shunt
Technical field
The present invention relates to communication technical field, particularly relate to a kind of mobile terminal and utilize multilink to realize the method for network shunt.
Background technology
The link that current mobile terminal uses after opening wifi hotspot and usb binding focus remains the link of mobile terminal itself, terminal and the machine of other accesses share same link, following problem will be caused like this: to access terminal due to other and the packet that serves as focus machine all walks same link, carrier server end pressure can be caused, owing to sharing same link with other-end, the networking speed of focus machine can be influenced.
No. CN201110121399.5th, Chinese patent application discloses a kind of load allocation method of end-to-end multilink parallel transmission, its main thought is: by the error between load theory of distribution value and actual transmissions value and the contrast between error threshold value, different business separation methods is adopted according to different comparing results, its advantage can effectively reduce after the data rate of business source occurs significantly to change, the time delay that reorders of receiving terminal, thus control overall time delay end to end.The deficiency of the method: performing step is comparatively complicated, is not too applicable to this kind of embedded system of mobile terminal.
Summary of the invention
The object of the present invention is to provide a kind of mobile terminal to utilize multilink to realize the method for network shunt, make the mobile terminal serving as focus use a link, and other other links of use that access terminal, two links walk abreast, and realize network shunt.
Another object of the present invention is to provide a kind of mobile terminal to utilize multilink to realize the method for network shunt, to reduce the load pressure of carrier server end.
The object of the invention is to be achieved through the following technical solutions.
Mobile terminal utilizes multilink to realize a method for network shunt, comprises the following steps:
A: set up new link B and open focus;
B: create new routing table for new link B, and configuration and ip configuration are carried out to described new link B;
C: Provisioning Policy route implementing network shunt.
Preferably, described step a specifically comprises: user selects to open focus, new APN parameter is used to dial up on the telephone, create a new link B for other uses that accesses terminal, corresponding second Microsoft Loopback Adapter of described new link B, former mobile terminal link A is constant, and former mobile terminal accesses terminal with other and sets up into a local area network (LAN).
Preferably, described focus comprises wifi hotspot or usb binding focus.
Preferably, described step b specifically comprises:
B1, be that packet in described local area network (LAN) sends through LAN gateway by destination address;
B2, be that the packet of the IP address connecting new link B sends through the second Microsoft Loopback Adapter by destination address;
B3, arrange default route use second Microsoft Loopback Adapter send.
Preferably, described step b also comprises: arrange about new link B nat address maps and open forward forwarding capability, to ensure that the packet of this local area network (LAN) can send smoothly.
Preferably, described step c specifically comprises:
C1, be that the packet of described local area network (LAN) ip address network segment uses new routing table to carry out route by institute's source address;
C2, be that the packet of described local area network (LAN) ip address network segment uses routing table to carry out route by all destination addresses;
C3, be that the packet of the ip address connecting new link B uses new routing table to carry out route by destination address.
The present invention compared with prior art, the present invention adopts and does flow segmentation according to the identity accessed terminal, by setting up two links, use two routing tables simultaneously, and arrange with policybased routing, make it two links passage passless respectively, thus can make mobile terminal when as focus time, the data of the machine and the data of forwarding are separated completely, for operator, doing like this can balance server load, for mobile phone users, article two, link is separate, be independent of each other, the networking speed of the machine can not be affected like this in time accessing terminal too much, promote Consumer's Experience.
Accompanying drawing explanation
Fig. 1 is the flow chart set up new link B in implementation method of the present invention and open focus.
Fig. 2 is the flow chart of configuration link B routing table in implementation method of the present invention.
Fig. 3 is the flow chart configuring routing policy in implementation method of the present invention.
Fig. 4 is that mobile terminal of the present invention utilizes multilink to realize the method flow diagram of network shunt.
Embodiment
Core concept of the present invention: a newly-built link B before unlatching focus, exist with original link A simultaneously, create new routing table 240 for link B simultaneously, the routing table 254 corresponding with original link A is corresponding, and configuration is carried out to link B and iptables is configured to ensure that the receives data packets that other access terminal has intact routing channel, policy routing technique binding link B is finally adopted to use routing table 240 to carry out route, link A uses routing table 254 to carry out route, the data of the machine and the data of forwarding are separated completely, realizes network shunt.
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
In the present embodiment, realize mobile terminal and utilize multilink network shunt to comprise: create new link B and open focus, link B routing table be set, collocation strategy route three processing procedures:
Refer to Fig. 1, create new link B and open the process of focus, comprise the steps:
101. use new APN parameter to dial up on the telephone, and create a new link B (corresponding second Microsoft Loopback Adapter rmnet1), and it is other machines uses that access terminal that link B connects.Link A is that former link is constant, and the machine online uses (corresponding first Microsoft Loopback Adapter rmnet0, the routing table that its acquiescence uses is No. 254).
102. APN functions unlatching this chance rear serves as server and other-end sets up a local area network (LAN), can create a Microsoft Loopback Adapter wlan0 simultaneously and be used as the equipment mutual with other-end.
Refer to Fig. 2, create the process of new routing table, comprise the steps:
201. is that for this local area network (LAN), other link terminal use to No. 240, the newly-built routing table of new link B, arrange as follows in routing table 240: being first packet in this local area network (LAN) by destination address sends (equipment wlan0 corresponding in gateway device and step 102) through LAN gateway, secondly be that the packet of the IP address of link B sends through equipment rmnet1 by destination address, default route be finally set and use equipment rmnet1 transmission.
202. are arranged about the nat address maps of link B and forward chain.To ensure that the packet of this local area network (LAN) can send smoothly.
Refer to Fig. 3, configuration routing policy, comprises the steps:
Institute's source address is that the packet of this local area network (LAN) ip address network segment uses routing table 240 to carry out route by 301..
All destination addresses are that the packet of this local area network (LAN) ip address network segment uses routing table 240 to carry out route by 302..
Destination address is that the packet of the ip address connecting B uses routing table 240 to carry out route by 303..When in practical implementation, the priority of these several routing rules higher than the routing rule (routing table 254 is that link A corresponding to the machine uses) of routing table 254 correspondence, thus realizes the network shunt function of link A and link B.
Refer to Fig. 4, comprise the steps:
401. set up new link B and open focus.
The ip address of the 402. new B of connection returned by step 401 and gateway address come newly-built routing table and and setting data Packet forwarding rule of taking this as a foundation.
403. use policy routing realizing network shunt on the basis of step 402.
This enforcement adopts policy routing technique to realize the network shunt of mobile terminal after opening focus function, article two, link is separated from each other access network, in time accessing terminal too much, do not affect the networking speed of the machine like this, the load of carrier server can also be reduced simultaneously.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. mobile terminal utilizes multilink to realize a method for network shunt, it is characterized in that, comprises the following steps:
A: set up new link B and open focus, described new link B is applied to the hot spot networks of mobile terminal;
B: create new routing table for new link B, and configuration and ip configuration are carried out to described new link B;
C: Provisioning Policy route, bind new link B and use new routing table to carry out route, original link A uses original routing table to carry out route, the data of the machine and the data of forwarding is separated completely, realizes network shunt.
2. mobile terminal as claimed in claim 1 utilizes multilink to realize the method for network shunt, it is characterized in that, described step a specifically comprises: user selects to open focus, mobile terminal is before unlatching focus, use new APN parameter to dial up on the telephone, create a new link B for other uses that accesses terminal, corresponding second Microsoft Loopback Adapter of described new link B, former mobile terminal link A is constant, and former mobile terminal accesses terminal with other and sets up into a local area network (LAN).
3. mobile terminal as claimed in claim 2 utilizes multilink to realize the method for network shunt, it is characterized in that, described focus comprises wifi hotspot or usb binds focus.
4. mobile terminal as claimed in claim 2 utilizes multilink to realize the method for network shunt, and it is characterized in that, described step b specifically comprises:
B1, be that packet in described local area network (LAN) sends through LAN gateway by destination address;
B2, be that the packet of the IP address connecting new link B sends through the second Microsoft Loopback Adapter by destination address;
B3, arrange default route use second Microsoft Loopback Adapter send.
5. mobile terminal as claimed in claim 4 utilizes multilink to realize the method for network shunt, it is characterized in that, described step b also comprises: arrange about new link B nat address maps and open forward forwarding capability, to ensure that the packet of this local area network (LAN) can send smoothly.
6. mobile terminal as claimed in claim 2 utilizes multilink to realize the method for network shunt, and it is characterized in that, described step c specifically comprises:
C1, be that the packet of described local area network (LAN) ip address network segment uses new routing table to carry out route by institute's source address;
C2, be that the packet of described local area network (LAN) ip address network segment uses new routing table to carry out route by all destination addresses;
C3, be that the packet of the ip address connecting new link B uses new routing table to carry out route by destination address.
CN201210181400.8A 2012-06-05 2012-06-05 A kind of mobile terminal utilizes multilink to realize the method for network shunt Active CN102711181B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210181400.8A CN102711181B (en) 2012-06-05 2012-06-05 A kind of mobile terminal utilizes multilink to realize the method for network shunt

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210181400.8A CN102711181B (en) 2012-06-05 2012-06-05 A kind of mobile terminal utilizes multilink to realize the method for network shunt

Publications (2)

Publication Number Publication Date
CN102711181A CN102711181A (en) 2012-10-03
CN102711181B true CN102711181B (en) 2015-08-26

Family

ID=46903699

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210181400.8A Active CN102711181B (en) 2012-06-05 2012-06-05 A kind of mobile terminal utilizes multilink to realize the method for network shunt

Country Status (1)

Country Link
CN (1) CN102711181B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9825857B2 (en) 2013-11-05 2017-11-21 Cisco Technology, Inc. Method for increasing Layer-3 longest prefix match scale
CN104684043B (en) * 2013-11-28 2019-04-09 中兴通讯股份有限公司 WIFI routing table forming method and device, WIFI communication means and device
CN103957572A (en) * 2014-05-20 2014-07-30 普天信息技术有限公司 Android-system-based distribution method through multi-network route policy
CN104902544B (en) * 2015-05-20 2018-11-16 北京展讯高科通信技术有限公司 A kind of method and device of hotspot device network sharing
CN106817303A (en) * 2016-12-13 2017-06-09 北京元心科技有限公司 Share the method and system of network between personal computer and mobile device
CN109495461B (en) * 2018-11-01 2021-07-23 北京车和家信息技术有限公司 Data access request processing method and device and vehicle-mounted central control system
CN109219088B (en) * 2018-11-21 2021-08-17 Oppo(重庆)智能科技有限公司 Network sharing method and network sharing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668022A (en) * 2009-09-14 2010-03-10 陈博东 Virtual network isolation system established on virtual machine and implementation method thereof
CN101808128A (en) * 2010-03-18 2010-08-18 卢伟 Virtual system of open wireless architecture of wireless mobile terminal equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1946499B1 (en) * 2005-10-20 2012-01-25 Cisco Technology, Inc. Constructing and implementing backup paths in autonomous systems
CN101039309B (en) * 2006-03-16 2010-09-29 联想(北京)有限公司 Link sharing service apparatus and communication method thereof
CN101340356B (en) * 2007-07-05 2012-07-11 华为技术有限公司 Method for forwarding information and information forwarding apparatus
CN101621530B (en) * 2008-07-04 2012-05-30 北京邮电大学 Method and device for dispatching load balancing network resource based on light path share

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101668022A (en) * 2009-09-14 2010-03-10 陈博东 Virtual network isolation system established on virtual machine and implementation method thereof
CN101808128A (en) * 2010-03-18 2010-08-18 卢伟 Virtual system of open wireless architecture of wireless mobile terminal equipment

Also Published As

Publication number Publication date
CN102711181A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102711181B (en) A kind of mobile terminal utilizes multilink to realize the method for network shunt
CN103532878B (en) The processing method of packet and the management method of network traffics and device and system
CN104255046B (en) The method of customized mobile broadband network system and customization mobile broadband network
CN103141133B (en) Data message is carried out to the method and apparatus of policy control
CN102811464B (en) Method, the collecting system of mobile internet access point and its bandwidth aggregates
CN105264835B (en) Gre tunneling implementation method, access device and aggregation gateway
EP2901630B1 (en) Method operating in a fixed access network and user equipments
CN107409080A (en) For servicing the system and method for providing maximum filling link via binding
CN109156046B (en) Home gateway and method for forwarding service thereof
CN103441996A (en) Method and system for transmitting files in concurrent mode
WO2017107814A1 (en) Method, apparatus and system for propagating qos policies
CN102158409B (en) Retransmission control method for IP (Internet Protocol) message and equipment thereof
CN104320499B (en) The method for building up and device of a kind of service transmission link
CN105306366B (en) Data routing method and device
CN105874756B (en) The transmission method and equipment of control signaling
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN104754750A (en) Resource distribution method and device
CN108270690A (en) The method and apparatus for controlling message flow
CN103957572A (en) Android-system-based distribution method through multi-network route policy
CN110072257B (en) Method for user intercommunication under MEC
CN103747116A (en) Business access method and device based on Layer 2 Tunneling Protocol (L2TP)
CN103813288A (en) Method, system, and network element for achieving network as a service (NaaS) based on mobile network
CN110475290A (en) A kind of conversation switching method and device
CN107810620A (en) Binding service is provided at non-anchor node
CN104486229A (en) Method and equipment for realizing VPN message forwarding

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
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Patentee after: Nubian Technologies Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Patentee before: Shenzhen ZTE Mobile Tech Co., Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20170418

Address after: Yuhuatai District of Nanjing city Ning dual 210000 Jiangsu province No. 28 room 1008

Patentee after: Nanjing Zhongxing Technology Co., Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, No. 9018 North Central Avenue, building A, floor 10, Han's innovation

Patentee before: Nubian Technologies Ltd.