CN102306184A - 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
CN102306184A
CN102306184A CN201110253266A CN201110253266A CN102306184A CN 102306184 A CN102306184 A CN 102306184A CN 201110253266 A CN201110253266 A CN 201110253266A CN 201110253266 A CN201110253266 A CN 201110253266A CN 102306184 A CN102306184 A CN 102306184A
Authority
CN
China
Prior art keywords
information
parameter
webpage
compression
original character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201110253266A
Other languages
Chinese (zh)
Other versions
CN102306184B (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

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 link address compression information and compression webpage
Technical field
The present invention relates to networking technology area, relate in particular to a kind of method, device and equipment that is used to obtain to link address compression information and compression webpage.
Background technology
In the prior art,, often need spend suitable flow and be used for the download link address because many links have certain-length; In the occasion comparatively responsive to flow; For example, when the mobile phone access network, this flow that is used for the download link address and produces is often considerable.And for the webpage that comprises many links, like portal website's homepage, website Yellow Page etc., link length directly influences the size of webpage, and further the required flow of this webpage is visited in influence.But effective link compression method is not provided as yet, in the prior art with compression link length.And the webpage compression method that prior art adopted often can not handled the link that is comprised in the webpage, thereby causes many webpages that comprise a large amount of links can't obtain good compression effectiveness.
Summary of the invention
The purpose of this invention is to provide a kind of method, device and equipment that is used to obtain to link address compression information and compression webpage.
According to an aspect of the present invention, a kind of computer implemented method that is used to obtain to link address compression information is provided, wherein; Said link address compression information comprises at least one parameter information; The all corresponding parameter type of each parameter information, wherein, this method comprises:
-carry out following steps based on each parameter type, comprise the link address compression information of said at least one parameter information with generation:
A obtains original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can directly be used to link the character information of dissection process;
B obtains the squeezing characters information of this original character information, to obtain to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
According to an aspect of the present invention, a kind of address compression device that is used to obtain to link address compression information is provided, wherein; Said link address compression information comprises at least one parameter information; The all corresponding parameter type of each parameter information, wherein, this address compression device is through self comprised with lower device to each parameter type executable operations; Comprise the link address compression information of said at least one parameter information with generation, wherein:
The first character deriving means is used to obtain to original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can directly be used to link the character information of dissection process;
Parameter obtaining device is used to obtain the squeezing characters information of this original character information, to obtain to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
According to another aspect of the present invention; A kind of computer implemented method that webpage is compressed of being used for also is provided; Wherein, Each link address information in all or part of link address information that need comprise said webpage in this method is carried out the said method that is used to obtain to link address compression information, to obtain to comprise the compression webpage of at least one link address compression information.
According to another aspect of the present invention; A kind of webpage compression set that webpage is compressed of being used for also is provided; Wherein, Comprise said address compression device in this webpage compression set, and each the link address information executable operations in all or part of link address information that need comprise said webpage through this address compression device, to obtain to comprise the compression webpage of at least one link address compression information.
According to a further aspect of the invention, a kind of first network equipment is provided also, wherein, said first network equipment comprises said address compression device.
According to a further aspect of the invention, a kind of second network equipment is provided also, wherein, said second network equipment comprises said webpage compression set.
Compared with prior art, the present invention has the following advantages: 1) when not compressing link address information and existed, can this not compressed link address information and compress to obtain short link address compression information; When not compressing link address information and still do not exist, can the directly corresponding link address compression information of not compressing link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth that takies of transmissions links address information; 2) can be based on decision operation, only to meeting predetermined contractive condition, higher or string length is long etc. like the frequency of occurrences, the squeeze operation of original character information and executing, improved the efficient of squeeze operation; 3) through compressing link address compression information reverting in the webpage for not compressing link address information,, avoided because squeeze operation causes the situation of the content loss of compressing webpage so that subscriber equipment obtains link address compression information webpage pointed.
Description of drawings
Through reading the detailed description of doing with reference to following accompanying drawing that non-limiting example is done, it is more obvious that other features, objects and advantages of the present invention will become:
Fig. 1 is a kind of computer implemented method flow diagram that is used to obtain to link address compression information of one aspect of the invention;
Fig. 2 is the method flow diagram that is used to obtain to link address compression information of a preferred embodiment of the invention;
Fig. 3 is used for method flow diagram that webpage is compressed for another aspect of the present invention a kind of computer implemented;
Fig. 4 is the structural representation of address compression device that is used to obtain to link address compression information of one aspect of the invention;
Fig. 5 is the structural representation of address compression device that is used to obtain to link address compression information of a preferred embodiment of the invention;
Fig. 6 is the structural representation of the webpage compression set that is used for webpage is compressed of another aspect of the present invention.
Same or analogous Reference numeral is represented same or analogous parts in the accompanying drawing.
Embodiment
Before embodiments of the invention are detailed, in the structure of this explanation web page interlinkage earlier.
Need comprise following two structures in the web page interlinkage: 1) agreement, for example: http, MMS etc.; 2) domain name (or claiming host name), for example, www.sina.com etc.Preferably, also comprise following at least one structure in the web page interlinkage: 1) path (path); 2) parameter; 3) filename.
For example, for the 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 " representes domain name, and " baidu " representes the path, and " word=%C1%B4%BD%D3%B2%CE%CA%FD&tn=myie2&ch=3 " representes parameter.
Again for example, for link " http://zhidao.baidu.com/question/103209310.html "; Wherein, " http " presentation protocol, " zhidao.baidu.com " representes domain name, and " question " representes the path, and " 103209310.html " representes filename.
Need to prove that above-mentioned being merely for example explained technical scheme of the present invention better, but not limitation of the present invention; Those skilled in the art should understand that; Other structures that web page interlinkage comprised also should be included in the protection domain of the present invention, and are contained in this with way of reference.
What need further specify is; Parameters information (comprising parameter title and parameter value), original character information, squeezing characters information and the link address information that this instructions comprised in for example is as the example of illustration; Only supply to understand the present invention, but not real parameter information, parameter title, parameter value, original character information, squeezing characters information and link address information when 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 method flow diagram that is used to obtain to link address compression information of one aspect of the invention.Wherein, this computing machine comprises the network equipment, can realize through the address compression device in the network equipment according to the method for the invention, for example, realizes through waiting such as application module, operating system, processing controller in the network equipment.Wherein, The said network equipment be a kind of can be according to prior program stored; Automatically, at high speed carry out the modernized intelligent electronic device of massive values computation and various information processings, its hardware includes but not limited to microprocessor, FPGA, DSP, embedded device etc.Preferably, but said network equipment isolated operation realizes the present invention, but also access network and through with network in other network equipments or the interactive operation of subscriber equipment realize the present invention.Wherein, The said network equipment includes but not limited to group of server that single network server, a plurality of webserver are formed or based on the cloud that is made up of the great amount of calculation machine or the webserver of cloud computing (Cloud Computing); Wherein, Cloud computing is a kind of of Distributed Calculation, and by the super virtual machine that the loosely-coupled computing machine collection of a group is formed, said subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.Wherein, the residing network of the said network equipment or subscriber equipment includes but not limited to internet, wide area network, Metropolitan Area Network (MAN), LAN, VPN network etc.
Need to prove; The said subscriber equipment and the network equipment are merely for example; Other subscriber equipmenies existing or that possibly occur from now on, the network equipment or network also should be included in the protection domain of the present invention, and be contained in this with way of reference as applicable to the present invention.
Wherein, can obtain to link address compression information according to the method for the invention.Wherein, said link address compression information comprises at least one parameter information, all corresponding parameter type of each parameter information.According to the method for the invention based on each parameter type execution in step S 1 and step S2, comprise the link address compression information of said at least one parameter information with generation.
Wherein, Said parameter type includes but not limited to following at least one: 1) URL parameter type; Wherein, parameter information that should the URL parameter type is used to identify and the said URL that links the address compression information corresponding original web page of the webpage of transcoding pointed.2) General Parameters type.Wherein, this General Parameters type is to being applied to generate the required parameters information except that the URL parameter type of said link address compression information; Perhaps; This General Parameters type further comprises a plurality of parameter types; In these a plurality of parameter types each be correspondence required each parameter information that comprises of this link address compression information except that said URL parameter respectively; For example, except that the URL parameter information, the required parameter information that comprises of link address compression information also comprises: a) parameter name is called the parameter information of " type "; B) parameter name is called the parameter information of " userid ", and then the General Parameters type further comprises parameter type " type " and " userid ".Need to prove; Parameter type identifies with " type " and " userid " and is merely example; Those skilled in the art should be able to adopt other identification informations; Like " I " and " II " etc., identify the parameter type that parameter information and parameter name that corresponding respectively parameter name is called " type " are called the parameter information of " userid ".
In step S1, the 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 directly be used to link the character information of dissection process.Preferably, said original character information comprise following each: the 1) parameter value of initial parameter; 2) title of initial parameter and parameter value thereof.
Particularly, the mode obtained original character information that should parameter type of said address compression device includes but not limited to:
1) the address compression device obtains and the said corresponding link address information of not compressing of address compression information that links; Then, the address compression device does not compress the one or more parameter informations that obtain in the link address information should parameter type by this, as said original character information.
Wherein, the said link address information of not compressing can directly be used to link dissection process, to visit its corresponding info web; For example, not compressing link address information is http://www.baidu.com, then can directly handle visiting the info web that this does not compress the link information correspondence through the http protocol analysis; Again for example; Do not compress link address information info web pointed and be WAP page through WAP transcoding gained; Then in response to be used to ask this do not compress link address information the equipment of access request of corresponding WAP page can directly not compress link address information and obtain the corresponding WWW info web of this WAP page in real time according to this; And the WWW webpage is carried out real-time transcoding handle and to generate WAP page, with the response access request.
Wherein, the address compression device obtains with the said corresponding mode of not compressing link address information of address compression information that links and includes but not limited to:
A) by obtaining in the already present webpage and the said corresponding link address information of not compressing of address compression information that links.
For example, from the WAP page that obtains by WWW webpage transcoding, obtain and link the corresponding link address information of not compressing of address compression information.Again for example, directly by obtaining in the wWW webpage that has generated and linking the corresponding link address information of not compressing of address compression information.
B) by obtaining link address information in the original web page of treating transcoding, and this link address information carried out transcoding operation, to obtain and to link the corresponding link address information of not compressing of address compression information.
For example; The address compression device obtains the link address information link1 " http://news.sina.com.cn/media/ " in the original web page of treating transcoding; And this link address information link1 carried out the transcoding operation, to obtain not compression link address information link1 ' behind the transcoding corresponding with link1 be " http://a.abc.com/tc? pn=7&m=0&src=http: //news.sina.com.cn/media/ ".
Wherein, those skilled in the art should confirm the mode that transcoding is operated according to actual conditions and demand, for example, the www webpage are transferred to the transcoding mode of wap webpage etc., repeat no more at this.
Then, the address compression device is by the one or more parameter informations that obtain in the link address information corresponding to the parameter type of working as pre-treatment that do not compress that obtained, as said original character information.
For example; Acquired do not compress link address information for " 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 the tn parameter type, then the address compression device is by not compressing the parameter information " tn=myie2 " that obtains in the link address information corresponding to the tn parameter type.
2) the address compression device obtains relevant and generate relevant information with this parameter type relevant parameters with the said address compression information that links; And, obtain said original character information according to said parameter generation relevant information.
Wherein, said parameter generates relevant information and comprises and be used to generate the initial parameter value, perhaps, is used to generate the information of initial parameter title and parameter value.Preferably, parameter generation relevant information includes but not limited to: a) customized information of said link address compression information; The URL of the corresponding original web page of the webpage of transcoding that for example, whether said link address compression information need fold, this link address compression information is pointed etc.; B) the type relevant information of webpage under the said link address compression information; For example, webpage is supported Format Type, web page code type etc.; C) device-dependent message of the subscriber equipment of webpage under the said link address compression information of request, for example, mobile phone model information etc.
Wherein, those skilled in the art should confirm to get parms and generate the mode of relevant information according to actual conditions and demand, repeat no more at this.
Wherein, The address compression device generates relevant information and parameter value according to predetermined parameters; Perhaps, predetermined parameters generates the corresponding relation of relevant information and parameter title and value, obtains to comprise the original character information that generates relevant information corresponding parameters value with said parameter; Perhaps, obtain to comprise the original character information that generates relevant information corresponding parameters title and parameter value with said parameter.
For example; The web page code type that the address compression device obtains the affiliated webpage of link address compression information to be generated is " XML "; Then the address compression device is confirmed and web page code type relevant parameters title " type " and parameter value " 1 " thereof according to web page code type " XML ", and then the address compression device obtains the original character information " type=1 " corresponding to the General Parameters type.
Again for example; The address compression device obtains the URL that comprises with the address compression information that the links to be generated corresponding original web page of the webpage of transcoding pointed and is " http://mil.news.sina.com.cn/ ", and with the URL of this original web page original character information " http://mil.news.sina.com.cn/ " as corresponding URL parameter type.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention 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, the address compression device obtains the squeezing characters information of this original character information, to obtain to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
Wherein, the said address compression device mode of obtaining the squeezing characters information of this original character information includes but not limited to:
1) the address compression device is to the predetermined processed compressed of said original character information and executing, to obtain corresponding squeezing characters information based on compression result.
For example, the address compression device adopts the hash function to carry out digital signature to the original character information that obtained and handles obtaining corresponding cryptographic hash, and with this cryptographic hash as with the corresponding squeezing characters information of this original character information; Again for example; The address compression device carries out md5 encryption to the original character information that is obtained to be handled; And adopt the base64 coded system to encode, and should encode back character string conduct and the corresponding squeezing characters information of this original character information with acquisition coding back character string to the encrypted result that is obtained.
2) when the parameter type of pre-treatment is said URL parameter type; Said original character information comprises and the said URL that links the corresponding original webpage of the address compression information webpage of transcoding pointed; Then the address compression device is inquired about in the compressed information storehouse according to said URL; Then, when in said compressed information storehouse, inquiring the full detail of said URL, by obtaining corresponding squeezing characters information in this compressed information storehouse with this URL; And, generate the URL parameter information that comprises this squeezing characters information according to the squeezing characters information of being obtained.
Wherein, said compressed information storehouse comprises original character information and corresponding squeezing characters information thereof.Wherein, set up or the mode of upgrading the compressed information storehouse include but not limited to following any: a) adopt user-selected one or more original character information and corresponding respectively squeezing characters information thereof to set up or upgrade said compressed information storehouse; B) one or more original character information of selecting historical usage frequency to be higher than predetermined frequency are set up or are upgraded said compressed information storehouse; Wherein, said historical usage frequency includes but not limited to: the i) number of times and/or the frequency that in the part or all of history web pages that address compression device belonging network equipment has been visited, occur of original character information; Ii) when original character information is URL, the historical access times of this URL and/or frequency etc.; C) select string length to set up or upgrade said compressed information storehouse greater than one or more original character information of book character string length.Wherein, After selecting original character information; Can obtain and the corresponding artificial squeezing characters information of importing of this original character information, perhaps, 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 the compressed information storehouse.
Wherein, the address compression device mode that obtains to comprise the URL parameter information of this squeezing characters information includes but not limited to:
A) directly with the squeezing characters information that is obtained as the URL parameter information.
B) with the squeezing characters information that is obtained as the parameter value that is comprised in the URL parameter information, and combine predetermined and URL parameter type relevant parameters title, generate corresponding URL parameter information.
For example; The original character information corresponding to the URL parameter type that the address compression device obtains in step S1 comprises link address information link3; Then the address compression device is inquired about link3 in the compressed information storehouse; And when in the compressed information storehouse, inquiring the full detail of link3, by obtaining in the compressed information storehouse and the corresponding squeezing characters information of link3 cpr1, then the address compression device with cpr1 as the URL parameter value; And combine the parameter title " souce " of predetermined URL parameter, obtain URL parameter information " souce=cpr1 ".
Preferably, when the address compression set inquires the partial information among the said URL in said compressed information storehouse, by obtaining in this compressed information storehouse and the corresponding squeezing characters information of this partial information; And generation comprises the URL parameter information of all the other information among this squeezing characters information and the said URL.
For example; The URL of the original web page that the 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; The address compression device only inquires the partial information " http://video.sina.com.cn/p/news/c/v/2011-08-14 " among the URL of this original web page in the compressed information storehouse; Then the address compression device is by obtaining in the compressed information storehouse and the corresponding squeezing characters information of this partial information cpr2 " compression_1 "; Then the address compression device according to the squeezing characters information that is obtained and all the other information that link4 comprised "/182961444819.html? opsubject_id=top1 "; And predetermined URL parameter title " src ", generation URL parameter information " src=compression_1/182961444819.html? opsubject_id=top1 ".
3) when the parameter type of pre-treatment is said General Parameters type; Said original character information comprises one or more initial parameter information of corresponding this General Parameters type; Then the address compression device is according to said one or more initial parameter information; In the compressed information storehouse, inquire about, obtaining at least one squeezing characters information, and based on the one or more parameter informations of said at least one squeezing characters information acquisition corresponding to this parameter type.
Wherein, corresponding at least one initial parameter information of each squeezing characters information.Wherein, said initial parameter information comprises that parameter name is claimed and parameter value.
Wherein, saidly include but not limited to based on the mode of at least one squeezing characters information acquisition corresponding to one or more parameter informations of this parameter type: a) with each the squeezing characters information in said at least one squeezing characters information directly as its to parameter information that should parameter type; B) for each the squeezing characters information in said at least one squeezing characters information; With this squeezing characters information as parameter value; And combine predetermined and this squeezing characters information institute type of correspondence parameter relevant parameters title, generate accordingly parameter information corresponding to said parameter type.
Wherein, Said address compression device is inquired about in the compressed information storehouse according to said one or more initial parameter information; Obtaining at least one squeezing characters information, and include but not limited to based on the mode of said at least one squeezing characters information acquisition corresponding to one or more parameter informations of this parameter type:
A) the address compression device is inquired about according to the part or all of initial parameter information that said one or more initial parameter information are comprised in the compressed information storehouse, obtains the parameter information corresponding to this parameter type with the squeezing characters information based on the inquiry gained.
For example; Comprise four initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 " in the original character information " a=1&b=2&c=3&d=4 " that the address compression device obtains in step S1; Then the address compression device inquires about whether there is the squeezing characters information corresponding to initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 " earlier in the compressed information storehouse; When not obtaining Query Result; The address compression device is continued in the compressed information storehouse, to inquire about by these any three initial parameter information of three initial parameter information selected " a=1 ", " c=3 " and " d=4 "; And obtain squeezing characters information " zp=134 " corresponding to initial parameter information " a=1 ", " c=3 " and " d=4 ", then the address compression device with the squeezing characters information " zp=134 " that is obtained as parameter information corresponding to the General Parameters type.
B) combination of each initial parameter information of in the compressed information storehouse, being comprised according to said one or more initial parameter information of address compression device is inquired about; And obtain the corresponding squeezing characters information of the combination with all initial parameter information that is comprised in the compressed information storehouse; And, obtain one or more parameter informations corresponding to this parameter type according to selected at least one squeezing characters information by at least one the squeezing characters information of all squeezing characters information selected that is obtained.
For example; Comprise three initial parameter information " m_1=882a ", " n=9345c " and " t=f3cb3 " in the original character information " m_1=882a&n=9345c&t=f3cb3 " that the address compression device obtains in step S1; The combination of all initial parameter information that these three initial parameter information are comprised is following: { 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 the address compression device is inquired about at least one squeezing characters information that said all part or all of parameter informations obtain in the 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
Then the 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 squeezing characters information " %20 " corresponding to the initial parameter information " n=9345c " of remainder, then the address compression device combines corresponding to initial parameter information combination { m_1=882a, the preset parameter title " mt " of t=f3cb3}; And corresponding to the initial parameter information combination { the preset parameter title " np " of n=9345c} generates parameter information " mt=%35 " and " np=%20 " corresponding to the General Parameters type.
Preferably, the part initial parameter information in being contained in said one or more initial parameter information is not inquired about when obtaining corresponding squeezing characters information, with this part initial parameter information directly as parameter information corresponding to said General Parameters type.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any squeezing characters information of obtaining this original character information; To obtain to comprise this squeezing characters information and to the implementation of one or more parameter informations that should parameter type, all should be within the scope of the present invention.
According to the method for the invention; Wherein, The address compression device is linked the pairing one or more parameter informations of each parameter type in all required parameter types of address compression information according to what obtain based at least execution in step a S1 and a S2 with this; And combine the domain-name information of acquisition in advance, generate said link address compression information.Preferably, the address compression device also combines the routing information of acquisition in advance, generates said link address compression information.
For example; The address compression device obtains URL parameter information " src=KE5ZDcig35I " based on the URL parameter type; And obtain general parameter information " zp=%def " based on the General Parameters type; Then the address compression device is according to URL parameter information that is obtained and General Parameters information; And preparatory domain-name information " http://m.baidu.com " and the routing information "/bd_type=1/puCusm " that obtains of combination, generation link address compression information " http://m.baidu.com/bd_type=1/from=0/tc? zp=%deg&src=KE5ZDcig35I ".
According to the method for the invention, when not compressing link address information and existed, can this not compressed link address information and compress to obtain short link address compression information; When not compressing link address information and still do not exist, can the directly corresponding link address compression information of not compressing link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth that takies of transmissions links address information.
Fig. 2 has illustrated the method flow diagram that is used to obtain to link address compression information of a preferred embodiment of the invention.According to the method for present embodiment, comprise step S1, step S3 and step S2.
Said step S1 is detailing with reference in embodiment illustrated in fig. 1, and is contained in this by reference, repeats no more here.
Then, in step S3, whether the address compression device meets predetermined contractive condition according to the original character information of this parameter type, judges whether and need compress this original character information.
Preferably, said 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, said historical usage frequency includes but not limited to: a) number of times and/or the frequency that in the part or all of history web pages that address compression device belonging network equipment has been visited, occur of original character information; 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 the book character string length; 3) can in the compressed information storehouse, inquire about all or part of this original character information that obtains.
Particularly, the 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 information of judging that is obtained, and judges whether to compress this original character information.Wherein, said 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 the compressed information storehouse.
For example, the historical access times of the original character information that the address compression device obtains are 2546 times, and then the address compression device is judged 2546 times>pre-determined number of historical access times 2000 times, and then the address compression device is confirmed and need be compressed this original character information.
Again for example, the string length of the original character information that the address compression device obtains is 36, and greater than book character string length 15, then the address compression device is confirmed and need be compressed this original character information.
Again for example; The historical access times that the address compression device obtains original character information are 2546 times; And the string length that obtains original character information is 10; Then the address compression device judges that according to 2546 times>pre-determined number 2000 times and string length 10<book character string length 15 original character information does not meet all predetermined contractive conditions, need not compress this original character information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that whether any original character information according to this parameter type meets predetermined contractive condition; Judge whether the implementation that need compress this original character information, all should be within the scope of the present invention.
Then, when judgement need be compressed this original character information, address compression device execution in step S2.
Wherein, said step S2 is detailing with reference in embodiment illustrated in fig. 1, and is contained in this by reference, repeats no more.
Preferably, in step S3, judge need not compress the time when the address compression set this original character information:
1) when not compressing link address information accordingly and existed, address compression device undo;
2) when not compressing link address information accordingly and do not exist; The address compression device directly generates the parameter information corresponding to parameter type based on said original character information, does not compress link address information to generate, for example; Directly with original character information as parameter information; Again for example, as parameter value, and combine the predetermined parameters title to generate parameter information etc. original character information.
According to the method for the invention, can be based on decision operation, only to meeting predetermined contractive condition, higher or string length is long etc. like the frequency of occurrences, the squeeze operation of original character information and executing, improved the efficient of squeeze operation.
Fig. 3 has illustrated another aspect of the present invention a kind of computer implemented method flow diagram that webpage is compressed of being used for.Wherein, Said computing machine comprises the network equipment; Realize through the webpage compression set that is comprised in the network equipment according to the method for the invention, wherein, comprise in the said webpage compression set with reference to earlier figures 1 and embodiment illustrated in fig. 2 described in the address compression device.According to the method for the invention; Each link address information executable operations in all or part of link address information that need be comprised webpage to be compressed by the address compression device that is contained in the webpage compression set is to obtain to comprise the compression webpage of at least one link address compression information.
For example; Link5 be the webpage compression set the sensing that need comprise among the compression webpage P1 that will the generate link address information of transcoding webpage; This original web page URL that transcoding webpage is corresponding is " http://news.sina.com.cn/ "; And the webpage compression set is to point to the link address information of transcoding webpage according to link5, confirms that the parameter information type that link5 need comprise comprises General Parameters type and URL parameter type.The address compression device is earlier based on the General Parameters type; Execution in step S1; Obtain relevant and generate relevant information C1, and generate relevant information C1 based on this parameter and obtain original character information " ref=www_colorful&p=cb351659&order=7 " corresponding to the General Parameters type with General Parameters type relevant parameters with link5; Then; Address compression device execution in step S2; Original character information to being obtained directly performs encryption processing; Obtaining and the corresponding encrypted result of this original character information " repor% ", and combine the parameter title " cp_3 " of predetermined corresponding general type, generate parameter information " cp_3=repor% " corresponding to the General Parameters type; Then; The address compression device is based on the URL parameter type; Once more execution in step S1 with obtain relevant with link5 and with the corresponding original character information of URL parameter type " http://news.sina.com.cn/ "; Then, address compression device execution in step S2, " http://news.sina.com.cn/ " inquires about in the compressed information storehouse according to original character information; Obtain corresponding squeezing characters information " %EF " with " http://news.sina.com.cn/ "; Then the address compression device combines and the corresponding preset parameter title of URL parameter type " src ", generates URL parameter information " src=%EF ", and then the address compression device is based on General Parameters information that is obtained and URL parameter information; And the domain name " a.ba.com " and the routing information " ssid=0/t=wap/tc " that obtain in advance, generation link5 " http://a.ba.com/ssid=0/t=wap/tc? cp_3=repor%&src=%EF ".
Then, the address compression device is execution in step S1 and S2 repeatedly, generates link address information link6, link7 that webpage P1 to be compressed need comprise; Then, the webpage compression set generates the compression webpage P1 that comprises link address compression information link5, link6 and link7.
As one of the preferred embodiments of the present invention, according to the method for the invention, the webpage compression set is execution in step S5 (figure does not show) and step S6 (figure does not show) also.
In step S5, the webpage compression set obtains the first web page access solicited message from subscriber equipment, and wherein, this first web page access solicited message is used to ask said compression webpage.
In step S6, the webpage compression set offers said subscriber equipment with the said compression webpage that comprises at least one link address compression information.
After subscriber equipment receives said compression webpage; When the selection that obtains the link address compression information that the user comprised in to said compression webpage/clicks behavior, send to webpage compression set belonging network equipment and to comprise the second web page access request that links address compression information.
As one of the preferred embodiments of the present invention, according to the method for the invention, the webpage compression set is execution in step S7 (figure does not show), step S8 (figure does not show), step S9 (figure does not show), step S10 (figure does not show) and step S11 (figure does not show) also.
In step S7, the webpage compression set obtains the second web page access solicited message from subscriber equipment, wherein, comprises a link address compression information in the said compression webpage in this second web page access solicited message.
For example, the webpage compression set obtain from subscriber equipment comprise link address compression information link5 " http://m.baidu.com/ssid=0/t=wap/tc? cp_3=repor%&src=%EF " the second web page access solicited message.
Then, in step S8, the webpage compression set is according to predetermined recognition rule, by identification squeezing characters information in this link address compression information.
Wherein, said predetermined recognition rule comprises the rule that is used to discern squeezing characters information.Preferably, said predetermined recognition rule includes but not limited to following at least one rule: 1) whether basis exists the parameter information that comprises the preset parameter title to judge and whether has squeezing characters information; 2) judge whether to exist squeezing characters information based on whether existing compressing mark to accord with.
For example, the webpage compression set judges that according to predetermined compressing mark symbol " " obtaining parameter information " cp_3=repor% " by identification among the link5 is squeezing characters information with " src=%EF ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any basis is scheduled to recognition rule; By the implementation of identification squeezing characters information in this link address compression information, all should be within the scope of the present invention.
Then, in step S9, the webpage compression set obtains the original character information of the squeezing characters information of identification gained.
Wherein, The mode of original character information that the webpage compression set obtains the squeezing characters information of identification gained includes but not limited to: 1) when said squeezing characters information when the reversible predetermined processed compressed of original character information and executing is obtained; To this squeezing characters information and executing and the corresponding inverse transformation operation of said predetermined processed compressed, 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 the webpage compression set obtains at step S8; Then the webpage compression set is inquired about in the corresponding lists of squeezing characters information and original character information; Obtaining the original character information " ref=www_colorful&p=cb351659&order=7 " of " cp_3=repor% " respectively, and the original character information of " src=%EF " " http://news.sina.com.cn/ ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention 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 discerning gained all should be within the scope of the present invention.
In step S10, the webpage compression set obtains not compress link address information through with corresponding with it squeezing characters information in this link address compression information of said original character information replacement.
For example; The original character information that the webpage compression set obtains in step S9 comprises " ref=www_colorful&p=cb351659&order=7 " corresponding with " cp_3=repor% " and " the http://news.sina.com.cn/ " corresponding with " src=%EF "; Then the webpage compression set adopts " ref=www_colorful&p=cb351659&order=7 " replacement squeezing characters information " cp_3=repor% "; And adopt " http://news.sina.com.cn/ " to replace the parameter value " %EF " of src, with obtain the not compression link address information link5 corresponding with link5 ' " http://m.baidu.com/ssid=0/t=wap/tc? ref=www_colorful&p=cb351659&order=7&src=http: //news.sina.com.cn/ ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any through replace squeezing characters information corresponding with it in this link address compression information with said original character information; Obtain not compress the implementation of link address information, all should be within the scope of the present invention.
Then, in step S11, the webpage compression set obtains with this and does not compress the corresponding webpage of link address information, to offer said subscriber equipment.
For example; The webpage compression set in step S10, obtain not compress 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/ "; Then the webpage compression set obtains the pairing webpage of link5 ', and this webpage is offered the second web page access requesting users equipment of transmission.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any obtaining with this do not compress the corresponding webpage of link address information; To offer the implementation of said subscriber equipment, all should be within the scope of the present invention.
According to the method for the invention, the webpage compression set compresses webpage through the address compression device, thereby has reduced the required storage space that takies of storage webpage, and has saved the required bandwidth that takies of transmission webpage; And the present invention will be through compressing link address compression information reverting in the webpage for not compressing link address information; So that subscriber equipment obtains link address compression information webpage pointed, avoided causing the situation of the content loss of compression webpage owing to squeeze operation.
Fig. 4 has illustrated the structural representation of address compression device that is used to obtain to link address compression information of one aspect of the invention.Wherein, said link address compression information comprises at least one parameter information, all corresponding parameter type of each parameter information.Address compression device according to the present invention to each parameter type executable operations, comprises the link address compression information of said at least one parameter information through self comprised the first character deriving means 1 and parameter obtaining device 2 with generation.
Wherein, Said parameter type includes but not limited to following at least one: 1) URL parameter type; Wherein, parameter information that should the URL parameter type is used to identify and the said URL that links the address compression information corresponding original web page of the webpage of transcoding pointed.2) General Parameters type.Wherein, this General Parameters type is to being applied to generate the required parameters information except that the URL parameter type of said link address compression information; Perhaps; This General Parameters type further comprises a plurality of parameter types; In these a plurality of parameter types each be correspondence required each parameter information that comprises of this link address compression information except that said URL parameter respectively; For example, except that the URL parameter information, the required parameter information that comprises of link address compression information also comprises: a) parameter name is called the parameter information of " type "; B) parameter name is called the parameter information of " userid ", and then the General Parameters type further comprises parameter type " type " and " userid ".Need to prove; Parameter type identifies with " type " and " userid " and is merely example; Those skilled in the art should be able to adopt other identification informations; Like " I " and " II " etc., identify the parameter type that parameter information and parameter name that corresponding respectively parameter name is called " type " are called the parameter information of " userid ".
The first character deriving means 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 directly be used to link the character information of dissection process.Preferably, said original character information comprise following each: the 1) parameter value of initial parameter; 2) title of initial parameter and parameter value thereof.
Particularly, the mode obtained original character information that should parameter type of the said first character deriving means 1 includes but not limited to:
1) the first address deriving means (figure does not show) that is contained in the first character deriving means 1 obtains and the said corresponding link address information of not compressing of address compression information that links; Then, be contained in the first sub-character deriving means in the first character deriving means 1 (figure does not show) and do not compress the one or more parameter informations that obtain in the link address information should parameter type, as said original character information by this.
Wherein, the said link address information of not compressing can directly be used to link dissection process, to visit its corresponding info web; For example, not compressing link address information is http://www.baidu.com, then can directly handle visiting the info web that this does not compress the link information correspondence through the http protocol analysis; Again for example; Do not compress link address information info web pointed and be WAP page through WAP transcoding gained; Then in response to be used to ask this do not compress link address information the equipment of access request of corresponding WAP page can directly not compress link address information and obtain the corresponding WWW info web of this WAP page in real time according to this; And the WWW webpage is carried out real-time transcoding handle and to generate WAP page, with the response access request.
Wherein, the first address deriving means obtains with the said corresponding mode of not compressing link address information of address compression information that links and includes but not limited to:
A) the first address deriving means is by obtaining in the already present webpage and the said corresponding link address information of not compressing of address compression information that links.
For example, the first address deriving means obtains from the WAP page that is obtained by WWW webpage transcoding and links the corresponding link address information of not compressing of address compression information.Again for example, the first address deriving means is directly by obtaining in the WWW webpage that has generated and linking the corresponding link address information of not compressing of address compression information.
B) the first address deriving means is by obtaining link address information in the original web page of treating transcoding, and this link address information is carried out transcoding operation, to obtain and to link the corresponding link address information of not compressing of address compression information.
For example; The first address deriving means obtains the link address information link1 " http://news.sina.com.cn/media/ " in the original web page of treating transcoding; And this link address information link1 carried out the transcoding operation, with obtain behind the transcoding corresponding with link1 not compression link address information link1 ' " http://a.abc.com/tc? pn=7&m=0&src=http: //news.sina.com.cn/media/ ".
Wherein, those skilled in the art should confirm the mode that transcoding is operated according to actual conditions and demand, for example, the www webpage are transferred to the transcoding mode of wap webpage etc., repeat no more at this.
Then, the first sub-character deriving means is by the one or more parameter informations that obtain in the link address information corresponding to the parameter type of working as pre-treatment that do not compress that obtained, as said original character information.
For example; Acquired do not compress link address information for " 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 the tn parameter type, then the first sub-character deriving means is by not compressing the parameter information " tn=myie2 " that obtains in the link address information corresponding to the tn parameter type.
2) be contained in information acquisition device in the first character deriving means 1 (figure does not show) obtain with said link address compression information relevant and with this parameter type relevant parameters generation relevant information; Then, the second sub-character deriving means (figure does not show) that is contained in the first character deriving means 1 generates relevant information according to said parameter, obtains said original character information.
Wherein, said parameter generates relevant information and comprises and be used to generate the initial parameter value, perhaps, is used to generate the information of initial parameter title and parameter value.Preferably, parameter generation relevant information includes but not limited to: a) customized information of said link address compression information; The URL of the corresponding original web page of the webpage of transcoding that for example, whether said link address compression information need fold, this link address compression information is pointed etc.; B) the type relevant information of webpage under the said link address compression information; For example, webpage is supported Format Type, web page code type etc.; C) device-dependent message of the subscriber equipment of webpage under the said link address compression information of request, for example, mobile phone model information etc.
Wherein, those skilled in the art should confirm that information acquisition device gets parms according to actual conditions and demand and generate the mode of relevant information, repeat no more at this.
Wherein, The second sub-character deriving means generates relevant information and parameter value according to predetermined parameters; Perhaps, predetermined parameters generates the corresponding relation of relevant information and parameter title and value, obtains to comprise the original character information that generates relevant information corresponding parameters value with said parameter; Perhaps, obtain to comprise the original character information that generates relevant information corresponding parameters title and parameter value with said parameter.
For example; The web page code type that information acquisition device obtains the affiliated webpage of link address compression information to be generated is " XML "; Then the second sub-character deriving means is confirmed and web page code type relevant parameters title " type " and parameter value " 1 " thereof according to web page code type " XML ", and then the second sub-character deriving means obtains the original character information " type=1 " corresponding to the General Parameters type.
Again for example; Information acquisition device obtains the URL " http://mil.news.sina.com.cn/ " that comprises with the address compression information that the links to be generated corresponding original web page of the webpage of transcoding pointed, and then the second sub-character deriving means is with the URL of this original web page original character information " http://mil.news.sina.com.cn/ " as corresponding URL parameter type.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention 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 to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
Wherein, said parameter obtaining device 2 mode of obtaining the squeezing characters information of this original character information includes but not limited to:
1) the predetermined processed compressed of 2 pairs of said original character information and executing of parameter obtaining device is to obtain corresponding squeezing characters information based on compression result.
For example, original character information that 2 pairs of parameter obtaining device are obtained adopts the hash function to carry out digital signature and handles obtaining corresponding cryptographic hash, and with this cryptographic hash as with the corresponding squeezing characters information of this original character information; Again for example; 2 pairs of original character information that obtained of parameter obtaining device are carried out md5 encryption and are handled; And adopt the base64 coded system to encode, and should encode back character string conduct and the corresponding squeezing characters information of this original character information with acquisition coding back character string to the encrypted result that is obtained.
2) when the parameter type of pre-treatment is said URL parameter type; Said original character information comprises and the said URL that links the corresponding original webpage of the address compression information webpage of transcoding pointed; The inquiry unit (figure does not show) that then is contained in the parameter obtaining device 2 is inquired about in the compressed information storehouse according to said URL; When in said compressed information storehouse, inquiring the full detail of said URL; Be contained in compression set in the parameter obtaining device 2 (figure does not show) by obtaining corresponding squeezing characters information in this compressed information storehouse with this URL; Then, the first subparameter deriving means (scheming not show) that is contained in the parameter obtaining device 2 according to the squeezing characters information of being obtained, generates the URL parameter information that comprises this squeezing characters information.
Wherein, said compressed information storehouse comprises original character information and corresponding squeezing characters information thereof.Wherein, set up or the mode of upgrading the compressed information storehouse include but not limited to following any: a) adopt user-selected one or more original character information and corresponding respectively squeezing characters information thereof to set up or upgrade said compressed information storehouse; B) one or more original character information of selecting historical usage frequency to be higher than predetermined frequency are set up or are upgraded said compressed information storehouse; Wherein, said historical usage frequency includes but not limited to: the i) number of times and/or the frequency that in the part or all of history web pages that address compression device belonging network equipment has been visited, occur of original character information; Ii) when original character information is URL, the historical access times of this URL and/or frequency etc.; C) select string length to set up or upgrade said compressed information storehouse greater than one or more original character information of book character string length.Wherein, After selecting original character information; Can obtain and the corresponding artificial squeezing characters information of importing of this original character information, perhaps, 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 the compressed information storehouse.
Wherein, the first subparameter deriving means mode that obtains to comprise the URL parameter information of this squeezing characters information includes but not limited to:
A) the first subparameter deriving means directly with the squeezing characters information that is obtained as the URL parameter information.
B) the first subparameter deriving means as the parameter value that is comprised in the URL parameter information, and combines predetermined and URL parameter type relevant parameters title with the squeezing characters information that is obtained, and generates corresponding URL parameter information.
For example; The original character information corresponding to the URL parameter type that the first character deriving means 1 obtains comprises link address information link3; Then inquiry unit is inquired about link3 in the compressed information storehouse; And when in the compressed information storehouse, inquiring the full detail of link3, compression set is by obtaining in the compressed information storehouse and the corresponding squeezing characters information of link3 cpr1, then the first subparameter deriving means with cpr1 as the URL parameter value; And combine the parameter title " souce " of predetermined URL parameter, obtain URL parameter information " souce=cpr1 ".
Preferably, when inquiry unit inquires the partial information among the said URL in said compressed information storehouse, be contained in part compression set in the parameter obtaining device 2 (figure does not show) by obtaining in this compressed information storehouse and the corresponding squeezing characters information of this partial information; Then, the second subparameter deriving means (figure does not show) that is contained in the parameter obtaining device 2 generates the URL parameter information that comprises all the other information among this squeezing characters information and the said URL.
For example; The URL of the original web page that the first character deriving means 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 " among the URL of this original web page in the compressed information storehouse; Then the part compression set is by obtaining in the compressed information storehouse and the corresponding squeezing characters information of this partial information cpr2 " compression_1 "; Then the second subparameter deriving means according to the squeezing characters information that is obtained and all the other information that link4 comprised "/182961444819.html? opsubject_id=top1 "; And predetermined URL parameter title " src ", generation URL parameter information " src=compression_1/182961444819.html? opsubject_id=top1 ".
3) when the parameter type of pre-treatment is said General Parameters type; Said original character information comprises one or more initial parameter information of corresponding this General Parameters type; Then be contained in the 3rd subparameter deriving means in the parameter obtaining device 2 (figure does not show) according to said one or more initial parameter information; In the compressed information storehouse, inquire about; Obtaining at least one squeezing characters information, and based on the one or more parameter informations of said at least one squeezing characters information acquisition corresponding to this parameter type.
Wherein, corresponding at least one initial parameter information of each squeezing characters information.Wherein, said initial parameter information comprises that parameter name is claimed and parameter value.
Wherein, saidly include but not limited to based on the mode of at least one squeezing characters information acquisition corresponding to one or more parameter informations of this parameter type: a) with each the squeezing characters information in said at least one squeezing characters information directly as its to parameter information that should parameter type; B) for each the squeezing characters information in said at least one squeezing characters information; With this squeezing characters information as parameter value; And combine predetermined and this squeezing characters information institute type of correspondence parameter relevant parameters title, generate accordingly parameter information corresponding to said parameter type.
Wherein, Said the 3rd subparameter deriving means is inquired about in the compressed information storehouse according to said one or more initial parameter information; Obtaining at least one squeezing characters information, and include but not limited to based on the mode of said at least one squeezing characters information acquisition corresponding to one or more parameter informations of this parameter type:
A) the 3rd subparameter deriving means is inquired about according to the part or all of initial parameter information that said one or more initial parameter information are comprised in the compressed information storehouse, obtains the parameter information corresponding to this parameter type with the squeezing characters information based on the inquiry gained.
For example; Comprise four initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 " in the original character information " a=1&b=2&c=3&d=4 " that the first character deriving means 1 obtains; Then the 3rd subparameter deriving means inquires about whether there is the squeezing characters information corresponding to initial parameter information " a=1 ", " b=2 ", " c=3 " and " d=4 " earlier in the compressed information storehouse; When not obtaining Query Result; The 3rd subparameter deriving means continues in the compressed information storehouse, to inquire about and obtain corresponding Query Result by these any three initial parameter information of three initial parameter information selected " a=1 ", " c=3 " and " d=4 "; And by the squeezing characters information " zp=134 " that obtains in the compressed information storehouse corresponding to initial parameter information " a=1 ", " c=3 " and " d=4 ", then the 3rd subparameter deriving means with the squeezing characters information " zp=134 " that is obtained as parameter information corresponding to the General Parameters type.
B) combination of each initial parameter information of in the compressed information storehouse, being comprised according to said one or more initial parameter information of the 3rd subparameter deriving means is inquired about; And obtain the corresponding squeezing characters information of the combination with all initial parameter information that is comprised in the compressed information storehouse; And, obtain one or more parameter informations corresponding to this parameter type according to selected at least one squeezing characters information by at least one the squeezing characters information of all squeezing characters information selected that is obtained.
For example; Comprise three initial parameter information " m_1=882a ", " n=9345c " and " t=f3cb3 " in the original character information " m_1=882a&n=9345c&t=f3cb3 " that the first character deriving means 1 obtains; The combination of all initial parameter information that these three initial parameter information are comprised is following: { 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}, the 3rd subparameter deriving means inquire about at least one squeezing characters information that said all part or all of parameter informations obtain in the compressed information storehouse as shown in table 2 below:
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
Then the 3rd subparameter deriving means 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 squeezing characters information " %20 " corresponding to the initial parameter information " n=9345c " of remainder; Then the 3rd subparameter deriving means combines corresponding to initial parameter information combination { m_1=882a; The preset parameter title " mt " of t=f3cb3}, and corresponding to the initial parameter information combination { the preset parameter title " np " of n=9345c} generates parameter information " mt=%35 " and " np=%20 " corresponding to the General Parameters type.
Preferably, the part initial parameter information in being contained in said one or more initial parameter information is not inquired about when obtaining corresponding squeezing characters information, with this part initial parameter information directly as parameter information corresponding to said General Parameters type.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any squeezing characters information of obtaining this original character information; To obtain to comprise this squeezing characters information and to the implementation of one or more parameter informations that should parameter type, all should be within the scope of the present invention.
According to scheme of the present invention; Wherein, The address compression device according to self comprised the first character deriving means 1 and parameter obtaining device 2 to each parameter type executable operations; Generation comprises the link address compression information of said at least one parameter information, and the address compression device is linked the pairing one or more parameter informations of each parameter type in all required parameter types of address compression information according to what obtain with this; Domain-name information in conjunction with obtaining in advance generates said link address compression information.Preferably, the address compression device also combines the routing information of acquisition in advance, generates said link address compression information.
For example; The address compression device obtains URL parameter information " src=KE5ZDcig35I " based on the URL parameter type; And obtain general parameter information " zp=%def " based on the General Parameters type; Then the address compression device is according to URL parameter information that is obtained and General Parameters information; And preparatory domain-name information " http://m.baidu.com " and the routing information "/bd_type=1/puCusm " that obtains of combination, generation link address compression information " http://m.baidu.com/bd_type=1/from=0/tc? zp=%def&src=KE5ZDcig35I ".
According to scheme of the present invention, when not compressing link address information and existed, can this not compressed link address information and compress to obtain short link address compression information; When not compressing link address information and still do not exist, can the directly corresponding link address compression information of not compressing link address information, thus it is empty to have reduced the shared storage of each link address information, has saved the required bandwidth that takies of transmissions links address information.
Fig. 5 has illustrated the structural representation of address compression device that is used to obtain to link address compression information of a preferred embodiment of the invention.According to the address compression device of present embodiment, comprise the first character deriving means 1, judgment means 3, carry out flip flop equipment 4 and parameter obtaining device 2.
The said first character deriving means 1 is detailing with reference in embodiment illustrated in fig. 4, and is contained in this by reference, repeats no more here.
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, said 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, said historical usage frequency includes but not limited to: a) number of times and/or the frequency that in the part or all of history web pages that address compression device belonging network equipment has been visited, occur of original character information; 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 the book character string length; 3) can in the 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 deriving means 1 obtained, and whether meets predetermined contractive condition according to the information of judging that is obtained, and judges whether and need compress this original character information.Wherein, said 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 the compressed information storehouse.
For example, the historical access times of the original character information that judgment means 3 obtains are 2546 times, and then the address compression device is judged 2546 times>pre-determined number of historical access times 2000 times, and then judgment means 3 is confirmed and need be compressed this original character information.
Again for example, the string length of the original character information that judgment means 3 obtains is 36, and greater than book character string length 15, then judgment means 3 is confirmed and need 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; Then judgment means 3 judges that according to 2546 times>pre-determined number 2000 times and string length 10<book character string length 15 original character information does not meet all predetermined contractive conditions, need not compress this original character information.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that whether any original character information according to this parameter type meets predetermined contractive condition; Judge whether the implementation that need compress this original character information, all should be within the scope of the present invention.
Then, when judgment means 3 judgements need be compressed this original character information, carry out flip flop equipment trigger parameter deriving means 2 executable operations.
Wherein, said parameter obtaining device 2 is detailing with reference in embodiment illustrated in fig. 4, and is contained in this by reference, repeats no more.
Preferably, when judgment means 3 judgements need not compressed this original character information:
1) when not compressing link address information accordingly and existed, address compression device undo;
2) when not compressing link address information accordingly and do not exist; The address compression device directly generates the parameter information corresponding to parameter type based on said original character information, does not compress link address information to generate, for example; Directly with original character information as parameter information; Again for example, as parameter value, and combine the predetermined parameters title to generate parameter information etc. original character information.
According to scheme of the present invention, can be based on decision operation, only to meeting predetermined contractive condition, higher or string length is long etc. like the frequency of occurrences, the squeeze operation of original character information and executing, improved the efficient of squeeze operation.
Fig. 6 has illustrated a kind of structural representation of the computer implemented webpage compression set that is used for webpage is compressed.Webpage compression set according to the present invention is contained in the network equipment; Wherein, Comprise in the said webpage compression set with reference to earlier figures 4 and embodiment illustrated in fig. 5 described in the address compression device; And each the link address information executable operations in all or part of link address information that need comprise webpage to be compressed by the address compression device that is contained in the webpage compression set, to obtain to comprise the compression webpage of at least one link address compression information.
For example; Link5 be the webpage compression set the sensing that need comprise among the compression webpage P1 that will the generate link address information of transcoding webpage; This original web page URL that transcoding webpage is corresponding is " http://news.sina.com.cn/ "; And the webpage compression set is to point to the link address information of transcoding webpage according to link5, confirms that the parameter information type that link5 need comprise comprises General Parameters type and URL parameter type.The first character deriving means 1 that the address compression device is comprised is earlier based on the General Parameters type; Obtain relevant and generate relevant information C 1, and generate the original character information " ref=www_colorful&p=cb351659&order=7 " that relevant information C 1 obtains corresponding to the General Parameters type based on this parameter with General Parameters type relevant parameters with link5; Then; 2 pairs of original character information that obtained of the parameter obtaining device that the address compression device is comprised directly perform encryption processing; To obtain and the corresponding encrypted result of this original character information " repor% "; And combine the parameter title " cp_3 " of predetermined corresponding general type, generate parameter information " cp_3=repor% " corresponding to the General Parameters type; Then; The first character deriving means 1 that the address compression device is comprised is based on the URL parameter type; Obtain relevant once more with link5 and with the corresponding original character information of URL parameter type " http://news.sina.com.cn/ "; Then, the parameter obtaining device 2 in the address compression device is inquired about in the compressed information storehouse according to original character information " http://news.sina.com.cn/ ", obtains the corresponding squeezing characters information " %EF " with " http://news.sina.com.cn/ "; Then parameter obtaining device 2 combines and the corresponding preset parameter title of URL parameter type " src ", generates URL parameter information " src=%EF "; Then the address compression device is based on General Parameters information that is obtained and URL parameter information; And the domain name " a.ba.com " and the routing information " ssid=0/t=wap/tc " that obtain in advance, generation link5 " http://a.ba.com/ssid=0/t=wap/tc? cp_3=repor%&src=%EF ".
Then, the first character deriving means 1 and more than 2 executable operations of parameter obtaining device that the address compression device is comprised generates link address information link6, link7 that webpage P1 to be compressed need comprise; Then, the webpage compression set generates the compression webpage P1 that comprises link address compression 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 first acquisition request device (figure does not show) and first generator (figure does not show).
The first acquisition request device obtains the first web page access solicited message from subscriber equipment, and wherein, this first web page access solicited message is used to ask said compression webpage.
First generator offers said subscriber equipment with the said compression webpage that comprises at least one link address compression information.
After subscriber equipment receives said compression webpage; When the selection that obtains the link address compression information that the user comprised in to said compression webpage/clicks behavior, send to webpage compression set belonging network equipment and to comprise the second web page access request that links address compression information.
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 (figure does not show), recognition device (figure does not show), the second character deriving means (figure does not show), the second address deriving means (figure does not show) and second generator (figure does not show).
The second acquisition request device obtains the second web page access solicited message from subscriber equipment, wherein, comprises a link address compression information in the said compression webpage in this second web page access solicited message.
For example, the second acquisition request device get from user's equipment comprise link address compression information link5 " http://m.baidu.com/ssid=0/t=wap/tc? cp_3=repor%&src=%EF " the second web page access solicited message.
Then, recognition device is according to predetermined recognition rule, by identification squeezing characters information in this link address compression information.
Wherein, said predetermined recognition rule comprises the rule that is used to discern squeezing characters information.Preferably, said predetermined recognition rule includes but not limited to following at least one rule: 1) whether basis exists the parameter information that comprises the preset parameter title to judge and whether has squeezing characters information; 2) judge whether to exist squeezing characters information based on whether existing compressing mark to accord with.
For example, recognition device judges that according to predetermined compressing mark symbol " " obtaining parameter information " cp_3=repor% " by identification among the link5 is squeezing characters information with " src=%EF ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any basis is scheduled to recognition rule; By the implementation of identification squeezing characters information in this link address compression information, all should be within the scope of the present invention.
Then, the second character deriving means obtains the original character information of the squeezing characters information of identification gained.
Wherein, The mode of original character information that the second character deriving means obtains the squeezing characters information of identification gained includes but not limited to: 1) when said squeezing characters information when the reversible predetermined processed compressed of original character information and executing is obtained; To this squeezing characters information and executing and the corresponding inverse transformation operation of said predetermined processed compressed, 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; Then the second character deriving means is inquired about in the corresponding lists of squeezing characters information and original character information; Obtaining the original character information " ref=www_colorful&p=cb351659&order=7 " of " cp_3=repor% " respectively, and the original character information of " src=%EF " " http://news.sina.com.cn/ ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention 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 discerning gained all should be within the scope of the present invention.
The second address deriving means obtains not compress link address information through with corresponding with it squeezing characters information in this link address compression information of said original character information replacement.
For example; The original character information that the second character deriving means obtains comprises " ref=www_colorful&p=cb351659&order=7 " corresponding with " cp_3=repor% " and " the http://news.sina.com.cn/ " corresponding with " src=%EF "; Then the second address deriving means adopts " ref=www_colorful&p=cb351659&order=7 " replacement squeezing characters information " cp_3=repor% "; And adopt " http://news.sina.com.cn/ " to replace the parameter value " %EF " of src, with obtain the not compression link address information link5 corresponding with link5 ' " http://m.baidu.com/ssid=0/t=wap/tc? ref=www_colorful&p=cb351659&order=7&src=http: //news.sina.com.cn/ ".
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any through replace squeezing characters information corresponding with it in this link address compression information with said original character information; Obtain not compress the implementation of link address information, all should be within the scope of the present invention.
Then, second generator obtains with this and does not compress the corresponding webpage of link address information, to offer said subscriber equipment.
For example; The second address deriving means obtain not compress 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/ "; Then second generator obtains the pairing webpage of link5 ', and this webpage is offered the second web page access requesting users equipment of transmission.
Need to prove; Above-mentioned being merely for example explained technical scheme of the present invention better; But not limitation of the present invention it should be appreciated by those skilled in the art that any obtaining with this do not compress the corresponding webpage of link address information; To offer the implementation of said subscriber equipment, all should be within the scope of the present invention.
According to scheme of the present invention, the webpage compression set compresses webpage through the address compression device, thereby has reduced the required storage space that takies of storage webpage, and has saved the required bandwidth that takies of transmission webpage; And the present invention will be through compressing link address compression information reverting in the webpage for not compressing link address information; So that subscriber equipment obtains link address compression information webpage pointed, avoided causing the situation of the content loss of compression webpage owing to squeeze operation.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned example embodiment, and under the situation that does not deviate 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 accompanying claims rather than above-mentioned explanation, therefore is intended to the implication of the equivalents that drops on claim and all changes in the scope are included in the present invention.Should any Reference numeral in the claim be regarded as limit related claim.In addition, obviously other unit or step do not got rid of in " comprising " speech, and odd number is not got rid of plural number.A plurality of unit of stating in system's claim or device also can be realized through software or hardware by a unit or device.The first, the second word such as grade is used for representing title, and does not represent any specific order.

Claims (26)

1. computer implemented method that is used to obtain to link address compression information, wherein, said link address compression information comprises at least one parameter information, all corresponding parameter type of each parameter information, wherein, this method comprises:
-carry out following steps based on each parameter type, comprise the link address compression information of said at least one parameter information with generation:
A obtains original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can directly be used to link the character information of dissection process;
B obtains the squeezing characters information of this original character information, to obtain to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
2. method according to claim 1, wherein, said step a may further comprise the steps:
-obtain and the said corresponding link address information of not compressing of address compression information that links;
-do not compress the one or more parameter informations that obtain in the link address information should parameter type by this, as said original character information.
3. method according to claim 1, wherein, said step a may further comprise the steps:
It is relevant and generate relevant information with this parameter type relevant parameters with the said address compression information that links that a1 obtains;
A2 generates relevant information according to said parameter, obtains said original character information.
4. according to each described method in the claim 1 to 3, wherein, said parameter type comprises following at least one:
-URL parameter type wherein, is used to identify and the said URL that links the address compression information corresponding original web page of the webpage of transcoding pointed to parameter information that should the URL parameter type;
-General Parameters type.
5. method according to claim 4; Wherein, when the parameter type of pre-treatment is said URL parameter type, said original character information comprise with said link address compression information pointed the URL of the corresponding original web page of the webpage of transcoding; Wherein, said step b may further comprise the steps:
-inquire about in the compressed information storehouse according to said URL;
-when in said compressed information storehouse, inquiring the full detail of said URL, by obtaining corresponding squeezing characters information in this compressed information storehouse with this URL;
-according to the squeezing characters information of being obtained, generate the URL parameter information that comprises this squeezing characters information.
6. method according to claim 5, wherein, said step b is further comprising the steps of:
-when in said compressed information storehouse, inquiring the partial information among the said URL, by obtaining in this compressed information storehouse and the corresponding squeezing characters information of this partial information;
-generation comprises the URL parameter information of all the other information among this squeezing characters information and the said URL.
7. according to each described method in the claim 4 to 6; Wherein, when the parameter type of pre-treatment is said General Parameters type, said original character information comprises one or more initial parameter information of corresponding this General Parameters type; Wherein, said step b may further comprise the steps:
-according to said one or more initial parameter information; In the compressed information storehouse, inquire about; To obtain at least one squeezing characters information; And based on the one or more parameter informations of said at least one squeezing characters information acquisition corresponding to this parameter type, wherein, corresponding at least one the initial parameter information of each squeezing characters information.
8. according to each described method in the claim 1 to 7, wherein, this method is further comprising the steps of after said step a:
-whether meet predetermined contractive condition according to the original character information of this parameter type, judge whether and need compress this original character information;
-when judgement need be compressed this original character information, carry out said step b.
9. method according to claim 8, wherein, said 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 the book character string length;
-can in the compressed information storehouse, inquire about all or part of this original character information that obtains.
10. computer implemented method that webpage is compressed of being used for; Wherein, Each link address information in all or part of link address information that need comprise said webpage in this method is carried out like each described method in the claim 1 to 9, to obtain to comprise the compression webpage of at least one link address compression information.
11. method according to claim 10, wherein, this method is further comprising the steps of:
-obtain the first web page access solicited message from subscriber equipment, wherein, this first web page access solicited message is used to ask said compression webpage;
-the said compression webpage that comprises at least one link address compression information is offered said subscriber equipment.
12. method according to claim 11, wherein, this method is further comprising the steps of:
-obtain the second web page access solicited message from subscriber equipment, wherein, comprise a link address compression information in the said compression webpage in this second web page access solicited message;
-according to predetermined recognition rule, by identification squeezing characters information in this link address compression information;
-obtain the original character information of squeezing characters information of identification gained;
-through with corresponding with it squeezing characters information in this link address compression information of said original character information replacement, obtain not compress link address information;
-obtain with this and do not compress the corresponding webpage of link address information, to offer said subscriber equipment.
13. address compression device that is used to obtain to link address compression information; Wherein, said link address compression information comprises at least one parameter information, all corresponding parameter type of each parameter information; Wherein, This address compression device was through self comprised with lower device to each parameter type executable operations, comprised the link address compression information of said at least one parameter information with generation, wherein:
The first character deriving means is used to obtain to original character information that should parameter type, and wherein, this original character information comprises corresponding this parameter type and can directly be used to link the character information of dissection process;
Parameter obtaining device is used to obtain the squeezing characters information of this original character information, to obtain to comprise this squeezing characters information and to one or more parameter informations that should parameter type.
14. address compression device according to claim 13, wherein, said character deriving means comprises:
The first address deriving means is used to obtain and the said corresponding link address information of not compressing of address compression information that links;
The first sub-character deriving means is used for not compressing link address information by this and obtains to one or more parameter informations that should parameter type, as said original character information.
15. address compression device according to claim 13, wherein, said character deriving means comprises:
Information acquisition device is used to obtain relevant and generate relevant information with this parameter type relevant parameters with the said address compression information that links;
The second sub-character deriving means is used for generating relevant information according to said parameter, obtains said original character information.
16. according to each described address compression device in the claim 13 to 15, wherein, said parameter type comprises following at least one:
-URL parameter type wherein, is used to identify and the said URL that links the address compression information corresponding original web page of the webpage of transcoding pointed to parameter information that should the URL parameter type;
-General Parameters type.
17. address compression device according to claim 16; Wherein, When the parameter type of pre-treatment is said URL parameter type; Said original character information comprises and the said URL that links the address compression information corresponding original web page of the webpage of transcoding pointed that wherein, said parameter obtaining device comprises:
Inquiry unit is used for inquiring about in this compressed information storehouse according to said URL;
Compression set is used for when inquiring the full detail of said URL in said compressed information storehouse, by obtaining the corresponding squeezing characters information with this URL in this compressed information storehouse;
The first subparameter deriving means is used for according to the squeezing characters information of being obtained, and generates the URL parameter information that comprises this squeezing characters information.
18. address compression device according to claim 17, wherein, said parameter obtaining device also comprises:
The part compression set is used for when inquiring the partial information among the said URL in said compressed information storehouse, by obtaining in this compressed information storehouse and the corresponding squeezing characters information of this partial information;
The second subparameter deriving means is used for generating the URL parameter information that comprises this squeezing characters information and said all the other information of URL.
19. according to each described address compression device in the claim 16 to 18; Wherein, When the parameter type of pre-treatment is said General Parameters type; Said original character information comprises one or more initial parameter information of corresponding this General Parameters type, and wherein, said parameter obtaining device comprises:
The 3rd subparameter deriving means; Be used for according to said one or more initial parameter information; In the compressed information storehouse, inquire about, obtaining at least one squeezing characters information, and based on the one or more parameter informations of said at least one squeezing characters information acquisition corresponding to this parameter type; Wherein, corresponding at least one initial parameter information of each squeezing characters information.
20. according to each described address compression device in the claim 13 to 19, wherein, this address compression device also comprises:
Judgment means is used for whether meeting predetermined contractive condition according to the original character information of this parameter type, judges whether and need compress this original character information;
Carry out flip flop equipment, be used for when judgement need be compressed this original character information, triggering said parameter obtaining device executable operations.
21. address compression device according to claim 20, wherein, said predetermined contractive condition comprise following each:
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 the book character string length;
-can in the compressed information storehouse, inquire about all or part of this original character information that obtains.
22. one kind is used for webpage compression set that webpage is compressed; Wherein, Comprise in this webpage compression set like each described address compression device in the claim 13 to 21; And each the link address information executable operations in all or part of link address information that need comprise said webpage through this address compression device, to obtain to comprise the compression webpage of at least one link address compression information.
23. webpage compression set according to claim 22, wherein, this webpage compression set also comprises:
The first acquisition request device is used to obtain the first web page access solicited message from subscriber equipment, and wherein, this first web page access solicited message is used to ask said compression webpage;
First generator is used for the said compression webpage that comprises at least one link address compression information is offered said subscriber equipment.
24. webpage compression set according to claim 23, wherein, this webpage compression set also comprises:
The second acquisition request device is used to obtain the second web page access solicited message from subscriber equipment, wherein, comprises a link address compression information in the said compression webpage in this second web page access solicited message;
Recognition device is used for according to predetermined recognition rule, by identification squeezing characters information in this link address compression information;
The second character deriving means is used to obtain the original character information of the squeezing characters information of identification gained;
The second address deriving means is used for obtaining not compress link address information through with the corresponding with it squeezing characters information of said this link address compression information of original character information replacement;
Second generator is used to obtain with this and does not compress the corresponding webpage of link address information, to offer said subscriber equipment.
25. a network equipment, wherein, said first network equipment comprises according to each described address compression device in the claim 13 to 21.
26. a network equipment, wherein, said second network equipment comprises according to each described webpage compression set in the claim 22 to 24.
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 true CN102306184A (en) 2012-01-04
CN102306184B 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)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024055A (en) * 2012-12-18 2013-04-03 百度在线网络技术(北京)有限公司 Webpage compression method and system used for mobile terminal and cloud server
CN104572690A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
WO2017035784A1 (en) * 2015-09-01 2017-03-09 深圳好视网络科技有限公司 Method for preventing the hotlink of url and anti-hotlink system
CN113301175A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 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

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003288288A (en) * 2002-03-27 2003-10-10 Hitachi Software Eng Co Ltd Link destination compression system
CN1484154A (en) * 1997-10-28 2004-03-24 ���������˼�빫˾ Method and system for accessing information on a network
JP2004206406A (en) * 2002-12-25 2004-07-22 Hitachi Software Eng Co Ltd Url information conversion method and program and content distribution method
US20070136279A1 (en) * 2005-11-29 2007-06-14 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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1484154A (en) * 1997-10-28 2004-03-24 ���������˼�빫˾ Method and system for accessing information on a network
JP2003288288A (en) * 2002-03-27 2003-10-10 Hitachi Software Eng Co Ltd 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
US20070136279A1 (en) * 2005-11-29 2007-06-14 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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103024055A (en) * 2012-12-18 2013-04-03 百度在线网络技术(北京)有限公司 Webpage compression method and system used for mobile terminal and cloud server
CN103024055B (en) * 2012-12-18 2016-06-15 百度在线网络技术(北京)有限公司 For the Webpage compression method of mobile terminal, system and cloud server
CN104572690A (en) * 2013-10-17 2015-04-29 腾讯科技(深圳)有限公司 Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system
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
CN113301175A (en) * 2020-07-14 2021-08-24 阿里巴巴集团控股有限公司 Service calling method, data storage method, device, equipment and storage medium
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

