CN106776924A - Webpage method for previewing and device - Google Patents

Webpage method for previewing and device Download PDF

Info

Publication number
CN106776924A
CN106776924A CN201611089357.7A CN201611089357A CN106776924A CN 106776924 A CN106776924 A CN 106776924A CN 201611089357 A CN201611089357 A CN 201611089357A CN 106776924 A CN106776924 A CN 106776924A
Authority
CN
China
Prior art keywords
webpage
time
url
content
time variable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611089357.7A
Other languages
Chinese (zh)
Other versions
CN106776924B (en
Inventor
李静
梁超
柏盼
夏明星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201611089357.7A priority Critical patent/CN106776924B/en
Publication of CN106776924A publication Critical patent/CN106776924A/en
Application granted granted Critical
Publication of CN106776924B publication Critical patent/CN106776924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of Webpage method for previewing and device.Wherein, method includes:Receive the web access requests of the URL for carrying webpage that client sends;Judge whether include time parameter in URL, if so, time variable then is entered as into the corresponding temporal information of time parameter;According to time variable, Webpage content is searched;Return to Webpage content to client, so that user carries out Webpage preview, the scheme that the present invention is provided overcomes the Webpage for being only capable of accessing current time in the prior art, and cannot the preview specific time Webpage defect.

Description

Webpage method for previewing and device
Technical field
The present invention relates to Internet technical field, and in particular to a kind of Webpage method for previewing and device.
Background technology
With the continuous advance and development of internet science and technology, the content of pages of the webpage that current people are accessed is typically all Pre-configured, after the time reaches, the automatic wire charging time corresponding Webpage content, present Webpage content is more next It is abundanter, can be used to realize different functions comprising multiple functional modules, but after Webpage content automatic wire charging, institute The Webpage for representing is likely to exception occur, for example, stratification occurs in functional module, and causes Webpage to show not Normally, it is impossible to normally using corresponding function, and cause inconvenience to the user.
However, be only capable of to be accessed when reaching the time in the prior art browsing webpage, preview webpage page can not be shifted to an earlier date Face content, also just cannot in advance know that Webpage, also just cannot time update, user when occurring abnormal with the presence or absence of exception Experience is bad.
The content of the invention
In view of the above problems, it is proposed that the present invention so as to provide one kind overcome above mentioned problem or at least in part solve on State the Webpage method for previewing and corresponding Webpage pre-viewing device of problem.
According to an aspect of the invention, there is provided a kind of Webpage method for previewing, it includes:
Receive the web access requests of the URL for carrying webpage that client sends;
Judge whether include time parameter in URL, if so, time variable then is entered as into time parameter Corresponding temporal information;
According to time variable, Webpage content is searched;
Webpage content is returned to client, so that user carries out Webpage preview.
According to another aspect of the present invention, there is provided a kind of Webpage pre-viewing device, it includes:
Receiver module, the web page access for being suitable to receive the URL for carrying webpage that client sends please Ask;
Whether judge module, be suitable to judge in URL comprising time parameter;
Assignment module, if comprising time parameter in being suitable to judge URL, when time variable is entered as Between the corresponding temporal information of parameter;
Searching modul, is suitable to, according to time variable, search Webpage content;
Sending module, is suitable to return to Webpage content to client, so that user carries out Webpage preview.
According to the scheme that the present invention is provided, by judging in URL whether to determine comprising time parameter Whether user wants preview Webpage sometime, if including time parameter in URL, by when anaplasia Amount is entered as the corresponding temporal information of time parameter, according to time variable, searches Webpage content, and webpage is returned to client Content of pages, allows the user to the Webpage of preview corresponding time, overcomes and be only capable of in the prior art access current time Webpage, and cannot the preview specific time Webpage defect.
Described above is only the general introduction of technical solution of the present invention, in order to better understand technological means of the invention, And can be practiced according to the content of specification, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by specific embodiment of the invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 shows the schematic flow sheet of Webpage method for previewing according to an embodiment of the invention;
Fig. 2 shows the schematic flow sheet of Webpage method for previewing in accordance with another embodiment of the present invention;
Fig. 3 shows the structural representation of Webpage pre-viewing device according to an embodiment of the invention;
Fig. 4 shows the structural representation of Webpage pre-viewing device in accordance with another embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.Conversely, there is provided these embodiments are able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Fig. 1 shows the schematic flow sheet of Webpage method for previewing according to an embodiment of the invention.Such as Fig. 1 institutes Show, the method is comprised the following steps:
Step S100, receives the web access requests of the URL for carrying webpage that client sends.
URL (Uniform Resource Locator, URL) is commonly called as " web page address ", as in network On doorplate, be the address (Address) of the resource of standard on Internet (Internet).
Specifically, user can carry out web page access, user end to server by way of being input into URL in address field Transmission carries the web access requests of the URL of webpage, and server receives the webpage of the URL for carrying webpage that client sends Access request.For example, user desires access to Taobao's webpage, then http can be input into:https://taobao.com is to Taobao's webpage Conduct interviews, be merely illustrative here certainly, without any restriction effect, certainly, user can also be defeated as needed Enter to meet other URL of URL grammer.
Whether step S101, judges include time parameter in URL, if so, then performing step S102.
Wherein, time parameter is used to define the time, and in the present embodiment, user can according to actual needs in inputs domain name During etc. information, time parameter, and the corresponding temporal information of input time parameter are also defined.Specifically, if user thinks that preview is a certain The Webpage of time, then can be when URL be input into, input time parameter and the corresponding temporal information of the time parameter;If User is only that online accesses webpage usually, without preview Webpage sometime, then only inputs domain name etc. can be believed Breath, and without input time parameter and the corresponding temporal information of the time parameter.
Specifically, after the web access requests of the URL for carrying webpage of client transmission are received, visited from the webpage Ask and extract URL in request, and whether judge in the URL comprising time parameter, judge whether include time parameter in URL here Primarily to determining whether user wants preview Webpage sometime, if including time parameter in the URL, illustrate to use Want the Webpage that preview time is the corresponding temporal information of the time parameter in family;If not including time parameter in the URL, say Bright user is only normally to access webpage, does not do particular determination to the time for accessing the content of pages of webpage, therefore, it can return Return Webpage content corresponding with system time.
Step S102, the corresponding temporal information of time parameter is entered as by time variable.
Time variable is pre-defined in program code, and the assignment of time variable is that server returns to net to client The foundation of page content of pages.In the case of in judging URL comprising time parameter, time variable is entered as time parameter pair The temporal information answered.
Step S103, according to time variable, searches Webpage content.
After time variable to be entered as the corresponding temporal information of time parameter, server can come according to time variable Webpage content corresponding with the assignment of the time variable is searched, that is, searches webpage corresponding with the temporal information of user input Content of pages.
Step S104, returns to Webpage content, so that user carries out Webpage preview to client.
Server is returned in Webpage after corresponding Webpage content is found according to time variable to client Hold, client represents the Webpage content that server is returned, allows the user to the webpage of preview corresponding time to user The page.
For example, system time be on November 5th, 2016, but user want in advance preview once Taobao in 2016 The Webpage on November 11, user can be when URL be input into, input time parameter temporal information corresponding with the time parameter On November 11st, 2016, server please in the web page access for receiving the URL for carrying webpage that client sends After asking, judge whether include time parameter in URL, if so, time variable then is entered as into November 11 in 2016 Day;According to time variable:On November 11st, 2016, the content of pages of Taobao's webpage is searched, by the Taobao on November 11 in 2016 The content of pages of webpage returns to client, and client represents the content of pages of Taobao's webpage that server is returned to user, Allow the user to the preview Webpage on November 11 in 2016.
According to the method that the above embodiment of the present invention is provided, by judging whether join comprising the time in URL Count to determine whether user wants preview Webpage sometime, if including time parameter in URL, Time variable is entered as the corresponding temporal information of time parameter, according to time variable, Webpage content is searched, to client Webpage content is returned, the Webpage of preview corresponding time is allowed the user to, realized when can specify any with preview Between Webpage, can in advance know whether Webpage each several part can normally show, in the case of abnormal, can be with Change in advance, overcome the Webpage for being only capable of accessing current time in the prior art, and cannot preview webpage sometime Whether just the defect of the page, additionally, also reducing cost of labor, the Webpage of specified time is monitored without staff always Often.
Fig. 2 shows the schematic flow sheet of Webpage method for previewing in accordance with another embodiment of the present invention.Such as Fig. 2 institutes Show, the method is comprised the following steps:
Step S200, receives the web access requests of the URL for carrying webpage that client sends.
Specifically, user can carry out web page access, user end to server by way of being input into URL in address field Transmission carries the web access requests of the URL of webpage, and server receives the webpage of the URL for carrying webpage that client sends Access request.For example, user desires access to Taobao's webpage, then http can be input into:https://taobao.com is to Taobao's webpage Conduct interviews, be merely illustrative here certainly, without any restriction effect, certainly, user can also be defeated as needed Enter to meet other URL of URL grammer.
Certainly, the URL is not limited only to be input into by the user oneself, can also be sent to the user by other users, the use Family can access corresponding webpage by triggering URL.
Whether step S201, time parameter is included according to the relevant position of preset format parsing URL, if It is then to perform step S202;If it is not, then performing step S203.
In embodiments of the present invention, the URL that user is input into address field should meet preset format, for example, for bag URL containing time parameter, time parameter is generally located on the last of URL, is merely illustrative here certainly, without any Restriction effect, therefore, judge whether can specifically be adopted comprising time parameter in URL to be judged with the following method:According to default Whether the relevant position of format analysis URL includes time parameter, judge whether to include time parameter in URL here primarily to Determine whether user wants preview Webpage sometime, and determine the Webpage content to be returned to client.
If the relevant position of the URL includes time parameter, it is that the time parameter is corresponding to illustrate that user wants preview time The Webpage of temporal information;If the relevant position of the URL does not include time parameter, illustrate that user is only normally to access net Page, does not do particular determination to the time for accessing the content of pages of webpage, therefore, it can return to webpage corresponding with system time Content of pages.
Step S202, the corresponding temporal information of time parameter is entered as by time variable.
Time variable is pre-defined in program code, and the assignment of time variable is that server returns to net to client The foundation of page content of pages.In the case where the relevant position of URL is parsed comprising time parameter, when time variable is entered as Between the corresponding temporal information of parameter.
Step S203, null value is entered as by time variable.
In the case where the relevant position for parsing URL does not include time parameter, illustrate that user is only normally to access net Page, does not do particular determination to the time for accessing the content of pages of webpage, therefore, it can return to webpage corresponding with system time Content of pages.And know when return to Webpage content corresponding with system time for the ease of server, need Time variable is entered as null value in the case where the relevant position for parsing URL does not include time parameter.
Step S204, judges whether time variable is null value, if so, then performing step S205;If it is not, then performing step S206。
After assignment is carried out to time variable, in addition it is also necessary to judge whether time variable is null value, and then determine to need Search the Webpage content of which time.
Step S205, obtains system time, then searches Webpage content corresponding with system time.
In the case where time variable is null value, illustrate that user is only normally to access webpage, at this point it is possible to obtain system Time, then look up Webpage content corresponding with system time.
Step S206, obtains the assignment of time variable, then searches in Webpage corresponding with the assignment of time variable Hold.
In time variable not in the case of null value, the assignment of time variable can be obtained, for example, when in step S202 Between variable be assigned on November 11st, 2016, the assignment of the time variable for getting here is on November 11st, 2016, so Afterwards, Webpage content corresponding with November 11st, 2016 is searched.
Step S207, returns to Webpage content, so that user browses Webpage to client.
Server is returned in Webpage after corresponding Webpage content is found according to time variable to client Hold, client represents the Webpage content that server is returned, allows the user to browse the webpage of corresponding time to user The page, if the Webpage sometime that user browses such that it is able to which it is different whether confirmation Webpage sometime occurs Often, when occurring abnormal, it is possible to use the time update of family, during ensureing that the time reaches, Webpage represents normally.
For example, system time is on November 5th, 2016, user sends the system for carrying Taobao's webpage using client The web access requests of one URLs, server receives the unified resource for the carrying Taobao's webpage positioning that client sends Whether the web access requests of symbol, time parameter is included according to the relevant position of preset format parsing URL, if It is that time variable is then entered as the corresponding temporal information of time parameter, on November 11st, 1;If it is not, then by the time Variable assignments is null value, then judges whether time variable is null value, if so, obtaining system time:On November 5th, 2016, and The content of pages of Taobao's webpage corresponding with November 5th, 2016 is searched afterwards;If it is not, then obtaining the assignment 2016 of time variable November 11, then search the content of pages of Taobao's webpage corresponding with November 11st, 2016;By on November 11st, 2016 or Person's content of pages of Taobao's webpage on November 5 in 2016 returns to client, and client represents server return to user The content of pages of Taobao's webpage on November 5 of on November 11st, 2016 or 2016, allows the user to preview 2016 11 The Webpage on the moon 11, or access Taobao's webpage on November 5 in 2016.
In a kind of optional embodiment of the invention, Webpage content can include loose-leaf content, such as Taobao Or double 11 shopping Carnivals that the website such as Jingdone district was held on November 11, now Webpage content will include on double The loose-leaf content of 11 shopping Carnivals.
Wherein, server has prestored movable mark, activity time and loose-leaf content, obtains time variable After assignment, in addition it is also necessary to judge whether the assignment of time variable matches with the default activity time, if so, then searching and time variable The activity time corresponding loose-leaf content that matches of assignment, then return to the net comprising loose-leaf content to client Page content of pages, so that user carries out Webpage preview, that is to say, that user's preview in advance can be made comprising in loose-leaf The Webpage content of appearance, to determine whether Webpage exception occurs such that it is able to when ensureing that the activity time reaches, webpage page Face each several part is normal.
According to the method that the above embodiment of the present invention is provided, by the phase that URL is parsed according to preset format Answer whether position determines whether user wants preview Webpage sometime comprising time parameter, if unified resource is fixed The relevant position of position symbol includes time parameter, then time variable is entered as into the corresponding temporal information of time parameter, if unified money The relevant position of source finger URL does not include time parameter, and time variable is entered as into null value, judges whether time variable is null value, If so, then obtaining system time, Webpage content corresponding with system time is then searched, if it is not, obtaining time variable Assignment, then searches Webpage content corresponding with the assignment of time variable, and Webpage content is returned to client, so that User is capable of the Webpage of preview corresponding time, overcomes the Webpage for being only capable of accessing current time in the prior art, and Cannot the preview specific time Webpage defect.
Fig. 3 shows the structural representation of Webpage pre-viewing device according to an embodiment of the invention.Such as Fig. 3 institutes Show, the device includes:Receiver module 300, judge module 310, assignment module 320, searching modul 330 and sending module 340.
Receiver module 300, is suitable to receive the web page access of the URL for carrying webpage that client sends Request.
URL (Uniform Resource Locator, URL) is commonly called as " web page address ", as in network On doorplate, be the address (Address) of the resource of standard on Internet (Internet).
Specifically, user can carry out web page access, user end to server by way of being input into URL in address field Transmission carries the web access requests of the URL of webpage, and server receives the webpage of the URL for carrying webpage that client sends Access request.For example, user desires access to Taobao's webpage, then http can be input into:https://taobao.com is to Taobao's webpage Conduct interviews, be merely illustrative here certainly, without any restriction effect, certainly, user can also be defeated as needed Enter to meet other URL of URL grammer.
Whether judge module 310, be suitable to judge in URL comprising time parameter.
Wherein, time parameter is used to define the time, and in the present embodiment, user can according to actual needs in inputs domain name During etc. information, time parameter, and the corresponding temporal information of input time parameter are also defined.Specifically, if user thinks that preview is a certain The Webpage of time, then can be when URL be input into, input time parameter and the corresponding temporal information of the time parameter;If User is only that online accesses webpage usually, without preview Webpage sometime, then only inputs domain name etc. can be believed Breath, and without input time parameter and the corresponding temporal information of the time parameter.
Specifically, after the web access requests of the URL for carrying webpage of client transmission are received, visited from the webpage Ask and extract URL in request, and whether judge in the URL comprising time parameter, judge whether include time parameter in URL here Primarily to determining whether user wants preview Webpage sometime, if including time parameter in the URL, illustrate to use Want the Webpage that preview time is the corresponding temporal information of the time parameter in family;If not including time parameter in the URL, say Bright user is only normally to access webpage, does not do particular determination to the time for accessing the content of pages of webpage, therefore, it can return Return Webpage content corresponding with system time.
Assignment module 320, if being entered as time variable comprising time parameter in being suitable to judge URL The corresponding temporal information of time parameter.
Time variable is pre-defined in program code, and the assignment of time variable is that server returns to net to client The foundation of page content of pages.In the case of in judging URL comprising time parameter, time variable is entered as time parameter pair The temporal information answered.
Searching modul 330, is suitable to, according to time variable, search Webpage content.
After time variable to be entered as the corresponding temporal information of time parameter, server can come according to time variable Webpage content corresponding with the assignment of the time variable is searched, that is, searches webpage corresponding with the temporal information of user input Content of pages.
Sending module 340, is suitable to return to Webpage content to client, so that user carries out Webpage preview.
Server is returned in Webpage after corresponding Webpage content is found according to time variable to client Hold, client represents the Webpage content that server is returned, allows the user to the webpage of preview corresponding time to user The page.
For example, system time be on November 5th, 2016, but user want in advance preview once Taobao in 2016 The Webpage on November 11, user can be when URL be input into, input time parameter temporal information corresponding with the time parameter On November 11st, 2016, server please in the web page access for receiving the URL for carrying webpage that client sends After asking, judge whether include time parameter in URL, if so, time variable then is entered as into November 11 in 2016 Day;According to time variable:On November 11st, 2016, the content of pages of Taobao's webpage is searched, by the Taobao on November 11 in 2016 The content of pages of webpage returns to client, and client represents the content of pages of Taobao's webpage that server is returned to user, Allow the user to the preview Webpage on November 11 in 2016.
According to the device that the above embodiment of the present invention is provided, by judging whether join comprising the time in URL Count to determine whether user wants preview Webpage sometime, if including time parameter in URL, Time variable is entered as the corresponding temporal information of time parameter, according to time variable, Webpage content is searched, to client Webpage content is returned, the Webpage of preview corresponding time is allowed the user to, is overcome and be only capable of in the prior art access The Webpage of current time, and cannot the preview specific time Webpage defect.
Fig. 4 shows the structural representation of Webpage pre-viewing device in accordance with another embodiment of the present invention.Such as Fig. 4 institutes Show, the device includes:Receiver module 400, judge module 410, assignment module 420, searching modul 430 and sending module 440.
Receiver module 400, is suitable to receive the web page access of the URL for carrying webpage that client sends Request.
Whether judge module 410, be suitable to the relevant position according to preset format parsing URL comprising the time Parameter.
Assignment module 420, if being entered as time variable comprising time parameter in being suitable to judge URL The corresponding temporal information of time parameter;If not including time parameter in judging URL, by time variable assignment It is null value.
Searching modul 430 is specifically included:Judging unit 431, is suitable to judge whether time variable is null value.
Searching unit 432, if being suitable to judge that time variable, for null value, obtains system time, when then searching with system Between corresponding Webpage content;If judging, time variable, for null value, obtains the assignment of time variable, then search and when Between variable the corresponding Webpage content of assignment.
Sending module 440, is suitable to return to Webpage content to client, so that user carries out Webpage preview.
Additionally, Webpage content can include loose-leaf content;
Searching unit 432 is further adapted for:Judge whether the assignment of time variable matches with the default activity time;If It is then to search loose-leaf content corresponding with the activity time that the assignment of time variable matches;
Sending module 440 is further adapted for:The Webpage content comprising loose-leaf content is returned to client, for User carries out Webpage preview.
According to the device that the above embodiment of the present invention is provided, by the phase that URL is parsed according to preset format Answer whether position determines whether user wants preview Webpage sometime comprising time parameter, if unified resource is fixed The relevant position of position symbol includes time parameter, then time variable is entered as into the corresponding temporal information of time parameter, if unified money The relevant position of source finger URL does not include time parameter, and time variable is entered as into null value, judges whether time variable is null value, If so, then obtaining system time, Webpage content corresponding with system time is then searched, if it is not, obtaining time variable Assignment, then searches Webpage content corresponding with the assignment of time variable, and Webpage content is returned to client, so that User is capable of the Webpage of preview corresponding time, overcomes the Webpage for being only capable of accessing current time in the prior art, and Cannot the preview specific time Webpage defect.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is not also directed to any certain programmed language.It is understood that, it is possible to use it is various Programming language realizes the content of invention described herein, and the description done to language-specific above is to disclose this hair Bright preferred forms.
In specification mentioned herein, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be put into practice in the case of without these details.In some instances, known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify one or more that the disclosure and helping understands in each inventive aspect, exist Above to the description of exemplary embodiment of the invention in, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor The application claims of shield features more more than the feature being expressly recited in each claim.More precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, and wherein each claim is in itself All as separate embodiments of the invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module or list in embodiment Unit or component be combined into a module or unit or component, and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, can use any Combine to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so disclosed appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (including adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can the alternative features of or similar purpose identical, equivalent by offer carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection is appointed One of meaning mode can be used in any combination.
All parts embodiment of the invention can be realized with hardware, or be run with one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) realize in Webpage preview device according to embodiments of the present invention The some or all functions of a little or whole parts.The present invention is also implemented as performing method as described herein Some or all equipment or program of device (for example, computer program and computer program product).Such realization Program of the invention can be stored on a computer-readable medium, or can have the form of one or more signal.This The signal of sample can be downloaded from internet website and obtained, or be provided on carrier signal, or be carried in any other form For.
It should be noted that above-described embodiment the present invention will be described rather than limiting the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol being located between bracket should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element is not excluded the presence of as multiple Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.

Claims (10)

1. a kind of Webpage method for previewing, it includes:
Receive the web access requests of the URL for carrying webpage that client sends;
Whether judge in the URL comprising time parameter, if so, time variable then is entered as into the time The corresponding temporal information of parameter;
According to the time variable, Webpage content is searched;
The Webpage content is returned to the client, so that user carries out Webpage preview.
2. method according to claim 1, wherein, methods described also includes:If judging the URL In do not include time parameter, then the time variable is entered as null value.
3. method according to claim 2, wherein, it is described according to time variable, search Webpage content and specifically include:
Judge whether the time variable is null value;
If so, then obtaining system time, Webpage content corresponding with system time is then searched;
If it is not, then obtaining the assignment of the time variable, Webpage corresponding with the assignment of the time variable is then searched Content.
4. method according to claim 3, wherein, the Webpage content includes loose-leaf content;
The assignment for obtaining the time variable, then searches Webpage content corresponding with the assignment of the time variable Further include:
Judge whether the assignment of the time variable matches with the default activity time;
If so, then searching loose-leaf content corresponding with the activity time that the assignment of the time variable matches;
It is described to return to the Webpage content to the client, further included so that user carries out Webpage preview:
The Webpage content comprising the loose-leaf content is returned to the client, to carry out Webpage pre- for user Look at.
5. the method according to claim any one of 1-4, wherein, it is described judge in URL whether comprising when Between parameter further include:
Whether the relevant position for parsing the URL according to preset format includes time parameter.
6. a kind of Webpage pre-viewing device, it includes:
Receiver module, is suitable to receive the web access requests of the URL for carrying webpage that client sends;
Whether judge module, be suitable to judge in the URL comprising time parameter;
Assignment module, if time variable is entered as into institute comprising time parameter in being suitable to judge the URL State the corresponding temporal information of time parameter;
Searching modul, is suitable to, according to the time variable, search Webpage content;
Sending module, is suitable to return to the Webpage content to the client, so that user carries out Webpage preview.
7. device according to claim 6, wherein, the assignment module is further adapted for:If judging the unified money Do not include time parameter in the finger URL of source, the time variable is entered as null value.
8. device according to claim 7, wherein, the searching modul is specifically included:
Judging unit, is suitable to judge whether the time variable is null value;
Searching unit, if being suitable to judge that the time variable, for null value, obtains system time, then searches and system time pair The Webpage content answered;If it is not null value to judge the time variable, the assignment of the time variable is obtained, then searched Webpage content corresponding with the assignment of the time variable.
9. device according to claim 8, wherein, the Webpage content includes loose-leaf content;
The searching unit is further adapted for:Judge whether the assignment of the time variable matches with the default activity time;If It is then to search loose-leaf content corresponding with the activity time that the assignment of the time variable matches;
The sending module is further adapted for:Returned in the Webpage comprising the loose-leaf content to the client Hold, so that user carries out Webpage preview.
10. the device according to claim any one of 6-9, wherein, the judge module is further adapted for:According to default lattice Whether the relevant position that formula parses the URL includes time parameter.
CN201611089357.7A 2016-11-30 2016-11-30 Webpage page preview method and device Active CN106776924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611089357.7A CN106776924B (en) 2016-11-30 2016-11-30 Webpage page preview method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611089357.7A CN106776924B (en) 2016-11-30 2016-11-30 Webpage page preview method and device

Publications (2)

Publication Number Publication Date
CN106776924A true CN106776924A (en) 2017-05-31
CN106776924B CN106776924B (en) 2021-05-11

Family

ID=58915322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611089357.7A Active CN106776924B (en) 2016-11-30 2016-11-30 Webpage page preview method and device

Country Status (1)

Country Link
CN (1) CN106776924B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020040147A (en) * 2000-11-23 2002-05-30 조정남 Data transaction method in the wireless internet
CN1758243A (en) * 2004-07-13 2006-04-12 国际商业机器公司 Method and system for retrieving dated content from a website
CN102200971A (en) * 2010-03-22 2011-09-28 腾讯科技(深圳)有限公司 Method and equipment for realizing webpage content previewing
CN103377064A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Page script loading method and page script loading device
CN103455547A (en) * 2013-07-05 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for webpage load

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020040147A (en) * 2000-11-23 2002-05-30 조정남 Data transaction method in the wireless internet
CN1758243A (en) * 2004-07-13 2006-04-12 国际商业机器公司 Method and system for retrieving dated content from a website
CN102200971A (en) * 2010-03-22 2011-09-28 腾讯科技(深圳)有限公司 Method and equipment for realizing webpage content previewing
CN103377064A (en) * 2012-04-28 2013-10-30 阿里巴巴集团控股有限公司 Page script loading method and page script loading device
CN103455547A (en) * 2013-07-05 2013-12-18 百度在线网络技术(北京)有限公司 Method and device for webpage load

Also Published As

Publication number Publication date
CN106776924B (en) 2021-05-11

Similar Documents

Publication Publication Date Title
US8903800B2 (en) System and method for indexing food providers and use of the index in search engines
CN103544220B (en) Using recommendation method and apparatus
CN105843815B (en) Page comment processing method and device and browser
US20150149431A1 (en) Processor engine, integrated circuit and method therefor
US8886950B2 (en) Apparatus, methods, and computer program products for facilitating secure password creation and management
US10943063B1 (en) Apparatus and method to automate website user interface navigation
JP2018518726A (en) Information retrieval navigation method and apparatus
CN103973835A (en) Domain name system server selection method and device
WO2014108038A1 (en) Frequently-used website generation client terminal, server, system and method
KR20050012881A (en) System for realtime rss/atom reader on web browser and method thereof
CN110347946A (en) A kind of page display method, device, computer equipment and storage medium
KR20210091125A (en) Entity-based search system using user engagement
CN102937977A (en) Search server and search method
US20160132834A1 (en) Personalized job search
CN103618742A (en) Method and system for acquiring sub domain names and webmaster permission verification method
US10255362B2 (en) Method for performing a search, and computer program product and user interface for same
CN103718179A (en) Information processing apparatus, information processing method, information processing program, and storage medium having information processing program stored therein
CN103793499B (en) A kind of method and apparatus obtaining application message using browser address bar
US8103649B2 (en) Search system and search method
JP2009509254A (en) Method for accessing data relating to at least one user and subsequently allowing contact with said user
CN106776924A (en) Webpage method for previewing and device
CN103778181A (en) Method and device for importing icons into favorites of browsers
KR100839619B1 (en) Internet search history managing method
US20220100570A1 (en) Workflow initiation based on a simulated network address
US11222086B2 (en) Finding content on computer networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20240117

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.