Background technology
Mobile Internet has been deep into every aspect during we live, and ascendant trend year by year at present, but at present
The speed of conventional internet is also not achieved in mobile Internet, is restricted the reasons such as agreement, and corresponding equipment.But it is mobile
Internet have conventional internet can not than advantage, global R & D center and research and development institution are all reinforcing mobile Internet
Research and development.
Internet is accessed at present, and traditional network is by way of cookie local caches, to transmit the identity letter of user
Breath, cookie is commonly called as " cooky ", it is a kind of to preserve the information of user by the way of (key/value) key-value pair.
Cookie is typically all to be generated by server end, when subscription client is accessed through browser access network, is sent to
The browser of client, and be maintained in client, next time are just straight when user accesses the same website of network again
The cookie is received and sent to server, such server is just screened using arbitrarinesses of the coolies comprising information, and accelerates to return
Breath write in reply to user browser.
It can accelerate the speed of access internet using above-mentioned technology.But in local visitor when user access website
Family end can preserve many temporary files and cookie information, although the access speed for the webpage accelerated, it can also cause
Local spatial sharply increases, and the access information of user is cleared up every a period of time.
And mobile device space itself is limited, if by the way of traditional, can aggravate the burden of local memory device.It passes
The mode of system can retain corresponding temporary file outside the mobile device on SDCARD cards.But if user changes card, Yi Jiqing
These information are cleared up naturally when reason card.
It a kind of is carried to internet terminal in view of the above-mentioned problems, being disclosed application No. is 200910238260.1 patent application
System and method for quickly accessing Internet Server are relied on the WiMAX (including 3G, 4G etc.) of telecom operators and are had
Line broadband network provides the internet service node based on local network pattern to Internet service website, i.e. cloud computing support is flat
Platform.Particularly, the local internet node based on visited network where wireless network terminal or internet mobile telephone terminal is sought
Location services, and the internet access business of high speed is provided to internet mobile telephone terminal.The patent application mainly relies on telecommunications to transport
The wireless and cable network for seeking quotient, based on the internet node addressing service of visited network where mobile telephone terminal, therefore
It is mainly based upon cloud computing and supports that platform realizes the quick access of internet, internet is accessed although can improve in this way
Speed, but cost is very high.
Based on above-mentioned analysis, the speed for how easily improving mobile Internet just urgently solves as those skilled in the art
One of certainly the problem of.
Invention content
What the present invention solved is that mobile terminal cost when quickly accessing internet is higher or mobile whole in the prior art
The problem of heavy load at end.
To solve the above problems, the present invention provides a kind of method of mobile terminal accessing internet, including:Mobile terminal is sent out
SCN Space Cable Network access request;Cookie from the mobile terminal local search with the presence or absence of accessed web information website is cached
Resource;When the mobile terminal locally be not present accessed web information website Cookie cache resources when, from the shifting
It is inquired in the equipment of dynamic terminal pairing;When preserving the web information accessed in the equipment matched with the mobile terminal
When the Cookie cache resources of website, the equipment for preserving the Cookie cache resources returns to the Cookie cache resources,
The mobile terminal accesses internet according to the Cookie cache resources of return.
Optionally, the method for the mobile terminal accessing internet further includes:It is visited when the mobile terminal locally exists
When the Cookie cache resources for the web information website asked, the mobile terminal is visited according to the Cookie cache resources inquired
Ask internet.
Optionally, when the web information website accessed is not preserved in the equipment matched with the mobile terminal
When Cookie cache resources, server end verifies the identity of mobile terminal according to the network access request that the mobile terminal is sent
Information.
Optionally, the transmission network access request of the mobile terminal includes:Web/WAP network HTTP requests;
The method further includes:Request data package, the request data are generated according to the HTTP request that mobile terminal is sent
It is included at least in packet:Ask the identification code of ID and the mobile terminal.Optionally, described to be set from what the mobile terminal matched
Include for the middle process inquired:The request data package in the HTTP request is sent extremely to set with what the mobile terminal matched
It is standby;Judge whether to preserve according to the request ID in the request data package with the equipment of mobile terminal pairing and be moved eventually
Hold the Cookie cache resources of accessed web information website;When preserving corresponding Cookie cache resources, according to described
The Cookie cache resources inquired are back to the mobile terminal by the identification code in request data package.
Optionally, the mobile terminal is matched with other equipment by bluetooth, WIFI or mobile data.
Optionally, it after the mobile terminal and other equipment complete pairing, and is matched from the mobile terminal
Equipment in inquired before it is further comprising the steps of:According to the network range residing for the mobile terminal, judgement is matched with it
To equipment signal strength;It is inquired successively according to the signal strength of paired device height.
Optionally, as the Cookie for preserving the web information website accessed in the equipment matched with the mobile terminal
When cache resources, further include before the equipment for preserving the Cookie cache resources returns to the Cookie cache resources:
Judge whether the equipment for preserving the Cookie cache resources communicates with mobile terminal holding;
If the equipment for disconnecting communication or preserving the Cookie cache resources does not have response, NULL is returned;
If keeping communication and the equipment for preserving the Cookie cache resources carrying out response, it is slow to return to the Cookie
Deposit resource.
The present invention also provides a kind of mobile terminals, including:Request sending module, for sending network access request;It is local
Enquiry module caches money for the Cookie from the mobile terminal local search with the presence or absence of accessed web information website
Source;Enquiry module is matched, for locally there is no the Cookie of accessed web information website to cache money when the mobile terminal
When source, inquired from the equipment matched with the mobile terminal;Network access module is matched for working as with the mobile terminal
To equipment in preserve the Cookie cache resources of the web information website accessed and preserve the Cookie cache resources
Equipment return the Cookie cache resources when, according to the Cookie cache resources of return access internet.
Optionally, the network access module is additionally operable to locally there is accessed web information station when the mobile terminal
When the Cookie cache resources of point, internet is accessed according to the Cookie cache resources inquired.
Compared with prior art, technical scheme of the present invention has the following advantages:
In technical solution of the present invention, first in mobile terminal local search with the presence or absence of accessed web information website
Cookie cache resources, if being not present, the other equipment of inquiry and mobile terminal pairing, if being preserved in other equipment
Corresponding Cookie cache resources, then mobile terminal is according to the Cookie cache resources of return access internet.Pass through Cookie
The mode of cache resources can also more efficiently access internet, improve the speed of mobile terminal network visiting;Also, with it is existing
Have in technology and compared using the scheme of cloud computing platform, the method for mobile terminal accessing internet of the present invention is also greatly reduced into
This.
In addition, since Cookie cache resources can be stored in other equipment, and hence it is also possible to effectively reduce movement
The storage data of terminal local expand the memory space of mobile terminal local.
Specific implementation mode
As described in the background art, the access of internet can be improved by accessing internet using Cookie cache resources
Speed, but since the storage space of mobile terminal is limited, if largely preserving relevant Cookie cache resources can cause to deposit
The waste for storing up space, although having existed the technical side for improving access speed in the way of cloud computing platform etc. in the prior art
Case, but it is this cost is increased in the way of cloud computing platform, be unfavorable for promoting.
The present invention provides a kind of methods of mobile terminal accessing internet, can inquire and whether there is from other equipment
Relevant Cookie cache resources can be set when preserving corresponding Cookie cache resources in other equipment according to other
The standby Cookie cache resources returned access internet.The process of inquiry other equipment is verified than direct request server end
Process much faster, it is thus possible to improve the speed of mobile terminal accessing internet, also, in this way can will
Cookie cache resources are preserved to other equipment, and without being stored directly in mobile terminal local, and hence it is also possible to expand shifting
The memory space of dynamic terminal, improves the utilization rate of mobile terminal.
To make the above purposes, features and advantages of the invention more obvious and understandable, below in conjunction with the accompanying drawings to the present invention
Specific embodiment be described in detail.
The method that Fig. 1 shows mobile terminal accessing internet of the present invention, with reference to figure 1, the mobile terminal accessing interconnection
The method of net includes:
Step S1, mobile terminal send network access request;
In the present embodiment, the transmission network access request of the mobile terminal includes:Web/WAP network HTTP requests;
The method further includes:Request data package is generated according to the HTTP request that mobile terminal is sent, in the request data package at least
Including:Ask the identification code of ID and the mobile terminal.
Request ID include:The time of request, the data content of request, data packet head basic HTTP information etc..Meanwhile by
In subsequent step, it may be necessary to ask corresponding Cookie cache resources, therefore, the number of request of the present embodiment to other equipment
According to the identification code that should also include mobile terminal in packet, with facilitate it is follow-up obtain Cookie cache resources on peripheral equipment when
It waits, the equipment that can quickly and easily return to request.
Step S2 is executed, whether there is the Cookie of accessed web information website from the mobile terminal local search
Cache resources;
In the present embodiment, when the Cookie that the mobile terminal locally has accessed web information website caches money
When source, the mobile terminal accesses internet according to the Cookie cache resources inquired.
If that is, can locally inquire corresponding Cookie cache resources in mobile terminal, then, then according to biography
The mode of system returns to required network information content, i.e., required network letter is returned from the Cookie cache resources locally preserved
Cease content.
Then step S3 is executed, when locally there is no the Cookie of accessed web information website to delay for the mobile terminal
When depositing resource, inquired from the equipment matched with the mobile terminal;
Specifically, the mobile terminal can be carried out with other equipment by modes such as bluetooth, WIFI or mobile datas
Pairing.
Then step S4 is executed, when preserving the web information website accessed in the equipment matched with the mobile terminal
Cookie cache resources when, the equipment for preserving the Cookie cache resources returns to the Cookie cache resources;
In a particular embodiment, the Cookie cache resources are returned in the equipment for preserving the Cookie cache resources
Can also include before:Judge whether the equipment for preserving the Cookie cache resources communicates with mobile terminal holding;
If the equipment for disconnecting communication or preserving the Cookie cache resources does not have response, NULL is returned;
If keeping communication and the equipment for preserving the Cookie cache resources carrying out response, it is slow to return to the Cookie
Deposit resource.
Step S5 is finally executed, the mobile terminal accesses internet according to the Cookie cache resources of return.
It should be understood by those skilled in the art that ground, accessed when not preserved in the equipment matched with the mobile terminal
When the Cookie cache resources of web information website, server end is verified according to the network access request that the mobile terminal is sent
The identity information of mobile terminal.
Fig. 2 shows the specific implementation flow schematic diagrames of step S3 in Fig. 1;With reference to figure 2, it is described from the mobile terminal
The process inquired in the equipment of pairing specifically includes:
Step S31 sends equipment of the request data package to being matched with the mobile terminal in the HTTP request;
Step S32 is then executed with the equipment of mobile terminal pairing, according to the request ID in the request data package
Judge whether the Cookie cache resources of the preservation web information website that mobile terminal has been accessed;
Step S33 is executed, when preserving corresponding Cookie cache resources, according to the mark in the request data package
The Cookie cache resources inquired are back to the mobile terminal by code.
It should be noted that after the mobile terminal and other equipment complete pairing, and from it is described it is mobile eventually
It holds further comprising the steps of before being inquired in the equipment of pairing:
According to the network range residing for the mobile terminal, the signal strength for the equipment matched with it is judged;
It is inquired successively according to the signal strength of paired device height.
Specifically, the highest paired device of signal strength can be first inquired, if without relevant Cookie cache resources,
The poor paired device of signal strength is then inquired, until there is relevant device to return to Cookie cache resources or all pairings
Equipment is without response.
Normally, signal strength height is closer at a distance from mobile terminal corresponding to paired device, therefore when data transmission
Rate can be faster.The speed of inquiry can be improved according to the sequence of signal strength height, and then improves final access internet
Speed.
In the method for the mobile terminal accessing internet of the present invention, in mobile terminal locally without preserving corresponding Cookie
When cache resources, other paired devices can be inquired, if being stored with Cookie cache resources in paired device, mobile terminal root
Internet is accessed according to the Cookie cache resources of return.Since inquiry is local or the process of other paired devices is than traditional access
The speed of internet wants much faster, and therefore, method of the invention can improve the speed of mobile terminal accessing internet;
Also, since cloud computing platform etc. need not be used in the method for the present invention, and hence it is also possible to be effectively reduced into
This.
Further, since Cookie cache resources can be stored in other equipment, without preserving to mobile terminal
It is local, so the memory space of mobile terminal can also be saved further.
Correspondingly, the present invention also provides a kind of mobile terminals, and with reference to figure 3, the mobile terminal includes:
Request sending module 10, for sending network access request;
Local search module 20, for whether there is accessed web information website from the mobile terminal local search
Cookie cache resources;
Enquiry module 30 is matched, for locally there is no accessed web information websites when the mobile terminal
When Cookie cache resources, inquired from the equipment matched with the mobile terminal;
Network access module 40 preserves the web information accessed for working as in the equipment matched with the mobile terminal
The Cookie cache resources of website and preserve the Cookie cache resources equipment return the Cookie cache resources when,
Internet is accessed according to the Cookie cache resources of return.
In a particular embodiment, the network access module 40 is additionally operable to work as what the local presence of the mobile terminal was accessed
When the Cookie cache resources of web information website, internet is accessed according to the Cookie cache resources inquired.
The course of work of above-mentioned mobile terminal can refer to the introduction that aforementioned mobile terminal accesses the method for internet, herein not
It repeats again.
The mobile terminal of the present invention can obtain corresponding Cookie cache resources from other paired devices therefore can
To realize quickly and easily access interconnection network function, also, the mobile terminal of the present invention can be a large amount of to avoid storage
Cookie cache resources, to effectively save memory space.
Although present disclosure is as above, present invention is not limited to this.Any those skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.