CN104809208A - Homepage displaying method and electronic equipment - Google Patents

Homepage displaying method and electronic equipment Download PDF

Info

Publication number
CN104809208A
CN104809208A CN201510208735.8A CN201510208735A CN104809208A CN 104809208 A CN104809208 A CN 104809208A CN 201510208735 A CN201510208735 A CN 201510208735A CN 104809208 A CN104809208 A CN 104809208A
Authority
CN
China
Prior art keywords
homepage
file bag
renewal frequency
browser
frequency
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.)
Pending
Application number
CN201510208735.8A
Other languages
Chinese (zh)
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 Sogou Technology Development Co Ltd
Original Assignee
Beijing Sogou Technology Development 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 Sogou Technology Development Co Ltd filed Critical Beijing Sogou Technology Development Co Ltd
Priority to CN201510208735.8A priority Critical patent/CN104809208A/en
Publication of CN104809208A publication Critical patent/CN104809208A/en
Pending legal-status Critical Current

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/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 Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to the Internet field, discloses a homepage displaying method and electronic equipment, and solves the technical problem of lower display speed of a homepage of a browser in the prior art. The method comprises the following steps of detecting an acquired first operation; judging whether the first operation is an operation of displaying the homepage of the browser or not; acquiring a homepage file package locally prestored by the electronic equipment when the first operation is the operation of displaying the homepage; displaying the homepage in the browser through the contents contained in the homepage file package; acquiring webpage files of the homepage from a network server; updating the homepage contents displayed in the browser through the webpage files. The homepage displaying method and the electronic equipment have the advantage that the technical effect of improving the display speed of the homepage is achieved.

Description

A kind of homepage methods of exhibiting and electronic equipment
Technical field
The present invention relates to internet arena, particularly relate to a kind of homepage methods of exhibiting and electronic equipment.
Background technology
Along with the development of science and technology, electronic technology have also been obtained development at full speed, and the kind of electronic equipment also gets more and more, and people have also enjoyed the various facilities that development in science and technology brings.Present people can pass through various types of electronic equipment, enjoy the comfortable life along with development in science and technology brings.Such as, the electronic equipment such as smart mobile phone, panel computer has become an important ingredient in people's life, user can use the mobile device such as smart mobile phone, panel computer to listen to the music, play games etc., to live the pressure brought to alleviate modern fast pace.
Under normal circumstances, electronic equipment all possesses network access functions, first user can start browser, then the address of the accessed page is inputted in the address of browser, and then just can access the accessed page, and the speed of the accessed page is accessed in order to improve user, accessed page setup user can commonly used is an access homepage, user directly selects the corresponding accessed page in access homepage, as shown in Figure 1, for starting the process flow diagram of homepage in prior art, it specifically comprises the following steps:
Step S101: the clicking operation of response user, and then start browser.
Step S102: the loading carrying out browser in electronic equipment this locality.
Step S103: initiate request to the webserver, and then obtain homepage file.
Step S104: browser is played up homepage file, and then show homepage.
Step S105: the operation of response user on homepage.
From above step, need in prior art to initiate request to the webserver, could homepage file be obtained and show, so cause showing that the speed of homepage is subject to the restriction of network, thus causing the homepage that there is browser in prior art to show slow technical matters.In addition, waiting for that in the time that homepage is shown, page empty can not operate, thus causing the experience of user bad.
Summary of the invention
The invention provides a kind of homepage methods of exhibiting and electronic equipment, show slow technical matters to solve the homepage of browser in prior art.
First aspect, the embodiment of the present invention provides a kind of homepage methods of exhibiting, comprising:
Detect acquisition first to operate;
Judge that whether described first operation is the operation of the homepage showing browser;
When described first is operating as the operation showing described homepage, obtain the homepage file bag that electronic equipment this locality prestores;
Homepage described in the content displaying comprised by described homepage file bag in described browser;
The web page files of described homepage is obtained from the webserver;
By described web page files, homepage content shown in described browser is upgraded.
Optionally, describedly judge that whether described first operation is the operation of the homepage showing browser, be specially: judge whether described first operation is the operation starting described browser;
The homepage file bag that described acquisition electronic equipment this locality prestores, is specially: while the described browser of startup, obtain described homepage file bag.
Optionally, describedly judge that whether described first operation is the operation of the homepage showing browser, be specially: judge whether described first operation is the operation that current browse webpage jumps to described homepage.
Optionally, described method also comprises:
Be M part by the division of teaching contents in described homepage file bag, M is positive integer;
Based on the renewal frequency of each part in a described M part, described homepage file bag is upgraded.
Optionally, describedly based on the renewal frequency of each part in a described M part, described homepage file bag to be upgraded, specifically comprises:
Judge whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
When the renewal frequency of the Part I in a described M part is not less than described predeterminated frequency, the first renewal frequency is adopted to upgrade described Part I;
When the renewal frequency of Part II is less than described predeterminated frequency in a described M part, adopt the second renewal frequency to upgrade described Part II, described second renewal frequency is less than described first renewal frequency.
Optionally, describedly based on the renewal frequency of each part in a described M part, described homepage file bag to be upgraded, specifically comprises:
Judge whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
When the renewal frequency of the Part I in a described M part is not less than described predeterminated frequency, fixing renewal frequency is adopted to upgrade described Part I;
When in a described M part, the renewal frequency of Part II is less than described predeterminated frequency, after detecting that described Part II upgrades, the described Part II of described homepage file bag is upgraded.
Optionally, described method also comprises:
When prestoring described homepage file bag, be M part by the division of teaching contents of described homepage file bag, M is positive integer;
Based on the renewal frequency of each part in a described M part, determine the mode that prestores of each part in a described M part.
Optionally, described method also comprises:
Complete after homepage arranges user, prestore during initiating switchup homepage described homepage file bag; Or
User complete homepage arrange time, obtain the web page files of homepage and the described homepage file bag that prestores from the webserver.
Optionally, described method also comprises:
When getting described web page files, by described web page files, described homepage file bag is upgraded; Or
When the described browser of closedown being detected, obtaining described web page files from the webserver and then described homepage file bag is upgraded.
Second aspect, the embodiment of the present invention provides a kind of electronic equipment, comprising:
Detection module, operates for detecting acquisition first;
Judge module, for judging that whether described first operation is the operation of the homepage showing browser;
First acquisition module, for when described first is operating as the operation showing described homepage, obtains the homepage file bag that electronic equipment this locality prestores;
Display module, for homepage described in the content displaying that comprised by described homepage file bag in described browser;
Second acquisition module, for obtaining the web page files of described homepage from the webserver;
First update module, for upgrading homepage content shown in described browser by described web page files.
Optionally, described judge module, specifically for: judge whether described first operation is the operation starting described browser;
Described first acquisition module, specifically for: while the described browser of startup, obtain described homepage file bag.
Optionally, described judge module, specifically for: judge whether described first operation is the operation that current browse webpage jumps to described homepage.
Optionally, described electronic equipment also comprises:
Divide module, for being M part by the division of teaching contents in described homepage file bag, M is positive integer;
Second update module, for upgrading described homepage file bag based on the renewal frequency of each part in a described M part.
Optionally, described second update module, specifically comprises:
First judging unit, for judging whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
First updating block, when the renewal frequency for the Part I in a described M part is not less than described predeterminated frequency, adopts the first renewal frequency to upgrade described Part I;
Second updating block, when the renewal frequency for Part II in a described M part is less than described predeterminated frequency, adopt the second renewal frequency to upgrade described Part II, described second renewal frequency is less than described first renewal frequency.
Optionally, described second update module, specifically comprises:
Second judging unit, for judging whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
3rd updating block, when the renewal frequency for the Part I in a described M part is not less than described predeterminated frequency, adopts fixing renewal frequency to upgrade described Part I;
4th updating block, when the renewal frequency for Part II in a described M part is less than described predeterminated frequency, after detecting that described Part II upgrades, upgrades the described Part II of described homepage file bag.
Optionally, described electronic equipment also comprises:
Divide module, for when prestoring described homepage file bag, be M part by the division of teaching contents of described homepage file bag, M is positive integer;
Determination module, for the renewal frequency based on each part in a described M part, determines the mode that prestores of each part in a described M part.
Optionally, described electronic equipment also comprises:
Pre-storing module, for completing after homepage arranges user, prestore during initiating switchup homepage described homepage file bag; Or
User complete homepage arrange time, obtain the web page files of homepage and the described homepage file bag that prestores from the webserver.
Optionally, described electronic equipment also comprises:
3rd update module, for when getting described web page files, is upgraded described homepage file bag by described web page files; Or
4th update module, for when the described browser of closedown being detected, obtaining described web page files from the webserver and then upgrading described homepage file bag.
Beneficial effect of the present invention is as follows:
Due in embodiments of the present invention, provide a kind of homepage methods of exhibiting, comprising: detect acquisition first and operate; Judge that whether the first operation is the operation of the homepage showing browser; When first is operating as the operation showing homepage, obtain the homepage file bag that electronic equipment this locality prestores; In a browser by content displaying homepage that homepage file bag comprises; The web page files of homepage is obtained from the webserver; By web page files, homepage content shown in browser is upgraded.That is, when showing the homepage of browser, the homepage file bag that can directly prestore based on electronic equipment this locality is shown it, and does not need to carry out alternately with network layer, so the displaying time of homepage greatly can be shortened, and then reach the technique effect of the displaying speed improving homepage.In addition, due to after browser-presented homepage, also can obtain the web page files of homepage from the webserver, then be upgraded by the content of web page files to homepage, so the what be new of homepage can be shown in time, ensure that the ageing of the content shown by homepage.
Accompanying drawing explanation
Fig. 1 is the process flow diagram starting homepage in prior art;
Fig. 2 is the process flow diagram of homepage methods of exhibiting in embodiment of the present invention first aspect;
Fig. 3 is based on the process flow diagram that the renewal frequency of each part of M part upgrades homepage file bag in the homepage methods of exhibiting of embodiment of the present invention first aspect;
Fig. 4 be in the homepage methods of exhibiting of embodiment of the present invention first aspect based on the renewal frequency of each part of M part to the process flow diagram of the first kind of way that homepage file bag upgrades;
Fig. 5 be in the homepage methods of exhibiting of embodiment of the present invention first aspect based on the renewal frequency of each part of M part to the process flow diagram of the second way that homepage file bag upgrades;
Fig. 6 is for user arranges the process flow diagram of main browser page in the homepage methods of exhibiting of embodiment of the present invention first aspect;
Fig. 7 is the structural drawing of the electronic equipment of embodiment of the present invention second aspect.
Embodiment
The invention provides a kind of homepage methods of exhibiting and electronic equipment, show slow technical matters to solve the homepage of browser in prior art.
Technical scheme in the embodiment of the present application is solve above-mentioned technical matters, and general thought is as follows:
Provide a kind of homepage methods of exhibiting, comprising: detect acquisition first and operate; Judge that whether the first operation is the operation of the homepage showing browser; When first is operating as the operation showing homepage, obtain the homepage file bag that electronic equipment this locality prestores; In a browser by content displaying homepage that homepage file bag comprises; The web page files of homepage is obtained from the webserver; By web page files, homepage content shown in browser is upgraded.That is, when showing the homepage of browser, the homepage file bag that can directly prestore based on electronic equipment this locality is shown it, and does not need to carry out alternately with network layer, so the displaying time of homepage greatly can be shortened, and then reach the technique effect of the displaying speed improving homepage.In addition, due to after browser-presented homepage, also can obtain the web page files of homepage from the webserver, then be upgraded by the content of web page files to homepage, so the what be new of homepage can be shown in time, ensure that the ageing of the content shown by homepage.
In order to better understand technique scheme, below by accompanying drawing and specific embodiment, technical solution of the present invention is described in detail, the specific features being to be understood that in the embodiment of the present invention and embodiment is the detailed description to technical solution of the present invention, instead of the restriction to technical solution of the present invention, when not conflicting, the technical characteristic in the embodiment of the present invention and embodiment can combine mutually.
First aspect, the embodiment of the present invention provides a kind of homepage methods of exhibiting, please refer to Fig. 2, comprising:
Step S201: detect acquisition first and operate;
Step S202: judge that whether the first operation is the operation of the homepage showing browser;
Step S203: when first is operating as the operation showing homepage, obtains the homepage file bag that electronic equipment this locality prestores;
Step S204: in a browser by content displaying homepage that homepage file bag comprises;
Step S205: the web page files obtaining homepage from the webserver;
Step S206: upgraded by the content of web page files to homepage shown in browser.
In step S201, the first operational example as: start the operation of browser, the home button at click browser top operation, slide etc.
In step S202, the operation of the homepage of displaying browser can be multiple different operation, such as: the operation starting browser, the operation being jumped to homepage by current page, the operation refreshing homepage etc., for show browser homepage be operating as which kind of operation, the embodiment of the present invention no longer itemizes, and is not restricted.
In step S203, based on the difference of the first operation, and then the opportunity obtaining the homepage file bag that electronic equipment this locality prestores is also different, is introduced two kinds of opportunitys of enumerating below wherein, certainly, in specific implementation process, is not limited to following two kinds of situations.
The first, step S202 judges that whether the first operation is the operation of the homepage showing browser, is specially: judge that whether the first operation is the operation of startup browser;
And then, obtain the homepage file bag that electronic equipment this locality prestores in step S203, be specially: while startup browser, obtain homepage file bag.
For example, suppose that electronic equipment detects that user starts the operation of browser (such as: the operation of double-clicking the desktop shortcut icon of browser, click operation of the icon of browser in the application list etc.) after, then determine that user needs to start browser, in this case, then directly obtain the homepage file bag that electronic equipment prestores, and then can by the content displaying of homepage file bag in a browser, thus the homepage of browser directly just can be shown by the local data of electronic equipment, thus can improve when starting browser, the displaying speed of the homepage of browser.
The second, judges in step S202 that whether the first operation is the operation of the homepage showing browser, is specially: whether judging first, to operate be the operation that current browse webpage jumps to homepage;
And then in step S203, obtaining the homepage file bag that electronic equipment this locality prestores, being specially: when the first operation being detected, then obtain homepage file bag.
For example, current browse webpage is such as: news pages, the novel page, homepage etc., user is after the content reading current browse webpage, by the home button at click browser top, and then jumping to homepage, electronic equipment after detecting that user clicks the operation of home button, then directly obtains the homepage file bag that electronic equipment this locality prestores, and then show homepage in a browser, thus the speed that user returns homepage can be improved.
In specific implementation process, electronic equipment can prestore on multiple opportunity homepage file bag, is introduced two kinds of opportunitys of enumerating below wherein, certainly, in specific implementation process, is not limited to following two kinds of situations.
The first, complete after homepage arranges user, prestore during initiating switchup homepage homepage file bag.
For example, after electronic equipment detects that user arranges homepage, if electronic equipment detects that user starts homepage, then can obtain the content of homepage and generate a homepage file bag substantially the same with the content of homepage based on this content.Such as: if certain data in be shown as word, then it is in this homepage file bag or store with written form; If in certain data in be shown as image, then it is in this homepage file bag or store with image format; In addition, if some word or image comprise link, then can also comprise corresponding link etc. in homepage file bag.And then when showing homepage by homepage file bag, user can operate the content of homepage, such as: the operation of response user clicks on links so jump to the corresponding page, response user choose the segment word of homepage and the operation copied and then the word chosen is copied to shear plate etc.
The second, user complete homepage arrange time, obtain the web page files of homepage and the homepage file bag that prestores from the webserver.
For example, electronic equipment complete homepage arrange time, during in order to ensure electronic equipment startup next time homepage, just can obtain homepage file bag that this locality prestores and show, so the URL of homepage can be sent to the webserver, and then obtain homepage file bag from the webserver, such as: can when the page corresponding to the URL that the user of other electronic equipments opens homepage, generate corresponding homepage file bag, and it is sent to current electronic device by the webserver, again such as, directly can generate corresponding homepage file bag etc. by the webserver, its content of homepage file bag generated in this way is also substantially the same with the content of homepage.
As further preferred embodiment, when prestoring homepage file bag, can adopt the multiple mode that prestores, the two kinds of modes of prestoring enumerated below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
1., when prestoring homepage file bag, be M part by the division of teaching contents of homepage file bag, M is positive integer;
Based on the renewal frequency of each part in M part, determine the mode that prestores of each part in M part.
For example, the content of various ways can be comprised in homepage, such as: Web side navigation, news links, ad content etc., so multiple different part can be divided into based on the different content in homepage, the renewal frequency of this multiple part is not identical, such as: the renewal frequency of news links is the highest, ad content secondly, the renewal frequency of Web side navigation is minimum etc.Thus the different modes that prestores can be adopted based on the renewal frequency of each part in M part.
Wherein, for the content (such as: Web side navigation) that renewal frequency is lower, can both store its word segment, and store again corresponding link, and then user just can jump to corresponding link by clicking corresponding word; And for the higher content (such as: news links) of renewal frequency, only can store its word segment, and link is not set, and then make user can not check out-of-date news.
Or only the content low to renewal frequency stores; The content high for renewal frequency then carries out space management, does not also namely store it, and arranges blank or other design treatment (such as: display loading state) at the corresponding part of this content.
Reached by such scheme and homepage file bag is prestored more accurate technique effect.
2. for all contents, the identical mode that prestores is adopted, such as: all can to prestore the link of its correspondence or the link of its correspondence that all do not prestore etc. for all contents.
Step S205 is to step S206, specifically, namely after showing homepage by local homepage file bag, in order to ensure that the content shown by homepage is up-to-date content, so the web page files of homepage can be obtained from the webserver, after acquisition web page files, then by natural dynamic effect, fresh content is updated on homepage.
In specific implementation process, because the content of homepage may change, so in order to ensure the content real-time shown by browser, the homepage file bag that electronic equipment this locality prestores can be upgraded, thus the content making user see is more timely, and in the web data bag of this locality, the content of more frequent updating can be placed, such as: news etc.The two kinds of update modes enumerated below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of modes.
The first, please refer to Fig. 3, and method also comprises:
Step S301: be M part by the division of teaching contents in homepage file bag, M is positive integer;
Step S302: homepage file bag is upgraded based on the renewal frequency of each part in M part.
Be M part for how by the division of teaching contents of homepage file bag in step S301, owing to being described above, so do not repeat them here.
In step S302, when the renewal frequency based on each part in M part upgrades web page files, can adopt various ways again, two kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
1. based on the renewal frequency of each part in M part, homepage file bag is upgraded, please refer to Fig. 4, specifically comprise:
Step S401: judge whether the renewal frequency of each part in M part is less than predeterminated frequency;
Step S402: when the renewal frequency of the Part I in M part is not less than predeterminated frequency, adopts the first renewal frequency to upgrade Part I;
Step S403: when the renewal frequency of Part II is less than predeterminated frequency in M part, adopt the second renewal frequency to upgrade Part II, the second renewal frequency is less than the first renewal frequency.
In step S401, predeterminated frequency is such as: 3 days/time, two weeks/times etc., can different predeterminated frequencies be set according to the actual requirements, this embodiment of the present invention be no longer itemized, and is not restricted.
Wherein, the renewal frequency of each part can be determined for M part, then it is compared with predeterminated frequency respectively, and then determine whether the renewal frequency of each part in M part is not less than predeterminated frequency.
In step S402, first renewal frequency is such as: 1 day/time, 1 hour/time etc., because the first renewal frequency is not less than default renewal frequency, then illustrate that the renewal speed of Part I is very fast, in this case, first renewal frequency faster then can be set, to ensure that the part changed for content in homepage upgrades in time.
In step S403, second renewal frequency is such as: 20 days/time, 1 month/time etc., because the second renewal frequency is less than default renewal frequency, then illustrate that the renewal speed of Part II is slower, in this case, slower second renewal frequency then can be set, to reduce the processing load of electronic equipment.
2. based on the renewal frequency of each part in M part, homepage file bag is upgraded, please refer to Fig. 5, specifically comprise:
Step S501: judge whether the renewal frequency of each part in M part is less than predeterminated frequency;
Step S502: when the renewal frequency of the Part I in M part is not less than predeterminated frequency, adopts fixing renewal frequency to upgrade Part I;
Step S503: when the renewal frequency of Part II is less than predeterminated frequency in M part, after detecting that Part II upgrades, upgrades the Part II that homepage file bag comprises.
In step S502, fixing renewal frequency is such as: half an hour/time, 10 minutes each etc., and then can ensure to upgrade the content of Part I in time.
In step S503, every prefixed time interval, such as: 10 days, 20 days, just can judge whether the content of Part II changes, if changed, then the content of Part II upgraded, otherwise do not upgrade.
The second, every prefixed time interval, carries out whole updating to homepage file bag.
For example, prefixed time interval is such as: 1 day, 10 days etc., every prefixed time interval, the web page files of homepage can be obtained from the webserver, then new homepage file bag is generated based on this, and by the homepage file bag prestored of its overlay electronic equipment.
In specific implementation process, electronic equipment can multiple opportunity to electronic equipment in the homepage file bag that prestores upgrade, two kinds of enumerating below are wherein introduced, and certainly, in specific implementation process, are not limited to following two kinds of situations.
The first, when getting web page files, upgraded homepage file bag by web page files.
The second, when electronic equipment cuts out browser, sends request to the webserver, and then obtains the web page files of homepage by this request, and upgrade homepage file bag based on this web page files.
In specific implementation process, URL corresponding to homepage can be the default setting of browser, also can arrange by using the user of electronic equipment, such as: new label, Web side navigation or other network page etc. can be set to, as shown in Figure 6, for user arranges the process flow diagram of main browser page, specifically comprise:
Step S601: electronic equipment detects user's initiating switchup browser;
Step S602: the homepage of browser and acquiescence loads simultaneously, obtains homepage file bag from this locality when the homepage wherein given tacit consent to loads;
Step S603: user switches homepage, namely replaces the homepage of acquiescence with new homepage;
Step S604: browser is simulated on backstage and opened new homepage;
Step S605: browser by analyzing the content of pages of new homepage, and then draws the homepage file bag corresponding to new homepage, with also upgrading local homepage file bag;
Step S606: user restarts browser;
Step S607: browser and new homepage load simultaneously, new homepage obtains new homepage file bag when loading from electronic equipment this locality.
Second aspect, based on same inventive concept, the embodiment of the present invention provides a kind of electronic equipment, please refer to Fig. 7, comprising:
Detection module 70, operates for detecting acquisition first;
Judge module 71, for judging that whether the first operation is the operation of the homepage showing browser;
First acquisition module 72, for when first is operating as the operation showing homepage, obtains the homepage file bag that electronic equipment this locality prestores;
Display module 73, for the content displaying homepage comprised by homepage file bag in a browser;
Second acquisition module 74, for obtaining the web page files of homepage from the webserver;
First update module 75, for upgrading homepage content shown in browser by web page files.
Optionally, judge module 71, specifically for: judge whether the first operation is the operation starting browser;
First acquisition module 72, specifically for: while startup browser, obtain homepage file bag.
Optionally, judge module 71, specifically for: judge whether the first operation is the operation that current browse webpage jumps to homepage.
Optionally, electronic equipment also comprises:
Divide module, for being M part by the division of teaching contents in homepage file bag, M is positive integer;
Second update module, for upgrading homepage file bag based on the renewal frequency of each part in M part.
Optionally, the second update module, specifically comprises:
First judging unit, for judging whether the renewal frequency of each part in M part is less than predeterminated frequency;
First updating block, when the renewal frequency for the Part I in M part is not less than predeterminated frequency, adopts the first renewal frequency to upgrade Part I;
Second updating block, when the renewal frequency for Part II in M part is less than predeterminated frequency, adopt the second renewal frequency to upgrade Part II, the second renewal frequency is less than the first renewal frequency.
Optionally, the second update module, specifically comprises:
Second judging unit, for judging whether the renewal frequency of each part in M part is less than predeterminated frequency;
3rd updating block, when the renewal frequency for the Part I in M part is not less than predeterminated frequency, adopts fixing renewal frequency to upgrade Part I;
4th updating block, when the renewal frequency for Part II in M part is less than predeterminated frequency, after detecting that Part II upgrades, upgrades the Part II of homepage file bag.
Optionally, electronic equipment also comprises:
Divide module, for when prestoring homepage file bag, be M part by the division of teaching contents of homepage file bag, M is positive integer;
Determination module, for the renewal frequency based on each part in M part, determines the mode that prestores of each part in M part.
Optionally, electronic equipment also comprises:
Pre-storing module, for completing after homepage arranges user, prestore during initiating switchup homepage homepage file bag; Or
User complete homepage arrange time, obtain the web page files of homepage and the homepage file bag that prestores from the webserver.
Optionally, electronic equipment also comprises:
3rd update module, for when getting web page files, is upgraded homepage file bag by web page files; Or
4th update module, for when closedown browser being detected, obtaining web page files from the webserver and then upgrading homepage file bag.
The one or more embodiment of the present invention, at least has following beneficial effect:
Due in embodiments of the present invention, provide a kind of homepage methods of exhibiting, comprising: detect acquisition first and operate; Judge that whether the first operation is the operation of the homepage showing browser; When first is operating as the operation showing homepage, obtain the homepage file bag that electronic equipment this locality prestores; In a browser by content displaying homepage that homepage file bag comprises; The web page files of homepage is obtained from the webserver; By web page files, homepage content shown in browser is upgraded.That is, when showing the homepage of browser, the homepage file bag that can directly prestore based on electronic equipment this locality is shown it, and does not need to carry out alternately with network layer, so the displaying time of homepage greatly can be shortened, and then reach the technique effect of the displaying speed improving homepage.In addition, due to after browser-presented homepage, also can obtain the web page files of homepage from the webserver, then be upgraded by the content of web page files to homepage, so the what be new of homepage can be shown in time, ensure that the ageing of the content shown by homepage.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disk memory, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the process flow diagram of the method for the embodiment of the present invention, equipment (system) and computer program and/or block scheme.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block scheme and/or square frame and process flow diagram and/or block scheme and/or square frame.These computer program instructions can being provided to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computing machine or other programmable data processing device produce device for realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
These computer program instructions also can be loaded in computing machine or other programmable data processing device, make on computing machine or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computing machine or other programmable devices is provided for the step realizing the function of specifying in process flow diagram flow process or multiple flow process and/or block scheme square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the embodiment of the present invention and not depart from the spirit and scope of the embodiment of the present invention.Like this, if these amendments of the embodiment of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (18)

