CN106998294A - A kind of method that multirouting Multi net voting is supported based on android system - Google Patents

A kind of method that multirouting Multi net voting is supported based on android system Download PDF

Info

Publication number
CN106998294A
CN106998294A CN201710281059.6A CN201710281059A CN106998294A CN 106998294 A CN106998294 A CN 106998294A CN 201710281059 A CN201710281059 A CN 201710281059A CN 106998294 A CN106998294 A CN 106998294A
Authority
CN
China
Prior art keywords
network
multirouting
android system
access
lan
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.)
Pending
Application number
CN201710281059.6A
Other languages
Chinese (zh)
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.)
GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd
Original Assignee
GUIZHOU BROADCASTING&TV INFORMATION NETWORK 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 GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd filed Critical GUIZHOU BROADCASTING&TV INFORMATION NETWORK Co Ltd
Priority to CN201710281059.6A priority Critical patent/CN106998294A/en
Publication of CN106998294A publication Critical patent/CN106998294A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/30Routing of multiclass traffic

Abstract

The present invention discloses a kind of method that multirouting Multi net voting is supported based on android system, and this method comprises the following steps:Step 1. changes the source code of network connection handling process, prevents the network of new successful connection from the network of successful connection originally is squeezed out;Step 2. adjusts routing table, it is ensured that default route falls on the optimal network interface card towards internet;Step 3. formulates customized special routing policy, is accessed and is directed on the network for needing to access Metropolitan Area Network (MAN) or LAN by a kind of IP address range of scope;The present invention can access the demand of internet and LAN simultaneously.

Description

A kind of method that multirouting Multi net voting is supported based on android system
Technical field
The present invention relates to a kind of method that multirouting Multi net voting is supported based on android system, belong to android system skill Art field.
Background technology
Electronic product or equipment based on Android are to access internet or LAN for user on the market at present Unitary demand, Metropolitan Area Network (MAN) or the access than larger LAN can not be supported simultaneously, single access internet such as mobile phone can only By internet in the modes such as wifi and GMS or CDMA, if necessary to access LAN or Metropolitan Area Network (MAN), then need to switch on wifi Net, but the access of internet can not be carried out by LAN, it is impossible to realize that LAN can be while the need accessed with internet Ask.Single access LAN such as set top box can only be also required to by Cable or wired access broadcasting and TV Intranets, it is necessary to access internet Family wireless is switched to by wifi to conduct interviews, is not reached equally while accessing the demand of internet and LAN.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of side based on android system support multirouting Multi net voting Method, the demand of internet and LAN can be accessed simultaneously, the deficiencies in the prior art can be overcome.
The technical scheme is that:A kind of method that multirouting Multi net voting is supported based on android system, this method bag Include following steps:
Step 1. changes the source code of network connection handling process, prevents the network of new successful connection from successful connection originally Network is squeezed out;
Step 2. adjusts routing table, it is ensured that default route falls on the optimal network interface card towards internet;
Step 3. formulates customized special routing policy, and being accessed to be directed to by a kind of IP address range of scope needs to access On the network of Metropolitan Area Network (MAN) or LAN.
Foregoing customized special routing policy is a background service, always in running background, once find network Interface, which is changed, will update and configure.
Prior art compares, the present invention based on android system support multirouting Multi net voting method, this method include with Lower step:Step 1. changes the source code of network connection handling process, prevents the network of new successful connection from having connected into originally The network of work(is squeezed out, and this step is supported while can ensure that and realized on android to Multi net voting;Step 2. adjusts routing table, Ensure that default route falls on the optimal network interface card towards internet, most fast network speed can be so provided, be conducive to improving user's body Test;Step 3. formulates customized special routing policy, and being accessed to be directed to by a kind of IP address range of scope needs to access city On the network of domain net or LAN, by three steps above, android system can be made while accessing internet drawn game The demand of domain net;Foregoing customized special routing policy is a background service, always in running background, once find net Network interface, which is changed, will update and configure, and the realization of multirouting Multi net voting can be so effectively ensured.
Brief description of the drawings
Fig. 1 is the attachment structure schematic diagram of the present invention.
Fig. 2 screens optimal network interface card schematic diagram.
The special routing policy schematic flow sheets of Fig. 3.
Embodiment
Embodiment 1. is illustrated in fig. 1 shown below, a kind of method that multirouting Multi net voting is supported based on android system, this method Comprise the following steps:Step 1. changes the source code of network connection handling process, prevents the network of new successful connection from originally The network of successful connection is squeezed out, and mainly have modified in android codes ConnectivtyService services on code These functions of unneeded, makeDefault, reach that a network will not be upper when connecting a network on the basis of having connected again One network is to broken;Step 2. adjusts routing table, it is ensured that default route falls on the optimal network interface card towards internet, specific stream As described in Figure 2, detailed process is exactly that A network connections success first, such as cable network are connected upper and successfully obtained to journey schematic diagram An IP of Intranet is arrived, android framework layers can give the message informing of this successful connection ConnectivtyService is serviced, and ConnectivtyService services will have by NetdConnector modules handle Then WIFI is connected again if gauze network is route by default, it can equally obtain the IP that an energy leads to outer net, if connected before Connecing successful cable network also has in extranet access ability, software and can be determined by comparing the instantaneous network ability of two networks A fixed network is used as connection Internet network, and such ConnectivtyService services will not only keep connecting into Work(it is wired, but also according to circumstances decision-making to go out optimal extranet access person, and it is then by setting special road to access Intranet Origin is realized, supports special route to need to realize in this layer of addition main table of NETD, part code is as follows:
Step 3. formulates customized special routing policy, and being accessed to be directed to by a kind of IP address range of scope needs to access On the network of Metropolitan Area Network (MAN) or LAN, specific special routing policy schematic flow sheet is as shown in Figure 3;Customized special route plan Slightly one background service, always in running background, once finding that network interface is changed will update and configure.Implement Part script is as follows:

Claims (2)

1. a kind of method that multirouting Multi net voting is supported based on android system, it is characterised in that this method includes following step Suddenly:
Step 1. changes the source code of network connection handling process, prevents the network of new successful connection from successful connection originally Network is squeezed out;
Step 2. adjusts routing table, it is ensured that default route falls on the optimal network interface card towards internet;
Step 3. formulates customized special routing policy, and being accessed to be directed to by a kind of IP address range of scope needs to access On the network of Metropolitan Area Network (MAN) or LAN.
2. the method according to claim 1 that multirouting Multi net voting is supported based on android system, it is characterised in that:Institute The customized special routing policy stated is a background service, always in running background, once find that network interface is changed It will update and configure.
CN201710281059.6A 2017-04-26 2017-04-26 A kind of method that multirouting Multi net voting is supported based on android system Pending CN106998294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710281059.6A CN106998294A (en) 2017-04-26 2017-04-26 A kind of method that multirouting Multi net voting is supported based on android system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710281059.6A CN106998294A (en) 2017-04-26 2017-04-26 A kind of method that multirouting Multi net voting is supported based on android system

Publications (1)

Publication Number Publication Date
CN106998294A true CN106998294A (en) 2017-08-01

Family

ID=59434222

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710281059.6A Pending CN106998294A (en) 2017-04-26 2017-04-26 A kind of method that multirouting Multi net voting is supported based on android system

Country Status (1)

Country Link
CN (1) CN106998294A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260947A (en) * 2020-10-21 2021-01-22 北京如影智能科技有限公司 Network configuration method and device
CN114340046A (en) * 2021-11-19 2022-04-12 南京瀚元科技有限公司 Multi-network-card equipment networking communication method based on Android system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491653A (en) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 WiFi and 3G coexisting method based on Android intelligent terminal
CN103491649A (en) * 2013-10-10 2014-01-01 成都达信通通讯设备有限公司 Method for achieving WIFI synchronizing APN network multichannel concurrent Internet surfing and automatically giving preference to WIFI networking
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method
CN105791019A (en) * 2016-03-16 2016-07-20 烽火通信科技股份有限公司 A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103491653A (en) * 2013-05-13 2014-01-01 上海盛本通讯科技有限公司 WiFi and 3G coexisting method based on Android intelligent terminal
CN103491649A (en) * 2013-10-10 2014-01-01 成都达信通通讯设备有限公司 Method for achieving WIFI synchronizing APN network multichannel concurrent Internet surfing and automatically giving preference to WIFI networking
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method
CN105791019A (en) * 2016-03-16 2016-07-20 烽火通信科技股份有限公司 A method for realizing simultaneous support of wired and wireless network applications in an intelligent set top box

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112260947A (en) * 2020-10-21 2021-01-22 北京如影智能科技有限公司 Network configuration method and device
CN112260947B (en) * 2020-10-21 2022-08-05 北京如影智能科技有限公司 Network configuration method and device
CN114340046A (en) * 2021-11-19 2022-04-12 南京瀚元科技有限公司 Multi-network-card equipment networking communication method based on Android system
CN114340046B (en) * 2021-11-19 2024-03-29 南京瀚元科技有限公司 Multi-network card equipment networking communication method based on Android system

Similar Documents

Publication Publication Date Title
US20210112412A1 (en) Network access method, terminal, and network side network element
US20190075482A1 (en) Reflective mapping of flows to radio bearers
CN109076410A (en) The program of network slice is supported in a wireless communication system
CN106998294A (en) A kind of method that multirouting Multi net voting is supported based on android system
CN107592974A (en) Method and apparatus for providing service in a wireless communication system
CN102685921B (en) Dual-channel communication method and system
CN107273035B (en) Application program recommendation method and mobile terminal
CN108038834B (en) Method, terminal and computer readable storage medium for reducing noise
CN107864456A (en) A kind of colony terminal location updating method and device
CN112000410B (en) Screen projection control method, device and computer readable storage medium
CN109510296B (en) Terminal charging method and device based on graphene screen, terminal and storage medium
CN110048492B (en) Charging circuit, mobile terminal, control method of mobile terminal, and storage medium
CN108595600B (en) Photo classification method, mobile terminal and readable storage medium
KR102645819B1 (en) Method and device for controlling configuration related to sidelink communication in wireless communication system
CN108024013B (en) Screen control method, terminal and computer readable storage medium
CN104717640B (en) A kind of implementation method of the wireless communication based on positioning
CN102083170B (en) Method, system and equipment for informing and outputting selected IP (Internet Protocol) data shunt activation
CN112492340A (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN106713287A (en) Method, apparatus and system for automatically registering wireless access point
CN105723799B (en) Equipment and its method for establishing data connection
CN109327604B (en) Status bar information display method and equipment and computer readable storage medium
CN110341545B (en) Method, system and storage medium for displaying battery parameters
CN107105454A (en) A kind of access base station choosing method of wireless sensor network interior joint
CN107809750A (en) A kind of VoLTE method for processing business and device
CN111029726A (en) Multi-input multi-output antenna system and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170801

RJ01 Rejection of invention patent application after publication