Background technology
Along with the fast development of mobile communication business and Internet technology, the application of mobile data and multimedia communication more and more widely even might surpass traditional speech and become the main business of mobile communication carrying.
In recent years, the popularizing of the development of Internet technology and application, the Internet has become huge information platform, intercourse platform, transaction platform, the indispensable effect of performance in people's work, life.In addition, along with the development of mobile communication technology with popularize, can carry to such an extent that certain mobile terminal device is very universal, people wish to realize " always online " by these equipment and mobile network's extensive covering, be not subjected to the restriction of space, region, whenever and wherever possible access internet and obtain required information.
Speech business data with respect to the carrying of mobile network's tradition are compared, and the Internet service data are higher to the bandwidth requirement of network.Therefore, when a lot of users used the mobile device online simultaneously, whole mobile network will can't bear the heavy load, and service quality descends, and terminal use's experience also can be had a greatly reduced quality.For the mobile Internet access service of high-quality is provided to the user, mobile network's operator generally improves by the method for two aspects:
A kind of method of the prior art is the network capacity extension, comprises and sets up the base station, increases core network element equipment etc., and this method cost is huge, and can bring new technical barrier, can interfere with each other between for example different base stations etc.
Another kind method is network evolution, for example, evolves to WCDMA, the TDSCDMA etc. of present 3G from the GPRS of original 2.5G, even the LTE in later stage etc., but this method also needs great amount of investment.
Summary of the invention
In view of this, the invention provides method and the device that a kind of mobile network of being used for improves Packet data service.
A kind of mobile network of being used for that the embodiment of the invention provides improves the method for Packet data service, in mobile network's core net memory cell is set, and is used for the internet content data that buffer memory is transmitted through this core net, comprising:
Reception is from the request of mobile network core network network element device;
Obtain the uniform resource position mark URL of the internet data that described request carries;
Whether be buffered according to the corresponding data of described uniform resource position mark URL inquiry, if the data of described correspondence are sent to the request end; Otherwise, to the Internet request and receive the data of above-mentioned URL(uniform resource locator) correspondence;
The data of the described URL(uniform resource locator) correspondence that will receive from the Internet carry out compression and adaptation;
To compress adapted data and send to the request end, and in buffer memory, store data trnascription.
The device that the embodiment of the invention also provides a kind of mobile network of being used for to improve Packet data service is arranged in mobile network's core net, and this device comprises:
First memory module is used for the internet content data that buffer memory is transmitted through this core net;
First receiver module is used for receiving the packet from mobile network's core network element device;
Parsing module is used to resolve the packet that receives, and obtains the uniform resource position mark URL of the internet data that carries in the described packet;
Whether enquiry module is used for being buffered according to the corresponding data of described uniform resource position mark URL inquiry;
The compression adaptation module is used for the internet data that receives is carried out compression and adaptation;
Sending module is used for when the data of correspondence are buffered, and the data of the compressed adaptation module compression of transmission buffer memory are to the request end.
This device also comprises:
Request module is used for when the data of correspondence are not buffered, and the request the Internet sends the data of described URL(uniform resource locator) correspondence;
Second receiver module is used to receive the data from the Internet;
This device also comprises:
Second memory module is used for the internet data of the compressed adaptation module of buffer memory compression after adaptive.
The embodiment of the invention provides is used for the technical scheme that the mobile network improves Packet data service, by receiving the request from the mobile network core network network element device; Obtain the uniform resource position mark URL of the internet data that described request carries; Be buffered according to the corresponding data of URL inquiry, then the data with described correspondence send to the request end; Otherwise, to the Internet request and receive the data of above-mentioned URL(uniform resource locator) correspondence; The data of the described URL correspondence that will receive from the Internet carry out compression and adaptation; To compress adapted data again and send to the request end, and in buffer memory, store data trnascription.By with the content caching of the Internet in mobile network's core net, shortened the data communication link, reduced data traffic, reduced blocking up of mobile network, improved the efficiency of transmission of data.Can greatly improve terminal use's experience.
Embodiment
When portable terminal needs access the Internet, be connected to wireless network base station by wireless mode and communicate, grouped data is to send to GPRS serving GPRS support node (SGSN) from the base station, and SGSN and GGSN (GGSN) communicate; GGSN handles accordingly to grouped data, re-sends to purpose network (internet).GGSN receives the IP bag that mobile terminal address is arranged from the internet sign, is forwarded to SGSN again, sends portable terminal then to, and being embodied as portable terminal provides the internet access service.
Data transmission efficiency when improving access internet in the mobile communications network, the invention provides the method that a kind of mobile network of being used for improves Packet data service, in this method by buffer unit is set in core net, as shown in Figure 1, be used for the internet content data that buffer memory is transmitted through this core net, and the content caching of the higher the Internet of accessed frequency, it is follow-up like this when these internet pages of user terminal access are arranged, just can directly from buffer unit, obtain corresponding data, and needn't be again obtain from the internet site server of far-end, reduce the data traffic between mobile core network and the Internet, improve data transmission efficiency, shorten the response time, improve user experience.
Below principle of the present invention, specific implementation and characteristic are described in detail.
With reference to Fig. 2, a kind of mobile network of being used for that the embodiment of the invention provides improves the method for Packet data service, comprising:
S101 receives the request from the mobile network core network network element device;
Carry URL(uniform resource locator) (URL in the request data package that receives, the abbreviation of Uniform/UniversalResource Locator) is also referred to as web page address, be the resource addresses (Address) of standard on the internet, obtain the destination address of data with indication.
Described core network element equipment can be SGSN, perhaps GGSN.
When the packet that receives from GGSN, obtain packet from the Gi interface of GGSN;
When the packet that receives from SSGN, obtain packet from the gn interface of SGSN.
S102 obtains the uniform resource position mark URL of the internet data that described request carries;
Whether S103 is buffered according to the corresponding data of described uniform resource position mark URL inquiry, if, execution in step S104 then; Otherwise, execution in step S105;
S104 reads corresponding data, and sends to the request end from buffer memory;
S105 transmits this request and receives the data of above-mentioned URL(uniform resource locator) correspondence to the far-end Internet Server.
As preferably, this method further comprises:
S106, the data of the described URL(uniform resource locator) correspondence that will receive from the Internet carry out compression and adaptation;
S107 will compress adapted data and send to the request end, and store data trnascription in buffer memory.
If the internet data that receives is the web page text data, then among the step S105, the corresponding data that receives is carried out compression and adaptation, comprise the steps:
(a) annotation data in the removal web page text data;
(b) remaining data are carried out the GZip compression.
The GZIP form has become the very general a kind of data compression format of use, a kind of in other words file format.GZIP coding on the http protocol is a kind of technology that is used for improving the WEB application program capacity.The WEB website of big flow usually uses the GZIP compress technique to allow the user experience faster speed.Reducing file size has two tangible benefits, and the one, can reduce memory space, the 2nd, during by the Network Transmission file, can reduce the time of transmission.To be of often using in linux system carry out the order of compression and decompression to file to gzip, not only convenient but also handy.When the people visits website in this server, the employing GZip compress mode in the server just will be transferred in the visiting computer browser after the web page contents compression.Generally the plain text content is compressible to 40% of life size, transmission speed is accelerated like this, and efficient improves.
If the internet data that receives is a view data, then among the step S105, the corresponding data that receives is carried out compression and adaptation, comprise the steps:
(a) obtain the resolution sizes information and the file size of this picture;
(b) if the resolution sizes of this picture surpasses pre-set threshold, perhaps file size surpasses pre-set threshold, and picture is carried out recompile by predefined mode.
If the internet data that receives is a video data, then among the step S105, the corresponding data that receives is carried out compression and adaptation, comprise the steps:
(a) obtain the resolution sizes information of this video, frame per second information, code rate information and document size information;
(b) resolution sizes when video surpasses pre-set threshold, perhaps code check surpasses pre-set threshold, perhaps frame per second surpasses pre-set threshold, and perhaps file size surpasses pre-set threshold, and this video is carried out recompile according to predefined mode.
With reference to Fig. 3, the device that the embodiment of the invention also provides a kind of mobile network of being used for to improve Packet data service is arranged in mobile network's core net, and this device 20 comprises:
First memory module 200 is used for the internet content data that buffer memory is transmitted through this core net;
First receiver module 210 is used for receiving the request data package from mobile network's core network element device;
Parsing module 220 is used to resolve the packet that receives, and obtains the uniform resource position mark URL of the internet data that carries in the described packet;
Whether enquiry module 230 is used for being buffered according to the corresponding data of described uniform resource position mark URL inquiry;
Compression adaptation module 240 is used for the internet data that receives is carried out compression and adaptation;
Sending module 250 is used for when the data of correspondence are buffered, and the data of the compressed adaptation module compression of transmission buffer memory are to the request end.
Request module 260 is used for when the data of correspondence are not buffered, and the request the Internet sends the data of described URL(uniform resource locator) correspondence;
Second receiver module 270 is used to receive the data from the Internet;
Second memory module 280 is used for the data that buffer memory is compressed the Internet after adaptive.
Described core network element equipment is SGSN, perhaps GGSN.
Afterwards, the data that will be compressed the Internet after adaptive by sending module 250 according to demand send to the request end.
In sum, the embodiment of the invention provides is used for the technical scheme that the mobile network improves Packet data service, by receiving the request from the mobile network core network network element device; Obtain the uniform resource position mark URL of the internet data that described request carries; Be buffered according to the corresponding data of URL inquiry, then the data with described correspondence send to the request end; Otherwise, to the Internet request and receive the data of above-mentioned URL(uniform resource locator) correspondence; The data of the described URL correspondence that will receive from the Internet carry out compression and adaptation; To compress adapted data again and send to the request end, and in buffer memory, store data trnascription.By with the content caching of the Internet in mobile network's core net, shortened the data communication link, reduced data traffic, reduced blocking up of mobile network, improved the efficiency of transmission of data.Can greatly improve terminal use's experience.
According to described disclosed embodiment, can be so that those skilled in the art can realize or use the present invention.To those skilled in the art, the various modifications of these embodiment are conspicuous, and the general principles of definition here also can be applied to other embodiment on the basis that does not depart from the scope of the present invention with purport.Above-described embodiment only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.