1. a homepage methods of exhibiting, is characterized in that, comprising:
Detect acquisition first to operate;
Judge that whether described first operation is the operation of the homepage showing browser;
When described first is operating as the operation showing described homepage, obtain the homepage file bag that electronic equipment this locality prestores;
Homepage described in the content displaying comprised by described homepage file bag in described browser;
The web page files of described homepage is obtained from the webserver;
By described web page files, homepage content shown in described browser is upgraded.
2. the method for claim 1, is characterized in that, describedly judges that whether described first operation is the operation of the homepage showing browser, is specially: judge whether described first operation is the operation starting described browser;
The homepage file bag that described acquisition electronic equipment this locality prestores, is specially: while the described browser of startup, obtain described homepage file bag.
3. the method for claim 1, is characterized in that, describedly judges that whether described first operation is the operation of the homepage showing browser, is specially: judge whether described first operation is the operation that current browse webpage jumps to described homepage.
4. the method for claim 1, is characterized in that, described method also comprises:
Be M part by the division of teaching contents in described homepage file bag, M is positive integer;
Based on the renewal frequency of each part in a described M part, described homepage file bag is upgraded.
5. method as claimed in claim 4, is characterized in that, describedly upgrades described homepage file bag based on the renewal frequency of each part in a described M part, specifically comprises:
Judge whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
When the renewal frequency of the Part I in a described M part is not less than described predeterminated frequency, the first renewal frequency is adopted to upgrade described Part I;
When the renewal frequency of Part II is less than described predeterminated frequency in a described M part, adopt the second renewal frequency to upgrade described Part II, described second renewal frequency is less than described first renewal frequency.
6. method as claimed in claim 4, is characterized in that, describedly upgrades described homepage file bag based on the renewal frequency of each part in a described M part, specifically comprises:
Judge whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
When the renewal frequency of the Part I in a described M part is not less than described predeterminated frequency, fixing renewal frequency is adopted to upgrade described Part I;
When in a described M part, the renewal frequency of Part II is less than described predeterminated frequency, after detecting that described Part II upgrades, the described Part II of described homepage file bag is upgraded.
7. the method for claim 1, is characterized in that, described method also comprises:
When prestoring described homepage file bag, be M part by the division of teaching contents of described homepage file bag, M is positive integer;
Based on the renewal frequency of each part in a described M part, determine the mode that prestores of each part in a described M part.
8. the method as described in as arbitrary in claim 1-7, it is characterized in that, described method also comprises:
Complete after homepage arranges user, prestore during initiating switchup homepage described homepage file bag; Or
User complete homepage arrange time, obtain the web page files of homepage and the described homepage file bag that prestores from the webserver.
9. the method as described in as arbitrary in claim 1-7, it is characterized in that, described method also comprises:
When getting described web page files, by described web page files, described homepage file bag is upgraded; Or
When the described browser of closedown being detected, obtaining described web page files from the webserver and then described homepage file bag is upgraded.
10. an electronic equipment, is characterized in that, comprising:
Detection module, operates for detecting acquisition first;
Judge module, for judging that whether described first operation is the operation of the homepage showing browser;
First acquisition module, for when described first is operating as the operation showing described homepage, obtains the homepage file bag that electronic equipment this locality prestores;
Display module, for homepage described in the content displaying that comprised by described homepage file bag in described browser;
Second acquisition module, for obtaining the web page files of described homepage from the webserver;
First update module, for upgrading homepage content shown in described browser by described web page files.
11. electronic equipments as claimed in claim 10, is characterized in that, described judge module, specifically for: judge whether described first operation is the operation starting described browser;
Described first acquisition module, specifically for: while the described browser of startup, obtain described homepage file bag.
12. electronic equipments as claimed in claim 10, is characterized in that, described judge module, specifically for: judge whether described first operation is the operation that current browse webpage jumps to described homepage.
13. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises:
Divide module, for being M part by the division of teaching contents in described homepage file bag, M is positive integer;
Second update module, for upgrading described homepage file bag based on the renewal frequency of each part in a described M part.
14. electronic equipments as claimed in claim 13, it is characterized in that, described second update module, specifically comprises:
First judging unit, for judging whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
First updating block, when the renewal frequency for the Part I in a described M part is not less than described predeterminated frequency, adopts the first renewal frequency to upgrade described Part I;
Second updating block, when the renewal frequency for Part II in a described M part is less than described predeterminated frequency, adopt the second renewal frequency to upgrade described Part II, described second renewal frequency is less than described first renewal frequency.
15. electronic equipments as claimed in claim 13, it is characterized in that, described second update module, specifically comprises:
Second judging unit, for judging whether the renewal frequency of each part in a described M part is less than predeterminated frequency;
3rd updating block, when the renewal frequency for the Part I in a described M part is not less than described predeterminated frequency, adopts fixing renewal frequency to upgrade described Part I;
4th updating block, when the renewal frequency for Part II in a described M part is less than described predeterminated frequency, after detecting that described Part II upgrades, upgrades the described Part II of described homepage file bag.
16. electronic equipments as claimed in claim 10, it is characterized in that, described electronic equipment also comprises:
Divide module, for when prestoring described homepage file bag, be M part by the division of teaching contents of described homepage file bag, M is positive integer;
Determination module, for the renewal frequency based on each part in a described M part, determines the mode that prestores of each part in a described M part.
17. as arbitrary in claim 10-16 as described in electronic equipment, it is characterized in that, described electronic equipment also comprises:
Pre-storing module, for completing after homepage arranges user, prestore during initiating switchup homepage described homepage file bag; Or
User complete homepage arrange time, obtain the web page files of homepage and the described homepage file bag that prestores from the webserver.
18. as arbitrary in claim 10-16 as described in electronic equipment, it is characterized in that, described electronic equipment also comprises:
3rd update module, for when getting described web page files, is upgraded described homepage file bag by described web page files; Or
4th update module, for when the described browser of closedown being detected, obtaining described web page files from the webserver and then upgrading described homepage file bag.
CN201510208735.8A 2015-04-28 2015-04-28 Homepage displaying method and electronic equipment Pending CN104809208A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510208735.8A CN104809208A (en) 2015-04-28 2015-04-28 Homepage displaying method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510208735.8A CN104809208A (en) 2015-04-28 2015-04-28 Homepage displaying method and electronic equipment

