CN102306184B - Method, device and apparatus for obtaining compressed link address information and compressed webpage - Google Patents

Method, device and apparatus for obtaining compressed link address information and compressed webpage Download PDF

Info

Publication number
CN102306184B
CN102306184B CN201110253266.3A CN201110253266A CN102306184B CN 102306184 B CN102306184 B CN 102306184B CN 201110253266 A CN201110253266 A CN 201110253266A CN 102306184 B CN102306184 B CN 102306184B
Authority
CN
China
Prior art keywords
information
parameter
compressed
link address
webpage
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.)
Active
Application number
CN201110253266.3A
Other languages
Chinese (zh)
Other versions
CN102306184A (en
Inventor
崔世起
张开兴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201110253266.3A priority Critical patent/CN102306184B/en
Publication of CN102306184A publication Critical patent/CN102306184A/en
Application granted granted Critical
Publication of CN102306184B publication Critical patent/CN102306184B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, device and apparatus for obtaining compressed link address information and a compressed webpage. The compressed link address information comprises at least one parameter message, and each parameter message corresponds to one parameter type. Based on each parameter type, the compressed link address information containing the at least one parameter message is generated by performing the following steps according to the method on the basis of each parameter type: acquiring original character information corresponding to the parameter types, wherein the original character information comprises character information corresponding to the parameter types and directly used for linking analysis treatment; and then acquiring compressed character information of the original character information so as to obtain one or more parameter messages containing the compressed character information and corresponding to the parameter types. The method has the advantages of decreasing storage space occupied by information of each link address and saving bandwidth occupied by transmitting the information of the link addresses.

Description

Obtain method, device and the equipment of compressed link address information and compressed webpage
Technical field
The present invention relates to networking technology area, relate in particular to a kind of for obtaining method, device and the equipment of compressed link address information and compressed webpage.
Background technology
In prior art, because many links have certain length, often need to spend suitable flow for download link address, in the occasion comparatively responsive to flow, for example, when mobile phone access network, this flow producing for download link address is often considerable.And, for comprising, permitted multilinked webpage ,Ru portal website homepage, website Yellow Page etc., link length directly affects the size of webpage, and the further required flow of impact this webpage of access.But in prior art, not yet provide effective link compression method, with compression link length.And the Webpage compression method that prior art adopts often can not processed the link comprising in webpage, thereby cause many webpages that comprise a large amount of links cannot obtain good compression effectiveness.
Summary of the invention
The object of this invention is to provide a kind of for obtaining method, device and the equipment of compressed link address information and compressed webpage.
According to an aspect of the present invention, provide a kind of computer implemented for obtaining the method for compressed link address information, wherein, described compressed link address information comprises at least one parameter information, the all corresponding parameter type of each parameter information, wherein, the method comprises:
-based on each parameter type, carry out following steps, to generate the compressed link address information that comprises described at least one parameter information:
A obtains original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process;
B obtains the squeezing characters information of this original character information, to obtain, comprises this squeezing characters information and to one or more parameter informations that should parameter type.
According to an aspect of the present invention, provide a kind of for obtaining the address compression device of compressed link address information, wherein, described compressed link address information comprises at least one parameter information, each parameter information is a corresponding parameter type all, wherein, this address compression device by self, comprise with lower device to each parameter type executable operations, to generate the compressed link address information that comprises described at least one parameter information, wherein:
The first character acquisition device, for obtaining original character information that should parameter type, wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process;
Parameter obtaining device, for obtaining the squeezing characters information of this original character information, comprises this squeezing characters information and to one or more parameter informations that should parameter type to obtain.
According to another aspect of the present invention, a kind of computer implemented method for webpage is compressed is also provided, wherein, each link address information in all or part of link address information that need to comprise described webpage in the method is carried out described for obtaining the method for compressed link address information, to obtain the compressed webpage that comprises at least one compressed link address information.
According to another aspect of the present invention, a kind of webpage compression set for webpage is compressed is also provided, wherein, in this webpage compression set, comprise described address compression device, and each the link address information executable operations in all or part of link address information that need to comprise described webpage by this address compression device, to obtain the compressed webpage that comprises at least one compressed link address information.
According to a further aspect of the invention, also provide a kind of first network equipment, wherein, described first network equipment comprises described address compression device.
According to a further aspect of the invention, also provide a kind of second network equipment, wherein, described second network equipment comprises described webpage compression set.
Compared with prior art, the present invention has the following advantages: 1) when compression link address information has not existed, can to this not compression link address information compress to obtain shorter compressed link address information; When compression link address information does not still exist, can be the directly corresponding not compressed link address information of compression link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth taking of transmissions links address information; 2) can be based on decision operation, only to meeting predetermined contractive condition, as higher in the frequency of occurrences or string length is long etc., the squeeze operation of original character information and executing, improved the efficiency of squeeze operation; 3), by the compressed link address information in compressed webpage being reduced to not compression link address information, so that subscriber equipment obtains compressed link address information webpage pointed, avoided causing due to squeeze operation the situation of the content loss of compressed webpage.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is done of doing with reference to the following drawings, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is a kind of computer implemented for obtaining the method flow diagram of compressed link address information of one aspect of the invention;
Fig. 2 be a preferred embodiment of the invention for obtaining the method flow diagram of compressed link address information;
Fig. 3 is a kind of computer implemented method flow diagram for webpage is compressed of another aspect of the present invention;
Fig. 4 be one aspect of the invention for obtaining the structural representation of the address compression device of compressed link address information;
Fig. 5 be a preferred embodiment of the invention for obtaining the structural representation of the address compression device of compressed link address information;
Fig. 6 is the structural representation for webpage compression set that webpage is compressed of another aspect of the present invention.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Before embodiments of the invention are described in detail, at this, structure of web page interlinkage is first described.
In web page interlinkage, need to comprise following two structures: 1) agreement, such as: http, MMS etc.; 2) domain name (or claiming host name), for example, www.sina.com etc.Preferably, in web page interlinkage, also comprise following at least one structure: 1) path (path); 2) parameter; 3) filename.
For example, for link " http://www.baidu.com/baidu? word=%C1%B4%BD%D3%B2%CE%CA%FD& Tn=myie2& Ch=3 "; Wherein, " http " presentation protocol, " www.baidu.com " represents domain name, " baidu " represents path, " word=%C1%B4%BD%D3%B2%CE%CA%FD& Tn=myie2& Ch=3 " expression parameter.
Again for example, for link " http://zhidao.baidu.com/question/103209310.html "; Wherein, " http " presentation protocol, " zhidao.baidu.com " represents domain name, and " question " represents path, and " 103209310.html " represents filename.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention; those skilled in the art should understand that; other structures that web page interlinkage comprises, also should be included in protection domain of the present invention, and are contained in this with way of reference.
What need to further illustrate is, this instructions comprise for example in parameters information (comprising parameter name and parameter value), original character information, squeezing characters information and link address information as the example of illustration, only for understanding the present invention, but not real parameter information, parameter name, parameter value, original character information, squeezing characters information and link address information while being defined as practical application.
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 has illustrated a kind of computer implemented for obtaining the method flow diagram of compressed link address information of one aspect of the invention.Wherein, this computing machine comprises the network equipment, and the method according to this invention can realize by the address compression device in the network equipment, for example, by such as application module, operating system, processing controller etc. in the network equipment, realizes.Wherein, the described network equipment be a kind of can be according to the program of prior storage, automatically, the modernization intelligent electronic device that carries out at high speed massive values computation and various information processings, its hardware includes but not limited to microprocessor, FPGA, DSP, embedded device etc.Preferably, the described network equipment can isolated operation be realized the present invention, also accessible network and by with network in other network equipments or the interactive operation of subscriber equipment realize the present invention.Wherein, the described network equipment includes but not limited to server group or the cloud consisting of a large amount of computing machines or the webserver based on cloud computing (Cloud Computing) that single network server, a plurality of webserver form, wherein, cloud computing is a kind of of Distributed Calculation, the super virtual machine being comprised of the loosely-coupled computing machine collection of a group, described subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.Wherein, the residing network of the described network equipment or subscriber equipment includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN (Local Area Network), VPN network etc.
It should be noted that; described subscriber equipment and the network equipment are only for giving an example; other subscriber equipmenies existing or that may occur from now on, the network equipment or network, as applicable to the present invention, also should be included in protection domain of the present invention, and be contained in this with way of reference.
Wherein, the method according to this invention can obtain compressed link address information.Wherein, described compressed link address information comprises at least one parameter information, all corresponding parameter type of each parameter information.The method according to this invention is based on each parameter type execution step S 1 and step S2, to generate the compressed link address information that comprises described at least one parameter information.
Wherein, described parameter type includes but not limited to following at least one: 1) URL parameter type, wherein, to parameter information that should URL parameter type for identifying the URL of the corresponding original web page of the transcoding webpage pointed with described compressed link address information.2) General Parameters type.Wherein, this General Parameters type is to being applied to generate the required parameters information except URL parameter type of described compressed link address information; Or, this General Parameters type further comprises a plurality of parameter types, each in the plurality of parameter type be correspondence required parameters information comprising of this compressed link address information except described URL parameter respectively, for example, except URL parameter information, the required parameter information comprising of compressed link address information also comprises: the parameter information that a) parameter name is " type ", b) parameter name is the parameter information of " userid ", and General Parameters type further comprises parameter type " type " and " userid ".It should be noted that, it is only example that parameter type take that " type " and " userid " identify, those skilled in the art should be able to adopt other identification informations, as " I " and " II " etc., identify the parameter type of the parameter information that corresponding parameter name is " type " respectively parameter information and parameter name are " userid ".
In step S1, address compression device obtains the original character information of corresponding current handled parameter type, and wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process.Preferably, described original character information comprises following any one: the 1) parameter value of initial parameter; 2) title of initial parameter and parameter value thereof.
Particularly, described address compression device obtains the mode of original character information that should parameter type is included but not limited to:
1) address compression device obtains the not compression link address information corresponding with described compressed link address information; Then, address compression device is not obtained in compression link address information to one or more parameter informations that should parameter type, as described original character information by this.
Wherein, described not compression link address information can be directly used in link dissection process, to access its corresponding info web; For example, compression link address information is not http://www.baidu.com, can directly by http protocol analysis, be processed and be visited this not info web corresponding to compression link information; Again for example, compression link address information info web pointed is not the WAP page through WAP transcoding gained, in response to for ask this not compression link address information the equipment of request of access of corresponding WAP page can be directly according to this WWW info web corresponding to this WAP page of compression link address information Real-time Obtaining not, and WWW webpage is carried out to real-time transcoding and process to generate WAP page, to respond request of access.
Wherein, the mode that address compression device obtains the not compression link address information corresponding with described compressed link address information includes but not limited to:
A) in already present webpage, obtain the not compression link address information corresponding with described compressed link address information.
For example, from the WAP page being obtained by WWW webpage transcoding, obtain the not compression link address information corresponding with compressed link address information.Again for example, directly in the wWW webpage having generated, obtain the not compression link address information corresponding with compressed link address information.
B) in treating the original web page of transcoding, obtain link address information, and this link address information is carried out to transcoding operation, to obtain the not compression link address information corresponding with compressed link address information.
For example; address compression device obtains the link address information link1 " http://news.sina.com.cn/media/ " in the original web page for the treatment of transcoding; and this link address information link1 is carried out to transcoding operation, take obtain not compression link address information link1 ' after the transcoding corresponding with link1 as " http://a.abc.com/tc? pn=7& M=0& Src=http: //news.sina.com.cn/media/ ".
Wherein, those skilled in the art should determine the mode that transcoding operates according to actual conditions and demand, for example, www webpage are transferred to the transcoding mode of wap webpage etc., do not repeat them here.
Then, address compression device obtains the one or more parameter informations corresponding to the parameter type when pre-treatment in obtained not compression link address information, as described original character information.
For example, acquired not compression link address information be " http://www.baidu.com/baidu? word=%C1%B4%BD%D3%B2%CE%CA%FD& Tn=myie2& Ch=3 ", when the parameter type of pre-treatment is tn parameter type, address compression device is by not obtaining the parameter information " tn=myie2 " corresponding to tn parameter type in compression link address information.
2) address compression device obtains relevant to described compressed link address information and generates relevant information with the corresponding parameter of this parameter type; And generate relevant information according to described parameter, obtain described original character information.
Wherein, described parameter generates relevant information and comprises for generating initial parameter value, or, for generating the information of initial parameter title and parameter value.Preferably, parameter generation relevant information includes but not limited to: a) customized information of described compressed link address information; For example, whether described compressed link address information needs URL of the corresponding original web page of the webpage of transcoding that folds, this compressed link address information is pointed etc.; B) the type relevant information of webpage under described compressed link address information; For example, webpage is supported Format Type, web page code type etc.; C) ask the device-dependent message of the subscriber equipment of the affiliated webpage of described compressed link address information, for example, mobile phone model information etc.
Wherein, those skilled in the art should determine to get parms according to actual conditions and demand and generate the mode of relevant information, do not repeat them here.
Wherein, address compression device generates relevant information and parameter value according to predetermined parameter, or, predetermined parameter generates the corresponding relation of relevant information and parameter name and value, acquisition comprises the original character information that generates parameter value corresponding to relevant information with described parameter, or, obtain and comprise the parameter name corresponding with described parameter generation relevant information and the original character information of parameter value.
For example, the web page code type that address compression device obtains the affiliated webpage of compressed link address information to be generated is " XML ", address compression device is determined and the corresponding parameter name of web page code type " type " and parameter value " 1 " thereof according to web page code type " XML ", and address compression device obtains the original character information " type=1 " corresponding to General Parameters type.
Again for example, it is " http://mil.news.sina.com.cn/ " that address compression device obtains the URL that comprises the corresponding original web page of the transcoding webpage pointed with compressed link address information to be generated, and the original character information using the URL of this original web page as corresponding URL parameter type " http://mil.news.sina.com.cn/ ".
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention those skilled in the art should understand that, any implementation of obtaining original character information that should parameter type, all should be within the scope of the present invention.
Then, in step S2, address compression device obtains the squeezing characters information of this original character information, to obtain, comprises this squeezing characters information and to one or more parameter informations that should parameter type.
Wherein, the mode that described address compression device obtains the squeezing characters information of this original character information includes but not limited to:
1) address compression device is to the predetermined compression processing of described original character information and executing, to obtain corresponding squeezing characters information based on compression result.
For example, address compression device adopts hash function to carry out digital signature processing to obtain corresponding cryptographic hash to obtained original character information, and using this cryptographic hash as with the corresponding squeezing characters information of this original character information; Again for example, address compression device carries out md5 encryption processing to obtained original character information, and to obtained encrypted result, adopt base64 coded system to encode to obtain character string after coding, and using character string after this coding as with the corresponding squeezing characters information of this original character information.
2) when the parameter type of pre-treatment is described URL parameter type, described original character information comprises the URL of the original webpage that the transcoding webpage pointed with described compressed link address information is corresponding, address compression device is inquired about in compressed information storehouse according to described URL, then, when inquiring the full detail of described URL in described compressed information storehouse, in this compressed information storehouse, obtain the corresponding squeezing characters information with this URL, and according to obtained squeezing characters information, generate the URL parameter information that comprises this squeezing characters information.
Wherein, described compressed information storehouse comprises original character information and corresponding squeezing characters information thereof.Wherein, set up or the mode of upgrading compressed information storehouse include but not limited to following any: a) adopt user-selected one or more original character information and respectively corresponding squeezing characters information set up or upgrade described compressed information storehouse; B) select historical usage frequency to set up higher than one or more original character information of predetermined frequency or upgrade described compressed information storehouse, wherein, described historical usage frequency includes but not limited to: the number of times and/or the frequency that in the part or all of history web pages that i) original character information has been accessed at address compression device belonging network equipment, occur; Ii) when original character information is URL, the historical access times of this URL and/or frequency etc.; C) one or more original character information of selecting string length to be greater than book character string length are set up or are upgraded described compressed information storehouse.Wherein, after selecting original character information, can obtain the squeezing characters information with the corresponding artificial input of this original character information, or, to the predetermined encryption of this original character information and executing, obtain its corresponding squeezing characters information, to set up according to this original character information and corresponding squeezing characters information thereof or to upgrade compressed information storehouse.
The mode of the URL parameter information that wherein, the acquisition of address compression device comprises this squeezing characters information includes but not limited to:
A) directly using obtained squeezing characters information as URL parameter information.
B) parameter value obtained squeezing characters information being comprised in URL parameter information, and in conjunction with predetermined and the corresponding parameter name of URL parameter type, generate corresponding URL parameter information.
For example, the original character information corresponding to URL parameter type that address compression device obtains in step S1 comprises link address information link3, address compression device is inquired about link3 in compressed information storehouse, and when inquiring the full detail of link3 in compressed information storehouse, in compressed information storehouse, obtain and the corresponding squeezing characters information of link3 cpr1, address compression device is using cpr1 as URL parameter value, and in conjunction with the parameter name " souce " of predetermined URL parameter, obtain URL parameter information " souce=cpr1 ".
When preferably ,Dang address compression set inquires the partial information in described URL in described compressed information storehouse, in this compressed information storehouse, obtain and the corresponding squeezing characters information of this partial information; And generate the URL parameter information comprise all the other information in this squeezing characters information and described URL.
For example, the URL of the original web page that address compression device obtains in step S1 comprise link4 " http://video.sina.com.cn/p/news/c/v/2011-08-14/182961444819.htm l? opsubject_id=top1 ", and, address compression device only inquires the partial information " http://video.sina.com.cn/p/news/c/v/2011-08-14 " in the URL of this original web page in compressed information storehouse, address compression device obtains and the corresponding squeezing characters information of this partial information cpr2 "@compression_1 " in compressed information storehouse, all the other information that address compression device comprises according to obtained squeezing characters information and link4 "/182961444819.html? opsubject_id=top1 ", and predetermined URL parameter name " src ", generation URL parameter information " src=@compression_1/182961444819.html? opsubject_id=top1 ".
3) when the parameter type of pre-treatment is described General Parameters type, described original character information comprises one or more initial parameter information of corresponding this General Parameters type, address compression device is according to described one or more initial parameter information, in compressed information storehouse, inquire about, to obtain at least one squeezing characters information, and based on described at least one squeezing characters information acquisition the one or more parameter informations corresponding to this parameter type.
Wherein, corresponding at least one initial parameter information of each squeezing characters information.Wherein, described initial parameter information comprises parameter name and parameter value thereof.
It is wherein, described that based at least one squeezing characters information acquisition, the mode corresponding to one or more parameter informations of this parameter type includes but not limited to: a) using each the squeezing characters information in described at least one squeezing characters information directly as its to parameter information that should parameter type; B) for each the squeezing characters information in described at least one squeezing characters information, using this squeezing characters information as parameter value, and in conjunction with predetermined and the corresponding parameter name of this squeezing characters information institute type of correspondence parameter, generate accordingly the parameter information corresponding to described parameter type.
Wherein, described address compression device is inquired about in compressed information storehouse according to described one or more initial parameter information, to obtain at least one squeezing characters information, and the mode corresponding to one or more parameter informations of this parameter type includes but not limited to based on described at least one squeezing characters information acquisition:
A) the part or all of initial parameter information that address compression device comprises according to described one or more initial parameter information in compressed information storehouse is inquired about, and with the squeezing characters information based on inquiry gained, obtains the parameter information corresponding to this parameter type.
For example, the original character information " a=1&amp that address compression device obtains in step S1, b=2& c=3& d=4 " in comprise four initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 ", whether address compression device is first inquired about and is existed corresponding to initial parameter information " a=1 " in compressed information storehouse, " b=2 ", the squeezing characters information of " c=3 " and " d=4 ", when not obtaining Query Result, address compression device is selected any three initial parameter information " a=1 " in these three initial parameter information, " c=3 " and " d=4 " continues to inquire about in compressed information storehouse, and obtain corresponding to initial parameter information " a=1 ", the squeezing characters information " zp=134 " of " c=3 " and " d=4 ", address compression device is using obtained squeezing characters information " zp=134 " as the parameter information corresponding to General Parameters type.
The combination of each initial parameter information that b) address compression device comprises according to described one or more initial parameter information in compressed information storehouse is inquired about, and obtain squeezing characters information corresponding to the combination with all initial parameter information comprising in compressed information storehouse, and select at least one squeezing characters information in obtained all squeezing characters information, according to selected at least one squeezing characters information, obtain the one or more parameter informations corresponding to this parameter type.
For example, the original character information " m_1=882a&amp that address compression device obtains in step S1, n=9345c& t=f3cb3 " in comprise three initial parameter information " m_1=882a ", " n=9345c " and " t=f3cb3 ", the combination of all initial parameter information that these three initial parameter information comprise is as follows: { m_1=882a}, { n=9345c}, { t=f3cb3}, { m_1=882a, n=9345c}, { n=9345c, t=f3cb3}, { m_1=882a, t=f3cb3}, { m_1=882a, n=9345c, t=f3cb3}, it is as shown in table 1 below that wherein address compression device is inquired about at least one squeezing characters information that described all part or all of parameter informations obtain in compressed information storehouse:
The combination of initial parameter information Corresponding squeezing characters information
?n=9345c,t=f3cb3 %25
?m_1=882a,t=f3cb3 %35
?n=9345c %20
Table 1
Address compression device is according to the predetermined priority of each squeezing characters information, select priority higher corresponding to initial parameter information combination { m_1=882a, the squeezing characters information " %35 " of t=f3cb3}, and obtain the squeezing characters information " %20 " corresponding to remaining initial parameter information " n=9345c ", the combination of address compression device is corresponding to initial parameter information combination { m_1=882a, the preset parameter title " mt " of t=f3cb3}, and corresponding to initial parameter information combination { the preset parameter title " np " of n=9345c}, generation is corresponding to parameter information " mt=%35 " and " np=%20 " of General Parameters type.
Preferably, the part initial parameter information in being contained in described one or more initial parameter information is not inquired about while obtaining corresponding squeezing characters information, and this part initial parameter information is direct as the parameter information corresponding to described General Parameters type.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any squeezing characters information of obtaining this original character information, to obtain, comprise this squeezing characters information and the implementation to one or more parameter informations that should parameter type, all should be within the scope of the present invention.
The method according to this invention, wherein, address compression device according to based on perform step at least one times that S1 and S2 obtain with the required all parameter types of this compressed link address information in the corresponding one or more parameter informations of parameters type, and in conjunction with the pre-domain-name information obtaining, generate described compressed link address information.Preferably, address compression device also, in conjunction with the pre-routing information obtaining, generates described compressed link address information.
For example; address compression device obtains URL parameter information " src=@KE5ZDcig35I " based on URL parameter type; and obtain general parameter information " zp=%def " based on General Parameters type; address compression device is according to obtained URL parameter information and General Parameters information; and in conjunction with pre-domain-name information " http://m.baidu.com " and the routing information "/bd_type=1/puCusm " obtaining, generation compressed link address information " http://m.baidu.com/bd_type=1/from=0/tc? zp=%deg& Src=@KE5ZDcig35I ".
The method according to this invention, when compression link address information has not existed, can to this not compression link address information compress to obtain shorter compressed link address information; When compression link address information does not still exist, can be the directly corresponding not compressed link address information of compression link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth taking of transmissions links address information.
Fig. 2 illustrated a preferred embodiment of the invention for obtaining the method flow diagram of compressed link address information.According to the method for the present embodiment, comprise step S1, step S3 and step S2.
Described step S1 is described in detail with reference to the embodiment shown in FIG. 1, and is contained in this by reference, repeats no more herein.
Then, in step S3, whether address compression device meets predetermined contractive condition according to the original character information of this parameter type, judges whether to compress this original character information.
Preferably, described predetermined contractive condition includes but not limited to following at least one: 1) the historical usage frequency of this original character information is higher than predetermined frequency; Wherein, described historical usage frequency includes but not limited to: the number of times and/or the frequency that in the part or all of history web pages that a) original character information has been accessed at address compression device belonging network equipment, occur; B) when original character information is URL, the historical access times of this URL and/or frequency etc.; 2) string length of this original character information is greater than book character string length; 3) can in compressed information storehouse, inquire about all or part of this original character information that obtains.
Particularly, address compression device obtains the judgement information of the original character information of gained in step S1, and whether meets predetermined contractive condition according to the obtained information that judges, judges whether to compress this original character information.Wherein, described judgement information includes but not limited to following at least one information: 1) the historical usage frequency of original character information; 2) string length of original character information; 3) Query Result of original character information in compressed information storehouse.
For example, the historical access times of the original character information that address compression device obtains are 2546 times, address compression device judges 2546 > pre-determined numbers of historical access times 2000 times, and address compression device is determined and need to be compressed this original character information.
Again for example, the string length of the original character information that address compression device obtains is 36, is greater than book character string length 15, and address compression device is determined and need to be compressed this original character information.
Again for example, the historical access times that address compression device obtains original character information are 2546 times, and the string length that obtains original character information is 10, address compression device is according to 2546 > pre-determined numbers 2000 times and string length 10 < book character string length 15, judgement original character information does not meet all predetermined contractive conditions, does not need this original character information to compress.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, whether any original character information according to this parameter type meets predetermined contractive condition, judge whether the implementation that need to compress this original character information, all should be within the scope of the present invention.
Then, when judgement need to be compressed this original character information, address compression device execution step S2.
Wherein, described step S2 is described in detail with reference to the embodiment shown in FIG. 1, and is contained in this by reference, repeats no more.
Preferably ,Dang address compression set judges while not needing this original character information to compress in step S3:
1) when compression link address information has not existed accordingly, address compression device undo;
2) when compression link address information does not exist accordingly, address compression device is the parameter information corresponding to parameter type based on described original character information one-tenth in next life directly, to generate not compression link address information, for example, directly using original character information as parameter information, again for example, using original character information as parameter value, and generate parameter information etc. in conjunction with predetermined parameter name.
The method according to this invention, can be based on decision operation, and only to meeting predetermined contractive condition, as higher in the frequency of occurrences or string length is long etc., the squeeze operation of original character information and executing, improved the efficiency of squeeze operation.
Fig. 3 has illustrated a kind of computer implemented method flow diagram for webpage is compressed of another aspect of the present invention.Wherein, described computing machine comprises the network equipment, the method according to this invention realizes by the webpage compression set comprising in the network equipment, wherein, in described webpage compression set, comprise with reference to earlier figures 1 and embodiment illustrated in fig. 2 described in address compression device.The method according to this invention, each link address information executable operations in all or part of link address information that need to be comprised webpage to be compressed by the address compression device being contained in webpage compression set, to obtain the compressed webpage that comprises at least one compressed link address information.
For example, link5 needs the sensing that the comprises link address information of transcoding webpage in the webpage compression set compressed webpage P1 that will generate, this original web page URL that transcoding webpage is corresponding is " http://news.sina.com.cn/ ", and webpage compression set is to point to the link address information of transcoding webpage according to link5, determine that the parameter information type that link5 need to comprise comprises General Parameters type and URL parameter type.Address compression device is first based on General Parameters type; execution step S1; obtain relevant to link5 and generate relevant information C1 with the corresponding parameter of General Parameters type, and based on this parameter generate relevant information C1 obtain original character information corresponding to General Parameters type " ref=www_colorful& p=cb351659& order=7 ", then, address compression device execution step S2, obtained original character information is directly performed encryption processing, to obtain and the corresponding encrypted result of this original character information "@repor% ", and in conjunction with the parameter name " cp_3 " of predetermined corresponding general type, generate the parameter information " cp_3=@repor% " corresponding to General Parameters type, then, address compression device is based on URL parameter type, again perform step S1 with obtain relevant to link5 and with the corresponding original character information of URL parameter type " http://news.sina.com.cn/ ", then, address compression device execution step S2, according to original character information " http://news.sina.com.cn/ ", in compressed information storehouse, inquire about, obtain the corresponding squeezing characters information "@%EF " with " http://news.sina.com.cn/ ", the combination of address compression device and the corresponding preset parameter title of URL parameter type " src ", generate URL parameter information " src=@%EF ", General Parameters information and the URL parameter information of address compression device based on obtained, and pre-domain name " a.ba.com " and the routing information " ssid=0/t=wap/tc " obtaining, generation link5 " http://a.ba.com/ssid=0/t=wap/tc? cp_3=@repor%& src=@%EF ".
Then, address compression device repeatedly performs step S1 and S2, generates link address information link6, link7 that webpage P1 to be compressed need to comprise; Then, webpage compression set generates the compressed webpage P1 that comprises compressed link address information link5, link6 and link7.
As one of the preferred embodiments of the present invention, the method according to this invention, webpage compression set also performs step S5 (not shown) and step S6 (not shown).
In step S5, webpage compression set obtains the first web access requests information from subscriber equipment, and wherein, this first web access requests information is used for asking described compressed webpage.
In step S6, webpage compression set offers described subscriber equipment by the described compressed webpage that comprises at least one compressed link address information.
Subscriber equipment receives after described compressed webpage, when obtaining selection/clicks behavior of the compressed link address information that user comprises in to described compressed webpage, the second web access requests that comprises compressed link address information to the transmission of webpage compression set belonging network equipment.
As one of the preferred embodiments of the present invention, the method according to this invention, webpage compression set also performs step S7 (not shown), step S8 (not shown), step S9 (not shown), step S10 (not shown) and step S11 (not shown).
In step S7, webpage compression set obtains the second web access requests information from subscriber equipment, and wherein, this second web access requests information comprises a compressed link address information in described compressed webpage.
For example, webpage compression set obtain from subscriber equipment comprise compressed link address information link5 " http://m.baidu.com/ssid=0/t=wap/tc? cp_3=@repor%& Src=@%EF " the second web access requests information.
Then,, in step S8, webpage compression set, according to predetermined recognition rule, is identified squeezing characters information in this compressed link address information.
Wherein, described predetermined recognition rule comprises for identifying the rule of squeezing characters information.Preferably, described predetermined recognition rule includes but not limited to following at least one rule: 1) whether basis exists the parameter information that comprises preset parameter title to determine whether and have squeezing characters information; 2) based on whether existing compressing mark to accord with judging whether to exist squeezing characters information.
For example, webpage compression set judgement is according to predetermined compressing mark symbol "@", and in link5, identification obtains parameter information " cp_3=@repor% " and " src=@%EF " is squeezing characters information.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to predetermined recognition rule, in this compressed link address information, identify the implementation of squeezing characters information, all should be within the scope of the present invention.
Then,, in step S9, webpage compression set obtains the original character information of the squeezing characters information of identification gained.
Wherein, the mode of original character information that webpage compression set obtains the squeezing characters information of identification gained includes but not limited to: 1) when described squeezing characters information exchange, cross to original character information and executing reversible predetermined compression and process while obtaining, this squeezing characters information and executing and described predetermined compression are processed to corresponding inverse transformation operation, to obtain original character information; 2) in the corresponding lists of squeezing characters information and original character information, inquire about to obtain and the corresponding original character information of squeezing characters information.
For example; squeezing characters information " cp_3=@repor% " and " src=@%EF " that webpage compression set obtains at step S8; webpage compression set is inquired about in the corresponding lists of squeezing characters information and original character information, with obtain respectively " cp_3=@repor% " original character information " ref=www_colorful& P=cb351659& Order=7 ", and the original character information " http://news.sina.com.cn/ " of " src=@%EF ".
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention those skilled in the art should understand that, any implementation of obtaining the original character information of the squeezing characters information of identifying gained, all should be within the scope of the present invention.
In step S10, webpage compression set, by replace in this compressed link address information corresponding with it squeezing characters information by described original character information, obtains not compression link address information.
For example, the original character information that webpage compression set obtains in step S9 comprises the " ref=www_colorful&amp corresponding with " cp_3=repor% "; P=cb351659& Order=7 " and " the http://news.sina.com.cn/ " corresponding with " src=@%EF ", webpage compression set adopts " ref=www_colorful& P=cb351659& Order=7 " replacement squeezing characters information " cp_3=@repor% "; is also the parameter value "@%EF " of src replaced in employing " http://news.sina.com.cn/ ", to obtain not compression link address information link5 " the http://m.baidu.com/ssid=0/t=wap/tc corresponding with link5 '? ref=www_colorful& P=cb351659& Order=7& Src=http: //news.sina.com.cn/ ".
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any by replace in this compressed link address information corresponding with it squeezing characters information by described original character information, obtain the not implementation of compression link address information, all should be within the scope of the present invention.
Then,, in step S11, webpage compression set obtains and this corresponding webpage of compression link address information not, to offer described subscriber equipment.
For example, webpage compression set in step S10, obtain not compression link address information link5 ' " http://m.baidu.com/ssid=0/t=wap/tc? ref=www_colorful& P=cb351659& Order=7& Src=http: //news.sina.com.cn/ ", webpage compression set obtains the corresponding webpage of link5 ', and this webpage is offered to the subscriber equipment that sends the second web access requests.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any obtaining and this corresponding webpage of compression link address information not, to offer the implementation of described subscriber equipment, all should be within the scope of the present invention.
The method according to this invention, webpage compression set carrys out compressed webpage by address compression device, thereby has reduced the required storage space taking of storage webpage, and has saved the required bandwidth taking of transmission webpage; And the present invention is by being reduced to the compressed link address information in compressed webpage not compression link address information, so that subscriber equipment obtains compressed link address information webpage pointed, avoided causing due to squeeze operation the situation of the content loss of compressed webpage.
Fig. 4 illustrated one aspect of the invention for obtaining the structural representation of the address compression device of compressed link address information.Wherein, described compressed link address information comprises at least one parameter information, all corresponding parameter type of each parameter information.The first character acquisition device 1 that address compression device according to the present invention comprises by self and parameter obtaining device 2 are to each parameter type executable operations, to generate the compressed link address information that comprises described at least one parameter information.
Wherein, described parameter type includes but not limited to following at least one: 1) URL parameter type, wherein, to parameter information that should URL parameter type for identifying the URL of the corresponding original web page of the transcoding webpage pointed with described compressed link address information.2) General Parameters type.Wherein, this General Parameters type is to being applied to generate the required parameters information except URL parameter type of described compressed link address information; Or, this General Parameters type further comprises a plurality of parameter types, each in the plurality of parameter type be correspondence required parameters information comprising of this compressed link address information except described URL parameter respectively, for example, except URL parameter information, the required parameter information comprising of compressed link address information also comprises: the parameter information that a) parameter name is " type ", b) parameter name is the parameter information of " userid ", and General Parameters type further comprises parameter type " type " and " userid ".It should be noted that, it is only example that parameter type take that " type " and " userid " identify, those skilled in the art should be able to adopt other identification informations, as " I " and " II " etc., identify the parameter type of the parameter information that corresponding parameter name is " type " respectively parameter information and parameter name are " userid ".
The first character acquisition device 1 obtains the original character information of corresponding current handled parameter type, and wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process.Preferably, described original character information comprises following any one: the 1) parameter value of initial parameter; 2) title of initial parameter and parameter value thereof.
Particularly, described the first character acquisition device 1 obtains the mode of original character information that should parameter type is included but not limited to:
1) the first address acquisition device (not shown) being contained in the first character acquisition device 1 is obtained the not compression link address information corresponding with described compressed link address information; Then, being contained in the first sub-character acquisition device (not shown) in the first character acquisition device 1 is not obtained in compression link address information to one or more parameter informations that should parameter type, as described original character information by this.
Wherein, described not compression link address information can be directly used in link dissection process, to access its corresponding info web; For example, compression link address information is not http://www.baidu.com, can directly by http protocol analysis, be processed and be visited this not info web corresponding to compression link information; Again for example, compression link address information info web pointed is not the WAP page through WAP transcoding gained, in response to for ask this not compression link address information the equipment of request of access of corresponding WAP page can be directly according to this WWW info web corresponding to this WAP page of compression link address information Real-time Obtaining not, and WWW webpage is carried out to real-time transcoding and process to generate WAP page, to respond request of access.
Wherein, the mode that the first address acquisition device obtains the not compression link address information corresponding with described compressed link address information includes but not limited to:
A) the first address acquisition device obtains the not compression link address information corresponding with described compressed link address information in already present webpage.
For example, the first address acquisition device obtains the not compression link address information corresponding with compressed link address information from the WAP page being obtained by WWW webpage transcoding.Again for example, the first address acquisition device directly obtains the not compression link address information corresponding with compressed link address information in the WWW webpage having generated.
B) the first address acquisition device obtains link address information in treating the original web page of transcoding, and this link address information is carried out to transcoding operation, to obtain the not compression link address information corresponding with compressed link address information.
For example; the first address acquisition device obtains the link address information link1 " http://news.sina.com.cn/media/ " in the original web page for the treatment of transcoding; and this link address information link1 is carried out to transcoding operation, with obtain not compression link address information link1 ' after the transcoding corresponding with link1 " http://a.abc.com/tc? pn=7& M=0& Src=http: //news.sina.com.cn/media/ ".
Wherein, those skilled in the art should determine the mode that transcoding operates according to actual conditions and demand, for example, www webpage are transferred to the transcoding mode of wap webpage etc., do not repeat them here.
Then, the first sub-character acquisition device obtains the one or more parameter informations corresponding to the parameter type when pre-treatment in obtained not compression link address information, as described original character information.
For example, acquired not compression link address information be " http://www.baidu.com/baidu? word=%C1%B4%BD%D3%B2%CE%CA%FD& Tn=myie2& Ch=3 ", when the parameter type of pre-treatment is tn parameter type, the first sub-character acquisition device is by not obtaining the parameter information " tn=myie2 " corresponding to tn parameter type in compression link address information.
2) the information acquisition device (not shown) being contained in the first character acquisition device 1 is obtained relevant to described compressed link address information and generates relevant information with the corresponding parameter of this parameter type; Then, the second sub-character acquisition device (not shown) being contained in the first character acquisition device 1 generates relevant information according to described parameter, obtains described original character information.
Wherein, described parameter generates relevant information and comprises for generating initial parameter value, or, for generating the information of initial parameter title and parameter value.Preferably, parameter generation relevant information includes but not limited to: a) customized information of described compressed link address information; For example, whether described compressed link address information needs URL of the corresponding original web page of the webpage of transcoding that folds, this compressed link address information is pointed etc.; B) the type relevant information of webpage under described compressed link address information; For example, webpage is supported Format Type, web page code type etc.; C) ask the device-dependent message of the subscriber equipment of the affiliated webpage of described compressed link address information, for example, mobile phone model information etc.
Wherein, those skilled in the art should determine that information acquisition device gets parms according to actual conditions and demand and generate the mode of relevant information, not repeat them here.
Wherein, the second sub-character acquisition device generates relevant information and parameter value according to predetermined parameter, or, predetermined parameter generates the corresponding relation of relevant information and parameter name and value, acquisition comprises the original character information that generates parameter value corresponding to relevant information with described parameter, or, obtain and comprise the parameter name corresponding with described parameter generation relevant information and the original character information of parameter value.
For example, the web page code type that information acquisition device obtains the affiliated webpage of compressed link address information to be generated is " XML ", the second sub-character acquisition device is determined and the corresponding parameter name of web page code type " type " and parameter value " 1 " thereof according to web page code type " XML ", and the second sub-character acquisition device obtains the original character information " type=1 " corresponding to General Parameters type.
Again for example, information acquisition device obtains the URL " http://mil.news.sina.com.cn/ " that comprises the corresponding original web page of the transcoding webpage pointed with compressed link address information to be generated, the original character information " http://mil.news.sina.com.cn/ " of the second sub-character acquisition device using the URL of this original web page as corresponding URL parameter type.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention those skilled in the art should understand that, any implementation of obtaining original character information that should parameter type, all should be within the scope of the present invention.
Then, parameter obtaining device 2 is obtained the squeezing characters information of this original character information, to obtain, comprises this squeezing characters information and to one or more parameter informations that should parameter type.
Wherein, the mode that described parameter obtaining device 2 is obtained the squeezing characters information of this original character information includes but not limited to:
1) the predetermined compression of 2 pairs of described original character information and executing of parameter obtaining device is processed, to obtain corresponding squeezing characters information based on compression result.
For example, original character information that 2 pairs of parameter obtaining device obtain adopts hash function to carry out digital signature processing to obtain corresponding cryptographic hash, and using this cryptographic hash as with the corresponding squeezing characters information of this original character information; Again for example, the original character information that 2 pairs of parameter obtaining device obtain is carried out md5 encryption processing, and to obtained encrypted result, adopt base64 coded system to encode to obtain character string after coding, and using character string after this coding as with the corresponding squeezing characters information of this original character information.
2) when the parameter type of pre-treatment is described URL parameter type, described original character information comprises the URL of the original webpage that the transcoding webpage pointed with described compressed link address information is corresponding, the inquiry unit (not shown) being contained in parameter obtaining device 2 is inquired about in compressed information storehouse according to described URL, when inquiring the full detail of described URL in described compressed information storehouse, the compression set (not shown) being contained in parameter obtaining device 2 is obtained the corresponding squeezing characters information with this URL in this compressed information storehouse, then, be contained in the first subparameter acquisition device (not shown) in parameter obtaining device 2 according to obtained squeezing characters information, the URL parameter information that generation comprises this squeezing characters information.
Wherein, described compressed information storehouse comprises original character information and corresponding squeezing characters information thereof.Wherein, set up or the mode of upgrading compressed information storehouse include but not limited to following any: a) adopt user-selected one or more original character information and respectively corresponding squeezing characters information set up or upgrade described compressed information storehouse; B) select historical usage frequency to set up higher than one or more original character information of predetermined frequency or upgrade described compressed information storehouse, wherein, described historical usage frequency includes but not limited to: the number of times and/or the frequency that in the part or all of history web pages that i) original character information has been accessed at address compression device belonging network equipment, occur; Ii) when original character information is URL, the historical access times of this URL and/or frequency etc.; C) one or more original character information of selecting string length to be greater than book character string length are set up or are upgraded described compressed information storehouse.Wherein, after selecting original character information, can obtain the squeezing characters information with the corresponding artificial input of this original character information, or, to the predetermined encryption of this original character information and executing, obtain its corresponding squeezing characters information, to set up according to this original character information and corresponding squeezing characters information thereof or to upgrade compressed information storehouse.
The mode of the URL parameter information that wherein, the first subparameter acquisition device acquisition comprises this squeezing characters information includes but not limited to:
A) the first subparameter acquisition device is directly using obtained squeezing characters information as URL parameter information.
B) parameter value that the first subparameter acquisition device comprises obtained squeezing characters information in URL parameter information, and in conjunction with predetermined and the corresponding parameter name of URL parameter type, generate corresponding URL parameter information.
For example, the original character information corresponding to URL parameter type that the first character acquisition device 1 obtains comprises link address information link3, inquiry unit is inquired about link3 in compressed information storehouse, and when inquiring the full detail of link3 in compressed information storehouse, compression set obtains and the corresponding squeezing characters information of link3 cpr1 in compressed information storehouse, the first subparameter acquisition device is using cpr1 as URL parameter value, and in conjunction with the parameter name " souce " of predetermined URL parameter, obtain URL parameter information " souce=cpr1 ".
Preferably, when inquiry unit inquires the partial information in described URL in described compressed information storehouse, the Partial shrinkage device (not shown) being contained in parameter obtaining device 2 is obtained and the corresponding squeezing characters information of this partial information in this compressed information storehouse; Then the second subparameter acquisition device (not shown), being contained in parameter obtaining device 2 generates the URL parameter information that comprises all the other information in this squeezing characters information and described URL.
For example, the URL of the original web page that the first character acquisition device 1 obtains comprise link4 " http://video.sina.com.cn/p/news/c/v/2011-08-14/182961444819.htm l? opsubject_id=top 1 ", and, inquiry unit only inquires the partial information " http://video.sina.com.cn/p/news/c/v/2011-08-14 " in the URL of this original web page in compressed information storehouse, Partial shrinkage device obtains and the corresponding squeezing characters information of this partial information cpr2 "@compression_1 " in compressed information storehouse, all the other information that the second subparameter acquisition device comprises according to obtained squeezing characters information and link4 "/182961444819.html? opsubject_id=top1 ", and predetermined URL parameter name " src ", generation URL parameter information " src=@compression_1/182961444819.html? opsubject_id=top1 ".
3) when the parameter type of pre-treatment is described General Parameters type, described original character information comprises one or more initial parameter information of corresponding this General Parameters type, be contained in the 3rd subparameter acquisition device (not shown) in parameter obtaining device 2 according to described one or more initial parameter information, in compressed information storehouse, inquire about, to obtain at least one squeezing characters information, and based on described at least one squeezing characters information acquisition the one or more parameter informations corresponding to this parameter type.
Wherein, corresponding at least one initial parameter information of each squeezing characters information.Wherein, described initial parameter information comprises parameter name and parameter value thereof.
It is wherein, described that based at least one squeezing characters information acquisition, the mode corresponding to one or more parameter informations of this parameter type includes but not limited to: a) using each the squeezing characters information in described at least one squeezing characters information directly as its to parameter information that should parameter type; B) for each the squeezing characters information in described at least one squeezing characters information, using this squeezing characters information as parameter value, and in conjunction with predetermined and the corresponding parameter name of this squeezing characters information institute type of correspondence parameter, generate accordingly the parameter information corresponding to described parameter type.
Wherein, described the 3rd subparameter acquisition device is inquired about in compressed information storehouse according to described one or more initial parameter information, to obtain at least one squeezing characters information, and the mode corresponding to one or more parameter informations of this parameter type includes but not limited to based on described at least one squeezing characters information acquisition:
A) the part or all of initial parameter information that the 3rd subparameter acquisition device comprises according to described one or more initial parameter information in compressed information storehouse is inquired about, and with the squeezing characters information based on inquiry gained, obtains the parameter information corresponding to this parameter type.
For example, the original character information " a=1&amp that the first character acquisition device 1 obtains, b=2& c=3& d=4 " in comprise four initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 ", whether the 3rd subparameter acquisition device is first inquired about and is existed corresponding to initial parameter information " a=1 " in compressed information storehouse, " b=2 ", the squeezing characters information of " c=3 " and " d=4 ", when not obtaining Query Result, the 3rd subparameter acquisition device is selected any three initial parameter information " a=1 " in these three initial parameter information, " c=3 " and " d=4 " continues to inquire about and obtain in compressed information storehouse corresponding Query Result, and obtain corresponding to initial parameter information " a=1 " in compressed information storehouse, the squeezing characters information " zp=134 " of " c=3 " and " d=4 ", the 3rd subparameter acquisition device is using obtained squeezing characters information " zp=134 " as the parameter information corresponding to General Parameters type.
The combination of each initial parameter information that b) the 3rd subparameter acquisition device comprises according to described one or more initial parameter information in compressed information storehouse is inquired about, and obtain squeezing characters information corresponding to the combination with all initial parameter information comprising in compressed information storehouse, and select at least one squeezing characters information in obtained all squeezing characters information, according to selected at least one squeezing characters information, obtain the one or more parameter informations corresponding to this parameter type.
For example, the original character information " m_1=882a&amp that the first character acquisition device 1 obtains, n=9345c& t=f3cb3 " in comprise three initial parameter information " m_1=882a ", " n=9345c " and " t=f3cb3 ", the combination of all initial parameter information that these three initial parameter information comprise is as follows: { m_1=882a}, { n=9345c}, { t=f3cb3}, { m_1=882a, n=9345c}, { n=9345c, t=f3cb3}, { m_1=882a, t=f3cb3}, { m_1=882a, n=9345c, t=f3cb3}, it is as shown in table 2 below that the 3rd subparameter acquisition device is inquired about at least one squeezing characters information that described all part or all of parameter informations obtain in compressed information storehouse:
The combination of initial parameter information Corresponding squeezing characters information
?n=9345c,t=f3cb3 %25
?m_1=882a,t=f3cb3 %35
?n=9345c %20
Table 2
The 3rd subparameter acquisition device is according to the predetermined priority of each squeezing characters information, select priority higher corresponding to initial parameter information combination { m_1=882a, the squeezing characters information " %35 " of t=f3cb3}, and obtain the squeezing characters information " %20 " corresponding to remaining initial parameter information " n=9345c ", the 3rd subparameter acquisition device combination is corresponding to initial parameter information combination { m_1=882a, the preset parameter title " mt " of t=f3cb3}, and corresponding to initial parameter information combination { the preset parameter title " np " of n=9345c}, generation is corresponding to parameter information " mt=%35 " and " np=%20 " of General Parameters type.
Preferably, the part initial parameter information in being contained in described one or more initial parameter information is not inquired about while obtaining corresponding squeezing characters information, and this part initial parameter information is direct as the parameter information corresponding to described General Parameters type.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any squeezing characters information of obtaining this original character information, to obtain, comprise this squeezing characters information and the implementation to one or more parameter informations that should parameter type, all should be within the scope of the present invention.
According to the solution of the present invention, wherein, the first character acquisition device 1 that address compression device comprises according to self and parameter obtaining device 2 are to each parameter type executable operations, the compressed link address information that generation comprises described at least one parameter information, and, address compression device is according to the corresponding one or more parameter informations of parameters type in obtained and the required all parameter types of this compressed link address information, in conjunction with the pre-domain-name information obtaining, generate described compressed link address information.Preferably, address compression device also, in conjunction with the pre-routing information obtaining, generates described compressed link address information.
For example; address compression device obtains URL parameter information " src=@KE5ZDcig35I " based on URL parameter type; and obtain general parameter information " zp=%def " based on General Parameters type; address compression device is according to obtained URL parameter information and General Parameters information; and in conjunction with pre-domain-name information " http://m.baidu.com " and the routing information "/bd_type=1/puCusm " obtaining, generation compressed link address information " http://m.baidu.com/bd_type=1/from=0/tc? zp=%def& Src=@KE5ZDcig35I ".
According to the solution of the present invention, when compression link address information has not existed, can to this not compression link address information compress to obtain shorter compressed link address information; When compression link address information does not still exist, can be the directly corresponding not compressed link address information of compression link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth taking of transmissions links address information.
Fig. 5 illustrated a preferred embodiment of the invention for obtaining the structural representation of the address compression device of compressed link address information.According to the address compression device of the present embodiment, comprise the first character acquisition device 1, judgment means 3, carry out flip flop equipment 4 and parameter obtaining device 2.
Described the first character acquisition device 1 is described in detail with reference to the embodiment shown in FIG. 4, and is contained in this by reference, repeats no more herein.
Then, whether judgment means 3 meets predetermined contractive condition according to the original character information of this parameter type, judges whether to compress this original character information.
Preferably, described predetermined contractive condition includes but not limited to following at least one: 1) the historical usage frequency of this original character information is higher than predetermined frequency; Wherein, described historical usage frequency includes but not limited to: the number of times and/or the frequency that in the part or all of history web pages that a) original character information has been accessed at address compression device belonging network equipment, occur; B) when original character information is URL, the historical access times of this URL and/or frequency etc.; 2) string length of this original character information is greater than book character string length; 3) can in compressed information storehouse, inquire about all or part of this original character information that obtains.
Particularly, judgment means 3 is obtained the judgement information of the original character information that the first character acquisition device 1 obtains, and whether meets predetermined contractive condition according to the obtained information that judges, judges whether to compress this original character information.Wherein, described judgement information includes but not limited to following at least one information: 1) the historical usage frequency of original character information; 2) string length of original character information; 3) Query Result of original character information in compressed information storehouse.
For example, the historical access times of the original character information that judgment means 3 obtains are 2546 times, address compression device judges 2546 > pre-determined numbers of historical access times 2000 times, and judgment means 3 is determined and need to be compressed this original character information.
Again for example, the string length of the original character information that judgment means 3 obtains is 36, is greater than book character string length 15, and judgment means 3 is determined and need to be compressed this original character information.
Again for example, the historical access times that judgment means 3 obtains original character information are 2546 times, and the string length that obtains original character information is 10, judgment means 3 is according to 2546 > pre-determined numbers 2000 times and string length 10 < book character string length 15, judgement original character information does not meet all predetermined contractive conditions, does not need this original character information to compress.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, whether any original character information according to this parameter type meets predetermined contractive condition, judge whether the implementation that need to compress this original character information, all should be within the scope of the present invention.
Then,, when judgment means 3 judgements need to be compressed this original character information, carry out flip flop equipment trigger parameter acquisition device 2 executable operations.
Wherein, described parameter obtaining device 2 is described in detail with reference to the embodiment shown in FIG. 4, and is contained in this by reference, repeats no more.
Preferably, when judgment means 3 judgements do not need this original character information to compress:
1) when compression link address information has not existed accordingly, address compression device undo;
2) when compression link address information does not exist accordingly, address compression device is the parameter information corresponding to parameter type based on described original character information one-tenth in next life directly, to generate not compression link address information, for example, directly using original character information as parameter information, again for example, using original character information as parameter value, and generate parameter information etc. in conjunction with predetermined parameter name.
According to the solution of the present invention, can be based on decision operation, only to meeting predetermined contractive condition, as higher in the frequency of occurrences or string length is long etc., the squeeze operation of original character information and executing, improved the efficiency of squeeze operation.
Fig. 6 has illustrated a kind of computer implemented structural representation for webpage compression set that webpage is compressed.Webpage compression set according to the present invention is contained in the network equipment, wherein, in described webpage compression set, comprise with reference to earlier figures 4 and embodiment illustrated in fig. 5 described in address compression device, and each the link address information executable operations in all or part of link address information that need to be comprised webpage to be compressed by the address compression device being contained in webpage compression set, to obtain the compressed webpage that comprises at least one compressed link address information.
For example, link5 needs the sensing that the comprises link address information of transcoding webpage in the webpage compression set compressed webpage P1 that will generate, this original web page URL that transcoding webpage is corresponding is " http://news.sina.com.cn/ ", and webpage compression set is to point to the link address information of transcoding webpage according to link5, determine that the parameter information type that link5 need to comprise comprises General Parameters type and URL parameter type.The first character acquisition device 1 that address compression device comprises is first based on General Parameters type; obtain relevant to link5 and generate relevant information C 1 with the corresponding parameter of General Parameters type, and based on this parameter generate relevant information C 1 obtain original character information corresponding to General Parameters type " ref=www_colorful& p=cb351659& order=7 ", then, the original character information that 2 pairs of the parameter obtaining device that address compression device comprises obtain directly performs encryption processing, to obtain and the corresponding encrypted result of this original character information "@repor% ", and in conjunction with the parameter name " cp_3 " of predetermined corresponding general type, generate the parameter information " cp_3=@repor% " corresponding to General Parameters type, then, the first character acquisition device 1 that address compression device comprises is based on URL parameter type, again obtain relevant to link5 and with the corresponding original character information of URL parameter type " http://news.sina.com.cn/ ", then, parameter obtaining device 2 in address compression device is inquired about in compressed information storehouse according to original character information " http://news.sina.com.cn/ ", obtain the corresponding squeezing characters information "@%EF " with " http://news.sina.com.cn/ ", parameter obtaining device 2 combinations and the corresponding preset parameter title of URL parameter type " src ", generate URL parameter information " src=@%EF ", General Parameters information and the URL parameter information of address compression device based on obtained; and pre-domain name " a.ba.com " and the routing information " ssid=0/t=wap/tc " obtaining, generation link5 " http://a.ba.com/ssid=0/t=wap/tc? cp_3=@repor%& src=@%EF ".
Then, the first character acquisition device 1 that address compression device comprises and more than 2 executable operations of parameter obtaining device, generate link address information link6, link7 that webpage P1 to be compressed need to comprise; Then, webpage compression set generates the compressed webpage P1 that comprises compressed link address information link5, link6 and link7.
As one of the preferred embodiments of the present invention, webpage compression set according to the present invention also comprises the first acquisition request device (not shown) and the first generator (not shown).
The first acquisition request device obtains the first web access requests information from subscriber equipment, and wherein, this first web access requests information is used for asking described compressed webpage.
The first generator offers described subscriber equipment by the described compressed webpage that comprises at least one compressed link address information.
Subscriber equipment receives after described compressed webpage, when obtaining selection/clicks behavior of the compressed link address information that user comprises in to described compressed webpage, the second web access requests that comprises compressed link address information to the transmission of webpage compression set belonging network equipment.
As one of the preferred embodiments of the present invention, webpage compression set according to the present invention also comprises the second acquisition request device (not shown), recognition device (not shown), the second character acquisition device (not shown), the second address acquisition device (not shown) and the second generator (not shown).
The second acquisition request device obtains the second web access requests information from subscriber equipment, and wherein, this second web access requests information comprises a compressed link address information in described compressed webpage.
For example, the second acquisition request device get from subscriber equipment comprise compressed link address information link5 " http://m.baidu.com/ssid=0/t=wap/tc? cp_3=repor%& Src=@%EF " the second web access requests information.
Then, recognition device, according to predetermined recognition rule, is identified squeezing characters information in this compressed link address information.
Wherein, described predetermined recognition rule comprises for identifying the rule of squeezing characters information.Preferably, described predetermined recognition rule includes but not limited to following at least one rule: 1) whether basis exists the parameter information that comprises preset parameter title to determine whether and have squeezing characters information; 2) based on whether existing compressing mark to accord with judging whether to exist squeezing characters information.
For example, recognition device judgement is according to predetermined compressing mark symbol "@", and in link5, identification obtains parameter information " cp_3=@repor% " and " src=@%EF " is squeezing characters information.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to predetermined recognition rule, in this compressed link address information, identify the implementation of squeezing characters information, all should be within the scope of the present invention.
Then, the second character acquisition device obtains the original character information of the squeezing characters information of identification gained.
Wherein, the mode of original character information that the second character acquisition device obtains the squeezing characters information of identification gained includes but not limited to: 1) when described squeezing characters information exchange, cross to original character information and executing reversible predetermined compression and process while obtaining, this squeezing characters information and executing and described predetermined compression are processed to corresponding inverse transformation operation, to obtain original character information; 2) in the corresponding lists of squeezing characters information and original character information, inquire about to obtain and the corresponding original character information of squeezing characters information.
For example; squeezing characters information " cp_3=@repor% " and " src=@%EF " that recognition device obtains; the second character acquisition device is inquired about in the corresponding lists of squeezing characters information and original character information, with obtain respectively " cp_3=@repor% " original character information " ref=www_colorful& P=cb351659& Order=7 ", and the original character information " http://news.sina.com.cn/ " of " src=@%EF ".
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention those skilled in the art should understand that, any implementation of obtaining the original character information of the squeezing characters information of identifying gained, all should be within the scope of the present invention.
The second address acquisition device, by replace in this compressed link address information corresponding with it squeezing characters information by described original character information, obtains not compression link address information.
For example, the original character information that the second character acquisition device obtains comprises " the ref=www_colorful&amp corresponding with " cp_3=repor% "; P=cb351659& Order=7 " and " the http://news.sina.com.cn/ " corresponding with " src=@%EF ", the second address acquisition device adopts " ref=www_colorful& P=cb351659& Order=7 " replacement squeezing characters information " cp_3=@repor% "; is also the parameter value "@%EF " of src replaced in employing " http://news.sina.com.cn/ ", to obtain not compression link address information link5 " the http://m.baidu.com/ssid=0/t=wap/tc corresponding with link5 '? ref=www_colorful& P=cb351659& Order=7& Src=http: //news.sina.com.cn/ ".
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any by replace in this compressed link address information corresponding with it squeezing characters information by described original character information, obtain the not implementation of compression link address information, all should be within the scope of the present invention.
Then, the second generator obtains and this corresponding webpage of compression link address information not, to offer described subscriber equipment.
For example, the second address acquisition device obtain not compression link address information link5 ' " http://m.baidu.com/ssid=0/t=wap/tc? ref=www_colorful& P=cb351659& Order=7& Src=http: //news.sina.com.cn/ ", the second generator obtains the corresponding webpage of link5 ', and this webpage is offered to the subscriber equipment that sends the second web access requests.
It should be noted that, above-mentioned for example only for technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any obtaining and this corresponding webpage of compression link address information not, to offer the implementation of described subscriber equipment, all should be within the scope of the present invention.
According to the solution of the present invention, webpage compression set carrys out compressed webpage by address compression device, thereby has reduced the required storage space taking of storage webpage, and has saved the required bandwidth taking of transmission webpage; And the present invention is by being reduced to the compressed link address information in compressed webpage not compression link address information, so that subscriber equipment obtains compressed link address information webpage pointed, avoided causing due to squeeze operation the situation of the content loss of compressed webpage.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and in the situation that not deviating from spirit of the present invention or essential characteristic, can realize the present invention with other concrete form.Therefore, no matter from which point, all should regard embodiment as exemplary, and be nonrestrictive, scope of the present invention is limited by claims rather than above-mentioned explanation, is therefore intended to be included in the present invention dropping on the implication that is equal to important document of claim and all changes in scope.Any Reference numeral in claim should be considered as limiting related claim.In addition, obviously other unit or step do not got rid of in " comprising " word, and odd number is not got rid of plural number.A plurality of unit of stating in system claim or device also can You Yige unit or device by software or hardware, realize.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (24)

