CN102438288A - APN (Access Point Name) switch method and system as well as mobile terminal - Google Patents

APN (Access Point Name) switch method and system as well as mobile terminal Download PDF

Info

Publication number
CN102438288A
CN102438288A CN2011103946825A CN201110394682A CN102438288A CN 102438288 A CN102438288 A CN 102438288A CN 2011103946825 A CN2011103946825 A CN 2011103946825A CN 201110394682 A CN201110394682 A CN 201110394682A CN 102438288 A CN102438288 A CN 102438288A
Authority
CN
China
Prior art keywords
networking
access point
module
network
judge
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
CN2011103946825A
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.)
World (Shanghai) Technology Development Co., Ltd.
Original Assignee
Shenzhen Temobi Science and Technology 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 Temobi Science and Technology Co Ltd filed Critical Shenzhen Temobi Science and Technology Co Ltd
Priority to CN2011103946825A priority Critical patent/CN102438288A/en
Publication of CN102438288A publication Critical patent/CN102438288A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses an APN (Access Point Name) switch method and system as well as a terminal device. The APN switch method comprises the following steps of: determining an APN required by networking application through judging the identification of a wifi network and a network operator; further judging whether an SIM (Subscriber Identity Module) card exists and is used for firstly logging in or not when wifi is not opened or the wifi network does not exist; if the SIM card exists and is used for firstly logging in, reading a preset network configuration file, networking according to a networking manner recorded by a networking mode in the network configuration file, recording the networking manner and an access point of logging in this time, and solving the trouble that a user needs to execute network configuration when various network applications are in networking; and in particular if the wifi is opened and the wifi network exists, networking by the wifi preferably, thus the network speed and the user experience degree are increased.

Description

Method, system and portable terminal that a kind of APN switches
Technical field
The present invention relates to the working application field, relate in particular to method, system and portable terminal that a kind of APN switches.
Background technology
There is China Mobile in present domestic operator, CHINAUNICOM, China Telecom, and China Mobile's wireless network access point has cmwap (China Mobile Wap; China Mobile's dream net), cmnet (China Mobile Net, China Mobile Internet), wifi (wireless fidelity in addition; Wireless compatibility authentication) cmcc-edu of focus cmcc (China Mobile Communications Corporation, China Mobile Communications Corporation) and campus network, the access point of CHINAUNICOM is different according to network type; 2G and 3G are arranged, and the access point of 2G is that (uniwap and uninet are two GPRS access waies that CHINAUNICOM divides, and the former sets up for mobile phone WAP online for uniwap and uninet; The latter utilizes the GPRS service on net for PC, notebook computer, PDA etc.), the access point of 3G is that (3gnet directly inserts Internet, and agent address need be set for 3gwap and 3gnet; Relative 3gwap, networking speed is fast, but order business on the net; The 3gwap access point is to go up through the agency of UNICOM to insert Internet; Mainly be can be on the net direct custom service), the Network Access Point of China Telecom is that (surf the Net and generally be meant " the Internet ", just CTNET by 3G mobile with ctnet for ctwap; Be similar to the CMNET of China Mobile, an open internet connects; CTWAP refers to " ChinaVnet "; Be the access channel of China Telecom's Portal Service, be similar to the CMWAP " mobile dream network's connection " of China Mobile, the business of the inside all is that the telecommunications affiliate directly provides); Which carrier network the terminal that the user uses supports; And use which kind of card, for terminal networking is used, need go identification, and use and will consider the non-existent situation of some terminal accessing-point.
The general way of terminal applies networking at present behind application start, directly uses the access point of terminal acquiescence to network; If there is not access point, then point out user network not exist, let the user remove to carry out network settings; Some access point of using the terminal reads out, and lets the user select the access way that is fit to, and perhaps there is not access point in terminal itself; Use to help the user to create access point, but the user is after having changed operator, has changed the sim card and when not changing the terminal at the terminal; Setting in the past or the access point of creating are after changing the sim card, and access point just can't use, and so just causes being applied in the time of can't networking; Give the certain use threshold of user, cause the obstacle in the use.At this moment need use can be based on the variation of operator and the variation self-adapting network of network.
The technical problem that prior art exists:
1, working application runs into the access point problem when networking, needs the user to carry out network settings;
2, after the user changes the sim card, or the terminal network state is when changing, and application is recognition network automatically, and needs the user to carry out network settings;
3,, when needing to use special operator access point to network, can let use according to demand and search corresponding access point, or create access point in some special working application.
Summary of the invention
The purpose of the embodiment of the invention is to propose method, system and the portable terminal that a kind of APN (Access Point Name, access point) switches, and is intended to solve that working application runs into the access point problem in the prior art when networking, needs the user to carry out network settings; After the user changes the sim card, or the terminal network state is when changing, and working application can't recognize network automatically, and needs the user to carry out network settings; , ad-hoc networked need to use particular operator access point, working application can only search the technical problem of corresponding access point or establishment access point in using.
The embodiment of the invention is achieved in that the method that a kind of APN switches, and may further comprise the steps:
Judge whether wifi opens and have a wifi network, if not, then,
Judge whether to exist the sim card and whether be to use said SIM to land for the first time, if, then,
Read the network profile that presets, the networking mode that the networking pattern in the configuration file Network Based is put down in writing is networked, and the networking mode and the access point of record login.
Another purpose of the embodiment of the invention is to propose the system that a kind of APN switches, and said system comprises: wifi judge module, first operator's judge module and networking mode selection module;
Said wifi judge module links to each other with said first operator's judge module, is used to judge whether wifi opens and have a wifi network, if not, then notifies said first operator's judge module to continue to judge;
Said first operator's judge module; Link to each other with said networking mode selection module with said wifi judge module; Be used to judge whether to exist the sim card and whether be to use said SIM to land for the first time, if then notify said networking mode selection module to carry out the selection of networking mode;
Said networking mode selection module; Link to each other with first operator's judge module with said wifi judge module; Be used to read the network profile that presets, network according to the networking mode that the networking pattern in the network profile is put down in writing, and the networking mode and the access point of record login.
Another purpose of the embodiment of the invention is to propose the terminal equipment that a kind of APN switches, and said terminal equipment comprises the system that APN switches.
Beneficial effect of the present invention:
The present invention confirms the APN that working application need be used by judging the identification of wifi network and operator; When wifi does not open or do not have the wifi network; Further judge whether to exist SIM and whether be to use said SIM to land for the first time; If; Then read the network profile that presets; Networking mode according to the networking pattern in the network profile is put down in writing is networked; And write down the networking mode and the access point of this login; By multiple decision logic, having solved when diverse network is applied in networking needs the user to carry out the trouble of network configuration; Particularly,, then preferentially carry out network and connect, improve network speed and user and experience by wifi if wifi opens and has the wifi network.
Description of drawings
Fig. 1 is the flow chart of a kind of APN changing method of the embodiment of the invention;
Fig. 2 is the structural representation of a kind of APN switched system first preferred embodiment of the present invention;
Fig. 3 is the structural representation of a kind of APN switched system second preferred embodiment of the present invention;
Fig. 4 is the structural representation of a kind of APN switched system the 3rd preferred embodiment of the present invention;
Fig. 5 is the structural representation of a kind of APN switched system the 4th preferred embodiment of the present invention;
Fig. 6 is the structural representation of a kind of APN switched system the 5th preferred embodiment of the present invention;
Fig. 7 is the structural representation of a kind of APN switched system the 6th preferred embodiment of the present invention;
Fig. 8 is the structural representation of a kind of APN switched system the 7th preferred embodiment of the present invention.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and embodiment, the present invention is further elaborated, for the ease of explanation, only show the part relevant with the embodiment of the invention.Should be appreciated that the specific embodiment that this place is described, only be used to explain the present invention, not in order to restriction the present invention.
The present invention confirms the APN that working application need be used by judging the identification of wifi network and operator; When wifi does not open or do not have the wifi network; Further judge whether to exist SIM and whether be to use said SIM to land for the first time; If; Then read the network profile that presets; Networking mode according to the networking pattern in the network profile is put down in writing is networked; And write down the networking mode and the access point of this login; By multiple decision logic, having solved when diverse network is applied in networking needs the user to carry out the trouble of network configuration; Particularly,, then preferentially carry out network and connect, improve network speed and user and experience by wifi if wifi opens and has the wifi network.
Embodiment one
The method flow diagram that a kind of APN of Fig. 1 embodiment of the invention switches.Described method may further comprise the steps:
S101 judges whether wifi opens and have a wifi network, if then get into step S104, if not, then get into step S102;
Whether S102 judges whether to exist the sim card and is to use said SIM to land for the first time, if, then get into step S103, if not, then get into step S105;
S103 reads the network profile that presets, and networks according to the networking mode that the networking pattern in the network profile is put down in writing, and writes down the networking mode and the access point of this login;
S104 carries out network through wifi and connects;
S105 if judge the SIM existence and use the non-first time said SIM to land, then gets into step S106;
S106 uses the networking mode of said login record to carry out network with access point and is connected;
Wifi is preferential: can economize flow to the user, save money, and wifi speed be fast;
Needed networking pattern when said network profile carries out the network connection for the record working application, and corresponding networking mode and the access point of said networking pattern, said working application is for carrying out the application program that network connects through mobile internet.
Said networking pattern comprises: the pattern of networking automatically, socket networking pattern, http networking pattern or the pattern of manually networking.
When said networking pattern was automatic networking pattern, the method for networking automatically was following:
S201 judges whether to exist the access point of http networking mode, if the access point that then obtains the http networking mode carries out network and connects, if not, then get into step S202;
S202 judges whether to create the access point of http networking mode, if then create the access point of http networking mode and carry out network and connect, if not, then get into step S203;
The APN that uses in the professional WAP browser of the 2G of CHINAUNICOM is UNIWAP; The APN that the professional WAP browser of 3G uses is 3GWAP, and the APN of Intranet is CMWAP in the China Mobile, all need carry out network through the access point of http networking mode based on the application of above APN and connect; For the working application of enjoying the flow set meal; Preferentially carry out network through the http access point and connect, save network traffics, for example mobile dream network uses and just can at first use the http access point to carry out the network connection;
S203 judges whether to exist the access point of socket networking mode, if the access point that then obtains the socket networking mode carries out network and connects, if not, then get into step S204;
S204 judges whether to create the access point of socket networking mode, if then create the access point of socket networking mode and carry out network and connect; If, then the using system access point does not carry out the network connection;
For example internet game is used, and must need the access point of socket networking mode to carry out the network connection; The APN that the last public network of the 2G of CHINAUNICOM uses is UNINET; The APN that professional card of surfing Internet of 3G and last public network use is 3GNET; The APN that China Mobile's card of surfing Internet and last public network use is CMNET; All need carry out network through the access point of socket networking mode based on the application of above APN and connect, connect or smooth network application for needs are long, the access point through the socket networking mode carries out network and connects;
Illustrate: working application is used the sim of China Mobile card; The preferential use cmwap of China Mobile that selects; Use the 10.0.0.172 server to carry out network and connect,, then create this access point if this access point does not exist; If can't create the cmwap access point; Then attempt using the socket mode to network, if there is no the cmnet access point is then created the cmnet access point; If can't create, the access point of then attempting the using system existence carries out network and connects;
When said networking pattern was socket networking pattern, described " networking mode according to the networking pattern in the network profile is put down in writing is networked " was specially:
S301 judges whether to exist the access point of socket networking mode, if then the access point through said socket networking mode carries out network and connects, if not, then get into step S302;
S302 judges whether to create the access point of socket networking mode, if the access point of then creating the socket networking mode carries out network and connects.
Such as the application of internet game, can in configuration file, preset and use socket networking pattern to carry out the network connection.
When said networking pattern was http networking pattern, described " networking mode according to the networking pattern in the network profile is put down in writing is networked " was specially:
S401 judges whether to exist the access point of http networking mode, if then the access point through said http networking mode carries out network and connects, if not, then get into step S402;
S402 judges whether to create the access point of http networking mode, if the access point of then creating the http networking mode carries out network and connects.
For example mobile dream network's working application can be selected http networking pattern to carry out network in network profile and connect.
When said networking pattern was manual networking pattern, described " the networking pattern in the configuration file Network Based put down in writing networking mode network " was specially:
The reading system access point selects an access point in the said system access point to carry out the network connection.
Such as some client, just need the manual selective system access point of user, when system's access point had only one, then acquiescence was exactly to carry out network through this unique system's access point to connect.
APN through judging that the definite working application of wifi network and operator identification need be used in the embodiment of the invention; When wifi does not open or do not have the wifi network; Further judge whether to exist SIM and whether be to use said SIM to land for the first time, if then read the network profile that presets; Networking mode according to the networking pattern in the network profile is put down in writing is networked; And write down the networking mode and the access point of this login, through multiple decision logic, having solved when diverse network is applied in networking needs the user to carry out the trouble of network configuration; Particularly,, then preferentially carry out network and connect, improve network speed and user experience, save flow simultaneously and reduce expenses through wifi if wifi opens and has the wifi network; If SIM exists and use the non-first time said SIM to land, then use the networking mode of login record to carry out network and be connected with access point, avoid the user to land the trouble that all need repeat network settings at every turn, further improve the speed of network connection; Through automatic networking pattern; The preferential access point of selecting existing http networking mode; Secondly select to create the access point of http networking mode, the user priority of conveniently enjoying the flow set meal uses the access point of http networking mode, further saves flow and expense; When the access point that does not have the http networking mode and can't create the access point of http networking mode the time; Select the access point of existing socket networking mode again, secondly select to create the access point of socket networking mode, make things convenient for the user in the time can not carrying out the network connection, to remove to select or create the access point of socket networking mode automatically through the access point of http networking mode; Avoid the user blindly carry out network settings, the problem that causes network to connect; Through socket networking pattern, be suitable for and need carry out the network application that network connects through the access point of socket networking mode, for example online game must select to use the access point of socket networking mode to carry out the network connection; Through http networking pattern, be suitable for the access point that needs the http networking mode and carry out the network application that network connects, for example mobile dream network only needs the access point of http networking mode to carry out the network connection; Described manual networking pattern is used for individual networks, can only carry out network through the access point of selective system and connect; Through presetting four kinds of networking patterns, satisfy various working application and carry out network and all of the access point of networking mode are attempted connecting possible judgement when connecting, thereby carrying out network, the access point of the networking mode of selecting to be suitable for connects, intelligence more, logic is reasonable.
Embodiment two
Fig. 2 is the structural representation of a kind of APN switched system first preferred embodiment of the present invention.
Said system comprises: wifi judge module, first operator's judge module and networking mode selection module;
Said wifi judge module links to each other with said first operator's judge module, is used to judge whether wifi opens and have a wifi network, if not, then notifies said first operator's judge module to continue to judge;
Said first operator's judge module; Link to each other with said networking mode selection module with said wifi judge module; Be used to judge whether to exist the sim card and whether be to use said SIM to land for the first time, if then notify said networking mode selection module to carry out the selection of networking mode;
Said networking mode selection module; Link to each other with said first operator's judge module; Be used to read the network profile that presets, network according to the networking mode that the networking pattern in the network profile is put down in writing, and the networking mode and the access point of record login.
Said working application is for carrying out the application program that network connects through mobile internet.
Needed networking pattern and corresponding networking mode and the access point of said networking pattern when said network profile carries out the network connection for the record working application.
The further optimization of technique scheme is that said system also comprises the wifi network connecting module, is illustrated in figure 3 as the structural representation of a kind of APN switched system second preferred embodiment of the present invention;
Said wifi network connecting module links to each other with said wifi judge module, be used for when the judged result of wifi judge module when being, then carry out network and connect through wifi.
Wifi is preferential: can economize flow to the user, save money, and wifi speed be fast.
The further optimization of technique scheme is that said system also comprises second operator's judge module, is illustrated in figure 4 as the structural representation of a kind of APN switched system the 3rd preferred embodiment of the present invention;
Said second operator's judge module; Link to each other with the networking mode selection module with said first operator's judge module; Be used for when said first operator's judge module judged result for not the time; If continue then to judge the SIM existence and use the non-first time said SIM to land that the networking mode that then obtains networking mode selection module record carries out network with access point and is connected.
The further optimization of technique scheme is; Said networking mode selection module also comprises networking and memory module and automatic networking module; Said automatic networking module comprises the first networking judge module, the second networking judge module, the 3rd networking judge module, tetrad net judge module and systems connection module, is illustrated in figure 5 as the structural representation of a kind of APN switched system the 4th preferred embodiment of the present invention;
Said networking and memory module; Link to each other with automatic networking module with said second operator's judge module; Be used to read the network profile that presets; The networking mode of being put down in writing according to the networking pattern in the network profile is also notified corresponding networking module, the networking mode and the access point of record login simultaneously;
Said automatic networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies the said first networking judge module to begin to judge the networking mode that needs connection, carries out network simultaneously and connects;
The said first networking judge module links to each other with the said second networking judge module, is used to judge whether to exist the access point of http networking mode; If; The access point that then obtains the http networking mode carries out network and connects, and if not, then notifies the second networking judge module;
The said second networking judge module; Link to each other with the 3rd networking judge module with the said first networking judge module; Be used to judge whether to create the access point of http networking mode; If; Then create the access point of http networking mode and carry out network and connect; If not, then notify the 3rd networking judge module;
The APN that uses in the professional WAP browser of the 2G of CHINAUNICOM is UNIWAP; The APN that the professional WAP browser of 3G uses is 3GWAP, and the APN of Intranet is CMWAP in the China Mobile, all need carry out network through the access point of http networking mode based on the application of above APN and connect; For the working application of enjoying the flow set meal; Preferentially carry out network through the http access point and connect, save network traffics, for example mobile dream network uses and just can at first use the http access point to carry out the network connection.
Said the 3rd networking judge module; Link to each other with tetrad net judge module with the said second networking judge module; Be used to judge whether to exist the access point of socket networking mode, if the access point that then obtains the socket networking mode carries out network and connects; If, then do not notify tetrad net judge module;
Said tetrad net judge module links to each other with the systems connection module with said the 3rd networking judge module, is used to judge whether to create the access point of socket networking mode, if then create the access point of socket networking mode and carry out the network connection; If deny, then the reporting system networking module;
Said systems connection module links to each other with said tetrad net judge module, is used to obtain system's access point and carries out the network connection;
For example internet game is used, and must need the access point of socket networking mode to carry out the network connection; The APN that the last public network of the 2G of CHINAUNICOM uses is UNINET; The APN that professional card of surfing Internet of 3G and last public network use is 3GNET; The APN that China Mobile's card of surfing Internet and last public network use is CMNET; All need carry out network through the access point of socket networking mode based on the application of above APN and connect, connect or smooth network application for needs are long, the access point through the socket networking mode carries out network and connects;
Illustrate: working application is used the sim of China Mobile card; The preferential use cmwap of China Mobile that selects; Use the 10.0.0.172 server to carry out network and connect,, then create this access point if this access point does not exist; If can't create the cmwap access point; Then attempt using the socket mode to network, if there is no the cmnet access point is then created the cmnet access point; If can't create, the access point of then attempting the using system existence carries out network and connects;
The further optimization of technique scheme is; Said networking mode selection module also comprises the socket networking module; Said socket networking module comprises 5-linked net judge module and the 6th networking judge module, is illustrated in figure 6 as the structural representation of a kind of APN switched system the 5th preferred embodiment of the present invention;
Said socket networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies 5-linked net judge module to begin to choose the required networking mode of network connection, carries out network simultaneously and connects;
Said 5-linked net judge module links to each other with said the 6th networking judge module, is used to judge whether to exist the access point of socket networking mode; If; Then the access point by said socket networking mode carries out the network connection, if not, then notifies said the 6th networking judge module;
Said the 6th networking judge module links to each other with said 5-linked net judge module, is used to judge whether to create the access point of the corresponding socket networking mode of working application, if the access point of then creating the socket networking mode carries out network and connects;
Such as the application of internet game, can in configuration file, preset and use socket networking pattern to carry out the network connection.
The further optimization of technique scheme is; Said networking mode selection module also comprises the http networking module; Said http networking module comprises the 7th networking judge module and the 8th networking judge module, is the structural representation of a kind of APN switched system the 6th preferred embodiment of the present invention like Fig. 7;
Said http networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies the 7th networking judge module to begin to choose the required networking mode of network connection, carries out network simultaneously and connects;
Said the 7th networking judge module links to each other with said the 8th networking judge module, is used to judge whether to exist the access point of http networking mode; If; Then the access point by said http networking mode carries out the network connection, if not, then notifies said the 8th networking judge module;
Said the 8th networking judge module links to each other with said the 7th networking judge module, is used to judge whether to create the access point of http networking mode, if the access point of then creating the http networking mode carries out network and connects.
For example mobile dream network's working application can be selected http networking pattern to carry out network in network profile and connect.
The further optimization of technique scheme is that said networking mode selection module also comprises manual networking module, is illustrated in figure 8 as the structural representation of a kind of APN switched system the 7th preferred embodiment of the present invention;
Said manual networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and the reading system access point, carries out network through system's access point and connects.
Such as some client, just need the manual selective system access point of user, when system's access point had only one, then acquiescence was exactly to carry out network through this unique system's access point to connect.
The further optimization of technique scheme is; Above-mentioned automatic networking module, socket networking module, http networking module and manual networking module, these four kinds of networking modules can independently exist, and also can make up existence; Based on the difference of working application, independent assortment.
Judge the APN that wifi network and the definite working application of operator's identification need be used through the wifi judge module in the embodiment of the invention; When wifi does not open or do not have the wifi network; Further judge whether to exist SIM and whether be to use said SIM to land for the first time, if then read the network profile that presets by the networking mode selection module by first operator's judge module; Networking mode according to the networking pattern in the network profile is put down in writing is networked; And write down the networking mode and the access point of this login, through multiple decision logic, having solved when diverse network is applied in networking needs the user to carry out the trouble of network configuration; Particularly, if when the judged result of wifi judge module be that wifi opens and when having the wifi network, then preferentially carries out network through wifi through the wifi network connecting module and connect, improve network speed and user experience, save flow simultaneously and reduce expenses; If first operator's judge module judged result is not for the time; Judge the SIM existence and use the non-first time said SIM to land if then continue; The networking mode that then obtains networking mode selection module record carries out network with access point and is connected; Avoid the user to land the trouble that all need repeat network settings at every turn, further improve the speed that network connects; Read the network profile that presets through networking and memory module; The networking mode of being put down in writing according to the networking pattern in the network profile is also notified corresponding networking module, writes down the networking mode and the access point of this login simultaneously, through automatic networking module; The preferential access point of selecting existing http networking mode; Secondly select to create the access point of http networking mode, the user priority of conveniently enjoying the flow set meal uses the access point of http networking mode, further saves flow and expense; When the access point that does not have the http networking mode and can't create the access point of http networking mode the time; Select the access point of existing socket networking mode again, secondly select to create the access point of socket networking mode, make things convenient for the user in the time can not carrying out the network connection, to remove to select or create the access point of socket networking mode automatically through the access point of http networking mode; Avoid the user blindly carry out network settings, the problem that causes network to connect; Through the socket networking module, be suitable for and need carry out the network application that network connects through the access point of socket networking mode, for example online game must select to use the access point of socket networking mode to carry out the network connection; Through the http networking module, be suitable for the access point that needs the http networking mode and carry out the network application that network connects, for example mobile dream network only needs the access point of http networking mode to carry out the network connection; Described manual networking module is used for individual networks, can only carry out network through the access point of selective system and connect; Through presetting four kinds of networking modules, satisfy various working application and carry out network and all of the access point of networking mode are attempted connecting possible judgement when connecting, thereby carrying out network, the access point of the networking mode of selecting to be suitable for connects, intelligence more, logic is reasonable; And four kinds of networking modules can independently exist, and also can combine to exist, and according to various working application independent assortments, satisfy application demand widely.
The system that APN provided by the invention switches can be applied to need set up on the mobile device of network connection, for example: PDA, mobile phone etc.
Those having ordinary skill in the art will appreciate that; All or part of step in realization the foregoing description method can be accomplished through the program command related hardware; Described program can be stored in the computer read/write memory medium, and described storage medium can be ROM, RAM, disk, CD etc.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (16)

1. the method that APN switches is characterized in that, said method comprising the steps of:
Judge whether wifi opens and have a wifi network, if not, then,
Judge whether to exist the sim card and whether be to use said SIM to land for the first time, if, then,
Read the network profile that presets, the networking mode that the networking pattern in the configuration file Network Based is put down in writing is networked, and the networking mode and the access point of record login.
2. the method that APN according to claim 1 switches is characterized in that,
Said step " judge that wifi whether open and have a wifi network " also comprises step afterwards:
If then carry out network and connect through wifi.
3. the method that APN according to claim 2 switches is characterized in that,
Said step " judge whether to exist the sim card and whether be to use said SIM to land for the first time; if; then read the network profile that presets; the networking mode according to the networking pattern in the network profile is put down in writing is networked, and the networking mode and the access point of record login " also comprise step afterwards:
If not, exist and use the non-first time said SIM to land if then judge SIM, then use the networking mode of said login record to carry out network and be connected with access point.
4. according to the method for claim 1 or 2 or 3 described APN switchings, it is characterized in that,
Needed networking pattern and corresponding networking mode and the access point of said networking pattern when said network profile carries out the network connection for the record working application; Said working application is for carrying out the application program that network connects through mobile internet;
Said networking pattern comprises: the pattern of networking automatically, socket networking pattern, http networking pattern or the pattern of manually networking.
5. the method that APN according to claim 1 switches is characterized in that,
When said networking pattern is automatic networking pattern,
Described " networking mode according to the networking pattern in the network profile is put down in writing is networked " is specially:
Judge whether to exist the access point of http networking mode, if the access point that then obtains the http networking mode carries out network and connects, if not, then,
Judge whether to create the access point of http networking mode, if, then create the access point of http networking mode and carry out the network connection, if not, then,
Judge whether to exist the access point of socket networking mode, if the access point that then obtains the socket networking mode carries out network and connects, if not, then,
Judge whether to create the access point of socket networking mode, if then create the access point of socket networking mode and carry out the network connection; If not, then,
The system access point of obtaining carries out network and connects.
6. the method that APN according to claim 5 switches is characterized in that,
When said networking pattern is socket networking pattern,
Described " networking mode according to the networking pattern in the network profile is put down in writing is networked " is specially:
Judge whether to exist the access point of socket networking mode, if then the access point through said socket networking mode carries out the network connection, if not, then,
Judge whether to create the access point of the corresponding socket networking mode of working application, if the access point of then creating the socket networking mode carries out network and connects.
7. the method for switching according to any the described APN in the claim 6 is characterized in that, when said networking pattern is http networking pattern,
Described " networking mode according to the networking pattern in the network profile is put down in writing is networked " is specially:
Judge whether to exist the access point of http networking mode, if then the access point through said http networking mode carries out the network connection, if not, then,
Judge whether to create the access point of http networking mode, if the access point of then creating the http networking mode carries out network and connects.
8. the method for switching according to the described APN of any of claim 7 is characterized in that, when said networking pattern is manual networking pattern,
Described " networking mode according to the networking pattern in the network profile is put down in writing is networked " is specially:
The reading system access point carries out network through system's access point and connects.
9. the system switched of an APN, said system comprises: wifi judge module, first operator's judge module and networking mode selection module;
Said wifi judge module links to each other with said first operator's judge module, is used to judge whether wifi opens and have a wifi network, if not, then notifies said first operator's judge module to continue to judge;
Said first operator's judge module; Link to each other with said networking mode selection module with said wifi judge module; Be used to judge whether to exist the sim card and whether be to use said SIM to land for the first time, if then notify said networking mode selection module to carry out the selection of networking mode;
Said networking mode selection module links to each other with first operator's judge module, is used to read the network profile that presets, network according to the networking mode that the networking pattern in the network profile is put down in writing, and the networking mode and the access point of record login.
10. the system that APN according to claim 9 switches is characterized in that said system also comprises the wifi network connecting module;
Said wifi network connecting module links to each other with said wifi judge module, be used for when the judged result of wifi judge module when being, then carry out network and connect through wifi.
11. the system that APN according to claim 10 switches is characterized in that said system also comprises second operator's judge module;
Said second operator's judge module; Link to each other with the networking mode selection module with said first operator's judge module; Be used for when said first operator's judge module judged result for not the time; If continue then to judge the SIM existence and use the non-first time said SIM to land that the networking mode that then obtains networking mode selection module record carries out network with access point and is connected.
12. the system that APN according to claim 11 switches; It is characterized in that; Said networking mode selection module also comprises networking and memory module and automatic networking module, and said automatic networking module comprises the first networking judge module, the second networking judge module, the 3rd networking judge module, tetrad net judge module and systems connection module;
Said networking and memory module; Link to each other with automatic networking module with said second operator's judge module; Be used to read the network profile that presets; The networking mode of being put down in writing according to the networking pattern in the network profile is also notified corresponding networking module, the networking mode and the access point of record login simultaneously;
Said automatic networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies the said first networking judge module to begin to judge the networking mode that needs connection, carries out network simultaneously and connects;
The said first networking judge module links to each other with the second networking judge module, is used to judge whether to exist the access point of http networking mode, if the access point that then obtains the http networking mode carries out network and connects, if not, then notifies the second networking judge module;
The said second networking judge module; Link to each other with the 3rd networking judge module with the said first networking judge module; Be used to judge whether to create the access point of http networking mode; If; Then create the access point of http networking mode and carry out network and connect; If not, then notify the 3rd networking judge module;
Said the 3rd networking judge module; Link to each other with tetrad net judge module with the said second networking judge module; Be used to judge whether to exist the access point of socket networking mode, if the access point that then obtains the socket networking mode carries out network and connects; If, then do not notify tetrad net judge module;
Said tetrad net judge module links to each other with the systems connection module with said the 3rd networking judge module, is used to judge whether to create the access point of socket networking mode, if then create the access point of socket networking mode and carry out the network connection; If deny, then the reporting system networking module;
Said systems connection module links to each other with said tetrad net judge module, is used to obtain system's access point and carries out the network connection.
13. the system according to claim 11 or 12 described APN switchings is characterized in that said networking mode selection module also comprises the socket networking module, said socket networking module comprises 5-linked net judge module and the 6th networking judge module;
Said socket networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies 5-linked net judge module to choose the required networking mode of network connection, carries out network simultaneously and connects;
Said 5-linked net judge module links to each other with said the 6th networking judge module, is used to judge whether to exist the access point of socket networking mode; If; Then the access point by said socket networking mode carries out the network connection, if not, then notifies said the 6th networking judge module;
Said the 6th networking judge module links to each other with said 5-linked net judge module, is used to judge whether to create the access point of the corresponding socket networking mode of working application, if the access point of then creating the socket networking mode carries out network and connects.
14. the system that APN according to claim 13 switches is characterized in that said networking mode selection module also comprises the http networking module, said http networking module comprises the 7th networking judge module and the 8th networking judge module;
Said http networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and notifies the 7th networking judge module to choose the required networking mode of network connection, carries out network simultaneously and connects;
Said the 7th networking judge module links to each other with said the 8th networking judge module, is used to judge whether to exist the access point of http networking mode; If; Then the access point by said http networking mode carries out the network connection, if not, then notifies said the 8th networking judge module;
Said the 8th networking judge module links to each other with said the 7th networking judge module, is used to judge whether to create the access point of http networking mode, if the access point of then creating the http networking mode carries out network and connects.
15. the system according to the described APN of claim 14 switches is characterized in that said networking mode selection module also comprises manual networking module;
Said manual networking module links to each other with said networking and memory module, is used to receive the notice of said networking and memory module, and the reading system access point, carries out network through system's access point and connects.
16. the portable terminal that APN switches is characterized in that, said portable terminal comprises the system that any described APN of claim 9-15 switches.
CN2011103946825A 2011-12-02 2011-12-02 APN (Access Point Name) switch method and system as well as mobile terminal Pending CN102438288A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103946825A CN102438288A (en) 2011-12-02 2011-12-02 APN (Access Point Name) switch method and system as well as mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103946825A CN102438288A (en) 2011-12-02 2011-12-02 APN (Access Point Name) switch method and system as well as mobile terminal

Publications (1)

Publication Number Publication Date
CN102438288A true CN102438288A (en) 2012-05-02

Family

ID=45986113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103946825A Pending CN102438288A (en) 2011-12-02 2011-12-02 APN (Access Point Name) switch method and system as well as mobile terminal

Country Status (1)

Country Link
CN (1) CN102438288A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN104333867A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Method and device for sharing PC network by virtue of mobile phone
WO2015143863A1 (en) * 2014-03-26 2015-10-01 中兴通讯股份有限公司 Flow-based network switching method and apparatus and terminal
CN106792580A (en) * 2016-12-14 2017-05-31 深圳市万普拉斯科技有限公司 The method and apparatus for sending multimedia message
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device
WO2017197757A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Method and device for apn assignment, and terminal
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN109890050A (en) * 2018-12-19 2019-06-14 深圳市优博讯科技股份有限公司 Android operation system switching at runtime APN method, storage medium and mobile terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1614926A (en) * 2003-09-10 2005-05-11 大唐电信科技股份有限公司无线通信分公司 Wireless moile double-mode network card, method for its working mode control and power supply management
CN101252740A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal and system and method for starting up network
CN101267631A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 A method for self-adapted configuration of access points at a mobile terminal
WO2009049620A1 (en) * 2007-10-19 2009-04-23 Novitell A/S Connection handover handling

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1614926A (en) * 2003-09-10 2005-05-11 大唐电信科技股份有限公司无线通信分公司 Wireless moile double-mode network card, method for its working mode control and power supply management
WO2009049620A1 (en) * 2007-10-19 2009-04-23 Novitell A/S Connection handover handling
CN101252740A (en) * 2008-03-31 2008-08-27 宇龙计算机通信科技(深圳)有限公司 Mobile communication terminal and system and method for starting up network
CN101267631A (en) * 2008-04-25 2008-09-17 中兴通讯股份有限公司 A method for self-adapted configuration of access points at a mobile terminal

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN103491649B (en) * 2013-10-10 2016-11-02 成都达信通通讯设备有限公司 WIFI synchronizes APN network multi-channel and concurrently surfs the Net and the method for the most preferably WIFI networking
WO2015143863A1 (en) * 2014-03-26 2015-10-01 中兴通讯股份有限公司 Flow-based network switching method and apparatus and terminal
CN104333867A (en) * 2014-12-02 2015-02-04 上海斐讯数据通信技术有限公司 Method and device for sharing PC network by virtue of mobile phone
WO2017197757A1 (en) * 2016-05-18 2017-11-23 中兴通讯股份有限公司 Method and device for apn assignment, and terminal
CN107404543A (en) * 2016-05-18 2017-11-28 中兴通讯股份有限公司 A kind of APN distribution methods, device and terminal
CN106792580A (en) * 2016-12-14 2017-05-31 深圳市万普拉斯科技有限公司 The method and apparatus for sending multimedia message
CN106973380A (en) * 2017-04-01 2017-07-21 中国联合网络通信集团有限公司 A kind of switching APN method and device
CN106973380B (en) * 2017-04-01 2020-04-21 中国联合网络通信集团有限公司 Method and device for switching APN
CN109587252A (en) * 2018-12-10 2019-04-05 上海闻泰电子科技有限公司 Loading method, device, electronic equipment and the storage medium of operator parameter
CN109890050A (en) * 2018-12-19 2019-06-14 深圳市优博讯科技股份有限公司 Android operation system switching at runtime APN method, storage medium and mobile terminal

Similar Documents

Publication Publication Date Title
CN102438288A (en) APN (Access Point Name) switch method and system as well as mobile terminal
CN101998695B (en) Method, device and system for configuring WiFi setting parameters of terminal equipment
CN102111853A (en) Method and device for automatically switching network connection as well as mobile terminal
CN103068070A (en) Negotiation method, mobile terminal, base station and communication system of protocol version
CN103327644A (en) Method and equipment for wireless connection
CN105228182A (en) The double card collocation method of multimode double-card mobile terminal and device
CN101873640A (en) Flow processing method, device and mobile terminal
CN103533670A (en) Method and device for connecting wireless network equipment, and wireless network system
CN102209324A (en) Mobile terminal and method for accessing mobile terminal into wireless local area network (WLAN) hotspot
CN105792319A (en) Access mode switching method of multimode double-card terminal and related device
CN104936243B (en) Telco module and mobile hot spot device
CN102118831A (en) Wireless access method and device
CN105282314A (en) Mobile terminal mode switching method and mobile terminal thereof
CN104902547A (en) WiFi (wireless fidelity) network connection method and WiFi network connection device
CN102143534A (en) Method, equipment and system for processing bandwidth control
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN105450857A (en) Data network-based situation pattern realization method and device for preventing interruption of incoming voice call
CN102647813A (en) Wireless communication method and distributed base station system
CN101977410A (en) Method and device for dual-network and dual-standby terminal to perform communication
CN102724658B (en) Terminal is connected concurrent processing method with multichannel data
CN104540157B (en) A kind of incoming telephone signal changing method, device and terminal
CN102026224A (en) Method and system for processing network switch and gateway equipment thereof
CN104601262A (en) Information processing method and mobile equipment
CN103813439A (en) Method for terminal register and terminal
CN103281692A (en) Fast roaming method and equipment between ACs (Alternating Currents)

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant after: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: Shenzhen Temobi Science & Tech Development Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHENZHEN TEMOBI SCIENCE + TECHNOLOGY CO., LTD. TO: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: RONGCHUANG TIANXIA (SHANGHAI) TECHNOLOGY DEVELOPME

Free format text: FORMER OWNER: SHENZHEN RONGCHANG TIANXIA TECHNOLOGY CO., LTD.

Effective date: 20150701

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20150701

Address after: 200433 Shanghai City, Yangpu District Wei Road No. 6 room 502-8

Applicant after: World (Shanghai) Technology Development Co., Ltd.

Address before: 19, building 18, Changhong technology building, 518057 South twelve Road, South tech Zone, Nanshan District hi tech Zone, Guangdong, Shenzhen

Applicant before: SHENZHEN TEMOBI TECHNOLOGY CO., LTD.

WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120502

WD01 Invention patent application deemed withdrawn after publication