Publications (1)

Publication Number Publication Date
CN104809208A true CN104809208A (en) 2015-07-29

Family

ID=53694030

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510208735.8A Pending CN104809208A (en) 2015-04-28 2015-04-28 Homepage displaying method and electronic equipment

Country Status (1)

Country Link
CN (1) CN104809208A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512281A (en) * 2015-12-07 2016-04-20 北京奇虎科技有限公司 Display method and device for official website type research result page
CN106354796A (en) * 2016-08-25 2017-01-25 乐视控股(北京)有限公司 Method, device and server for browser home page resource updating processing

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123236A1 (en) * 2002-12-21 2004-06-24 International Business Machines Corporation Method and apparatus for caching documents
CN101807180A (en) * 2009-02-16 2010-08-18 宏达国际电子股份有限公司 Mobile electric device and pretreatment and display method of web page thereof
CN104216695A (en) * 2013-06-03 2014-12-17 阿里巴巴集团控股有限公司 Method and system for providing webpage information to be displayed on webpage and displaying webpage information
US20140379841A1 (en) * 2011-12-30 2014-12-25 Beijing Qihoo Technology Company Limited Web page content loading control method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040123236A1 (en) * 2002-12-21 2004-06-24 International Business Machines Corporation Method and apparatus for caching documents
CN101807180A (en) * 2009-02-16 2010-08-18 宏达国际电子股份有限公司 Mobile electric device and pretreatment and display method of web page thereof
US20140379841A1 (en) * 2011-12-30 2014-12-25 Beijing Qihoo Technology Company Limited Web page content loading control method and device
CN104216695A (en) * 2013-06-03 2014-12-17 阿里巴巴集团控股有限公司 Method and system for providing webpage information to be displayed on webpage and displaying webpage information

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512281A (en) * 2015-12-07 2016-04-20 北京奇虎科技有限公司 Display method and device for official website type research result page
CN106354796A (en) * 2016-08-25 2017-01-25 乐视控股(北京)有限公司 Method, device and server for browser home page resource updating processing