1. computer implemented for obtaining a method for compressed link address information, wherein, described compressed link address information comprises at least one parameter information, the all corresponding parameter type of each parameter information, described parameter type comprises General Parameters type, and wherein, the method comprises:
-based on each parameter type, carry out following steps, to generate the compressed link address information that comprises described at least one parameter information:
A obtains original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process;
B obtains the squeezing characters information of this original character information, to obtain, comprises this squeezing characters information and to one or more parameter informations that should parameter type;
Wherein, when the parameter type when pre-treatment is described General Parameters type, described original character information comprises one or more initial parameter information of corresponding this General Parameters type, and described step b comprises the following steps:
-obtain the squeezing characters information corresponding to combination of each initial parameter information comprising with described one or more initial parameter information, and select at least one squeezing characters information in obtained all squeezing characters information, and obtain the one or more parameter informations corresponding to this parameter type according to selected at least one squeezing characters information.
2. method according to claim 1, wherein, described step a comprises the following steps:
-obtain the not compression link address information corresponding with described compressed link address information;
-by this, do not obtained in compression link address information to one or more parameter informations that should parameter type, as described original character information.
3. method according to claim 1, wherein, described step a comprises the following steps:
A1 obtains relevant to described compressed link address information and generates relevant information with the corresponding parameter of this parameter type;
A2 generates relevant information according to described parameter, obtains described original character information.
4. according to the method in any one of claims 1 to 3, wherein, described parameter type also comprises:
-URL parameter type, wherein, to parameter information that should URL parameter type for identifying the URL of the corresponding original web page of the transcoding webpage pointed with described compressed link address information.
5. method according to claim 4, wherein, when the parameter type when pre-treatment is described URL parameter type, described original character information comprises the URL of the original web page that the transcoding webpage pointed with described compressed link address information is corresponding, and described step b is further comprising the steps of:
-according to described URL, in compressed information storehouse, inquire about;
-when inquiring the full detail of described URL in described compressed information storehouse, in this compressed information storehouse, obtain the corresponding squeezing characters information with this URL;
-according to obtained squeezing characters information, generate the URL parameter information that comprises this squeezing characters information.
6. method according to claim 5, wherein, described step b is further comprising the steps of:
-when inquiring the partial information in described URL in described compressed information storehouse, in this compressed information storehouse, obtain and the corresponding squeezing characters information of this partial information;
The URL parameter information that-generation comprises all the other information in this squeezing characters information and described URL.
7. method according to claim 4, wherein, when the parameter type of pre-treatment is described General Parameters type, described step b comprises the following steps:
The combination of-each initial parameter information of comprising according to described one or more initial parameter information in compressed information storehouse is inquired about, and obtain squeezing characters information corresponding to the combination with all initial parameter information comprising in compressed information storehouse, and select at least one squeezing characters information in obtained all squeezing characters information, according to selected at least one squeezing characters information, obtain the one or more parameter informations corresponding to this parameter type.
8. according to the method in any one of claims 1 to 3, wherein, the method is further comprising the steps of after described step a:
-according to the original character information of this parameter type, whether meet predetermined contractive condition, judge whether to compress this original character information;
-when judgement need to be compressed this original character information, carry out described step b.
9. method according to claim 8, wherein, described predetermined contractive condition comprises following at least one:
The historical usage frequency of-this original character information is higher than predetermined frequency;
The string length of-this original character information is greater than book character string length;
-can in compressed information storehouse, inquire about all or part of this original character information that obtains.
10. a computer implemented method for webpage is compressed, wherein, each link address information in all or part of link address information that need to comprise described webpage in the method is carried out the method as described in any one in claim 1 to 9, to obtain the compressed webpage that comprises at least one compressed link address information.
11. methods according to claim 10, wherein, the method is further comprising the steps of:
-obtain the first web access requests information from subscriber equipment, wherein, this first web access requests information is used for asking described compressed webpage;
-the described compressed webpage that comprises at least one compressed link address information is offered to described subscriber equipment.
12. methods according to claim 11, wherein, the method is further comprising the steps of:
-obtain the second web access requests information from subscriber equipment, wherein, this second web access requests information comprises a compressed link address information in described compressed webpage;
-according to predetermined recognition rule, in this compressed link address information, identify squeezing characters information;
-obtain the original character information of squeezing characters information of identification gained;
-by replace in this compressed link address information corresponding with it squeezing characters information by described original character information, obtain not compression link address information;
-obtain and this corresponding webpage of compression link address information not, to offer described subscriber equipment.
13. 1 kinds for obtaining the address compression device of compressed link address information, wherein, described compressed link address information comprises at least one parameter information, the all corresponding parameter type of each parameter information, described parameter type comprises General Parameters type, wherein, this address compression device by self, comprise with lower device to each parameter type executable operations, to generate the compressed link address information that comprises described at least one parameter information, wherein:
The first character acquisition device, for obtaining original character information that should parameter type, wherein, this original character information comprises corresponding this parameter type and can be directly used in the character information of link dissection process;
Parameter obtaining device, for obtaining the squeezing characters information of this original character information, comprises this squeezing characters information and to one or more parameter informations that should parameter type to obtain;
Wherein, when the parameter type when pre-treatment is described General Parameters type, described original character information comprises one or more initial parameter information of corresponding this General Parameters type, and described parameter obtaining device comprises:
The 3rd subparameter acquisition device, for obtaining the squeezing characters information corresponding to combination of each initial parameter information comprising with described one or more initial parameter information, and select at least one squeezing characters information in obtained all squeezing characters information, and obtain the one or more parameter informations corresponding to this parameter type according to selected at least one squeezing characters information.
14. address compression devices according to claim 13, wherein, described the first character acquisition device comprises:
The first address acquisition device, for obtaining the not compression link address information corresponding with described compressed link address information;
The first sub-character acquisition device, for by this not compression link address information obtain to one or more parameter informations that should parameter type, as described original character information.
15. address compression devices according to claim 13, wherein, described the first character acquisition device comprises:
Information acquisition device, for obtaining relevant to described compressed link address information and generating relevant information with the corresponding parameter of this parameter type;
The second sub-character acquisition device, for generating relevant information according to described parameter, obtains described original character information.
16. according to claim 13 to the address compression device described in any one in 15, and wherein, described parameter type also comprises:
-URL parameter type, wherein, to parameter information that should URL parameter type for identifying the URL of the corresponding original web page of the transcoding webpage pointed with described compressed link address information.
17. address compression devices according to claim 16, wherein, when the parameter type when pre-treatment is described URL parameter type, described original character information comprises the URL of the original web page that the transcoding webpage pointed with described compressed link address information is corresponding, and described parameter obtaining device also comprises:
Inquiry unit, for inquiring about in compressed information storehouse according to described URL;
Compression set for when inquiring the full detail of described URL in described compressed information storehouse, obtains the corresponding squeezing characters information with this URL in this compressed information storehouse;
The first subparameter acquisition device, for according to obtained squeezing characters information, generates the URL parameter information that comprises this squeezing characters information.
18. address compression devices according to claim 17, wherein, described parameter obtaining device also comprises:
Partial shrinkage device for when inquiring the partial information in described URL in described compressed information storehouse, obtains and the corresponding squeezing characters information of this partial information in this compressed information storehouse;
The second subparameter acquisition device, for generating the URL parameter information that comprises this squeezing characters information and described all the other information of URL.
19. address compression devices according to claim 16, wherein, when the parameter type of pre-treatment is described General Parameters type, described parameter obtaining device comprises:
The 3rd subparameter acquisition device, combination for each initial parameter information of comprising according to described one or more initial parameter information in compressed information storehouse is inquired about, and obtain squeezing characters information corresponding to the combination with all initial parameter information comprising in compressed information storehouse, and select at least one squeezing characters information in obtained all squeezing characters information, according to selected at least one squeezing characters information, obtain the one or more parameter informations corresponding to this parameter type.
20. according to claim 13 to the address compression device described in any one in 15, and wherein, this address compression device also comprises:
Whether judgment means, meet predetermined contractive condition for the original character information according to this parameter type, judges whether to compress this original character information;
Carry out flip flop equipment, for when judgement need to be compressed this original character information, trigger described parameter obtaining device executable operations.
21. address compression devices according to claim 20, wherein, described predetermined contractive condition comprises following any one:
The historical usage frequency of-this original character information is higher than predetermined frequency;
The string length of-this original character information is greater than book character string length;
-can in compressed information storehouse, inquire about all or part of this original character information that obtains.
22. 1 kinds of webpage compression sets for webpage is compressed, wherein, in this webpage compression set, comprise the address compression device as described in any one in claim 13 to 21, and each the link address information executable operations in all or part of link address information that need to comprise described webpage by this address compression device, to obtain the compressed webpage that comprises at least one compressed link address information.
23. webpage compression sets according to claim 22, wherein, this webpage compression set also comprises:
The first acquisition request device, for obtaining the first web access requests information from subscriber equipment, wherein, this first web access requests information is used for asking described compressed webpage;
The first generator, for offering described subscriber equipment by the described compressed webpage that comprises at least one compressed link address information.
24. webpage compression sets according to claim 23, wherein, this webpage compression set also comprises:
The second acquisition request device, for obtaining the second web access requests information from subscriber equipment, wherein, this second web access requests information comprises a compressed link address information in described compressed webpage;
Recognition device for according to predetermined recognition rule, is identified squeezing characters information in this compressed link address information;
The second character acquisition device, for obtaining the original character information of the squeezing characters information of identification gained;
The second address acquisition device, for by replace this compressed link address information squeezing characters information of correspondence with it by described original character information, obtains not compression link address information;
The second generator, for obtaining and this corresponding webpage of compression link address information not, to offer described subscriber equipment.
CN201110253266.3A 2011-08-30 2011-08-30 Method, device and apparatus for obtaining compressed link address information and compressed webpage Active CN102306184B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110253266.3A CN102306184B (en) 2011-08-30 2011-08-30 Method, device and apparatus for obtaining compressed link address information and compressed webpage

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110253266.3A CN102306184B (en) 2011-08-30 2011-08-30 Method, device and apparatus for obtaining compressed link address information and compressed webpage