Also Published As

Publication number Publication date
CN102306184B (en) 2014-01-15

Similar Documents

Publication Publication Date Title
CN102298614B (en) Method for determining collection category of page collection information and device and equipment
CN1241131C (en) Method for providing resource from network server to client computer
CN102624920B (en) A kind of method of being conducted interviews by proxy server and device
CN102333122B (en) Downloaded resource provision method, device and system
CN102393857B (en) Method and system for local call based on web page
CN101546309B (en) Method and equipment for constructing indexes to resource content in computer network
CN102307219B (en) File access system, file uploading method and file downloading method
CN102306184B (en) Method, device and apparatus for obtaining compressed link address information and compressed webpage
CN104283723B (en) Network access log processing method and processing device
CN101662464A (en) System for realizing HTTP request service and method thereof
CN103812882A (en) Method and system for transferring files
CN101355590B (en) Method, system and apparatus for prompting download
CN104915398A (en) Method and device for webpage point burying
CN106980687B (en) Resource downloading system, method and crawler downloading system
CN102882988A (en) Method, device and equipment for acquiring address information of resource information
CN105512227A (en) Webpage data loading method and system
CN102510410A (en) On-line advertisement delivering method and system as well as advertisement control equipment
CN105302815A (en) Web page uniform resource locator URL filtering method and apparatus
CN101799821A (en) Method and system for realizing webpage application by widget
CN104834534A (en) Application program function extension method, device and system
CN106933817B (en) Content query method, device and system based on B/S structure
CN104283865A (en) Download processing method and device, server and client device
CN102156697A (en) Method and terminal equipment for realizing webpage application through widget
CN103248627A (en) Method, forward proxy server and system for visiting website resources
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