Similar Documents

Publication Publication Date Title
US11853820B2 (en) Cross-process communication method, apparatus, and device
CN109408136B (en) Information processing method, information processing apparatus, storage medium, and electronic device
CN110333918B (en) Method and equipment for managing boarder programs
CN106569856B (en) A kind of loading method and device of application view resource file
US8682851B2 (en) Device specific folders for bookmark synchronization
CN103443763B (en) Comprise to connect the ISA Bridge of the support called rewriteeing virtual function
US11321080B2 (en) Patch package generation method and device
US20130151937A1 (en) Selective image loading in mobile browsers
CN105446750A (en) Web app starting operation and mirror image file generating method and device
CN102904947A (en) Application client presentation style updating and/or content expanding method and system
CN108647032B (en) Application loading method and device, computer device and computer readable storage medium
CN110221848A (en) APP method for updating pages, device, electronic equipment and storage medium
CN110968331A (en) Method and device for running application program
CN103324517A (en) Off-line application generation and call method, terminal and system
CN101860734A (en) Method for implementing incremental transmission and display of dynamic images through AJAX
CN113835571A (en) Terminal device, information display method and storage medium
CN112235132B (en) Method, device, medium and server for dynamically configuring service
CN104809208A (en) Homepage displaying method and electronic equipment
CN108920645A (en) Method, apparatus, smart machine and the storage medium that the smart machine page is shown
WO2013056562A1 (en) Wap page display method and device based on webkit browser
CN110618811B (en) Information presentation method and device
CN111625291A (en) Automatic iteration method and device of data processing model and electronic equipment
CN112905072B (en) Application processing method and device and electronic equipment
CN107301089B (en) APP deployment and calling method and terminal
CN112597423B (en) Webpage content display method, terminal and server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20150729

RJ01 Rejection of invention patent application after publication