Publications (2)

Publication Number Publication Date
CN102306184A CN102306184A (en) 2012-01-04
CN102306184B true CN102306184B (en) 2014-01-15

Family

ID=45380046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110253266.3A Active CN102306184B (en) 2011-08-30 2011-08-30 Method, device and apparatus for obtaining compressed link address information and compressed webpage

Country Status (1)

Country Link
CN (1) CN102306184B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024055B (en) * 2012-12-18 2016-06-15 百度在线网络技术(北京)有限公司 For the Webpage compression method of mobile terminal, system and cloud server
CN104572690B (en) * 2013-10-17 2019-07-02 腾讯科技(深圳)有限公司 A kind of methods, devices and systems obtaining web data
WO2017035784A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method for preventing the hotlink of url and anti-hotlink system
CN113301175B (en) * 2020-07-14 2022-04-12 阿里巴巴集团控股有限公司 Service calling method, data storage method, device, equipment and storage medium
CN116431941A (en) * 2023-06-13 2023-07-14 北京安锐卓越信息技术股份有限公司 Method, device and medium for realizing link authorization jump

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6061738A (en) * 1997-06-27 2000-05-09 D&I Systems, Inc. Method and system for accessing information on a network using message aliasing functions having shadow callback functions
JP3916219B2 (en) * 2002-03-27 2007-05-16 日立ソフトウエアエンジニアリング株式会社 Link destination compression system
JP2004206406A (en) * 2002-12-25 2004-07-22 Hitachi Software Eng Co Ltd Url information conversion method and program and content distribution method
US7698269B2 (en) * 2005-11-29 2010-04-13 Yahoo! Inc. URL shortening and authentication with reverse hash lookup
US20100268739A1 (en) * 2009-04-21 2010-10-21 George David Zalepa Systems and methods for automatically detecting and removing redirected uniform resource locators
CN101917479A (en) * 2010-08-20 2010-12-15 北京新岸线网络技术有限公司 Method and device for improving grouped data service in mobile network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开2004-206406A 2004.07.22

