CN102999514B - A kind of method, device and equipment for obtaining webpage and its link prefix information - Google Patents
A kind of method, device and equipment for obtaining webpage and its link prefix information Download PDFInfo
- Publication number
- CN102999514B CN102999514B CN201110272142.XA CN201110272142A CN102999514B CN 102999514 B CN102999514 B CN 102999514B CN 201110272142 A CN201110272142 A CN 201110272142A CN 102999514 B CN102999514 B CN 102999514B
- Authority
- CN
- China
- Prior art keywords
- information
- link
- webpage
- generating means
- web page
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention provides method, device and the equipment for obtaining webpage and its link prefix information.The present invention obtains the common parameter information of part or all of web page interlinkage in webpage to be generated, and b generates the link prefix information of the correspondence webpage to be generated according to the common parameter information;What the present invention also obtained the part or all of web page interlinkage links the corresponding relative link information of prefix with this, and be added in the webpage to be generated, wherein, the relative link information is used for and the link prefix merges to generate the absolute link information of the part or all of web page interlinkage.Compared with prior art, the present invention is moved in link prefix information by the parameter information of the repetition being included in multiple links of webpage, reduces the link information amount included by webpage.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of side for obtaining webpage and its link prefix information
Method, device and equipment.
Background technology
Exist in existing network in a large number comprising many multilinked webpages, be such as used for webpage, the Jing transcodings of Search Results to be presented
(transcoder) webpage after etc..However, or control of network flow quantity weaker for disposal ability requires higher client, should
Client process burden is often increased Deng comprising numerous linked web pages, and larger flow is consumed in network transmission process.
Therefore, how to reduce the quantity of information included by the link in the grade webpage, it has also become those skilled in the art need what is solved to ask
Topic.
The content of the invention
It is an object of the invention to provide a kind of method, device and equipment for obtaining webpage and its link prefix information.
According to an aspect of the present invention, there is provided it is a kind of for obtain webpage and its link prefix information method, wherein,
The method is comprised the following steps:
A obtains the common parameter information of part or all of web page interlinkage in webpage to be generated;
B generates the link prefix information of the correspondence webpage to be generated according to the common parameter information;
Wherein, the method also includes:
What i obtained the part or all of web page interlinkage links the corresponding relative link information of prefix with this, and is added
Enter in the webpage to be generated, wherein, the relative link information is used for and the link prefix merges to generate the part
Or the absolute link information of whole web page interlinkages.
According to another aspect of the present invention, additionally provide a kind of link for generating webpage and its link prefix information
Auto-building html files device, wherein, the linked web pages generating means include:
Parameter obtaining device, for obtaining the common parameter information of part or all of web page interlinkage in webpage to be generated;
Prefix generating means, for according to the common parameter information, generation is correspondingly before the link of the webpage to be generated
Sew information;
Relative link generating means, link prefix corresponding phase with this for obtain the part or all of web page interlinkage
To link information, and it is added in the webpage to be generated, wherein, the relative link information is used for and the link prefix
Merge to generate the absolute link information of the part or all of web page interlinkage.
According to a further aspect of the invention, a kind of computer equipment is additionally provided, wherein, before the computer equipment includes
State linked web pages generating means.
Compared with prior art, the present invention has advantages below:1) method of the present invention, by being included in many of webpage
The parameter information of the repetition in individual link is moved in link prefix information, reduces webpage, particularly such as provides search terms, big
The webpage of amount resource link etc., comprising link information amount.Also, as a webpage only needs one link prefix letter of correspondence
Breath, therefore, the method according to the invention can save the information flow-rate consumed because transmitting identical parameter information;2) present invention
Can be by acquisition relevant information and the personality acquisition relevant information of getting parms respectively, before to generate link relatively independently
Sew information and relative link information, further, can automatic decision and in determining webpage to be generated with relative link information shape
The web page interlinkage that formula is represented, and the web page interlinkage to being represented with relative link message form in webpage to be generated, which is exhausted
Link information is added in webpage to be generated.
Description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, other of the invention
Feature, objects and advantages will become more apparent upon:
Method flow diagrams for generate webpage and its link prefix information of the Fig. 1 for one aspect of the invention;
Method flow diagrams for generate webpage and its link prefix information of the Fig. 2 for a preferred embodiment of the invention;
Method flows for generate webpage and its link prefix information of the Fig. 3 for another preferred embodiment of the present invention
Figure;
The method flows that provide a user with webpage and its link prefix information of the Fig. 4 for a preferred embodiment of the invention
Figure;
Fig. 5 is the linked web pages generating means for generating webpage and its link prefix information of one aspect of the invention
Structural representation;
Fig. 6 is generated for the linked web pages for generating webpage and its link prefix information of a preferred embodiment of the invention
The structural representation of device;
Linked web pages lifes for generate webpage and its link prefix information of the Fig. 7 for another preferred embodiment of the present invention
Into the structural representation of device;
The linked web pages lifes that provide a user with webpage and its link prefix information of the Fig. 8 for a preferred embodiment of the invention
Into the structural representation of device.
In accompanying drawing, same or analogous reference represents same or analogous part.
Specific embodiment
Before being described in detail to embodiments of the invention, here first illustrates the structure of web page interlinkage.
Need to include following two structures in web page interlinkage:1) agreement, for example:Http, MMS etc.;2) domain name (or claim main frame
Name), for example, www.sina.com etc..Preferably, also include following at least one structure in web page interlinkage:1) path (path);
2) parameter;3) filename.
For example, for link " http://www.baidu.com/baiduWord=%C1%B4%BD%D3%B2%
CE%CA%FD&tn=myie2&ch=3 ";Wherein, " http " presentation protocol, " www.baidu.com " represent domain name,
" baidu " represents path or filename, " word=%C1%B4%BD%D3%B2%CE%CA%FD&tn=myie2&ch
=3 " represent parameter.
Again for example, for link " http://zhidao.baidu.com/question/103209310.html”;Its
In, " http " presentation protocol, " zhidao.baidu.com " represent domain name, and " question " represents path,
" 103209310.html " represents filename.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that the other structures included by web page interlinkage, should also be included in the scope of the present invention with
It is interior, and be incorporated herein by reference.
Below in conjunction with the accompanying drawings the present invention is described in further detail.
Method flow diagrams for generate webpage and its link prefix information of the Fig. 1 for one aspect of the invention.According to this
The method of invention includes step S1, step S2 and step S3.Wherein, the method according to the invention can be by computer equipment
Linked web pages generating means realizing, for example, by such as application module, operating system, processing controls in computer equipment
Device etc. is realizing.Wherein, the computer equipment is a kind of can to carry out automatically, at high speed big according to the program being previously stored
Numerical quantity calculate and various information processings modernization intelligent electronic device, its hardware include but is not limited to microprocessor, FPGA,
DSP, embedded device etc..Wherein, the computer equipment includes but is not limited to the network equipment, and the network equipment includes but do not limit
In single network server, the server group of multiple webservers composition or based on cloud computing (Cloud Computing)
The cloud being made up of a large amount of computers or the webserver, wherein, cloud computing is one kind of Distributed Calculation, by a group loose couplings
Computer collection composition a super virtual computer.Wherein, the network residing for the network equipment is including but not limited to mutual
Networking, wide area network, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that the network equipment and network etc. are only for example, other are existing or are likely to occur from now on
Computer equipment or network are such as applicable to the present invention, within also should being included in the scope of the present invention, and wrap by reference
It is contained in this.
In step sl, linked web pages generating means obtain the public ginseng of part or all of web page interlinkage in webpage to be generated
Number information.
Wherein, linked web pages generating means are directly using all web page interlinkages in webpage to be generated as need net to be processed
Page link;Or, linked web pages generating means are using the web page interlinkage being manually specified in webpage to be generated as need net to be processed
Page link;Or, linked web pages generating means select part or all of web page interlinkage in webpage to be generated as needing to process
Web page interlinkage, the linked web pages generating means select to need the mode of web page interlinkage to be processed will be follow-up with reference to Fig. 2 or Fig. 3
Described in detail in shown embodiment, be will not be described here.
Wherein, when the part or all of web page interlinkage is believed with the actual link that can be used in directly accessing its correspondence webpage
When breath is represented, the common parameter information is contained in each actual link information of the part or all of web page interlinkage.For example,
For actual link information " http://www.baidu.com/baiduWord=%C1&tn=myie2&ch=3 " and reality
Link information " http://www.baidu.com/baiduWord=%C1&tn=myie2&ch=4 ", its common parameter believe
Breath includes " word=%C1 " and " tn=myie2 ".It should be noted that common parameter information may include the part or complete
All identical parameter informations in portion's web page interlinkage, also can only include part identical ginseng in the part or all of web page interlinkage
Number information;For example, two actual link information as above shown in example, its common parameter information also can only include " word=%
C1”。
Specifically, linked web pages generating means obtain the common parameter information corresponding with the webpage to be generated of pre-determining,
Such as common parameter information of other devices or artificial pre-determining etc.;Or, linked web pages generating means are by other means obtaining
The common parameter information is obtained, wherein, the other modes will be described in detail in the follow-up embodiment with reference to shown in Fig. 2 or Fig. 3,
It will not go into details for this.
Then, in step s 2, linked web pages generating means generate correspondence described to be generated according to the common parameter information
Into the link prefix information of webpage.
Specifically, the mode of linked web pages generating means generation link prefix information is included but is not limited to:
1) directly common parameter information is added in link prefix information.
For example, predetermined protocol " http ", predetermined domain name of the linked web pages generating means according to webpage to be generated
The common parameter information " word=%C1 " obtained in " www.baidu.com " and step S1 and " tn=myie2 ", will
At path position in common parameter information addition link structure, directly generate comprising predetermined protocol " http ", predetermined domain name
The link of the common parameter information " word=%C1 " and " tn=myie2 " that obtain in " www.baidu.com " and step S1
Prefix information " http://www.baidu.com/word=%C1/tn=myie2/ ".
2) linked web pages generating means generate link prefix information by performing following step S21 and step S22.
In the step s 21, linked web pages generating means carry out the first predetermined process to the common parameter information, obtain chain
Routing information is connect, wherein, first predetermined process enables linked web pages generating means or other devices by the link road
The common parameter information is recognized in the information of footpath.
Specifically, linked web pages generating means are carried out to common parameter information after the first predetermined process, are added into link
At path position in structure, to obtain link path information.
For example, the first predetermined process includes:Predetermined identifier " _ ", linked web pages are added before each common parameter information
Generating means obtain common parameter information " word=%C1 " and " tn=myie2 " in step sl, then linked web pages generate dress
Put, and the common parameter information for adding predetermined identifier is given birth to
Become the link path information "/_ word=%C1/_tn=myie2/ " for meeting path structure form.
Again for example, the first predetermined process includes:Predetermined identification information " tc_ is added before all common parameter information
Path ", linked web pages generating means obtain common parameter information " word=%C1 " and " tn=myie2 " in step sl,
Pre-acquired predefined paths " baidu " before step S2, then linked web pages generating means add predetermined in predefined paths " baidu " afterwards
Identification information and common parameter information, acquisition meet the link path information " baidu/tc_path/word of path structure form
=%C1/tn=myie2/ ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any carry out the first predetermined process to the common parameter information to obtain link road
The implementation of footpath information, for example, obtains link path information etc. by transcoding is carried out to common parameter information, all should include
Within the scope of the invention.
Then, in step S22, before linked web pages generating means generate the link comprising the link path information
Sew information.
Specifically, linked web pages generating means generate the link of agreement, domain name and link path information comprising pre-acquiring
Prefix information.
For example, predetermined protocol is " http ", and predetermined domain name is " www.baidu.com ", and linked web pages generating means are in step
The link path information obtained in rapid S1 is " baidu/tc_path/word=%C1/tn=myie2 ", then linked web pages are generated
Device generates the chain comprising " http ", " www.baidu.com " and " baidu/tc_path/word=%C1/tn=myie2 "
Meet prefix information " http://www.baidu.com/baidu/tc_path/word=%C1/tn=myie2/ ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any reality for generating the link prefix information comprising the link path information
Existing mode, should be included in the scope of the present invention.
1) and 2) need it is further noted that aforementioned embodiments are only that technical scheme is better described,
Rather than limitation of the present invention, it should be appreciated by those skilled in the art that it is any according to the common parameter information, generate correspondence institute
The implementation of the link prefix information of webpage to be generated is stated, be should be included in the scope of the present invention.
In step s3, what linked web pages generating means obtained the part or all of web page interlinkage links prefix pair with this
The relative link information answered, and be added in the webpage to be generated, wherein, the relative link information is used for and step S2
The link prefix of middle generation merges to generate the absolute link information of the part or all of web page interlinkage.Then it is somebody's turn to do when needs are accessed
Partly or entirely during information pointed by web page interlinkage, the part or all of webpage can be obtained based on the absolute link information
The actual link information of link, so as to access the information pointed by the part or all of web page interlinkage.
Specifically, part or all of web page interlinkage in the webpage to be generated of linked web pages generating means acquisition pre-determining
Common parameter information of relative link information, such as other devices or artificial pre-determining etc.;Or, linked web pages generating means pass through
Other modes obtaining the relative link information of part or all of web page interlinkage, wherein, the other modes will be follow-up with reference to Fig. 2
Or described in detail in the embodiment shown in Fig. 3, will not be described here.
It should be noted that computer equipment can be obtained comprising relative road by abovementioned steps S1 to S3 is performed under line
The webpage and its link prefix information of footpath information, and when web access requests are obtained, will be corresponding with the web access requests
The webpage and link prefix information of pretreatment is supplied to requestor;Or, when web access requests are obtained, computer equipment
By performing abovementioned steps S1 to S3, webpage corresponding with the web access requests is generated in real time and prefix information is linked, and
It is supplied to requestor.
The method of the present invention, moves to link prefix by the parameter information of the repetition being included in multiple links of webpage
In information, reduce webpage, the webpage of search terms, ample resources link etc. be particularly provided, comprising link information
Amount.Also, due to a webpage only need correspondence one link prefix information, therefore, the method according to the invention can save because
The information flow-rate for transmitting identical parameter information and consuming.
Method flow diagrams for generate webpage and its link prefix information of the Fig. 2 for a preferred embodiment of the invention.
The method according to the invention includes step S1, step S2 and step S3.Wherein, step S1 further includes step S111 and step
S112, step S3 further include step S311, step S312, step S313 and step S314.
In step S111, linked web pages generating means obtain the parameter acquiring phase for treating the part or all of web page interlinkage
Pass information.
Wherein, parameter acquiring relevant information includes the letter related to the parameter acquiring of the part or all of web page interlinkage
Breath.For example, when the part or all of web page interlinkage is by carrying out conversion to obtain to the original link information in other webpages,
Parameter acquiring relevant information includes the link address information of each original link information.Preferably, the parameter acquiring relevant information
Including related to the parameter acquiring of the part or all of web page interlinkage and for the part or all of web page interlinkage all same
Information.For example, parameter acquiring relevant information includes:1) relevant information of the affiliated webpage of the part or all of web page interlinkage, such as net
Page format information etc.;2) user of the affiliated webpage of the part or all of web page interlinkage or the relevant information of equipment, such as user are asked
Format information that identity information, user equipment can be supported etc..
Specifically, linked web pages generating means obtain the parameter corresponding with the part or all of web page interlinkage of pre-stored and obtain
Take relevant information;Or, linked web pages generating means obtain the parameter acquiring relevant information that other devices are provided;Or, link
Auto-building html files device is by obtaining the relevant information of the affiliated webpage of all or part of web page interlinkage and/or passing through access request net
The equipment of page, obtains parameter acquiring relevant information.
Then, in step S112, linked web pages generating means obtain the public affairs according to the parameter acquiring relevant information
Common parameter information.
Specifically, the mode of linked web pages generating means acquisition common parameter information is included but is not limited to:
1) linked web pages generating means direct access is corresponding with one or more information in parameter acquiring relevant information
Common parameter information.
For example, the parameter acquiring relevant information that linked web pages generating means are obtained in step S111 includes " webpage format:
WML ", then linked web pages generating means obtain common parameter information " type=1 " corresponding with the webpage format of WML respectively.
2) linked web pages generating means determine one or more predetermined common parameter name institutes according to parameter acquiring relevant information
Corresponding parameter value is answered, to obtain the common parameter information comprising predetermined common parameter name and its corresponding parameter value.
For example, predetermined common parameter name is included for " type " of presentation web page form and for identifying user identity letter
" userid " of breath, the parameter acquiring relevant information that linked web pages generating means are obtained in step S111 include " webpage format:
WML;ID:12345”;Then linked web pages generating means pass through to inquire about predetermined webpage format and parameter value mapping table,
Determine that the corresponding parameter value of predetermined common parameter name " type " is 1, and will be the ID included in parameter acquiring relevant information straight
Connect parameter value corresponding as predetermined common parameter name " userid ";Then linked web pages generating means obtain common parameter information
" type=1 " and " userid=12345 ".
3) linked web pages generating means determine one or more predetermined common parameter name institutes according to parameter acquiring relevant information
Corresponding parameter value is answered, and by identical information is extracted in information corresponding with predetermined personalized parameter name, to obtain comprising predetermined
The common parameter letter of common parameter name and its corresponding parameter value, predetermined personalized parameter name and its corresponding partial parameters value
Breath.
For example, predetermined common parameter name includes " type " for presentation web page form, predetermined personalized parameter information bag
Include for identifying " src " of the link address information of original web page link, linked web pages generating means are obtained in step S111
Parameter acquiring relevant information include " webpage format:WML;Original web page links the link address information of A:
blog.sina.com.cn/blog_671bc;Original web page links the link address information of B:blog.sina.com.cn/
Blog_245bc ", then linked web pages generating means are by inquiring about predetermined webpage format and parameter value mapping table, it is determined that in advance
Determine the corresponding parameter value of common parameter name " type " phase to be extracted in 1, and the link address information by original web page link A and B
Same address information " blog.sina.com.cn ";Then linked web pages generating means obtain common parameter information " type=1 " with
And " src=blog.sina.com.cn ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any according to the parameter acquiring relevant information, obtain the common parameter information
Implementation, should be included in the scope of the present invention.
Then, step S2 is described in detail with reference to the embodiment shown in FIG. 1, and is incorporated herein by reference, no
Repeat again.
In step s3, linked web pages generating means are to each net in all or part of web page interlinkage described in step S1
Page link execution step S311, step S312, step S313 and step S314.
In step S311, linked web pages generating means obtain the personality of the web page interlinkage for being presently in managing and obtain phase
Pass information.
Wherein, personality obtains relevant information includes the individual character related to the parameter acquiring of currently processed web page interlinkage
Change information.For example, when the web page interlinkage is carried out by the original web page link included to other webpages beyond webpage to be generated
When conversion is to obtain, personality obtains relevant information includes the link address information of the original web page link;Again for example, the net
The time parameter of the pointed resource information of page link;Again for example, page number parameter in page turning link etc..
Specifically, linked web pages generating means obtain the related to the corresponding personality acquisition of the web page interlinkage of pre-stored
Information;Or, linked web pages generating means obtain the personality acquisition relevant information that other devices are provided;Or, link net
Page generating means are by accessing resource information pointed by the web page interlinkage, accessing the side such as webpage belonging to original web page link
Formula, obtains personality and obtains relevant information.Preferably, linked web pages generating means are determined herein in connection with common parameter information
Personality obtains relevant information.For example, in step S112, the chain that linked web pages generating means are linked by multiple original web pages
Identical partial link address information is extracted in connecing address information as common parameter information, then linked web pages generating means are obtained
Take the part in link address information in addition to common parameter information relevant information is obtained as personality.
Then, in step S312, linked web pages generating means obtain relevant information according to the personality, and generating should
The personalizing parameters information of web page interlinkage.
Specifically, the mode of linked web pages generating means generation personalizing parameters information is included but is not limited to:
1) linked web pages generating means direct access obtains one or more information pair in relevant information with personality
The personalizing parameters information answered.
2) linked web pages generating means obtain relevant information according to personality, determine that one or more predetermined personalizeds are joined
Several answered corresponding parameter values, to obtain the letter of the personalizing parameters comprising predetermined personalized parameter name and its corresponding parameter value
Breath.
For example, predetermined personalized parameter name include for identify original web page link link address information " src ", chain
The link address information " blog.sina.com.cn " that auto-building html files device obtains original web page link in step S311 is connect, then
Linked web pages generating means are obtained directly using the link address information as the corresponding parameter value of predetermined personalized parameter name " src "
Obtain personalizing parameters information " src=blog.sina.com.cn ".
Again for example, predetermined personalized parameter name includes for identifying " src " of the link address information of original web page link,
Linked web pages generating means obtain link address information of the original web page link in addition to common parameter information in step S311
" blog_671bc ", then linked web pages generating means carry out predetermined compression process to " blog_671bc ", obtain character information
" B_#T ", and using the character information obtained by the compression as the corresponding parameter value of predetermined personalized parameter name " src ", obtain individual character
Change parameter information " src=B_#T ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any obtain relevant information according to the personality, generates the individual of the web page interlinkage
The implementation of property parameter information, should be included in the scope of the present invention.
Then, in step S313, linked web pages generating means generate to should web page interlinkage and include the personalization
The relative link information of parameter information.
For example, the personalizing parameters information " src=that linked web pages generating means are obtained in being directly based upon step S312
Blog.sina.com.cn " come generate to should web page interlinkage relative link information " ./Src=
blog.sina.com.cn”。
Again for example, linked web pages generating means are based on the personalizing parameters information " src=obtained in step S312
The filename " 51247.txt " of resource information pointed by the web page interlinkage of blog.sina.com.cn " and pre-acquiring, generates
To should web page interlinkage relative link information " ./Src=blog.sina.com.cn/51247.txt ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any generate to should web page interlinkage and the phase comprising the personalizing parameters information
Implementation to link information, should be included in the scope of the present invention.
Then, in step S314, the relative link information is added the webpage to be generated by linked web pages generating means
In.
By to each web page interlinkage execution step S311, the step in all or part of web page interlinkage described in step S1
S312, step S313 and step S314, linked web pages generating means are obtained in that the phase comprising all or part of web page interlinkage
Webpage to link information.Wherein, those skilled in the art should be able to determine in the webpage other according to practical situation and demand
The generation of information, will not be described here.
One of preferred version as the present embodiment, linked web pages generating means are to each the webpage chain in webpage to be generated
Connect execution following steps:Whether linked web pages generating means judge currently processed web page interlinkage comprising whole common parameter letters
Breath.
Specifically, linked web pages generating means are judged when the web page interlinkage is represented with actual link information, if needed
Comprising whole common parameter information.
For example, the common parameter information for obtaining in step sl includes " type=1 " and " userid=12345 ", and
Linked web pages generating means determine that currently processed link information need not include the parameter for being used to identifying subscriber identity information, i.e.,
Currently processed link information need not include common parameter information " userid=12345 ", then linked web pages generating means are sentenced
Disconnected currently processed web page interlinkage is not comprising whole common parameter information.
Again for example, the common parameter information for obtaining in step sl includes " type=1 " and " userid=12345 ",
Linked web pages generating means determine currently processed link information need comprising for identify subscriber identity information parameter and
For the parameter of presentation web page form, then linked web pages generating means judge that currently processed web page interlinkage includes all public ginsengs
Number information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that whether any judge currently processed web page interlinkage comprising whole common parameter information
Implementation, should be included in the scope of the present invention.
When the web page interlinkage is judged comprising whole common parameter information, linked web pages generating means perform abovementioned steps
S3, to obtain the webpage link information relative link information.
When judging the web page interlinkage not comprising whole common parameter information, linked web pages generating means do not perform operation;
Or, linked web pages generating means obtain the absolute link information of the web page interlinkage, and are added in webpage to be generated.Its
In, those skilled in the art should be able to determine the mode of the acquisition absolute link information according to practical situation and demand, and here is not
Give and repeating.
In the present embodiment, can be come by acquisition relevant information and the personality acquisition relevant information of getting parms respectively
Link prefix information and relative link information are generated relatively independently.Further, in the present embodiment, being capable of automatic decision really
The web page interlinkage represented with relative link message form in fixed webpage to be generated, and to can not be with relative link in webpage to be generated
The web page interlinkage that message form is represented, its absolute link information is added in webpage to be generated.
Method flows for generate webpage and its link prefix information of the Fig. 3 for another preferred embodiment of the present invention
Figure.The method according to the invention includes step S1, step S2 and step S3.Wherein, step S1 further include step S121 and
Step S122, step S3 further include step S321 and step S322.
In step S121, linked web pages generating means obtain the actual chain of all web page interlinkages in the webpage to be generated
Connect information.
Wherein, the actual link information of web page interlinkage is without the need for carrying out any process to which, i.e., can be directly based upon which
Access the link information of the webpage pointed by the web page interlinkage.
For example, when the actual link information of the web page interlinkage in webpage to be generated has determined that, linked web pages generating means
The fixed actual link information of direct access;Again for example, when the web page interlinkage in webpage to be generated actual link information still
Do not determine, and the actual link information of the web page interlinkage in predetermined webpage to be generated is by believing to the original link in other webpages
When breath carries out intended conversion process to obtain, linked web pages generating means make a reservation for the original link information in other webpages
Conversion process, to obtain the actual link information of all web page interlinkages in the webpage to be generated.
Then, in step S122, linked web pages generating means are contained in by extracting in all actual absolute link information
Parameter information in multiple actual link information, as the common parameter information.
Specifically, linked web pages generating means are matched to all actual absolute link information, to obtain multiple reality
The all or part identical parameter information that absolute link packet contains is used as common parameter information.
For example, linked web pages generating means obtain actual link information " http in step S121://
www.baidu.com/baiduWord=%C1&tn=myie2&ch=3&td=5 " and " http://www.baidu.com/
baiduWord=%C1&tn=myie2&ch=4&td=5 ";Then linked web pages generating means are by actual link information
The information of middle argument section carries out prefix matching, and acquisition is contained in the common parameter information in above-mentioned two actual link information
" word=%C1&tn=myie2 ".
Again for example, linked web pages generating means obtain actual link information in step S121 as above shown in example, link net
Page generating means extract all identical parameter informations in actual link information, obtain common parameter information " word=%C1&tn
=myie2 " and " td=5 ".
Again for example, linked web pages generating means obtain actual link information " http in step S121://
www.baidu.com/baiduWord=%C1&tn=myie2&ch=3&td=5 ", " http://www.baidu.com/
baiduWord=%C1&tn=myie2&ch=4&td=5 " and " http://www.baidu.com/baiduWord=%
PD1&tn=myie5 ";Then linked web pages generating means carry out prefix matching to the information of argument section in actual link information,
Acquisition is contained in the common parameter information " word=%C1&tn=myie2 " in the first two actual link information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any be contained in multiple actual links by extraction in all actual absolute link information
Parameter information in information, as the implementation of the common parameter information, for example, by whether judging a parameter information
Be contained in N (N is predetermined threshold) it is individual more than actual link information in judging whether as common parameter information etc.,
Should within the scope of the present invention.
Then, step S2 is described in detail with reference to the embodiment shown in FIG. 1, and is incorporated herein by reference, no
Repeat again.
In step S321, for the plurality of actual link comprising common parameter information determined by step S122
Each actual link information in information, linked web pages generating means are not included in the link in being based on the actual link information
Information in prefix information is generating relative link information.
For example, such as the 3rd embodiment described in step S122, linked web pages generating means obtain chain in step s 2
Meet prefix information " http://www.baidu.com/baidu/word=%C1/tn=myie2 ", then for comprising public ginseng
Actual link information " the http of number information://www.baidu.com/baiduWord=%C1&tn=myie2&ch=3&td
=5 ", linked web pages generating means will directly be not included in connecting the information “ &ch=3&td=5 in prefix information " it is generated as phase
To link information " ./Ch=3&td=5 ";Similar, linked web pages generating means obtain actual link information " http://
www.baidu.com/baiduWord=%C1&tn=myie2&ch=4&td=5 " relative link information " ./Ch=4&
Td=5 ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any based on be not included in the actual link information it is described link prefix information in
Information generating the implementation of relative link information, should be included in the scope of the present invention.
Then, in step S322, the relative link information is added the webpage to be generated by linked web pages generating means
In.
By to each web page interlinkage execution step S321, step S322 comprising common parameter information, linked web pages life
The webpage comprising relative link information is obtained in that into device.Wherein, those skilled in the art are will be understood that for not comprising complete
The actual link information of portion's common parameter information, directly can be added in webpage to be generated, and those skilled in the art should be able to root
The generation of other information in the webpage is determined according to practical situation and demand, be will not be described here.
The method flows that provide a user with webpage and its link prefix information of the Fig. 4 for a preferred embodiment of the invention
Figure.Step S6, S7 and S8 are included according to the method for the present embodiment.
In step s 6, linked web pages generating means obtain the web access requests information from user equipment.
Then, in the step s 7, linked web pages generating means obtain corresponding with web access requests information webpage with
And the corresponding link prefix information of the webpage, wherein, the webpage includes relative link information.
Specifically, linked web pages generating means obtain webpage and its mode of link prefix information is included but is not limited to:
1) identification information of the linked web pages generating means by the webpage that asked access is extracted in web access requests information,
And obtain pregenerated webpage corresponding with the flag information and its prefix information.Wherein, the identification information is included but is not limited to:
A) predetermined webpage ID;B) link information of webpage, the absolute link information comprising parameter information such as in path sections, or,
Path sections do not include actual link information of any parameter information etc..
2) identification information of the linked web pages generating means by the webpage that asked access is extracted in web access requests information,
And generate webpage corresponding with the identification information and its prefix information.Preferably, linked web pages generating means are accessed ask
Webpage as webpage to be generated, perform S1, S2 and S3 the step of with reference to described in aforementioned Fig. 1, Fig. 2 or embodiment illustrated in fig. 3,
To generate webpage corresponding with the identification information and its prefix information.
Wherein, linked web pages generating means determine the mode of corresponding with identification information webpage and its prefix information include but
It is not limited to:
1) when identification information is predetermined webpage ID, linked web pages generating means are predetermined with webpage according to predetermined webpage ID
Corresponding relation, it is determined that webpage corresponding with identification information and its prefix information.
2) when link information of the identification information for webpage, linked web pages generating means are before step S7 by link
Information is processed to determine actual link information that then linked web pages generating means are in the step s 7 by the actual link information institute
The webpage and its prefix information of sensing is used as webpage corresponding with identification information and its prefix information.Which will be in subsequent implementation
Described in detail in example, be will not be described here.
Then, in step s 8, linked web pages generating means send the webpage and its corresponding to the user equipment
Relative link information.
One of preferred version as the present embodiment, web access requests information include the asked absolute chain for accessing webpage
Information is connect, linked web pages generating means were also performed by identification common parameter information in the absolute link information before step S7
Step, and according to the common parameter information for being recognized and the absolute link information, acquisition can be used in obtaining described corresponding
Webpage actual link information the step of, step S7 further include to obtain corresponding with actual link information webpage and this
Webpage it is corresponding link prefix information the step of.
Linked web pages generating means are by identification common parameter information in the absolute link information.
Specifically, the mode of linked web pages generating means identification common parameter information is included but is not limited to:
1) whether linked web pages generating means are accorded with by each path unit for judging path sections in absolute link information
Predefined parameter form is closed, by identification common parameter information in absolute link information, wherein, a path unit is two paths
Information between separator, for example, information between two "/" etc.;Or, if the path sections in predetermined absolute link information
Common parameter information is included only, then each path unit included in absolute link information is directly made by linked web pages generating means
For common parameter information.
For example, predefined parameter form is " parameter name=parameter value ", and linked web pages generating means are by web access requests letter
The absolute link information obtained in breath is " http://www.baidu.com/baidu/word=%C1/tn=myie2/
Ssid=0&from=0 ";Then linked web pages generating means by the absolute link information extract a path unit " baidu ",
And according to character "=" is not included in the path unit, determine that the path unit does not meet predefined parameter form, judge which not
Common parameter information;Then, linked web pages generating means extract next path unit " word=%C1 ", and according to the path
Unit includes before and after character "=", and the character comprising character information, then to determine which meets pre- for linked web pages generating means
Determine parameter format, judge which is common parameter information;Similarly, linked web pages generating means judge " tn=myie2 " as public
Parameter information.Then linked web pages generating means by absolute link information identification obtain common parameter information " word=%C1 " with
And " tn=myie2 ".
Preferably, when path unit meets predefined parameter form, linked web pages generating means determine whether parameter name
Whether the character information of position belongs to predefined parameter name, and when character information belongs to predefined parameter name, just judges the path list
Unit is common parameter information.
For example, when linked web pages generating means judge path unit " word=%C1 " for common parameter information, enter one
Step judges whether the character information " word " of parameter name position belongs to predefined parameter name, and when " word " belongs to predefined parameter name
When, just judge that " word=%C1 " is common parameter information.
2) linked web pages generating means are based on predetermined identifier, by identification common parameter information in absolute link information.
For example, predetermined identifier is " _ ", includes the predetermined identifier, then work as chain before making a reservation for each common parameter information
When connecing auto-building html files device and path unit initial character is judged for " _ ", the path unit is identified as into common parameter information.
Again for example, predetermined identification information is " tc_path ", is located at all after predetermined identification information in predefined paths part
Information be common parameter information, then when in path sections of the linked web pages generating means in absolute link information identification made a reservation for
During identification information " tc_path ", all path units after the predetermined identification information in path sections are identified as into public ginseng
Number information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that the implementation of common parameter information, example are recognized in any information by absolute link
Such as, transcoding is first carried out to the information of path sections, then by common parameter information etc. is recognized in the information after transcoding, is should be included in
In the scope of the present invention.
Then, linked web pages generating means are obtained according to the common parameter information for being recognized and the absolute link information
Can be used in obtaining the actual link information of corresponding webpage.
For example, the absolute link information obtained by linked web pages generating means is " http://www.baidu.com/baidu/
Word=%C1/tn=myie2/Ssid=0&from=0 ", by the common parameter letter of identification gained in the absolute link information
Cease for " word=%C1 " and " tn=myie2 ", then linked web pages generating means by each common parameter information by path position
Putting and moving to parameter position, and predetermined symbol " & " is added before each common parameter information, link structure form is met with acquisition will
Actual link information " the http for asking://www.baidu.com/baiduWord=%C1&tn=myie2&ssid=0&from
=0 ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any according to the common parameter information for being recognized and the absolute link information, obtain
The implementation of the actual link information that can be used in obtaining corresponding webpage, should be included in the scope of the present invention.
Then, linked web pages generating means obtain corresponding with actual link information webpage and the webpage is corresponding links
Prefix information.Wherein, those skilled in the art should be able to determine acquisition and actual link information phase according to practical situation and demand
The mode of the webpage answered and the corresponding link prefix information of the webpage, will not be described here.
It should be noted that identifying that in linked web pages generating means fail by the absolute link information common parameter is believed
During breath, linked web pages generating means using the absolute link information as actual link information, and obtain with the actual link information
Corresponding webpage and its link prefix information.
Preferably, the present embodiment is additionally included according to the common parameter information for being recognized and the absolute link information, is obtained
The following step performed after the step of actual link information for obtaining corresponding webpage must be can be used in, before step S8
Suddenly:Linked web pages generating means judge whether the link prefix information is contained in the absolute link information.Abovementioned steps
S8 is further comprising the steps:When the link prefix information is not included in the absolute link information, linked web pages
Generating means send the webpage and its corresponding link prefix information to the user equipment.Then when user equipment receives described
After webpage and link prefix information, webpage can be presented to user, and by the link prefix information of browser current default
The link prefix information of linked web pages generating means transmission is changed to, with when the relative link information in user's webpage clicking,
The relative link information clicked on user by the link prefix information changed can be merged generation absolute link letter by browser
Breath, and send the absolute link information.
For example, linked web pages generating means will be linked during prefix information adds webpage, and using base labels identifying this
Link prefix information, and the webpage for containing link prefix information is sent to into user equipment.Then when user equipment analyzing web page
When, the connection prefix information of acquiescence can be changed according to base labels.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any when the link prefix information is not included in the absolute link information,
Linked web pages generating means send the implementation of the webpage and its corresponding link prefix information to the user equipment,
Should within the scope of the present invention.
It is highly preferred that the present embodiment also include when link prefix information include being contained in it is exhausted in web access requests information
During in link information, linked web pages generating means to the user equipment send the webpage the step of.
Fig. 5 is the linked web pages generating means for generating webpage and its link prefix information of one aspect of the invention
Structural representation.Linked web pages generating means of the invention include parameter obtaining device 1, prefix generating means 2 and phase
To linking generating means 3.
Parameter obtaining device 1 obtains the common parameter information of part or all of web page interlinkage in webpage to be generated.
Wherein, parameter obtaining device 1 is directly using all web page interlinkages in webpage to be generated as need webpage to be processed
Link;Or, parameter obtaining device 1 is using the web page interlinkage being manually specified in webpage to be generated as need webpage chain to be processed
Connect;Or, parameter obtaining device 1 selects part or all of web page interlinkage in webpage to be generated as needing webpage chain to be processed
Connect, the parameter obtaining device 1 selects the mode for needing web page interlinkage to be processed by the follow-up enforcement with reference to shown in Fig. 6 or Fig. 7
Described in detail in example, be will not be described here.
Wherein, when the part or all of web page interlinkage is believed with the actual link that can be used in directly accessing its correspondence webpage
When breath is represented, the common parameter information is contained in each actual link information of the part or all of web page interlinkage.For example,
For actual link information " http://www.baidu.com/baiduWord=%C1&tn=myie2&ch=3 " and reality
Link information " http://www.baidu.com/baiduWord=%C1&tn=myie2&ch=4 ", its common parameter believe
Breath includes " word=%C1 " and " tn=myie2 ".It should be noted that common parameter information may include the part or complete
All identical parameter informations in portion's web page interlinkage, also can only include part identical ginseng in the part or all of web page interlinkage
Number information;For example, two actual link information as above shown in example, its common parameter information also can only include " word=%
C1”。
Specifically, parameter obtaining device 1 obtains the common parameter information corresponding with the webpage to be generated of pre-determining, such as its
Common parameter information of his device or artificial pre-determining etc.;Or, parameter obtaining device 1 is public to obtain this by other means
Parameter information, wherein, the other modes will be described in detail in the follow-up embodiment with reference to shown in Fig. 6 or Fig. 7, and here is not superfluous
State.
Then, according to the common parameter information, generation is correspondingly before the link of the webpage to be generated for prefix generating means 2
Sew information.
Specifically, the mode of the generation of prefix generating means 2 link prefix information is included but is not limited to:
1) directly common parameter information is added in link prefix information.
For example, predetermined protocol " http ", predetermined domain name of the prefix generating means 2 according to webpage to be generated
Common parameter information " word=%C1 " and " tn=that " www.baidu.com " and parameter obtaining device 1 are obtained
Myie2 ", by common parameter information add link structure in path position at, directly generate comprising predetermined protocol " http ",
Common parameter information " word=%C1 " and " tn=that predetermined domain name " www.baidu.com " and parameter obtaining device 1 are obtained
Link prefix information " the http of myie2 "://www.baidu.com/word=%C1/tn=myie2/ ".
2) linked web pages generating means are included by which parameter processing apparatus (not shown) and sub- prefix generating means
(not shown), generates link prefix information.
Parameter processing apparatus carry out the first predetermined process to the common parameter information, obtain link path information, wherein,
First predetermined process enables linked web pages generating means or other devices described by recognizing in the link path information
Common parameter information.
Specifically, parameter processing apparatus are carried out to common parameter information after the first predetermined process, are added into link structure
In path position at, to obtain link path information.
For example, the first predetermined process includes:Predetermined identifier " _ ", parameter acquiring are added before each common parameter information
Device 1 obtains common parameter information " word=%C1 " and " tn=myie2 ", then parameter processing apparatus are believed in each common parameter
Predetermined identifier " _ " is added before breath, and the common parameter information for adding predetermined identifier is generated as meeting path structure lattice
The link path information "/_ word=%C1/_tn=myie2/ " of formula.
Again for example, the first predetermined process includes:Predetermined identification information " tc_ is added before all common parameter information
Path ", parameter obtaining device 1 obtain common parameter information " word=%C1 " and " tn=myie2 ", and parameter processing apparatus are pre-
Predefined paths " baidu " are obtained, then parameter processing apparatus add predetermined identification information and public ginseng afterwards in predefined paths " baidu "
Number information, acquisition meet the link path information " baidu/tc_path/word=%C1/tn=of path structure form
myie2/”。
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any carry out the first predetermined process to the common parameter information to obtain link road
The implementation of footpath information, for example, obtains link path information etc. by transcoding is carried out to common parameter information, all should include
Within the scope of the invention.
Then, sub- prefix process device generates the link prefix information comprising the link path information.
Specifically, before sub- prefix process device generates the link of agreement, domain name and link path information comprising pre-acquiring
Sew information.
For example, predetermined protocol be " http ", predetermined domain name be " www.baidu.com ", parameter obtaining device 1 obtain chain
It is " baidu/tc_path/word=%C1/tn=myie2 " to connect routing information, then sub- prefix process device is generated and included
The link prefix information of " http ", " www.baidu.com " and " baidu/tc_path/word=%C1/tn=myie2 "
“http://www.baidu.com/baidu/tc_path/word=%C1/tn=myie2/ ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any reality for generating the link prefix information comprising the link path information
Existing mode, should be included in the scope of the present invention.
1) and 2) need it is further noted that aforementioned embodiments are only that technical scheme is better described,
Rather than limitation of the present invention, it should be appreciated by those skilled in the art that it is any according to the common parameter information, generate correspondence institute
The implementation of the link prefix information of webpage to be generated is stated, be should be included in the scope of the present invention.
What relative link generating means 3 obtained the part or all of web page interlinkage links the corresponding relative chain of prefix with this
Information is connect, and is added in the webpage to be generated, wherein, the relative link information is used for and prefix generating means 2 are given birth to
Into link prefix merge to generate the absolute link information of the part or all of web page interlinkage.Then when need access the part
Or during information pointed by whole web page interlinkages, the part or all of web page interlinkage can be obtained based on the absolute link information
Actual link information, so as to access the information pointed by the part or all of web page interlinkage.
Specifically, partly or entirely web page interlinkage in the webpage to be generated of the acquisition of relative link generating means 3 pre-determining
Relative link information, such as common parameter information of other devices or artificial pre-determining etc.;Or, relative link generating means 3
By other means obtaining the relative link information of part or all of web page interlinkage, wherein, the other modes subsequently will joined
According to being described in detail in the embodiment shown in Fig. 6 or Fig. 7, will not be described here.
It should be noted that linked web pages generating means can be obtained and believe comprising relative path by performing operation under line
The webpage and its link prefix information of breath, and when web access requests are obtained, will pre- place corresponding with the web access requests
The webpage and link prefix information of reason is supplied to requestor;Or, when web access requests are obtained, linked web pages generate dress
Put, and be supplied to requestor.
By the method for the present invention, link is moved to by the parameter information of the repetition being included in multiple links of webpage
In prefix information, reduce webpage, the webpage of search terms, ample resources link etc. be particularly provided, comprising link
Quantity of information.Also, as a webpage only needs one link prefix information of correspondence, therefore, the method according to the invention can be saved
Save the information flow-rate consumed because transmitting identical parameter information.
Fig. 6 is generated for the linked web pages for generating webpage and its link prefix information of a preferred embodiment of the invention
The structural representation of device.Include being contained in parameter obtaining device 1 according to the linked web pages generating means of the present embodiment
One acquisition device 111 and subparameter acquisition device 112, prefix generating means 2, it is contained in relative link generating means 3
Second acquisition device 311, personality generating means 312, the first sublink generating means 313 and the first adding set 314.
First acquisition device 111 obtains the parameter acquiring relevant information for treating the part or all of web page interlinkage.
Wherein, parameter acquiring relevant information includes the letter related to the parameter acquiring of the part or all of web page interlinkage
Breath.For example, when the part or all of web page interlinkage is by carrying out conversion to obtain to the original link information in other webpages,
Parameter acquiring relevant information includes the link address information of each original link information.Preferably, the parameter acquiring relevant information
Including related to the parameter acquiring of the part or all of web page interlinkage and for the part or all of web page interlinkage all same
Information.For example, parameter acquiring relevant information includes:1) relevant information of the affiliated webpage of the part or all of web page interlinkage, such as net
Page format information etc.;2) user of the affiliated webpage of the part or all of web page interlinkage or the relevant information of equipment, such as user are asked
Format information that identity information, user equipment can be supported etc..
Specifically, the first acquisition device 111 obtains the parameter corresponding with the part or all of web page interlinkage of pre-stored and obtains
Take relevant information;Or, the first acquisition device 111 obtains the parameter acquiring relevant information that other devices are provided;Or, first obtains
Device 111 is taken by obtaining the relevant information of the affiliated webpage of all or part of web page interlinkage and/or by access request webpage
Equipment, obtain parameter acquiring relevant information.
Then, subparameter acquisition device 112 obtains the common parameter information according to the parameter acquiring relevant information.
Specifically, the mode of the acquisition of subparameter acquisition device 112 common parameter information is included but is not limited to:
1) 112 direct access of subparameter acquisition device is corresponding with one or more information in parameter acquiring relevant information
Common parameter information.
For example, the parameter acquiring relevant information that the first acquisition device 111 is obtained includes " webpage format:WML ", then subparameter
Acquisition device 112 obtains common parameter information " type=1 " corresponding with the webpage format of WML respectively.
2) subparameter acquisition device 112 determines one or more predetermined common parameter names according to parameter acquiring relevant information
Answered corresponding parameter value, to obtain the common parameter information comprising predetermined common parameter name and its corresponding parameter value.
For example, predetermined common parameter name is included for " type " of presentation web page form and for identifying user identity letter
" userid " of breath, the parameter acquiring relevant information that the first acquisition device 111 is obtained include " webpage format:WML;ID:
12345”;Then subparameter acquisition device 112 passes through to inquire about predetermined webpage format and parameter value mapping table, it is determined that predetermined public affairs
The corresponding parameter value of parameter name " type " is 1 altogether, and by the ID included in parameter acquiring relevant information directly as predetermined
The corresponding parameter value of common parameter name " userid ";Then subparameter acquisition device 112 obtain common parameter information " type=1 " with
And " userid=12345 ".
3) subparameter acquisition device 112 determines one or more predetermined common parameter names according to parameter acquiring relevant information
Answered corresponding parameter value, and by identical information is extracted in information corresponding with predetermined personalized parameter name, to obtain comprising pre-
Determine the common parameter letter of common parameter name and its corresponding parameter value, predetermined personalized parameter name and its corresponding partial parameters value
Breath.
For example, predetermined common parameter name includes " type " for presentation web page form, predetermined personalized parameter information bag
Include for identifying " src " of the link address information of original web page link, the parameter acquiring that the first acquisition device 111 is obtained is related
Information includes " webpage format:WML;Original web page links the link address information of A:blog.sina.com.cn/blog_
671bc;Original web page links the link address information of B:Blog.sina.com.cn/blog_245bc ", then subparameter acquisition are filled
112 are put by inquiring about predetermined webpage format and parameter value mapping table, determines that predetermined common parameter name " type " is corresponding
Parameter value is 1, and extracts identical address information during the link address information of A and B is linked by original web page
“blog.sina.com.cn”;Then subparameter acquisition device 112 obtains common parameter information " type=1 " and " src=
blog.sina.com.cn”。
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any according to the parameter acquiring relevant information, obtain the common parameter information
Implementation, should be included in the scope of the present invention.
Then, the operation performed by prefix generating means 2 is described in detail with reference to the embodiment shown in FIG. 5, and to draw
Mode is incorporated herein, and repeats no more.
The second acquisition device 311 that relative link generating means 3 are included by which, personality generating means 312, first
Sublink generating means 313 and the first adding set 314, to related to the parameter acquiring obtained by the first acquisition device 111
Each web page interlinkage in the related described all or part of web page interlinkage of information performs following operation:
Second acquisition device 311 obtains the personality of the web page interlinkage for being presently in managing and obtains relevant information.
Wherein, personality obtains relevant information includes the individual character related to the parameter acquiring of currently processed web page interlinkage
Change information.For example, when the web page interlinkage is carried out by the original web page link included to other webpages beyond webpage to be generated
When conversion is to obtain, personality obtains relevant information includes the link address information of the original web page link;Again for example, the net
The time parameter of the pointed resource information of page link;Again for example, page number parameter in page turning link etc..
Specifically, the second acquisition device 311 obtains the related to the corresponding personality acquisition of the web page interlinkage of pre-stored
Information;Or, the second acquisition device 311 obtains the personality acquisition relevant information that other devices are provided;Or, second obtains
Device 311 by accessing resource information pointed by the web page interlinkage, accessing the mode such as webpage belonging to original web page link,
Obtain personality and obtain relevant information.Preferably, the second acquisition device 311 determines individual character herein in connection with common parameter information
Parameter acquiring relevant information.For example, extract in the link address information that subparameter acquisition device 112 is linked by multiple original web pages
Identical partial link address information is obtained in link address information as common parameter information, then the second acquisition device 311
Part in addition to common parameter information obtains relevant information as personality.
Then, personality generating means 312 obtain relevant information according to the personality, generate the web page interlinkage
Personalizing parameters information.
Specifically, the mode of the generation of personality generating means 312 personalizing parameters information is included but is not limited to:
1) 312 direct access of personality generating means obtains one or more information in relevant information with personality
Corresponding personalizing parameters information.
2) personality generating means 312 obtain relevant information according to personality, determine one or more predetermined individual characteies
Change the answered corresponding parameter value of parameter name, to obtain the personalized ginseng comprising predetermined personalized parameter name and its corresponding parameter value
Number information.
For example, predetermined personalized parameter name includes for identifying " src " of the link address information of original web page link, the
Two acquisition device 311 obtains the link address information " blog.sina.com.cn " of original web page link, then personality is generated
Device 312 obtains personalized ginseng directly using the link address information as the corresponding parameter value of predetermined personalized parameter name " src "
Number information " src=blog.sina.com.cn ".
Again for example, predetermined personalized parameter name includes for identifying " src " of the link address information of original web page link,
Second acquisition device 311 obtains link address information " blog_671bc " of the original web page link in addition to common parameter information,
Then personality generating means 312 carry out predetermined compression process to " blog_671bc ", obtain character information " B_#T ", and should
The character information of compression gained obtains personalizing parameters information as the corresponding parameter value of predetermined personalized parameter name " src "
" src=B_#T ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any obtain relevant information according to the personality, generates the individual of the web page interlinkage
The implementation of property parameter information, should be included in the scope of the present invention.
Then, the first sublink generating means 313 are generated to should web page interlinkage and comprising the personalizing parameters information
Relative link information.
For example, the first sublink generating means 313 are directly based upon the personalizing parameters of the acquisition of personality generating means 312
Information " src=blog.sina.com.cn " come generate to should web page interlinkage relative link information " ./Src=
blog.sina.com.cn”。
Again for example, the personalizing parameters that the first sublink generating means 313 are obtained based on personalizing parameters generating means 312
The filename of resource information pointed by the web page interlinkage of information " src=blog.sina.com.cn " and pre-acquiring
" 51247.txt ", generate to should web page interlinkage relative link information " ./Src=blog.sina.com.cn/
51247.txt”。
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any generate to should web page interlinkage and the phase comprising the personalizing parameters information
Implementation to link information, should be included in the scope of the present invention.
Then, the first adding set 314 adds the relative link information in the webpage to be generated.
By to the described all or part of net related to the parameter acquiring relevant information obtained by the first acquisition device 111
Each web page interlinkage in page link performs aforesaid operations, and linked web pages generating means are obtained in that comprising all or part of net
The webpage of the relative link information of page link.Wherein, those skilled in the art should be able to determine this according to practical situation and demand
In webpage, the generation of other information, will not be described here.
One of preferred version as the present embodiment, the first judgment means that linked web pages generating means are also included by which
(not shown) and the first triggering device (not shown) to perform following operation to each web page interlinkage in webpage to be generated:
Whether the first judgment means judge currently processed web page interlinkage comprising whole common parameter information.
Specifically, the first judgment means are judged when the web page interlinkage is represented with actual link information, if needs are included
Whole common parameter information.
For example, the common parameter information that parameter obtaining device 1 is obtained includes " type=1 " and " userid=12345 ",
And first judgment means determine that currently processed link information need not be included for identifying the parameter of subscriber identity information, i.e., when
The link information of pre-treatment need not include common parameter information " userid=12345 ", then the first judgment means judge current
The web page interlinkage of process is not comprising whole common parameter information.
Again for example, the common parameter information that parameter obtaining device 1 is obtained includes " type=1 " and " userid=
12345 ", the first judgment means determine currently processed link information need comprising for identify the parameter of subscriber identity information with
And for the parameter of presentation web page form, then the first judgment means judge that currently processed web page interlinkage includes whole common parameters
Information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that whether any judge currently processed web page interlinkage comprising whole common parameter information
Implementation, should be included in the scope of the present invention.
When the web page interlinkage is judged comprising whole common parameter information, the first triggering device triggering relative link generates dress
3 execution corresponding operatings are put, to obtain the webpage link information relative link information.
When judging the web page interlinkage not comprising whole common parameter information, linked web pages generating means do not perform operation;
Or, linked web pages generating means obtain the absolute of the web page interlinkage by its absolute link acquisition device (not shown) for including
Link information, and be added in webpage to be generated.Wherein, those skilled in the art should be able to be according to practical situation and demand come really
The mode of the fixed acquisition absolute link information, will not be described here.
In the present embodiment, can be come by acquisition relevant information and the personality acquisition relevant information of getting parms respectively
Link prefix information and relative link information are generated relatively independently.Further, in the present embodiment, being capable of automatic decision really
The web page interlinkage represented with relative link message form in fixed webpage to be generated, and to can not be with relative link in webpage to be generated
The web page interlinkage that message form is represented, its absolute link information is added in webpage to be generated.
Linked web pages lifes for generate webpage and its link prefix information of the Fig. 7 for another preferred embodiment of the present invention
Into the structural representation of device.Include being contained in parameter obtaining device 1 according to the linked web pages generating means of the present embodiment
First actual link acquisition device 121 and extraction element 122, prefix generating means 2, it is contained in relative link generating means 3
In the second sublink generating means 321 and the second adding set 322.
First actual link acquisition device 121 obtains the actual link letter of all web page interlinkages in the webpage to be generated
Breath.
Wherein, the actual link information of web page interlinkage is without the need for carrying out any process to which, i.e., can be directly based upon which
Access the link information of the webpage pointed by the web page interlinkage.
For example, when the actual link information of the web page interlinkage in webpage to be generated has determined that, the first actual link is obtained
The fixed actual link information of 121 direct access of device;Again for example, when the actual link of the web page interlinkage in webpage to be generated
Information not yet determines, and makes a reservation for the actual link information of the web page interlinkage in webpage to be generated by original in other webpages
When link information carries out intended conversion process to obtain, the first actual link acquisition device 121 is to the raw chains in other webpages
The information of connecing carries out intended conversion process, to obtain the actual link information of all web page interlinkages in the webpage to be generated.
Then, extraction element 122 is contained in multiple actual link information by extracting in all actual absolute link information
Parameter information, as the common parameter information.
Specifically, all actual absolute link information of extraction element 122 pairs are matched, to obtain the absolute chain of multiple reality
All or part identical parameter information that packet contains is connect as common parameter information.
For example, the first actual link acquisition device 121 obtains actual link information " http://www.baidu.com/
baiduWord=%C1&tn=myie2&ch=3&td=5 " and " http://www.baidu.com/baiduWord=%
C1&tn=myie2&ch=4&td=5 ";Then extraction element 122 is carried out by the information to argument section in actual link information
Prefix matching, acquisition are contained in the common parameter information " word=%C1&tn=in above-mentioned two actual link information
myie2”。
Again for example, the first actual link acquisition device 121 obtains actual link information as above shown in example, extraction element 122
Extract actual link information in all identical parameter informations, obtain common parameter information " word=%C1&tn=myie2 " and
" td=5 ".
Again for example, the first actual link acquisition device 121 obtains actual link information " http://www.baidu.com/
baiduWord=%C1&tn=myie2&ch=3&td=5 ", " http://www.baidu.com/baiduWord=%
C1&tn=myie2&ch=4&td=5 " and " http://www.baidu.com/baiduWord=%PD1&tn=
myie5”;Then extraction element 122 carries out prefix matching to the information of argument section in actual link information, and acquisition is contained in front two
Common parameter information " word=%C1&tn=myie2 " in individual actual link information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that any be contained in multiple actual links by extraction in all actual absolute link information
Parameter information in information, as the implementation of the common parameter information, for example, by judging that a parameter information is
It is no be contained in N (N is predetermined threshold) it is individual more than actual link information in judging whether as common parameter information etc.,
Should be included in the scope of the present invention.
Then, the operation performed by prefix generating means 2 is described in detail with reference to the embodiment shown in FIG. 5, and to draw
Mode is incorporated herein, and repeats no more.
For each the actual link information in the multiple actual link information comprising common parameter information, the second sublink
Generating means 321 generate relative link based on the information being not included in the actual link information in the link prefix information
Information.
For example, such as the 3rd embodiment described in the explanation to extraction element 122, prefix generating means 2 are linked
Prefix information " http://www.baidu.com/baidu/word=%C1/tn=myie2 ", then for comprising common parameter
Actual link information " the http of information://www.baidu.com/baiduWord=%C1&tn=myie2&ch=3&td=
5 ", linked web pages generating means will directly be not included in connecting the information “ &ch=3&td=5 in prefix information " it is generated as relatively
Link information " ./Ch=3&td=5 ";Similar, linked web pages generating means obtain actual link information " http://
www.baidu.com/baiduWord=%C1&tn=myie2&ch=4&td=5 " relative link information " ./Ch=4&
Td=5 ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any based on be not included in the actual link information it is described link prefix information in
Information generating the implementation of relative link information, should be included in the scope of the present invention.
Then, the second adding set 322 adds the relative link information in the webpage to be generated.
By performing operation to each web page interlinkage comprising common parameter information, linked web pages generating means are obtained in that
Webpage comprising relative link information.Wherein, those skilled in the art are will be understood that for not comprising whole common parameter information
Actual link information, directly can be added in webpage to be generated, those skilled in the art should be able to be according to practical situation and need
The generation for asking to determine other information in the webpage, will not be described here.
By to the described all or part of net related to the parameter acquiring relevant information obtained by the first acquisition device 111
Each web page interlinkage in page link performs aforesaid operations, and relative link generating means 3 are obtained in that comprising all or part
The webpage of the relative link information of web page interlinkage.Wherein, those skilled in the art should be able to be determined according to practical situation and demand
In the webpage, the generation of other information, will not be described here.
The linked web pages lifes that provide a user with webpage and its link prefix information of the Fig. 8 for a preferred embodiment of the invention
Into the structural representation of device.Include that acquisition request device the 6, the 3rd obtains dress according to the linked web pages generating means of the present embodiment
Put 7 and first dispensing device 8.
Acquisition request device 6 obtains the web access requests information from user equipment.
Then, webpage corresponding with the web access requests information is obtained in the 3rd acquisition device 7 and the webpage is corresponding
Link prefix information, wherein, the webpage include relative link information.
Specifically, the 3rd acquisition device 7 obtains webpage and its mode of link prefix information is included but is not limited to:
1) identification information of the 3rd acquisition device 7 by the webpage that asked access is extracted in web access requests information, and
Obtain pregenerated webpage corresponding with the flag information and its prefix information.Wherein, the identification information is included but is not limited to:a)
Predetermined webpage ID;B) link information of webpage, the absolute link information comprising parameter information such as in path sections, or, road
Path portion does not include actual link information of any parameter information etc..
2) identification information of the 3rd acquisition device 7 by the webpage that asked access is extracted in web access requests information, and
Generate webpage corresponding with the identification information and its prefix information.Preferably, linked web pages generating means include the second triggering dress
(not shown) is put, the webpage of asked access as webpage to be generated, is triggered aforementioned Fig. 1, Fig. 2 or embodiment illustrated in fig. 3 by which
Described in parameter obtaining device 1, prefix generating means 2 and relative link generating means 3 perform operation, believed with the mark with generating
Cease corresponding webpage and its prefix information.
Wherein, the 3rd acquisition device 7 determines that the mode of corresponding with identification information webpage and its prefix information is included but not
It is limited to:
1) when identification information is predetermined webpage ID, the 3rd acquisition device 7 is predetermined right with webpage according to predetermined webpage ID
Should be related to, it is determined that webpage corresponding with identification information and its prefix information.
2) when link information of the identification information for webpage, the 3rd acquisition device 7 obtains linked web pages generating means and passes through
The actual link information for carrying out pretreatment to determine to link information, then the 3rd acquisition device 7 is by the actual link information indication
To webpage and its prefix information as webpage corresponding with identification information and its prefix information.Which will be in subsequent embodiment
In described in detail, will not be described here.
Then, the first dispensing device 8 sends the webpage and its corresponding relative link information to the user equipment.
One of preferred version as the present embodiment, web access requests information include the asked absolute chain for accessing webpage
Connect information, linked web pages generating means perform before being additionally included in the 3rd acquisition device 7 the identifying device (not shown) of operation and
Second actual link acquisition device (not shown), aforementioned 3rd acquisition device 7 further include sub- acquisition device (not shown).
Identifying device is by identification common parameter information in the absolute link information.
Specifically, the mode of identifying device identification common parameter information is included but is not limited to:
1) whether identifying device meets predetermined ginseng by each path unit for judging path sections in absolute link information
Number format, by common parameter information is recognized in absolute link information, wherein, i.e. two path separators of path unit it
Between information, for example, information between two "/" etc.;Or, if the path sections in predetermined absolute link information are only comprising public affairs
Common parameter information, then identifying device is directly using each path unit included in absolute link information as common parameter information.
For example, predefined parameter form is " parameter name=parameter value ", and linked web pages generating means are by web access requests letter
The absolute link information obtained in breath is " http://www.baidu.com/baidu/word=%C1/tn=myie2/
Ssid=0&from=0 ";Then identifying device is by a path unit " baidu " is extracted in the absolute link information, and according to this
Character "=" is not included in path unit, is determined that the path unit does not meet predefined parameter form, is judged its not common parameter
Information;Then, identifying device extracts next path unit " word=%C1 ", and includes character according to the path unit
Character information is included before and after "=", and the character, then identifying device determines which meets predefined parameter form, judge which is public
Common parameter information;Similarly, identifying device judges that " tn=myie2 " is common parameter information.Then identifying device is by absolute link
Identification in information obtains common parameter information " word=%C1 " and " tn=myie2 ".
Preferably, when path unit meets predefined parameter form, identifying device determines whether the word of parameter name position
Whether symbol information belongs to predefined parameter name, and when character information belongs to predefined parameter name, just judges the path unit for public
Parameter information.
For example, when identifying device judges path unit " word=%C1 " for common parameter information, determine whether ginseng
Whether the character information " word " of several positions belongs to predefined parameter name, and when " word " belongs to predefined parameter name, just judges
" word=%C1 " is common parameter information.
2) identifying device is based on predetermined identifier, by identification common parameter information in absolute link information.
For example, predetermined identifier is " _ ", includes the predetermined identifier, then work as knowledge before making a reservation for each common parameter information
When other device judges path unit initial character for " _ ", the path unit is identified as into common parameter information.
Again for example, predetermined identification information is " tc_path ", is located at all after predetermined identification information in predefined paths part
Information be common parameter information, then when in path sections of the identifying device in absolute link information identification obtain predetermined identification information
When " tc_path ", all path units after the predetermined identification information in path sections are identified as into common parameter information.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that the implementation of common parameter information, example are recognized in any information by absolute link
Such as, transcoding is first carried out to the information of path sections, then by common parameter information etc. is recognized in the information after transcoding, is should be included in
In the scope of the present invention.
Then, the second actual link acquisition device is according to the common parameter information for being recognized and the absolute link information,
Acquisition can be used in obtaining the actual link information of corresponding webpage.
For example, the absolute link information obtained by linked web pages generating means is " http://www.baidu.com/baidu/
Word=%C1/tn=myie2/Ssid=0&from=0 ", the common parameter information of identifying device identification gained is " word
=%C1 " and " tn=myie2 ", then the second actual link acquisition device each common parameter information is moved to by path position
Parameter position, and predetermined symbol " & " is added before each common parameter information, to obtain the reality for meeting link structure call format
Border link information " http://www.baidu.com/baiduWord=%C1&tn=myie2&ssid=0&from=0 ".
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any according to the common parameter information for being recognized and the absolute link information, obtain
The implementation of the actual link information that can be used in obtaining corresponding webpage, should be included in the scope of the present invention.
Then, sub- acquisition device obtains webpage corresponding with actual link information and the corresponding prefix that links of the webpage is believed
Breath.Wherein, those skilled in the art should be able to determine acquisition net corresponding with actual link information according to practical situation and demand
The mode of page and the corresponding link prefix information of the webpage, will not be described here.
It should be noted that when identifying common parameter information in identifying device fails by the absolute link information, chain
Auto-building html files device is connect using the absolute link information as actual link information, and obtains net corresponding with the actual link information
Page and its link prefix information.
Preferably, after in the present embodiment, linked web pages generating means are additionally included in the second actual link acquisition device,
The second judgment means (not shown) of operation is performed before one dispensing device 8, the first dispensing device 8 further includes sub- transmission dress
Put (not shown).
Second judgment means judge whether the link prefix information is contained in the absolute link information.
When the second judgment means judge that the link prefix information is not included in the absolute link information, sub- transmission
Device sends the webpage and its corresponding link prefix information to the user equipment.Then when user equipment receives the webpage
And after link prefix information, webpage can be presented to user, and the link prefix information of browser current default is changed
For the link prefix information that linked web pages generating means send, when the relative link information in user's webpage clicking, to browse
The relative link information clicked on user by the link prefix information changed can be merged generation absolute link information by device, and
Send the absolute link information.
For example, linked web pages generating means will be linked during prefix information adds webpage, and using base labels identifying this
The webpage for containing link prefix information is sent to user equipment by link prefix information, sub- dispensing device.Then work as user equipment
During analyzing web page, the connection prefix information of acquiescence can be changed according to base labels.
It should be noted that the example above is only that technical scheme is better described, rather than the limit to the present invention
System, it should be appreciated by those skilled in the art that it is any when the link prefix information is not included in the absolute link information,
Linked web pages generating means send the implementation of the webpage and its corresponding link prefix information to the user equipment,
Should within the scope of the present invention.
It is highly preferred that linked web pages generating means also include the second dispensing device (not shown).When link prefix information bag
When including in the absolute link information being contained in web access requests information, the second dispensing device sends institute to the user equipment
State webpage.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie
In the case of spirit or essential attributes without departing substantially from the present invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, embodiment all should be regarded as exemplary, and be nonrestrictive, the scope of the present invention is by appended power
Profit is required rather than described above is limited, it is intended that all in the implication and scope of the equivalency of claim by falling
Change is included in the present invention.Any reference in claim should not be considered as and limit involved claim.This
Outward, it is clear that " including ", a word was not excluded for other units or step, and odd number is not excluded for plural number.That what is stated in system claims is multiple
Unit or device can also be realized by software or hardware by a unit or device.The first, the second grade word is used for table
Show title, and be not offered as any specific order.
Claims (27)
1. it is a kind of it is computer implemented for obtain webpage and its link prefix information method, wherein, the method includes following
Step:
A obtains the common parameter information of part or all of web page interlinkage in webpage to be generated;
B generates the link prefix information of the correspondence webpage to be generated according to the common parameter information;
Wherein, the method also includes:
What i obtained the part or all of web page interlinkage links the corresponding relative link information of prefix with this, and is added into institute
State in webpage to be generated, wherein, the relative link information is used for and the link prefix merges to generate the part or complete
The absolute link information of portion's web page interlinkage.
2. method according to claim 1, wherein, step b is comprised the following steps:
- the first predetermined process is carried out to the common parameter information, link path information is obtained, wherein, first predetermined process
Make it possible to by the common parameter information is recognized in the link path information;
- generate the link prefix information comprising the link path information.
3. method according to claim 1 and 2, wherein, step a is comprised the following steps:
A1 obtains the parameter acquiring relevant information for treating the part or all of web page interlinkage;
A2 obtains the common parameter information according to the parameter acquiring relevant information.
4. method according to claim 3, wherein, in step i to all or part of web page interlinkage in it is every
Individual web page interlinkage performs following steps:
- obtain the web page interlinkage personality obtain relevant information;
- relevant information is obtained according to the personality, generate the personalizing parameters information of the web page interlinkage;
- generate to should web page interlinkage and the relative link information comprising the personalizing parameters information;
- the relative link information is added in the webpage to be generated.
5. method according to claim 4, wherein, each web page interlinkage in the webpage to be generated is held in the method
Row following steps:
- judge whether the web page interlinkage is needed comprising whole common parameter information;
- when judging that the web page interlinkage is needed comprising the common parameter information, perform step i.
6. method according to claim 5, wherein, in the method to each web page interlinkage in the webpage to be generated also
Perform following steps:
- when judging the web page interlinkage not comprising whole common parameter information, the absolute link information of the web page interlinkage is obtained, and
It is added in webpage to be generated.
7. method according to claim 1 and 2, wherein, step a is comprised the following steps:
The actual link information of all web page interlinkages in the-acquisition webpage to be generated;
- parameter information in multiple actual link information is contained in by extraction in all actual absolute link information, as described
Common parameter information.
8. method according to claim 7, wherein, in step i for the plurality of actual link information in it is every
Individual actual link information performs following steps:
- based on the information being not included in the actual link information in the link prefix information generating relative link information;
- the relative link information is added in the webpage to be generated.
9. method according to claim 1, wherein, the method is further comprising the steps of:
X obtains the web access requests information from user equipment;
Y obtains corresponding with web access requests information webpage and the webpage is corresponding links prefix information, wherein, the net
Page includes relative link information;
Z sends the webpage and its corresponding link prefix information to the user equipment.
10. method according to claim 9, wherein, the web access requests information includes the webpage of asked access
Absolute link information, wherein, the method is further comprising the steps of:
- by identification common parameter information in the absolute link information;
- according to the common parameter information and the absolute link information of identification gained, acquisition can be used in obtaining corresponding
The actual link information of webpage;
Wherein, step y is comprised the following steps:
- obtain corresponding with actual link information webpage and the webpage is corresponding links prefix information.
11. methods according to claim 10, wherein, the method is further comprising the steps of:
- judge whether the link prefix information is contained in the absolute link information;
Wherein, step z is comprised the following steps:
- when the link prefix information is not included in the absolute link information, the net is sent to the user equipment
Page and its corresponding link prefix information.
12. methods according to claim 11, wherein, the method is further comprising the steps of:
- when the link prefix information is contained in the absolute link information, the webpage is sent to the user equipment.
13. the method according to any one of claim 9 to 12, wherein, step y is comprised the following steps:
- using corresponding webpage as the webpage to be generated, perform step a, b and i.
A kind of 14. linked web pages generating means for generating webpage and its link prefix information, wherein, the linked web pages are generated
Device includes:
Parameter obtaining device, for obtaining the common parameter information of part or all of web page interlinkage in webpage to be generated;
Prefix generating means, for according to the common parameter information, generating the link prefix letter of the correspondence webpage to be generated
Breath;
Relative link generating means, link prefix corresponding relative chain with this for obtain the part or all of web page interlinkage
Information is connect, and is added in the webpage to be generated, wherein, the relative link information is used for and the link prefix merges
To generate the absolute link information of the part or all of web page interlinkage.
15. linked web pages generating means according to claim 14, wherein, the prefix generating means include:
Parameter processing apparatus, for the first predetermined process is carried out to the common parameter information, obtain link path information, its
In, first predetermined process makes it possible to by the common parameter information is recognized in the link path information;
Sub- prefix generating means, for generating the link prefix information comprising the link path information.
The 16. linked web pages generating means according to claims 14 or 15, wherein, the parameter obtaining device includes:
First acquisition device, for obtaining the parameter acquiring relevant information for treating the part or all of web page interlinkage;
Subparameter acquisition device, for according to the parameter acquiring relevant information, obtaining the common parameter information.
17. linked web pages generating means according to claim 16, wherein, the relative link generating means are wrapped by which
The following device for containing to perform operation to each web page interlinkage in all or part of web page interlinkage:
Second acquisition device, the personality for obtaining the web page interlinkage obtain relevant information;
Personality generating means, for obtaining relevant information according to the personality, generate the personalization of the web page interlinkage
Parameter information;
First sublink generating means, for generating to should web page interlinkage and the relative chain comprising the personalizing parameters information
Connect information;
First adding set, for the relative link information is added in the webpage to be generated.
18. linked web pages generating means according to claim 17, wherein, the linked web pages generating means are also wrapped by which
The following device for containing to perform operation to each web page interlinkage in the webpage to be generated:
First judgment means, for judging whether the web page interlinkage is needed comprising whole common parameter information;
First triggering device, it is described relative for when judging that the web page interlinkage is needed comprising the common parameter information, triggering
Link generating means.
19. linked web pages generating means according to claim 18, wherein, the linked web pages generating means are also wrapped by which
The following device for containing to perform operation to each web page interlinkage in the webpage to be generated:
Absolute link acquisition device, for when judging the web page interlinkage not comprising whole common parameter information, obtaining the webpage
The absolute link information of link, and be added in webpage to be generated.
The 20. linked web pages generating means according to claims 14 or 15, wherein, the parameter obtaining device includes:
First actual link acquisition device, for obtaining the actual link information of all web page interlinkages in the webpage to be generated;
Extraction element, for being contained in the letter of the parameter in multiple actual link information by extraction in all actual absolute link information
Breath, as the common parameter information.
21. linked web pages generating means according to claim 20, wherein, the relative link generating means are wrapped by which
The following device for containing to perform following steps to each the actual link information in the plurality of actual link information:
Second sublink generating means, for based on the letter being not included in the actual link information in the link prefix information
Cease to generate relative link information;
Second adding set, for the relative link information is added in the webpage to be generated.
22. linked web pages generating means according to claim 14, wherein, the linked web pages generating means also include:
Acquisition request device, for obtaining the web access requests information from user equipment;
3rd acquisition device, for obtain corresponding with web access requests information webpage and the webpage is corresponding link before
Sew information, wherein, the webpage includes relative link information;
First dispensing device, for sending the webpage and its corresponding link prefix information to the user equipment.
23. linked web pages generating means according to claim 22, wherein, the web access requests information includes asked
The absolute link information of the webpage of access is sought, wherein, the linked web pages generating means also include:
Identifying device, for by identification common parameter information in the absolute link information;
Second actual link acquisition device, for common parameter information and the absolute link information according to identification gained, obtains
Must can be used in obtaining the actual link information of corresponding webpage;
Wherein, the 3rd acquisition device includes:
Sub- acquisition device, believes for obtaining webpage corresponding with the actual link information and the corresponding prefix that links of the webpage
Breath.
24. linked web pages generating means according to claim 23, wherein, the linked web pages generating means also include:
Second judgment means, for judging whether the link prefix information is contained in the absolute link information;
Wherein, the dispensing device includes:
Sub- dispensing device, for when the link prefix information is not included in the absolute link information, to the user
Equipment sends the webpage and its corresponding link prefix information.
25. linked web pages generating means according to claim 24, wherein, the linked web pages generating means also include:
Second dispensing device, for when the link prefix information is contained in the absolute link information, to the user
Equipment sends the webpage.
The 26. linked web pages generating means according to any one of claim 22 to 25, wherein, the 3rd acquisition device
Including:
Second triggering device, is filled as the webpage to be generated with triggering the parameter acquiring for using corresponding webpage
Put and the relative link generating means perform operation.
A kind of 27. computer equipments, wherein, the computer equipment includes the chain as described at least one in claim 14 to 26
Connect auto-building html files device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110272142.XA CN102999514B (en) | 2011-09-14 | 2011-09-14 | A kind of method, device and equipment for obtaining webpage and its link prefix information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110272142.XA CN102999514B (en) | 2011-09-14 | 2011-09-14 | A kind of method, device and equipment for obtaining webpage and its link prefix information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102999514A CN102999514A (en) | 2013-03-27 |
CN102999514B true CN102999514B (en) | 2017-04-05 |
Family
ID=47928088
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110272142.XA Active CN102999514B (en) | 2011-09-14 | 2011-09-14 | A kind of method, device and equipment for obtaining webpage and its link prefix information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102999514B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978340B (en) * | 2014-04-08 | 2020-05-15 | 北京奇虎科技有限公司 | Link address generation method, device and server |
CN111010456B (en) * | 2019-11-22 | 2022-03-11 | 哈尔滨工业大学(威海) | Main domain name acquisition and verification method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101841785A (en) * | 2010-06-13 | 2010-09-22 | 联信摩贝软件(北京)有限公司 | Method for sending encrypted message by cellphone and system thereof |
CN102129428A (en) * | 2010-01-20 | 2011-07-20 | 腾讯科技(深圳)有限公司 | Method and device for subscribing information from webpage |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070136231A1 (en) * | 2005-12-09 | 2007-06-14 | Fatlens Inc. | Method for providing access to information in a network |
US20110153583A1 (en) * | 2009-12-23 | 2011-06-23 | Cbs Interactive, Inc. | Url proxy method and apparatus |
-
2011
- 2011-09-14 CN CN201110272142.XA patent/CN102999514B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102129428A (en) * | 2010-01-20 | 2011-07-20 | 腾讯科技(深圳)有限公司 | Method and device for subscribing information from webpage |
CN101841785A (en) * | 2010-06-13 | 2010-09-22 | 联信摩贝软件(北京)有限公司 | Method for sending encrypted message by cellphone and system thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102999514A (en) | 2013-03-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11150874B2 (en) | API specification generation | |
CN102298614B (en) | Method for determining collection category of page collection information and device and equipment | |
CN102737019B (en) | Machine behavior determines method, web browser and web page server | |
CN105045887B (en) | The system and method for mixed mode cross-domain data interaction | |
CN106126514A (en) | The message server relevant with search provides method and server and user terminal | |
CN104025084B (en) | Historical viewings session management | |
CN104283723B (en) | Network access log processing method and processing device | |
US20100118035A1 (en) | Moving image generation method, moving image generation program, and moving image generation device | |
CN103778236B (en) | Web data distribution processing method and device and auto-building html files treating method and apparatus | |
CN102970326B (en) | A kind of method and apparatus of the mood indication information for sharing users | |
CN107766344B (en) | Template rendering method and device and browser | |
CN108197125A (en) | Webpage capture method and device | |
CN106412034B (en) | Method for processing business and device | |
CN104410711A (en) | Cross-domain network resource request method and device for client | |
CN101763425A (en) | Universal method for capturing webpage contents of any webpage | |
CN103108051A (en) | Synchronous file sharing method from cloud server | |
CN103825919B (en) | A kind of method, the apparatus and system of data cached resource | |
CN102866911B (en) | Mashup application establishing method and device | |
CN101963979A (en) | Cloud computing-based search suggestion providing method and equipment | |
CN108028768A (en) | The method and system of application version is installed by short-range communication | |
JP5309121B2 (en) | Information processing method, program, information processing system | |
CN107203470B (en) | Page adjustment method and device | |
CN106407377A (en) | Search method and device based on artificial intelligence | |
CN103810268A (en) | Search result recommendation information loading method, device and system and URL detection method, device and system | |
JP2015528175A (en) | Method for pushing information and apparatus for pushing 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |