CN103037358A - Network communication method and network communication system of mobile terminal based on android system - Google Patents
Network communication method and network communication system of mobile terminal based on android system Download PDFInfo
- Publication number
- CN103037358A CN103037358A CN2012105707749A CN201210570774A CN103037358A CN 103037358 A CN103037358 A CN 103037358A CN 2012105707749 A CN2012105707749 A CN 2012105707749A CN 201210570774 A CN201210570774 A CN 201210570774A CN 103037358 A CN103037358 A CN 103037358A
- Authority
- CN
- China
- Prior art keywords
- network
- wifi
- portable terminal
- android system
- wifi network
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000004891 communication Methods 0.000 title claims abstract description 31
- 230000004048 modification Effects 0.000 claims description 4
- 238000012986 modification Methods 0.000 claims description 4
- 238000009434 installation Methods 0.000 claims description 3
- 238000004321 preservation Methods 0.000 claims description 3
- 238000010295 mobile communication Methods 0.000 abstract 1
- 230000006870 function Effects 0.000 description 11
- 238000012544 monitoring process Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 2
- 238000000060 site-specific infrared dichroism spectroscopy Methods 0.000 description 2
- 244000097202 Rathbunia alamosensis Species 0.000 description 1
- 235000009776 Rathbunia alamosensis Nutrition 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
Images
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention relates to the mobile communication field, in particular to a network communication method and a network communication system of a mobile terminal based on the android system. Network communication of the mobile terminal through simultaneous application of the wireless fidelity (WiFi) and the 3G can be achieved. The method includes that a preset WiFi customized program is embedded in the android system the mobile terminal equipped, and the android system disconnects control on a WiFi network in the mobile terminal; the android system controls the mobile terminal to be accessed to a 3G network, and ensures a rout entry corresponding to the 3G network after the 3G network is accessed to. Moreover, the WiFi customized program controls the mobile terminal to be accessed to the WiFi network, and ensures a route entry corresponding to the WiFi network after the WiFi network is accessed to. The system comprises a local network module, an embedded module and a WiFi network module.
Description
Technical field
The present invention relates to moving communicating field, relate in particular to network communication method and system based on the portable terminal of Android system.
Background technology
At present, data network commonly used in the portable terminal generally is broadband wireless network WIFI and 3G (Third Generation) Moblie 3G, and wherein, the 3G network coverage rate is wider, but the 3G flow that the user has every month is limited, and rate are higher; The WIFI focus only is present in fixed-site, and the portable terminal of holding as the user is positioned at the fixed-site at WIFI focus place, after being connected to WIFI, then can freely use this WIFI to carry out network service, generally limited flow not.
The network communication method of existing portable terminal mainly comprises: the operating system that carries by portable terminal realizes the connection of WIFI internet and 3G network is controlled; A time period, when needs adopted the WIFI network to carry out network service, operating system was connected the control to the WIFI network; When needs adopt 3G network to carry out network service, then disconnect first the control to WIFI, then connect the control to 3G network.By said process as can be known, a time period, perhaps by the 3G online, perhaps surf the Net by WIFI.And the portable terminal that some functions are fairly perfect for example based on the smart mobile phone of android Android system, can accomplish automatically to identify the WIFI signal, and when finding available WIFI signal, then automatic disconnection 3G connects, and then connects the WIFI connection; When WIFI is unavailable, can automatically opens again 3G and connect.
Hence one can see that, in the existing portable terminal, can't realize opening simultaneously 3G network and WIFI network, affects to a certain extent user's Experience Degree, and then also just can't satisfy the demand that the user carries out 3G network communication and WIFI network service simultaneously.
Summary of the invention
The present invention proposes network communication method and system based on the portable terminal of Android system, can realize using simultaneously on the portable terminal WIFI and 3G to carry out network service.
In order to achieve the above object, technical scheme of the present invention is achieved in that
Network communication method based on the portable terminal of Android system comprises: embed the broadband wireless network WIFI custom program that sets in advance in the Android system that carries to portable terminal, and described Android system disconnects the control to WIFI network in the portable terminal; The method also comprises:
Described Android system control portable terminal is connected the 3G (Third Generation) Moblie 3G network, and determines route entry corresponding to 3G network after connecting 3G network;
And described WIFI custom program control portable terminal is connected the WIFI network, and determines route entry corresponding to WIFI network after connecting the WIFI network.
Preferably, described disconnection comprises the control of WIFI network in the portable terminal: described Android system is closed WIFI and is connected and WIFI focus function, and original configuration file of unloading WIFI driver;
The method further comprises: described WIFI custom program is installed the Reconfigurations file of WIFI driver in the described Android system;
Described WIFI custom program control portable terminal is connected the WIFI network, comprising: described WIFI custom program is according to described WIFI driver and described Reconfigurations file thereof, and the control portable terminal is connected the WIFI network.
Preferably, before described control portable terminal is connected the WIFI network, further comprise:
The order of operational management wireless network;
From described order, call scanning tools and carry out the scanning of WIFI Network Access Point, and the information display of the WIFI Network Access Point that scanning is obtained is to the user;
Receive the WIFI Network Access Point of user selection, and the information of this access point is passed to described WIFI custom program;
Described WIFI custom program carries out the attribute configuration of WIFI network according to the information of described access point.
Preferably, the information of described access point comprises the access pin of title, cipher mode and user's input of WIFI Network Access Point;
Described attribute configuration of carrying out the WIFI network according to the information of described access point comprises:
The access pin that cipher mode that the name of described WIFI network is called described title, WIFI network is set is described cipher mode, WIFI network is described access pin.
Preferably, describedly after connecting the WIFI network, determine route entry corresponding to WIFI network, comprising:
Read the gateway address of WIFI network interface card in the portable terminal;
By receiving user's input, determine to need to pass through the destination address of WIFI access to netwoks, described destination address is related with the described gateway address of WIFI network interface card, form the route entry that communicates by the WIFI network.
Preferably, after determining described destination address, further comprise: preserve described destination address;
Describedly after connecting 3G network, determine route entry corresponding to 3G network, comprising:
Read the gateway address of 3G network interface card in the portable terminal;
When portable terminal need to pass through the 3G network access websites, then that the address of described website is related with the described gateway address of 3G network interface card if the address of this website is all different from all described destination addresses of preservation, form the route entry that communicates by 3G network.
Preferably, described destination address is kept in the destination address tabulation, and by the user interface of portable terminal this destination address tabulation is showed the user;
The method further comprises: when receiving the user to the modification information of described destination address tabulation, the described route that forms is made amendment.
The present invention also provides the network communicating system based on the portable terminal of Android system, comprising:
The local network module is the module that the Android system in the portable terminal carries, and is used for the control portable terminal and connects 3G network, and determine route entry corresponding to 3G network after connecting 3G network, disconnects simultaneously the control to WIFI network in the portable terminal;
Merge module is used for embedding the WIFI custom program that sets in advance to described Android system;
The WIFI mixed-media network modules mixed-media is used for connecting the WIFI network by described WIFI custom program control portable terminal, and determines route entry corresponding to WIFI network after connecting the WIFI network.
Preferably, described WIFI mixed-media network modules mixed-media comprises:
The Reconfigurations submodule is used for to the Reconfigurations file of described Android system installation WIFI driver;
The connexon module is used for according to described WIFI driver and described Reconfigurations file thereof, and the control portable terminal is connected the WIFI network.
Preferably, described WIFI mixed-media network modules mixed-media also comprises:
Order operation submodule is used for the order of operational management wireless network;
The scanning submodule is used for calling the scanning that scanning tools carries out the WIFI Network Access Point from described order, and the information display of the WIFI Network Access Point that scanning is obtained is to the user;
Network adds submodule, is used for receiving the WIFI Network Access Point of user selection, and the information of this access point is passed to described WIFI custom program;
The attribute configuration submodule is used for described WIFI custom program carries out the WIFI network according to the information of described access point attribute configuration.
Compared with prior art, network communication method and the system of the portable terminal based on Android system provided by the invention, embed the WIFI custom program that sets in advance in the Android system in the portable terminal, and disconnect Android system to the control of WIFI network in the portable terminal, and then Android system control portable terminal is connected 3G network, and behind the connection 3G network, determine route entry corresponding to 3G network, so that portable terminal is opened 3G network communication, namely support portable terminal to pass through the 3G network access websites; Simultaneously, WIFI custom program control portable terminal is connected the WIFI network, and determines route entry corresponding to WIFI network after connecting the WIFI network, so that portable terminal is opened WIFI network service, namely supports portable terminal to pass through WIFI access to netwoks website; Like this, the 3G network of portable terminal is controlled by two different control ends respectively with the WIFI network, do not exert an influence each other, section had both realized the connection of 3G network at one time, also realize the connection of WIFI network, and determine respectively 3G network and route entry corresponding to WIFI network, and then realize using simultaneously WIFI and 3G to carry out network service on the portable terminal.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or the description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the network communication method of a kind of portable terminal based on Android system that Fig. 1 provides for the embodiment of the invention one;
The another kind that Fig. 2 provides for the embodiment of the invention two is based on the flow chart of the network communication method of the portable terminal of Android system;
The module map of the network communicating system of a kind of portable terminal based on Android system that Fig. 3 provides for the embodiment of the invention three;
The another kind that Fig. 4 provides for the embodiment of the invention four is based on the module map of the network communicating system of the portable terminal of Android system.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention clearer, below in conjunction with the accompanying drawing in the embodiment of the invention, technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Embodiment one
The embodiment of the invention one provides a kind of network communication method of the portable terminal based on Android system, and referring to Fig. 1, the method comprises:
Step S101: embed the WIFI custom program that sets in advance in the Android system that carries to portable terminal, and described Android system disconnects the control to WIFI network in the portable terminal;
Step S102: described Android system control portable terminal is connected 3G network, and determines route entry corresponding to 3G network after connecting 3G network;
Step S103: described WIFI custom program control portable terminal is connected the WIFI network, and determines route entry corresponding to WIFI network after connecting the WIFI network;
That is to say, when Android system control portable terminal is connected 3G network, connect the WIFI network by WIFI custom program control portable terminal;
The network communication method based on the portable terminal of Android system that the embodiment of the invention one provides, embed the WIFI custom program that sets in advance in the Android system in the portable terminal, and disconnect Android system to the control of WIFI network in the portable terminal, and then Android system control portable terminal is connected 3G network, and behind the connection 3G network, determine route entry corresponding to 3G network, so that portable terminal is opened 3G network communication, namely support portable terminal to pass through the 3G network access websites; Simultaneously, WIFI custom program control portable terminal is connected the WIFI network, and determines route entry corresponding to WIFI network after connecting the WIFI network, so that portable terminal is opened WIFI network service, namely supports portable terminal to pass through WIFI access to netwoks website; Like this, the 3G network of portable terminal is controlled by two different control ends respectively with the WIFI network, do not exert an influence each other, section had both realized the connection of 3G network at one time, also realize the connection of WIFI network, and determine respectively 3G network and route entry corresponding to WIFI network, and then realize using simultaneously WIFI and 3G to carry out network service on the portable terminal.
For the network communication method based on the portable terminal of Android system that is illustrated more clearly in that above-described embodiment one provides, the below provides a preferred embodiment of the method, sees also embodiment two.
Embodiment two
The embodiment of the invention two provides the network communication method of another kind based on the portable terminal of Android system, in the method, portable terminal based on Android system is specially the Android smart mobile phone, in Android system, embed the custom program that is used for managing Android smart mobile phone connection WIFI network in advance, and disconnect Android system to the control of WIFI network; Referring to Fig. 2, the method comprises:
Step 201: the Android system control Android mobile phone of Android smart mobile phone inside is connected 3G network;
Step 202: close WIFI and connect and WIFI focus function, and unload original configuration file of WIFI driver in the Android system;
Step 203: in described Android system, embed the WIFI custom program that sets in advance;
Like this, the Android smart mobile phone is by the control of WIFI custom program realization to the WIFI network;
Step 204: described WIFI custom program is installed the Reconfigurations file of WIFI driver in the described Android system;
In the present embodiment, the WIFI custom program that is embedded into Android system only is used for generally realizing that the Android smart mobile phone connects the function of terminal as WIFI, namely the Android smart mobile phone only is used for connecting the WIFI network, need not to consider that it is as the function of WIFI focus, therefore, can uninstall in advance original configuration file corresponding to WIFI driver in the Android system, will realize that again WIFI connects needed configuration file and is installed in the Android system as the Reconfigurations file;
Step 205: operational management wireless network order;
Particularly, this management wireless network order is wpa_supplicant, by configuration and the management of this order realization to the WIFI network;
Step 206: from described order, call the scanning that scanning tools carries out the WIFI Network Access Point, and the information display of the WIFI Network Access Point that scanning is obtained is to the user;
Particularly, call the WIFI Network Access Point that exists in the wpa_cli scanning tools scanning surrounding environment, and then these WIFI Network Access Points are analyzed, obtain title, cipher mode, signal strength signal intensity of each WIFI Network Access Point etc., and show in the user interface of Android smart mobile phone, for user selection;
Step 207: receive the WIFI Network Access Point of user selection, and the information of this access point is passed to the WIFI custom program; The information of this access point comprises: the access pin of the title of WIFI Network Access Point, cipher mode and user's input;
Particularly, the add_network that calls in the wpa_cli scanning tools at bottom orders, and the WIFI network is added in the WIFI custom program;
The user is after selecting the WIFI Network Access Point, setting enters the access pin of this WIFI network, according to the title of WIFI Network Access Point and the access pin of cipher mode and user's input the WIFI network is carried out setup of attribute by the bottom program, the process of setup of attribute is referring to step 208;
Step 208: according to the information of described access point, the access pin that cipher mode that the name of described WIFI network is called described title, WIFI network is set is described cipher mode, WIFI network is described access pin;
Particularly, in set_network and set_network order that bottom calls in the wpa_cli scanning tools WIFI network that adds is carried out setup of attribute, for example:
wpa_cli?set_network0ssid[SSID];
wpa_cli?set_nework0psk[PSW];
Wherein, SSID refers to the title of WIFI network, and PSW refers to the access pin of WIFI network;
Step 209: the connection of calling in the order of management wireless network enables instrument, starts the WIFI network connection;
Particularly, call the enable order in the wpa_cli scanning tools, start the connection that enables of WIFI network;
Step 210: the described WIFI network interface card of circularly monitoring is connected to the connection status of described WIFI network, when described connection status is successful connection, finishes described monitoring;
Why needing the circularly monitoring connection status, is in order to prevent the situation of connection failure, for example, the access pin mistake of the WIFI network of user's input, so then can't connect this WIFI network, need the prompting user connection failure this moment, and then the user re-enters access pin and connects; Certainly, the reliability in order to ensure that monitoring connects in the circularly monitoring process, can adopt timeout mechanism, namely sets between circularly monitoring default, and 60 seconds for example are if not yet successful connection within 60 seconds is then pointed out connection failure to report to the police, and reconnected;
Wherein, step 209 and step 210 have realized the WIFI custom program according to described WIFI driver and described Reconfigurations file thereof, and the control portable terminal is connected the function of WIFI network;
Step 211: obtain the IP address of Android smart mobile phone in the WIFI network;
Particularly, start the dhcpd order and finish obtaining of IP address, so that the Android smart mobile phone can obtain the IP address, in order to carry out network service;
In the present embodiment, after connecting 3G network and WIFI network, also need to determine respectively 3G network and route entry corresponding to WIFI network, so that the Android smart mobile phone is according to determining that route conducts interviews to each website; The below provides the method that route entry is determined:
Step 212: the gateway address that reads WIFI network interface card in the Android smart mobile phone;
Step 213: by receiving user's input, determine to need to pass through the destination address of WIFI access to netwoks, described destination address is related with the described gateway address of WIFI network interface card, form the route entry that communicates by the WIFI network;
Above-mentioned steps 212 and step 213 have realized determining route entry corresponding to WIFI network; For example, when excellent cruel this class of access need to expend website than various flow, generally can pass through the WIFI access to netwoks, namely need the route through the WIFI network, thereby can the destination address at Yoqoo station is related with the gateway address of WIFI network interface card, form the route entry by WIFI access to netwoks Yoqoo station;
In addition, in the present embodiment, after determining destination address, this destination address can also be kept in the destination address tabulation, and the user interface of this destination address tabulation by the Android smart mobile phone showed the user, input the destination address that needs by the website of WIFI access to netwoks for the user;
Certainly, some in particular cases, the user often also only wishes to access certain website by 3G network, perhaps upload the critical data of some confidentialities, perhaps for access websites purpose easily, when the little website of those flows is conducted interviews, acquiescence is accessed by 3G network, need not additionally to set again; The below provides definite method of route entry corresponding to 3G network:
Step 214: the gateway address that reads 3G network interface card in the portable terminal;
Step 215: when portable terminal need to pass through the 3G network access websites, if the address of this website is all different from all described destination addresses of preservation, then that the address of described website is related with the described gateway address of 3G network interface card, form the route entry that communicates by 3G network;
In general, if there is not particular determination, all websites all communicate by 3G network, namely all pass through the route of 3G network;
Like this, the Android smart mobile phone can be opened 3G network and WIFI network simultaneously, and the user can be according to actual needs, freely select by WIFI network or 3G network access websites, so that the user is comparatively flexible when network is selected, and raising user's Experience Degree;
Certainly, in order to make things convenient for the user according to actual needs to making amendment by the destination address of WIFI network or 3G network, the bottom program also supports to adjust in real time the function of route; Particularly, the user can make amendment to destination address tabulation in user interface, such as deletion or increase some destination address, thereby by the intermediate layer with user's modification communication in the bottom program, and then the bottom program can be carried out corresponding modify to route.
The network communication method based on the portable terminal of Android system that the present embodiment provides, connection by Android system control 3G network, and in Android system, embed the WIFI custom program that sets in advance, connection by this WIFI custom program control WIFI network, like this, have two network control ends in smart mobile phone inside, control respectively corresponding network data, and unaffected each other, so that can open simultaneously 3G network function and WIFI network function by smart mobile phone;
For example, in a lot of commercial Application scenes, the critical data of some confidentialities often wishes to upload by 3G network, and to guarantee the fail safe of data, this data general data amount is little, but need to upload for a long time; And the hope such as audio, video data just upload under the WIFI focus condition having, and the data volume of this categorical data is larger, and is very high to network bandwidth requirement; And, generally speaking, upload when needing to realize audio, video data and critical data.Like this, the network communication method that adopts the present embodiment to provide is uploaded when then can realize audio, video data and critical data;
And, the present embodiment has been realized two network interface card routing policies, and the user interface of editor's destination address is provided for the user, and the user can be according to self needs, communicate by letter when realizing the 3G network data with the WIFI network data in the website of setting by 3G network access and the website by the WIFI access to netwoks.
Embodiment three
For embodiment one, the embodiment of the invention three provides a kind of network communicating system of the portable terminal based on Android system, and referring to Fig. 3, this system comprises:
WIFI mixed-media network modules mixed-media 33 is used for connecting the WIFI network by described WIFI custom program control portable terminal, and determines route entry corresponding to WIFI network after connecting the WIFI network.
Embodiment four
For embodiment two, the embodiment of the invention four provides the network communicating system of another kind based on the portable terminal of Android system, and referring to Fig. 4, this system comprises:
WIFI mixed-media network modules mixed-media 43 is used for control Android smart mobile phone and connects the WIFI network; Particularly, this WIFI mixed-media network modules mixed-media 43 comprises: Reconfigurations submodule 431, order operation submodule 432, scanning submodule 433, network adds submodule 434, attribute configuration submodule 435 enables promoter module 436, circularly monitoring submodule 437, IP address acquisition submodule 438, WIFI gateway address reading submodule 439, WIFI network route is determined submodule 440, destination address submodule 441; Particularly,
Reconfigurations submodule 431 is used for to the Reconfigurations file of described Android system installation WIFI driver;
Particularly, call the WIFI Network Access Point that exists in the wpa_cli scanning tools scanning surrounding environment, and then these WIFI Network Access Points are analyzed, obtain title, cipher mode, signal strength signal intensity of WIFI Network Access Point etc., and show in the user interface of Android smart mobile phone, for user selection;
Network adds submodule 434, is used for receiving the WIFI Network Access Point of user selection, and the information of this access point is passed to the WIFI custom program; The information of this access point comprises: the access pin of the title of WIFI Network Access Point, cipher mode and user's input;
Particularly, the add_network that calls in the wpa_cli scanning tools at bottom orders, and the WIFI network is added in the WIFI custom program;
Set_network and the set_network order of calling in the wpa_cli scanning tools at bottom particularly, are carried out setup of attribute to the WIFI network that adds;
Enable promoter module 436, be used for calling the connection of managing the wireless network order and enable instrument, start the WIFI network connection;
Particularly, call the enable order in the wpa_cli scanning tools, start the connection that enables of WIFI network;
Wherein, enable promoter module 436 and circularly monitoring submodule 437, realized the WIFI custom program according to described WIFI driver and described Reconfigurations file thereof, the WIFI network interface card in the control portable terminal is connected the function of WIFI network;
IP address acquisition submodule 438 is used for obtaining the Android smart mobile phone in the IP address of WIFI network;
Particularly, start the dhcpd order and finish obtaining of IP address, so that the Android smart mobile phone can obtain the IP address, in order to carry out network service;
WIFI gateway address reading submodule 439 is for the gateway address that reads the WIFI network interface card;
WIFI network route is determined submodule 440, is used for inputting by receiving the user, and definite destination address that needs by the WIFI access to netwoks, described destination address is related with the described gateway address of WIFI network interface card, form the route entry that communicates by the WIFI network;
Above-mentioned WIFI gateway address reading submodule 439 and WIFI network route determine that submodule 440 realized determining the route of WIFI network;
Also need to be undertaken by local network module 41 the determining of route of 3G network; That is to say, local network module 41 also is used for the 3G network interface card in the Android smart mobile phone is carried out determining of route entry, particularly:
So just finished two network interface card routing configuration of 3G network interface card and WIFI network interface card, and corresponding communication route has been selected in each website, can select to access each website from the route of 3G network interface card or the route of WIFI network interface card to make things convenient for the user, and unaffected each other; For example, when the user can arrange access Yoqoo station, by the route of WIFI network interface card; When access Sina website, by the route of 3G network interface card.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
It should be noted that at last: above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be made amendment to the technical scheme that aforementioned each embodiment puts down in writing, and perhaps part technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. based on the network communication method of the portable terminal of Android system, it is characterized in that, embed the broadband wireless network WiFi custom program that sets in advance in the Android system that carries to portable terminal, and described Android system disconnects the control to WiFi network in the portable terminal; The method also comprises:
Described Android system control portable terminal is connected the 3G (Third Generation) Moblie 3G network, and determines route entry corresponding to 3G network after connecting 3G network;
And described WiFi custom program control portable terminal is connected the WiFi network, and determines route entry corresponding to WiFi network after connecting the WiFi network.
2. the network communication method of the portable terminal based on Android system as claimed in claim 1, it is characterized in that, described disconnection is to the control of WiFi network in the portable terminal, comprise: described Android system is closed WiFi and is connected and WiFi focus function, and original configuration file of unloading WiFi driver;
The method further comprises: described WiFi custom program is installed the Reconfigurations file of WiFi driver in the described Android system;
Described WiFi custom program control portable terminal is connected the WiFi network, comprising: described WiFi custom program is according to described WiFi driver and described Reconfigurations file thereof, and the control portable terminal is connected the WiFi network.
3. the network communication method of the portable terminal based on Android system as claimed in claim 1 is characterized in that, before described control portable terminal is connected the WiFi network, further comprises:
The order of operational management wireless network;
From described order, call scanning tools and carry out the scanning of WiFi Network Access Point, and the information display of the WiFi Network Access Point that scanning is obtained is to the user;
Receive the WiFi Network Access Point of user selection, and the information of this access point is passed to described WiFi custom program;
Described WiFi custom program carries out the attribute configuration of WiFi network according to the information of described access point.
4. the network communication method of the portable terminal based on Android system as claimed in claim 3 is characterized in that, the information of described access point comprises the access pin of title, cipher mode and user's input of WiFi Network Access Point;
Described attribute configuration of carrying out the WiFi network according to the information of described access point comprises:
The access pin that cipher mode that the name of described WiFi network is called described title, WiFi network is set is described cipher mode, WiFi network is described access pin.
5. such as the network communication method of the described portable terminal based on Android system of claim 1-4 any one, it is characterized in that, describedly after connecting the WiFi network, determine route entry corresponding to WiFi network, comprising:
Read the gateway address of WiFi network interface card in the portable terminal;
By receiving user's input, determine to need to pass through the destination address of WiFi access to netwoks, described destination address is related with the described gateway address of WiFi network interface card, form the route entry that communicates by the WiFi network.
6. the network communication method of the portable terminal based on Android system as claimed in claim 5 is characterized in that, after determining described destination address, further comprises: preserve described destination address;
Describedly after connecting 3G network, determine route entry corresponding to 3G network, comprising:
Read the gateway address of 3G network interface card in the portable terminal;
When portable terminal need to pass through the 3G network access websites, then that the address of described website is related with the described gateway address of 3G network interface card if the address of this website is all different from all described destination addresses of preservation, form the route entry that communicates by 3G network.
7. the network communication method of the portable terminal based on Android system as claimed in claim 6 is characterized in that, described destination address is kept in the destination address tabulation, and by the user interface of portable terminal this destination address tabulation is showed the user;
The method further comprises: when receiving the user to the modification information of described destination address tabulation, the described route that forms is made amendment.
8. based on the network communicating system of the portable terminal of Android system, it is characterized in that, comprising:
The local network module is the module that the Android system in the portable terminal carries, and is used for the control portable terminal and connects 3G network, and determine route entry corresponding to 3G network after connecting 3G network, disconnects simultaneously the control to WiFi network in the portable terminal;
Merge module is used for embedding the WiFi custom program that sets in advance to described Android system;
The WiFi mixed-media network modules mixed-media is used for connecting the WiFi network by described WiFi custom program control portable terminal, and determines route entry corresponding to WiFi network after connecting the WiFi network.
9. the network communicating system of the portable terminal based on Android system as claimed in claim 8 is characterized in that, described WiFi mixed-media network modules mixed-media comprises:
The Reconfigurations submodule is used for to the Reconfigurations file of described Android system installation WiFi driver;
The connexon module is used for according to described WiFi driver and described Reconfigurations file thereof, and the control portable terminal is connected the WiFi network.
10. the network communicating system of the portable terminal based on Android system as claimed in claim 9 is characterized in that, described WiFi mixed-media network modules mixed-media also comprises:
Order operation submodule is used for the order of operational management wireless network;
The scanning submodule is used for calling the scanning that scanning tools carries out the WiFi Network Access Point from described order, and the information display of the WiFi Network Access Point that scanning is obtained is to the user;
Network adds submodule, is used for receiving the WiFi Network Access Point of user selection, and the information of this access point is passed to described WiFi custom program;
The attribute configuration submodule is used for described WiFi custom program carries out the WiFi network according to the information of described access point attribute configuration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210570774.9A CN103037358B (en) | 2012-12-24 | 2012-12-24 | Based on network communication method and the system of the mobile terminal of Android system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210570774.9A CN103037358B (en) | 2012-12-24 | 2012-12-24 | Based on network communication method and the system of the mobile terminal of Android system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103037358A true CN103037358A (en) | 2013-04-10 |
CN103037358B CN103037358B (en) | 2016-01-20 |
Family
ID=48023748
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210570774.9A Expired - Fee Related CN103037358B (en) | 2012-12-24 | 2012-12-24 | Based on network communication method and the system of the mobile terminal of Android system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103037358B (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973800A (en) * | 2014-05-19 | 2014-08-06 | 普天信息技术有限公司 | Android-based double-network-card concurrence implementation method |
CN104125564A (en) * | 2014-07-25 | 2014-10-29 | 广东翼卡车联网服务有限公司 | Method for implementing automatic connection of vehicle host wireless network and through preset APPs (Application) |
CN104202737A (en) * | 2014-08-20 | 2014-12-10 | 深圳市华域无线技术股份有限公司 | Method for saving traffic of wireless router terminal |
CN105119776A (en) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and system for detecting cause of WiFi connection failure |
CN105163289A (en) * | 2015-07-28 | 2015-12-16 | 小米科技有限责任公司 | Method and apparatus for prompting connection failure during access to wireless local area network (WLAN) |
CN105357373A (en) * | 2015-10-08 | 2016-02-24 | 广州中海达定位技术有限公司 | Method and system for simultaneously using plurality of networks based on Android system |
CN105703965A (en) * | 2014-11-26 | 2016-06-22 | 中国移动通信集团公司 | Detection method and detection device for access network, and terminal |
CN105847321A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Intelligent terminal and system permission-free network configuration method thereof |
WO2017139979A1 (en) * | 2016-02-19 | 2017-08-24 | 吴伟东 | Mobile telephone smart networking method and system |
CN107529207A (en) * | 2017-09-30 | 2017-12-29 | 北京领通科技有限公司 | Network communication method and device |
CN107734591A (en) * | 2017-11-15 | 2018-02-23 | 世纪龙信息网络有限责任公司 | The wireless public network connection method of intelligent terminal and system |
CN107743309A (en) * | 2017-10-16 | 2018-02-27 | 深圳市汉普电子技术开发有限公司 | Processing method, terminal device and the storage medium of wireless cipher data |
CN107786998A (en) * | 2017-08-31 | 2018-03-09 | 上海连尚网络科技有限公司 | A kind of processing method of network connection, device, equipment and computer-readable storage medium |
CN108235366A (en) * | 2018-03-30 | 2018-06-29 | 四川长虹电器股份有限公司 | WIFI automated testing methods based on wpa_suppliant |
CN108616951A (en) * | 2016-12-20 | 2018-10-02 | 大唐半导体设计有限公司 | A kind of method and apparatus for realizing data transmission |
CN109151863A (en) * | 2018-08-30 | 2019-01-04 | 希格斯动力科技(珠海)有限公司 | Android system network management and system based on routing table |
CN110995867A (en) * | 2019-12-20 | 2020-04-10 | 上海有个机器人有限公司 | Communication system for human-computer interaction and robot |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215154A (en) * | 2010-04-06 | 2011-10-12 | 中兴通讯股份有限公司 | Access control method of network business and terminal |
CN102340891A (en) * | 2011-10-12 | 2012-02-01 | 中兴通讯股份有限公司 | Service switching method and device for multimode terminal |
CN102572986A (en) * | 2011-12-30 | 2012-07-11 | 中兴通讯股份有限公司 | Communication terminal and network switching method thereof |
US20120225672A1 (en) * | 2011-03-01 | 2012-09-06 | Newport Television Llc | Geotargeted news and advertisement delivery system |
-
2012
- 2012-12-24 CN CN201210570774.9A patent/CN103037358B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102215154A (en) * | 2010-04-06 | 2011-10-12 | 中兴通讯股份有限公司 | Access control method of network business and terminal |
US20120225672A1 (en) * | 2011-03-01 | 2012-09-06 | Newport Television Llc | Geotargeted news and advertisement delivery system |
CN102340891A (en) * | 2011-10-12 | 2012-02-01 | 中兴通讯股份有限公司 | Service switching method and device for multimode terminal |
CN102572986A (en) * | 2011-12-30 | 2012-07-11 | 中兴通讯股份有限公司 | Communication terminal and network switching method thereof |
Cited By (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973800A (en) * | 2014-05-19 | 2014-08-06 | 普天信息技术有限公司 | Android-based double-network-card concurrence implementation method |
CN103973800B (en) * | 2014-05-19 | 2017-12-08 | 普天信息技术有限公司 | A kind of double netcard based on Android system and the implementation method deposited |
CN104125564A (en) * | 2014-07-25 | 2014-10-29 | 广东翼卡车联网服务有限公司 | Method for implementing automatic connection of vehicle host wireless network and through preset APPs (Application) |
CN104202737A (en) * | 2014-08-20 | 2014-12-10 | 深圳市华域无线技术股份有限公司 | Method for saving traffic of wireless router terminal |
CN105703965A (en) * | 2014-11-26 | 2016-06-22 | 中国移动通信集团公司 | Detection method and detection device for access network, and terminal |
CN105163289A (en) * | 2015-07-28 | 2015-12-16 | 小米科技有限责任公司 | Method and apparatus for prompting connection failure during access to wireless local area network (WLAN) |
CN105119776B (en) * | 2015-09-08 | 2017-10-31 | 广东欧珀移动通信有限公司 | A kind of WiFi connection failures reason detection method and system |
CN105119776A (en) * | 2015-09-08 | 2015-12-02 | 广东欧珀移动通信有限公司 | Method and system for detecting cause of WiFi connection failure |
CN105357373A (en) * | 2015-10-08 | 2016-02-24 | 广州中海达定位技术有限公司 | Method and system for simultaneously using plurality of networks based on Android system |
CN105357373B (en) * | 2015-10-08 | 2018-11-13 | 广州中海达定位技术有限公司 | Multi net voting based on android system simultaneously uses method and system |
WO2017139979A1 (en) * | 2016-02-19 | 2017-08-24 | 吴伟东 | Mobile telephone smart networking method and system |
CN105847321A (en) * | 2016-03-11 | 2016-08-10 | 北京奇虎科技有限公司 | Intelligent terminal and system permission-free network configuration method thereof |
CN108616951A (en) * | 2016-12-20 | 2018-10-02 | 大唐半导体设计有限公司 | A kind of method and apparatus for realizing data transmission |
CN107786998A (en) * | 2017-08-31 | 2018-03-09 | 上海连尚网络科技有限公司 | A kind of processing method of network connection, device, equipment and computer-readable storage medium |
WO2019042116A1 (en) * | 2017-08-31 | 2019-03-07 | 上海连尚网络科技有限公司 | Network connection processing method, device and apparatus, and computer storage medium |
CN107529207A (en) * | 2017-09-30 | 2017-12-29 | 北京领通科技有限公司 | Network communication method and device |
CN107743309A (en) * | 2017-10-16 | 2018-02-27 | 深圳市汉普电子技术开发有限公司 | Processing method, terminal device and the storage medium of wireless cipher data |
CN107734591A (en) * | 2017-11-15 | 2018-02-23 | 世纪龙信息网络有限责任公司 | The wireless public network connection method of intelligent terminal and system |
CN108235366A (en) * | 2018-03-30 | 2018-06-29 | 四川长虹电器股份有限公司 | WIFI automated testing methods based on wpa_suppliant |
CN109151863A (en) * | 2018-08-30 | 2019-01-04 | 希格斯动力科技(珠海)有限公司 | Android system network management and system based on routing table |
CN110995867A (en) * | 2019-12-20 | 2020-04-10 | 上海有个机器人有限公司 | Communication system for human-computer interaction and robot |
Also Published As
Publication number | Publication date |
---|---|
CN103037358B (en) | 2016-01-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103037358A (en) | Network communication method and network communication system of mobile terminal based on android system | |
US11039301B2 (en) | Apparatuses, methods and systems for implementing a system-on-chip with integrated reprogrammable cellular network connectivity | |
EP3116161B1 (en) | Security unit management method and terminal | |
CN105763723B (en) | Mobile terminal and method for upgrading system | |
CN106162517B (en) | Virtual SIM card management method and system | |
CN104902463A (en) | Mobile terminal, multi-card management method for virtual card terminal thereof, and server | |
CN105376738A (en) | Wireless network access method, apparatus and system | |
US20130045715A1 (en) | Method for Transmitting Files and Receiving Files Based on Mobile Terminals, and Mobile Terminal | |
US20150119017A1 (en) | Method and system for implementing smart card remote operation based on smart card web server | |
US11051160B2 (en) | Apparatuses, methods and systems for implementing a system-on-chip with integrated reprogrammable cellular network connectivity | |
US9615285B2 (en) | System, electronic device, method of communicating, and and non-transitory computer-readable storage medium | |
CN101022657B (en) | Mobile communication equipment and the method controlled is used to the selectivity of communication path | |
CN102438288A (en) | APN switching method, system and mobile terminal | |
CN104219356B (en) | A kind of method of display search associated person information, device and mobile terminal | |
US11736947B2 (en) | SIM router device, communication terminal device, method of routing, and method of manufacturing SIM | |
CN104796896A (en) | Wireless network authorized access method, device and system | |
US8719927B2 (en) | Data filtering by using a communication device including an interface on a display showing a domain name | |
US20100105434A1 (en) | Data management method and apparatus using subscriber identity module | |
CN101795478B (en) | Method for data bypass, network side equipment and access gateway | |
CN114301978B (en) | Cloud desktop realization method, system, equipment and storage medium | |
CN104168359B (en) | A kind of long-range way of recording and system based on functional mobile phone | |
CN105530633A (en) | Method, system and equipment for implementing WiFi access service | |
CN102957788B (en) | Method for reading and writing card of mobile terminal with double base-band chips | |
CN109388334A (en) | Store access method, device, storage medium and the processor of equipment | |
CN101668274A (en) | Terminal processing method and terminal unit |
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 | ||
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: 20160120 Termination date: 20161224 |