Also Published As

Publication number Publication date
CN102306184A (en) 2012-01-04

Similar Documents

Publication Publication Date Title
CN104283723B (en) Network access log processing method and processing device
CN102306184B (en) Method, device and apparatus for obtaining compressed link address information and compressed webpage
CN101178717A (en) Method for adaptation processing web page and web page adaptation device
CN106933965B (en) Method for requesting static resource
CN102833258A (en) Website access method and system
CN107145556B (en) Universal distributed acquisition system
CN103383687A (en) Page processing method and device
CN102393857A (en) Method and system for local call based on web page
CN102195971A (en) Website access control method
CN101355590B (en) Method, system and apparatus for prompting download
CN102737065A (en) Method and device for acquiring data
CN103279507A (en) Webpage spider operational method and system
CN102915363A (en) Website storing method and system
CN113676563B (en) Scheduling method, device, equipment and storage medium of content distribution network service
CN105512227A (en) Webpage data loading method and system
CN105302815A (en) Web page uniform resource locator URL filtering method and apparatus
CN102882988A (en) Method, device and equipment for acquiring address information of resource information
CN102904765A (en) Method and equipment for data reporting
CN112100541A (en) Website page element loading method and device, electronic device and storage medium
CN104980464B (en) A kind of network request processing method, network server and network system
CN105468981A (en) Vulnerability identification technology-based plugin safety scanning device and scanning method
CN109977677A (en) Vulnerability information collection method, device, equipment and readable storage medium storing program for executing
CN104967698A (en) Network data crawling method and apparatus
CN105653550A (en) Web page filtering method and device
CN104143110A (en) Two-dimensional code generating method with web site information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant