CN103648134A - Access point switching method, access point switching device and mobile terminal - Google Patents
Access point switching method, access point switching device and mobile terminal Download PDFInfo
- Publication number
- CN103648134A CN103648134A CN201310616634.5A CN201310616634A CN103648134A CN 103648134 A CN103648134 A CN 103648134A CN 201310616634 A CN201310616634 A CN 201310616634A CN 103648134 A CN103648134 A CN 103648134A
- Authority
- CN
- China
- Prior art keywords
- website
- wap
- access point
- visited
- net
- 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
Images
Abstract
The invention discloses an access point switching method, an access point switching device and a mobile terminal and belongs to the technical field of the Internet. The method includes the following steps that: whether an access point of a website to be accessed is an Internet access point is determined; if the access point of the website to be accessed is determined as the Internet access point, whether the website to be accessed is a wireless application protocol WAP website is detected; and if the website to be accessed is detected as the WAP website, the access point of the website to be accessed is switched from the Internet access point to a WAP access point. According to the access point switching method of the invention, the access point of the website to be accessed is determined as the Internet access point; and the access point of the website to be accessed is switched from the Internet access point to the WAP access point when the website to be accessed is detected as the WAP website; and therefore, when the access point of the website to be accessed is switched from the Internet access point to the WAP access point, manual operation of a user is not required, and therefore, operation is simple, and at the same time, access point switching efficiency is improved; and further, when the WAP website is accessed, the access point is switched from the Internet access point to the WAP access point, and therefore, data flow can be saved, and network access fees can be saved.
Description
Technical field
The disclosure relates to Internet technical field, particularly a kind of method, device and mobile terminal that switches access point.
Background technology
Along with developing rapidly of Internet technology, various mobile terminals have obtained very big development.Usually, mobile terminal can be realized online whenever and wherever possible by usage data flow.User, by before the online of mobile terminal usage data flow, need to arrange APN(Access Point Name, access point conventionally) determine with which kind of access way access network.The APN configuring on mobile terminal has two kinds, is respectively WAP(Wireless Application Protocol, WAP (wireless application protocol)) access point and NET(the Internet) access point.Conventionally, when APN is NET access point, mobile terminal can be accessed any website; When APN is WAP access point, mobile terminal is limited to access special-purpose wap data website.Due to when APN is NET access point, the website that mobile terminal can be accessed is abundanter, therefore, conventionally mobile terminal acquiescence is configured to NET access point by APN, yet, can save data traffic owing to accessing special-purpose wap data website by WAP access point, therefore, before access special-purpose wap data website, often the NET access point of default setting need to be switched to WAP access point.
Summary of the invention
In order to overcome the problem existing in correlation technique, the disclosure provides a kind of method, device and mobile terminal that switches access point.Described technical scheme is as follows:
First aspect, the disclosure provides a kind of method of switching access point, and described method comprises:
Whether the access point of determining website to be visited is the Internet NET access point;
Whether if determine that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
If detecting and obtaining described website to be visited is WAP website, the access point of described website to be visited is switched to WAP access point by NET access point.
Alternatively, whether described detection website to be visited is WAP (wireless application protocol) WAP website, comprising:
Judge that the network address of described website to be visited is whether in the network address white list of default support WAP;
If the network address of described website to be visited in the network address white list of described default support WAP, determines that described website to be visited is WAP website.
Alternatively, described the access point of described website to be visited is switched to WAP access point by NET access point, comprising:
Detect proxy server port corresponding to described website to be visited;
If proxy server port corresponding to described website to be visited is NET port, proxy server port corresponding to described website to be visited is set to WAP port.
Alternatively, proxy server port corresponding to website described to be visited also comprises before being set to WAP port:
And establishing the link between WAP server, and linking between maintenance and described WAP server.
Alternatively, between described and WAP server, establish the link, comprising:
Regularly to described WAP server, send link indication, and receive the confirmation link response that described WAP server returns.
Alternatively, be less than the release time linking with WAP server adjacent interval time of indicating to described WAP server transmission link for twice.
Alternatively, whether described detection website to be visited is after WAP (wireless application protocol) WAP website, also comprises:
If detecting and obtaining described website to be visited is non-WAP website, detect proxy server port corresponding to described website to be visited;
If proxy server port corresponding to described website to be visited is WAP port, proxy server port corresponding to described website to be visited is set to NET port.
Second aspect, the disclosure provides a kind of device that switches access point, and described device comprises:
Determination module, for determining whether the access point of website to be visited is the Internet NET access point;
First detection module, whether for when determining that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
Handover module, while being WAP website for obtaining described website to be visited when detection, switches to WAP access point by the access point of described website to be visited by NET access point.
Alternatively, described first detection module, comprising:
Judging unit, for the network address that judges described website to be visited whether at the network address white list of default support WAP;
Determining unit, when the network address white list of described default support WAP, determines that described website to be visited is WAP website for the network address when described website to be visited.
Alternatively, described handover module, comprising:
Detecting unit, for detection of proxy server port corresponding to described website to be visited;
Setting unit, for when proxy server port corresponding to described website to be visited is NET port, proxy server port corresponding to described website to be visited is set to WAP port.
Alternatively, described device, also comprises:
Set up module, for and WAP server between establish the link;
Keep module, for keep with described WAP server between link.
Alternatively, the described module of setting up, comprising:
Transmitting element, for regularly sending link indication to described WAP server;
Receiving element, the confirmation link response of returning for receiving described WAP server.
Alternatively, described transmitting element, when regularly to described WAP server transmission link indication, is less than the release time linking with WAP server adjacent interval time of indicating to described WAP server transmission link for twice.
Alternatively, described device, also comprises:
The second detection module, while being non-WAP website for obtaining described website to be visited when detection, detects proxy server port corresponding to described website to be visited;
Module is set, and for when proxy server port corresponding to described website to be visited is WAP port, proxy server port corresponding to described website to be visited is set to NET port.
The third aspect, the disclosure provides a kind of mobile terminal, described mobile terminal includes memory, and one or more than one program, one of them or an above program are stored in memory, and be configured to be carried out by the above processor of or, described one or above program package are containing for carrying out the instruction of following operation:
Whether the access point of determining website to be visited is the Internet NET access point;
Whether if determine that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
If detecting and obtaining described website to be visited is WAP website, the access point of described website to be visited is switched to WAP access point by NET access point.
Beneficial effects more of the present disclosure can comprise:
By determining that the access point of website to be visited is NET access point, and after detecting and obtaining website to be visited and be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, make when being switched to WAP access point by NET access point, without user's manual operation, time simple to operate, improved the efficiency of switching access point.In addition, when access WAP website, by the access point of website to be visited is switched to WAP access point by NET access point, saved data traffic, and then saved the rate of accesses network.
Should be understood that, it is only exemplary that above general description and details are hereinafter described, and can not limit the disclosure.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the disclosure, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is only embodiment more of the present disclosure, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the exemplary process diagram of the method for the switching access point that provides of embodiment of the disclosure;
Fig. 2 is the exemplary process diagram of the method for the switching access point that provides of another embodiment of the disclosure;
Fig. 3 is the apparatus structure schematic diagram of the switching access point that provides of another embodiment of the disclosure;
Fig. 4 is the apparatus structure schematic diagram of the switching access point that provides of another embodiment of the disclosure;
Fig. 5 is the apparatus structure schematic diagram of the switching access point that provides of another embodiment of the disclosure;
Fig. 6 is the structural representation of the mobile terminal that provides of another embodiment of the disclosure.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is more detailed description hereinafter.These accompanying drawings and text description are not in order to limit the scope of disclosure design by any mode, but by reference to specific embodiment for those skilled in the art illustrate concept of the present disclosure.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearer, below in conjunction with execution mode and accompanying drawing, the disclosure is described in further details.At this, exemplary embodiment of the present disclosure and explanation thereof are used for explaining the disclosure, but not as to restriction of the present disclosure.
Disclosure embodiment provides a kind of method, device and mobile terminal that switches access point, below in conjunction with accompanying drawing, the disclosure is elaborated.
In daily life, when user passes through mobile terminal usage data flow access websites, need to pass through access point access network, and after access network, from corresponding server, obtain web page resources corresponding to website to be visited, thereby realize access website to be visited.Conventionally, the access point configuring on mobile terminal has two kinds, is respectively NET access point and WAP access point.By NET access point access network, can obtain the also website of access any type from Internet Server, and by WAP access point access network, can obtain special-purpose wap data website from WAP server, and then the website of access particular type.
In addition, different operators configures different WAP access points and NET access point.For example, the WAP access point of China Mobile's configuration is CMWAP(China Mobile Wireless Application Protocol, China Mobile's WAP (wireless application protocol)) access point, NET access point is CMNET (China Mobile NET, China Mobile Internet) access point, the WAP access point of CHINAUNICOM's configuration is 3GWAP access point, NET access point is 3GNET access point, the WAP access point of China Telecom's configuration is CTWAP access point, and NET access point is CTNET access point.Due to by WAP access point when access, the network that can access is special-purpose wap data network, so operator is when different, and after different WAP access point access networks, the website that can access is also different.For example, when passing through the CMWAP access point access network of China Mobile, mobile terminal is limited to the website that access is relevant to " China Mobile's dream net "; And during CTWAP access point access network by China Telecom, mobile terminal is limited to the website that access is relevant to " ChinaVnet ".
Due to when mobile terminal passes through NET access point access network, can access any website, therefore, mobile terminal acquiescence is configured to NET access point by access point conventionally.Yet, can save data traffic owing to accessing special-purpose wap data website by WAP access point, therefore, before access special-purpose wap data website, often the NET access point of default setting need to be switched to WAP access point.
The access point that the method that disclosure embodiment provides is supported in default setting is in the situation of NET access point, and before access WAP website, mobile terminal switches to WAP access point by the NET access point of website to be visited automatically.
Next, the method for the switching access point disclosure being provided in conjunction with foregoing is elaborated, and refers to following embodiment:
In one embodiment, the disclosure provides a kind of method of switching access point.Referring to Fig. 1, the method flow that disclosure embodiment provides comprises:
In step S101, determine whether the access point of website to be visited is NET access point.
In step S102, whether if determine that the access point of website to be visited is NET access point, detecting website to be visited is WAP website.
In step S103, if detection obtains website to be visited, be WAP website, the access point of website to be visited is switched to WAP access point by NET access point.
The method that disclosure embodiment provides, by determining that the access point of website to be visited is NET access point, and after detecting and obtaining website to be visited and be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, make when being switched to WAP access point by NET access point, without user's manual operation, time simple to operate, improved the efficiency of switching access point.In addition, when access WAP website, by the access point of website to be visited is switched to WAP access point by NET access point, saved data traffic, and then saved the rate of accesses network.
In another embodiment, whether be WAP website, include but not limited to if detecting website to be visited:
Judge that the network address of website to be visited is whether in the network address white list of default support WAP;
If the network address of website to be visited in the network address white list of default support WAP, determines that website to be visited is WAP website.
In another embodiment, the access point of website to be visited is switched to WAP access point by NET access point, includes but not limited to:
Detect proxy server port corresponding to website to be visited;
If proxy server port corresponding to website to be visited is NET port, proxy server port corresponding to website to be visited is set to WAP port.
In another embodiment, proxy server port corresponding to website to be visited also comprises before being set to WAP port:
And establishing the link between WAP server, and linking between maintenance and WAP server.
In another embodiment, and establish the link between WAP server, comprising:
Regularly to WAP server, send link indication, and receive the confirmation link response that WAP server returns.
In another embodiment, be less than the release time linking with WAP server adjacent interval time of indicating to WAP server transmission link for twice.
In another embodiment, after detecting website to be visited and be whether WAP website, also comprise:
If detecting and obtaining website to be visited is non-WAP website, detect proxy server port corresponding to website to be visited;
If proxy server port corresponding to website to be visited is WAP port, proxy server port corresponding to website to be visited is set to NET port.
In another embodiment, provide a kind of method of switching access point.For convenience of explanation, it is example that disclosure embodiment be take the method that the browser of accessing website to be visited carries out the switching access point that the disclosure provides, and the method for the switching access point that the disclosure is provided is elaborated.Referring to Fig. 2, the method flow that disclosure embodiment provides comprises:
In step S201, determine whether the access point of website to be visited is NET access point.
For this step, the method providing due to disclosure embodiment is in the situation that the access point of mobile terminal configuration is defaulted as NET access point, browser, before access WAP website, switches to WAP access point by the NET access point of website to be visited, to reach the object of saving data traffic.Therefore, before the method providing at execution disclosure embodiment, browser need to determine website to be visited access point whether be NET access point, with triggering following, when the access WAP website, the access point of website to be visited is switched to WAP access point by NET access point.About determining whether the access point of website to be visited is the mode of NET access point, can have a variety ofly, for example, browser can be realized by detecting the parameter of the access point of the current configuration in website to be visited.During concrete enforcement, browser can contrast the parameter of the access point of the current configuration in website to be visited and the pre-stored parameter of NET access point and the parameter of WAP access point, if the parameter matching of the parameter that browser detects the access point obtain the current configuration in website to be visited and pre-stored NET access point, the access point of definite website to be visited is NET access point.Certainly, can also adopt additive method to determine whether the access point of website to be visited is NET access point, and the disclosure is not done concrete restriction to this.
In step S202, whether if determine that the access point of website to be visited is NET access point, detecting website to be visited is WAP website.
For this step, owing to accessing special-purpose wap data website by WAP access point, can save data traffic, therefore, before access websites, whether browser need to detect website to be visited is WAP website, to determine whether carrying out access network by WAP access point.Wherein, the method that detects website to be visited and be whether WAP website can have a variety of, while specifically implementing, includes but not limited to realize by the following method:
Judge that the network address of website to be visited is whether in the network address white list of default support WAP; If the network address of website to be visited in the network address white list of default support WAP, determines that website to be visited is WAP website.Wherein, the network address white list of default support WAP can be pre-stored in browser, guaranteed before access websites, browser can contrast the network address in the network address white list of the network address of website to be visited and pre-stored support WAP, and then whether the network address that judges website to be visited is in the network address white list of default support WAP.
Except whether above-mentioned detection website to be visited is the method for WAP website, can also adopt additive method.For example, also can be in advance in browser storage do not support the network address blacklist of WAP, the network address in this network address blacklist to represent that website corresponding to such network address do not support to realize access by WAP access point access network.Now, the method that detects website to be visited and be whether WAP website is: before access websites, when browser detects website to be visited when not supporting the network address blacklist of WAP, determine that website to be visited is non-WAP website, can determine that website to be visited can not pass through WAP access point access network, need to pass through NET access point access network.Yet, because non-WAP website can not pass through WAP access point access network, and again due to by website that can access any type after NET access point access network, so the network address quantity of storing in this network address blacklist can have a variety of.Now, the network address that likely occurs website to be visited is the situation in this network address blacklist not, now can not determine that website to be visited is non-WAP website.Whether, about the detection to be visited website that now adopted be the method for WAP website, disclosure embodiment does not do concrete restriction if in this case, when detecting website to be visited and whether being WAP website, still needing to adopt additive method.
In step S203, if detection obtains website to be visited, be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, this flow process of switching access point finishes.
For this step, when detection obtains website to be visited and is WAP website, the method support that disclosure embodiment provides switches to WAP access point by the access point of website to be visited by NET access point, to realize by WAP access point access network accessing website, reaches the object of saving data traffic.
Wherein, about the access point of website to be visited is switched to the mode of WAP access point by NET access point, disclosure embodiment does not do concrete restriction.Conventionally, operator is when being the access point of mobile terminal configuration access websites, and meeting is proxy server port corresponding to configuring access point simultaneously, and the proxy server port of configuration generally includes IP address and the port of proxy server.In addition, before using browser access website, browser can be treated access websites corresponding proxy server port is set.When browser is treated the proxy server port of access websites setting and operator's configuring access point, configure proxy server port match time, can realize by browser access website.Therefore, the access point of website to be visited being switched to WAP access point by NET access point includes but not limited in the following way:
Detect proxy server port corresponding to website to be visited; If proxy server port corresponding to website to be visited is NET port, proxy server port corresponding to website to be visited is set to WAP port.
China Mobile take below as example, the above-mentioned mode that the access point of website to be visited is switched to WAP access point by NET access point is explained.If China Mobile is when configuration CMWAP access point and CMNET access point, the IP address of the proxy server in proxy server port corresponding to CMWAP access point is set to 10.0.0.172, and port is set to 80; The IP address of the proxy server in the proxy server port of CMNET access point is set to null, and port is set to 0.Now, the mode that the access point of website to be visited is switched to WAP access point by NET access point is specially: first detect browser and treat the proxy server port that access websites arranges, if the IP address of proxy server corresponding to website to be visited being detected is null, port is 0, the proxy server port match configuring during due to proxy server port corresponding to this website to be visited and the configuration CMNET of China Mobile access point, therefore, browser determines that proxy server port corresponding to current website to be visited is NET port.Now, browser can be set to 10.0.0.172 by the IP address of the proxy server in proxy server port corresponding to website to be visited, and port is set to 80 realizations NET access point is switched to WAP access point.
Preferably, in order to ensure mobile terminal, can from WAP server, obtain web page resources by WAP access point, thereby realize access websites, the method that the disclosure provides is before proxy server port corresponding to website to be visited is set to WAP port, also comprise: and establish the link between WAP server, and linking between maintenance and WAP server.About and WAP server between establish the link and maintenance and WAP server between the mode linking, disclosure embodiment does not do concrete restriction.By and WAP server between establish the link, and the step linking between maintenance and WAP server, make mobile terminal both can pass through NET access point access network at synchronization, also can pass through WAP access point access network, overcome in prior art at synchronization and can only by a kind of deficiency of carrying out access network in NET access point or WAP access point, improve the efficiency of connection of mobile terminal into network.
Wherein, and the mode establishing the link between WAP server, include but not limited to: regularly to WAP server, send link indication, and receive the confirmation link response that WAP server returns.About regularly sending the mode of link indication and the mode of the confirmation link response that reception WAP server returns to WAP server, disclosure embodiment does not do concrete restriction equally.During concrete enforcement, when regularly sending link indication to WAP server, can be by WAP server transmission StartUsingNetworkFeature() instruction realizes.By sending this instruction, and after the confirmation link response of returning at reception WAP server, can keep linking a period of time with WAP server, by this period, can realize the access point of website to be visited is switched to WAP access point and follow-uply by WAP access point, from WAP server, obtained and access website to be visited by NET access point.About send StartUsingNetworkFeature(to WAP server) instruction obtains with WAP server and keeps the time of a period of time of link big or small, and disclosure embodiment does not specifically limit, and for example, can be 10s, 15s etc.
It should be noted that, and whether the step establishing the link between WAP server can be placed on and detect website to be visited is before the step of WAP (wireless application protocol) WAP website, also can be placed on and detect that to obtain described website to be visited be after WAP website, and before the access point of website to be visited is switched to the step of WAP access point by NET access point.
When by and WAP server between the step that establishes the link be placed on detect the step whether website to be visited is WAP (wireless application protocol) WAP website before time, can guarantee before access websites, just set up linking between mobile terminal and WAP server, now, when needs switch to WAP access point by NET access point, can directly switch, improve the efficiency of switching access point.Yet, it should be noted that, due to and WAP server between while establishing the link, after may sending link at every turn and indicate and receive confirmation link that WAP server returns to respond, can only keep and the linking of WAP server a period of time.Therefore, if send once link, indicate and receive the confirmation that WAP server returns to link after response, the time linking with WAP server is less than the time of switching access point and completing access websites, so just need to repeat this transmission link indicates and receives the confirmation that WAP server returns to link the step responding, can continue to link with WAP server guaranteeing, until complete access websites.In this kind of situation, can carry out once to WAP and send the step that the confirmation link response that WAP server returns indicate and be received in link every Preset Time, and be less than each transmission link the adjacent interval time that sends link indication to WAP server twice and indicate the release time linking with WAP server.About the size of Preset Time, disclosure embodiment does not specifically limit, while specifically implementing, as long as guarantee that this Preset Time is less than each transmission link and indicates and receive the confirmation link response that WAP server returns to keep with WAP server the time linking.For example, if each, sending that link indicate and receive the time linking with the maintenance of WAP server after the confirmation link response of WAP server is 10s, and this Preset Time is only less than 10s, for example, can be set to 9.5s, 9s etc.Yet for fear of the electric energy that consumes mobile phone, it is better with the time that the maintenance of WAP server links that this Preset Time approaches the confirmation link response that each transmission link indicate and receive WAP server to return.
When by and WAP server between the step that establishes the link be placed on to detect and obtain after described website to be visited is WAP website, and when the access point of website to be visited is switched to before the step of WAP access point by NET access point, in the time of can reducing the front kind mode of employing, need to send link every Preset Time indicate and receive the confirmation that WAP server returns to link the number of times responding, therefore can save the power consumption of mobile terminal, yet before being switched to WAP access point by NET access point, sets up again the access point of website to be visited the words that link with WAP server, may establish the link and need to expend the regular hour.
In step S204, if detection obtains website to be visited, be non-WAP website, detect proxy server port corresponding to website to be visited.
For this step, when browser detects when obtaining website to be visited and being non-WAP website, can determine now and can not pass through WAP access point accessing website, need to pass through NET access point access websites.For fear of proxy server port corresponding to current website to be visited be set to WAP port and cause can not access websites situation occur, browser need to detect proxy server port corresponding to website to be visited, to guarantee successful access website.About detecting the mode of proxy server port corresponding to website to be visited, can have a variety ofly, disclosure embodiment does not do concrete restriction.During concrete enforcement, browser can, by proxy server port corresponding to website to be visited and pre-stored proxy server port are compared, judge that current proxy server port and which kind of proxy server port match realize.
In step S205, if proxy server port corresponding to website to be visited is WAP port, proxy server port corresponding to website to be visited is set to NET port.
For this step, if proxy server port corresponding to website to be visited is WAP port, and because non-WAP website can not carry out access network by WAP access point, therefore, browser need to be set to NET port by proxy server port corresponding to website to be visited, to pass through NET access point accessing website.When proxy server port corresponding to website to be visited is set to NET port, can there be a variety of methods.For example, agency in, can website to be visited corresponding proxy server port is set to consistent with agency and port in default NET port with port.Take China Mobile as example, if the IP address of the proxy server of default NET port is null, port is 0, can be set to NET port by proxy server port corresponding to website to be visited by the IP address of the proxy server in proxy server port corresponding to website to be visited and port are set to respectively to null and 0.
The method that disclosure embodiment provides, by determining that the access point of website to be visited is NET access point, and after detecting and obtaining website to be visited and be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, make when being switched to WAP access point by NET access point, without user's manual operation, time simple to operate, improved the efficiency of switching access point.In addition, when access WAP website, by the access point of website to be visited is switched to WAP access point by NET access point, saved data traffic, and then saved the rate of accesses network.
In another embodiment, provide a kind of device that switches access point.Referring to Fig. 3, the device of this switching access point comprises:
In another embodiment, first detection module 302, comprising:
Judging unit, for the network address that judges website to be visited whether at the network address white list of default support WAP;
Determining unit, when the network address white list of default support WAP, determines that website to be visited is WAP website for the network address when website to be visited.
In another embodiment, handover module 303, comprising:
Detecting unit, for detection of proxy server port corresponding to website to be visited;
Setting unit, for when proxy server port corresponding to website to be visited is NET port, proxy server port corresponding to website to be visited is set to WAP port.
In another embodiment, referring to Fig. 4, device, also comprises:
Set up module 304, for and WAP server between establish the link;
Keep module 305, for keep with WAP server between link.
In another embodiment, set up module 304, comprising:
Transmitting element, for regularly sending link indication to WAP server;
Receiving element, the confirmation link response of returning for receiving WAP server.
In another embodiment, transmitting element, when regularly to WAP server transmission link indication, is less than the release time linking with WAP server adjacent interval time of indicating to WAP server transmission link for twice.
In another embodiment, referring to Fig. 5, device, also comprises:
The second detection module 306, while being non-WAP website for obtaining website to be visited when detection, detects proxy server port corresponding to website to be visited;
The device that disclosure embodiment provides, by determining that the access point of website to be visited is NET access point, and after detecting and obtaining website to be visited and be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, make when being switched to WAP access point by NET access point, without user's manual operation, time simple to operate, improved the efficiency of switching access point.In addition, when access WAP website, by the access point of website to be visited is switched to WAP access point by NET access point, saved data traffic, and then saved the rate of accesses network.
In another embodiment, a kind of mobile terminal is provided, this mobile terminal includes memory, and one or more than one program, one of them or an above program are stored in memory, and be configured to be carried out by the above processor of or, described one or above program package are containing for carrying out the instruction of following operation:
Whether the access point of determining website to be visited is the Internet NET access point;
Whether if determine that the access point of website to be visited is NET access point, detecting website to be visited is WAP (wireless application protocol) WAP website;
If detecting and obtaining website to be visited is WAP website, the access point of website to be visited is switched to WAP access point by NET access point.
The mobile terminal that disclosure embodiment provides, by determining that the access point of website to be visited is NET access point, and after detecting and obtaining website to be visited and be WAP website, the access point of website to be visited is switched to WAP access point by NET access point, make when being switched to WAP access point by NET access point, without user's manual operation, time simple to operate, improved the efficiency of switching access point.In addition, when access WAP website, by the access point of website to be visited is switched to WAP access point by NET access point, saved data traffic, and then saved the rate of accesses network.
In another embodiment, please refer to Fig. 6, it shows the related mobile terminal of disclosure embodiment (can be requesting party's terminal or associated terminal) structural representation, and this terminal can be for the method for the switching access point implementing to provide in above-described embodiment.Preferably:
Communication unit 110 can be used for receiving and sending messages or communication process in, the reception of signal and transmission, this communication unit 110 can be RF(Radio Frequency, radio frequency) circuit, router, modulator-demodulator, etc. network communication equipment.Especially, when communication unit 110 is RF circuit, after the downlink information of base station is received, transfer to one or above processor 180 processing; In addition, by relating to up data, send to base station.Conventionally, RF circuit as communication unit includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupler, LNA(Low Noise Amplifier, low noise amplifier), duplexer etc.In addition, communication unit 110 can also be by radio communication and network and other devices communicatings.Described radio communication can be used arbitrary communication standard or agreement, include but not limited to GSM(Global System of Mobile communication, global system for mobile communications), GPRS(General Packet Radio Service, general packet radio service), CDMA(Code Division Multiple Access, code division multiple access), WCDMA(Wideband Code Division Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE(Long Term Evolution, Long Term Evolution), Email, SMS(Short Messaging Service, Short Message Service) etc.Memory 120 can be used for storing software program and module, and processor 180 is stored in software program and the module of memory 120 by operation, thereby carries out various function application and data processing.Memory 120 can mainly comprise storage program district and storage data field, wherein, and the application program (such as sound-playing function, image player function etc.) that storage program district can storage operation system, at least one function is required etc.; The data (such as voice data, phone directory etc.) that create according to the use of mobile terminal 600 etc. can be stored in storage data field.In addition, memory 120 can comprise high-speed random access memory, can also comprise nonvolatile memory, for example at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, memory 120 can also comprise Memory Controller, so that the access of processor 180 and 130 pairs of memories 120 of input unit to be provided.
Input unit 130 can be used for receiving numeral or the character information of input, and generation arranges with user and function is controlled relevant keyboard, mouse, action bars, optics or the input of trace ball signal.Preferably, input unit 130 can comprise touch-sensitive surperficial 131 and other input equipments 132.Touch-sensitive surperficial 131, also referred to as touch display screen or Trackpad, can collect user or near touch operation (using any applicable object or near the operations of annex on touch-sensitive surperficial 131 or touch-sensitive surperficial 131 such as finger, stylus such as user) thereon, and drive corresponding jockey according to predefined formula.Optionally, touch-sensitive surperficial 131 can comprise touch detecting apparatus and two parts of touch controller.Wherein, touch detecting apparatus detects user's touch orientation, and detects the signal that touch operation is brought, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 180, and the order that energy receiving processor 180 is sent is also carried out.In addition, can adopt the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave to realize touch-sensitive surperficial 131.Except touch-sensitive surperficial 131, input unit 130 can also comprise other input equipments 132.Preferably, other input equipments 132 can include but not limited to one or more in physical keyboard, function key (controlling button, switch key etc. such as volume), trace ball, mouse, action bars etc.
In order to realize radio communication, on this mobile terminal, can dispose wireless communication unit 170, this wireless communication unit 170 can be WIFI module.WIFI belongs to short range wireless transmission technology, mobile terminal 600 by wireless communication unit 170 can help that user sends and receive e-mail, browsing page and access streaming video etc., it provides wireless broadband internet access for user.Although there is shown wireless communication unit 170, be understandable that, it does not belong to must forming of mobile terminal 600, completely can be as required in not changing the essential scope of invention and omit.
Although not shown, mobile terminal 600 can also comprise camera, bluetooth module etc., does not repeat them here.In the present embodiment, mobile terminal also includes memory, and one or more than one program, the above program of one of them or one is stored in memory, and be configured to by one or above processor carry out one or one above for carrying out the instruction of the method that the disclosure provides.
In addition, typically, the mobile terminal described in the disclosure can be various hand-held terminal devices, such as mobile phone, personal digital assistant (PDA) etc., and therefore protection range of the present disclosure should not be defined as the mobile terminal of certain particular type.
In addition, according to method of the present disclosure, can also be implemented as the computer program of being carried out by CPU.When this computer program is carried out by CPU, carry out the above-mentioned functions limiting in method of the present disclosure.
In addition, said method step and system unit also can utilize controller and realize for storing the computer readable storage devices of the computer program that makes controller realize above-mentioned steps or Elementary Function.
In addition, should be understood that, computer readable storage devices as herein described (for example, memory) can be volatile memory or nonvolatile memory, or can comprise volatile memory and nonvolatile memory.And nonrestrictive, nonvolatile memory can comprise read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory as an example.Volatile memory can comprise random access memory (RAM), and this RAM can serve as External Cache memory.As an example and nonrestrictive, RAM can obtain in a variety of forms, such as synchronous random access memory (DRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate SDRAM (DDR SDRAM), enhancing SDRAM (ESDRAM), synchronization link DRAM (SLDRAM) and direct RambusRAM (DRRAM).The memory device of disclosed aspect is intended to include but not limited to the memory of these and other suitable type.
Those skilled in the art will also understand is that, in conjunction with the described various illustrative logical blocks of disclosure herein, module, circuit and algorithm steps, may be implemented as electronic hardware, computer software or both combinations.For this interchangeability of hardware and software is clearly described, with regard to the function of various exemplary components, square, module, circuit and step, it has been carried out to general description.This function is implemented as software or is implemented as hardware and depends on concrete application and the design constraint that imposes on whole system.Those skilled in the art can realize described function in every way for every kind of concrete application, but this realization determines should not be interpreted as causing departing from the scope of the present disclosure.
In conjunction with the described various illustrative logical blocks of disclosure herein, module and circuit, can utilize the following parts that are designed to carry out function described here to realize or carry out: general processor, digital signal processor (DSP), application-specific integrated circuit (ASIC) (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete nextport hardware component NextPort or any combination of these parts.General processor can be microprocessor, but alternatively, processor can be any conventional processors, controller, microcontroller or state machine.Processor also may be implemented as the combination of computing equipment, and for example, the combination of DSP and microprocessor, multi-microprocessor, one or more microprocessor are in conjunction with DSP core or any other this configuration.
Step in conjunction with the described method of disclosure herein or algorithm can directly be included in the software module of carrying out in hardware, by processor or in the two combination.Software module can reside in the storage medium of RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, register, hard disk, removable dish, CD-ROM or any other form known in the art.Exemplary storage medium is coupled to processor, make processor can be from this storage medium reading information or to this storage medium writing information.In an alternative, described storage medium can be integral to the processor together.Processor and storage medium can reside in ASIC.ASIC can reside in user terminal.In an alternative, processor and storage medium can be used as discrete assembly and reside in user terminal.
In one or more exemplary design, described function can realize in hardware, software, firmware or its combination in any.If realized in software, described function can be transmitted on computer-readable medium or by computer-readable medium as one or more instructions or code storage.Computer-readable medium comprises computer-readable storage medium and communication media, and this communication media comprises and contributes to computer program to be sent to from a position any medium of another position.Storage medium can be can be by any usable medium of universal or special computer access.As an example and nonrestrictive, this computer-readable medium can comprise RAM, ROM, EEPROM, CD-ROM or other optical disc memory apparatus, disk storage device or other magnetic storage apparatus, or can for carry or file layout be instruction or data structure required program code and can be by any other medium of universal or special computer or universal or special processor access.In addition, any connection can suitably be called computer-readable medium.For example, if use coaxial cable, optical fiber cable, twisted-pair feeder, digital subscriber line (DSL) or such as the wireless technology of infrared ray, radio and microwave come from website, server or other remote source send software, above-mentioned coaxial cable, optical fiber cable, twisted-pair feeder, DSL or include the definition at medium such as the wireless technology of infrared first, radio and microwave.As used herein, disk and CD comprise compact disk (CD), laser disk, CD, digital versatile disc (DVD), floppy disk, Blu-ray disc, disk rendering data magnetically conventionally wherein, and cd-rom using laser optics ground rendering data.The combination of foregoing also should be included in the scope of computer-readable medium.
Although disclosed content shows exemplary embodiment of the present disclosure above, it should be noted that under the prerequisite of the scope of the present disclosure that does not deviate from claim restriction, can carry out multiple change and modification.According to the function of the claim to a method of disclosed embodiment described herein, step and/or action, need not carry out with any particular order.In addition, although element of the present disclosure can be with individual formal description or requirement, also it is contemplated that a plurality of, unless be clearly restricted to odd number.
Above-described embodiment; object of the present disclosure, technical scheme and beneficial effect are further described; institute is understood that; the foregoing is only embodiment of the present disclosure; and be not used in and limit protection range of the present disclosure; all within spirit of the present disclosure and principle, any modification of making, be equal to replacement, improvement etc., within all should being included in protection range of the present disclosure.
Claims (15)
1. a method of switching access point, is characterized in that, described method comprises:
Whether the access point of determining website to be visited is the Internet NET access point;
Whether if determine that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
If detecting and obtaining described website to be visited is WAP website, the access point of described website to be visited is switched to WAP access point by NET access point.
2. method according to claim 1, is characterized in that, whether described detection website to be visited is WAP (wireless application protocol) WAP website, comprising:
Judge that the network address of described website to be visited is whether in the network address white list of default support WAP;
If the network address of described website to be visited in the network address white list of described default support WAP, determines that described website to be visited is WAP website.
3. method according to claim 1, is characterized in that, described the access point of described website to be visited is switched to WAP access point by NET access point, comprising:
Detect proxy server port corresponding to described website to be visited;
If proxy server port corresponding to described website to be visited is NET port, proxy server port corresponding to described website to be visited is set to WAP port.
4. method according to claim 3, is characterized in that, proxy server port corresponding to website described to be visited also comprises before being set to WAP port:
And establishing the link between WAP server, and linking between maintenance and described WAP server.
5. method according to claim 4, is characterized in that, between described and WAP server, establishes the link, and comprising:
Regularly to described WAP server, send link indication, and receive the confirmation link response that described WAP server returns.
6. method according to claim 5, is characterized in that, is less than the release time linking with WAP server adjacent interval time of indicating to described WAP server transmission link for twice.
7. method according to claim 1, is characterized in that, whether described detection website to be visited is after WAP (wireless application protocol) WAP website, also comprises:
If detecting and obtaining described website to be visited is non-WAP website, detect proxy server port corresponding to described website to be visited;
If proxy server port corresponding to described website to be visited is WAP port, proxy server port corresponding to described website to be visited is set to NET port.
8. a device that switches access point, is characterized in that, described device comprises:
Determination module, for determining whether the access point of website to be visited is the Internet NET access point;
First detection module, whether for when determining that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
Handover module, while being WAP website for obtaining described website to be visited when detection, switches to WAP access point by the access point of described website to be visited by NET access point.
9. device according to claim 8, is characterized in that, described first detection module, comprising:
Judging unit, for the network address that judges described website to be visited whether at the network address white list of default support WAP;
Determining unit, when the network address white list of described default support WAP, determines that described website to be visited is WAP website for the network address when described website to be visited.
10. device according to claim 8, is characterized in that, described handover module, comprising:
Detecting unit, for detection of proxy server port corresponding to described website to be visited;
Setting unit, for when proxy server port corresponding to described website to be visited is NET port, proxy server port corresponding to described website to be visited is set to WAP port.
11. devices according to claim 10, is characterized in that, described device, also comprises:
Set up module, for and WAP server between establish the link;
Keep module, for keep with described WAP server between link.
12. devices according to claim 11, is characterized in that, the described module of setting up, comprising:
Transmitting element, for regularly sending link indication to described WAP server;
Receiving element, the confirmation link response of returning for receiving described WAP server.
13. devices according to claim 12, it is characterized in that, described transmitting element, when regularly to described WAP server transmission link indication, is less than the release time linking with WAP server adjacent interval time of indicating to described WAP server transmission link for twice.
14. devices according to claim 8, is characterized in that, described device, also comprises:
The second detection module, while being non-WAP website for obtaining described website to be visited when detection, detects proxy server port corresponding to described website to be visited;
Module is set, and for when proxy server port corresponding to described website to be visited is WAP port, proxy server port corresponding to described website to be visited is set to NET port.
15. 1 kinds of mobile terminals, it is characterized in that, described mobile terminal includes memory, and one or more than one program, one of them or an above program are stored in memory, and be configured to be carried out by the above processor of or, described one or above program package are containing for carrying out the instruction of following operation:
Whether the access point of determining website to be visited is the Internet NET access point;
Whether if determine that the access point of described website to be visited is NET access point, detecting described website to be visited is WAP (wireless application protocol) WAP website;
If detecting and obtaining described website to be visited is WAP website, the access point of described website to be visited is switched to WAP access point by NET access point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310616634.5A CN103648134B (en) | 2013-11-26 | 2013-11-26 | The method of switching access point, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310616634.5A CN103648134B (en) | 2013-11-26 | 2013-11-26 | The method of switching access point, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103648134A true CN103648134A (en) | 2014-03-19 |
CN103648134B CN103648134B (en) | 2017-03-01 |
Family
ID=50253271
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310616634.5A Active CN103648134B (en) | 2013-11-26 | 2013-11-26 | The method of switching access point, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103648134B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208598A (en) * | 2015-08-18 | 2015-12-30 | 中国联合网络通信集团有限公司 | Network access method and apparatus |
WO2017107152A1 (en) * | 2015-12-24 | 2017-06-29 | 华为技术有限公司 | Method for determining network standard in wireless communication network, access point apparatus, terminal apparatus and wireless network controller |
CN111292517A (en) * | 2018-12-06 | 2020-06-16 | 戴乐格半导体韩国株式会社 | Wireless communication control equipment for installing wireless internet in internet of things device |
CN113872889A (en) * | 2021-09-01 | 2021-12-31 | 珠海格力电器股份有限公司 | Network access point switching method and device, electronic equipment and storage medium |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1605222A (en) * | 2001-12-18 | 2005-04-06 | 诺基亚有限公司 | Intersystem handover of a mobile terminal |
CN1835443A (en) * | 2005-03-18 | 2006-09-20 | 浙江移动通信有限责任公司 | Fees metering method based on mobile internet media stream |
CN101909326A (en) * | 2010-08-17 | 2010-12-08 | 中兴通讯股份有限公司 | Selection method and device of access point |
CN101938803A (en) * | 2010-09-08 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Communication link maintaining method, communication link maintaining system and mobile terminal |
CN102427609A (en) * | 2011-12-06 | 2012-04-25 | 深圳市融创天下科技股份有限公司 | Communicating method, device and system applied to multiple access points |
CN103108380A (en) * | 2011-11-10 | 2013-05-15 | 北京千橡网景科技发展有限公司 | Method and device for providing network connection |
CN103139847A (en) * | 2011-12-02 | 2013-06-05 | 中国移动通信集团公司 | Method and device of data transmission |
CN103347273A (en) * | 2013-07-02 | 2013-10-09 | 北京播思无线技术有限公司 | Device and method for automatically selecting optimal transmission mode according to service requirements |
-
2013
- 2013-11-26 CN CN201310616634.5A patent/CN103648134B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1605222A (en) * | 2001-12-18 | 2005-04-06 | 诺基亚有限公司 | Intersystem handover of a mobile terminal |
CN1835443A (en) * | 2005-03-18 | 2006-09-20 | 浙江移动通信有限责任公司 | Fees metering method based on mobile internet media stream |
CN101909326A (en) * | 2010-08-17 | 2010-12-08 | 中兴通讯股份有限公司 | Selection method and device of access point |
CN101938803A (en) * | 2010-09-08 | 2011-01-05 | 宇龙计算机通信科技(深圳)有限公司 | Communication link maintaining method, communication link maintaining system and mobile terminal |
CN103108380A (en) * | 2011-11-10 | 2013-05-15 | 北京千橡网景科技发展有限公司 | Method and device for providing network connection |
CN103139847A (en) * | 2011-12-02 | 2013-06-05 | 中国移动通信集团公司 | Method and device of data transmission |
CN102427609A (en) * | 2011-12-06 | 2012-04-25 | 深圳市融创天下科技股份有限公司 | Communicating method, device and system applied to multiple access points |
CN103347273A (en) * | 2013-07-02 | 2013-10-09 | 北京播思无线技术有限公司 | Device and method for automatically selecting optimal transmission mode according to service requirements |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105208598A (en) * | 2015-08-18 | 2015-12-30 | 中国联合网络通信集团有限公司 | Network access method and apparatus |
CN105208598B (en) * | 2015-08-18 | 2019-03-12 | 中国联合网络通信集团有限公司 | A kind of method for network access and device |
WO2017107152A1 (en) * | 2015-12-24 | 2017-06-29 | 华为技术有限公司 | Method for determining network standard in wireless communication network, access point apparatus, terminal apparatus and wireless network controller |
US10757692B2 (en) | 2015-12-24 | 2020-08-25 | Huawei Technologies Co., Ltd. | Method for determining network standard in wireless communications network, access point device, terminal device, and radio network controller |
CN111292517A (en) * | 2018-12-06 | 2020-06-16 | 戴乐格半导体韩国株式会社 | Wireless communication control equipment for installing wireless internet in internet of things device |
US11122124B2 (en) | 2018-12-06 | 2021-09-14 | Dialog Semiconductor Korea Inc. | Method and apparatus for controlling wireless communication for installing wireless internet in IoT devices |
CN111292517B (en) * | 2018-12-06 | 2022-05-10 | 戴乐格半导体韩国株式会社 | Wireless communication control equipment for installing wireless internet in internet of things device |
CN113872889A (en) * | 2021-09-01 | 2021-12-31 | 珠海格力电器股份有限公司 | Network access point switching method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN103648134B (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104142862B (en) | The overload protection method of server and device | |
CN103501333B (en) | Method, device and terminal equipment for downloading files | |
CN103607713A (en) | Method, apparatus, device and system for network access | |
CN104765591A (en) | Method and system for updating software configuration parameter, and terminal server | |
CN103929796A (en) | Access point sharing method and device | |
CN105188037A (en) | Message push method, mobile terminal, and message push server | |
CN103746975A (en) | Method of data transmission, device and mobile terminal | |
CN103677899A (en) | Method and device for installing application programs | |
CN103702028A (en) | Method and device for controlling shooting and terminal equipment | |
CN103716793A (en) | Access point information sharing method and apparatus | |
CN103683437B (en) | A kind of charger and terminal equipment | |
CN104717341A (en) | Message prompting method and terminal | |
CN103686963A (en) | Method, device, equipment and system for controlling wireless network to be switched on/off | |
CN104427074A (en) | Method, device and system for displaying incoming information | |
CN103634717A (en) | Method, device and terminal equipment utilizing earphone to control | |
CN104142868A (en) | Connection establishment method and device | |
CN103763112A (en) | User identity protection method and apparatus | |
CN103596145A (en) | Information automatic responding method, device and terminal equipment | |
CN104065693A (en) | Method, device and system for accessing network data in webpage applications | |
CN103687060A (en) | Terminal communication method, terminal communication device and terminals | |
CN104954159A (en) | Network information statistics method and device | |
CN103747130A (en) | Control method of terminal equipment, device and terminal equipment | |
CN103546570A (en) | Method, device and terminal for achieving network client-side cross-domain data request | |
CN103298163A (en) | Interface management method and device for multi-card terminal | |
CN104135502A (en) | Method of implementing application notification as well as associated equipment and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |