[go: up one dir, main page]

CN108255896A - Webpage pre-head method, Web access method, equipment and electronic equipment - Google Patents

Webpage pre-head method, Web access method, equipment and electronic equipment Download PDF

Info

Publication number
CN108255896A
CN108255896A CN201710067074.0A CN201710067074A CN108255896A CN 108255896 A CN108255896 A CN 108255896A CN 201710067074 A CN201710067074 A CN 201710067074A CN 108255896 A CN108255896 A CN 108255896A
Authority
CN
China
Prior art keywords
read
page
webpage
target webpage
memory
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
CN201710067074.0A
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.)
Alibaba China Co Ltd
Original Assignee
Guangzhou Dongjing Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Dongjing Computer Technology Co Ltd filed Critical Guangzhou Dongjing Computer Technology Co Ltd
Priority to CN201710067074.0A priority Critical patent/CN108255896A/en
Priority to PCT/CN2018/075366 priority patent/WO2018141300A1/en
Publication of CN108255896A publication Critical patent/CN108255896A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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 pre-head method, Web access method, equipment and electronic equipments.The webpage pre-head method includes:Determine the pending target webpage pre-read;Obtain current pre- read states;When pre- read states meet it is preset pre-read condition when, obtain the main document of target webpage and corresponding child resource, and render that generation is corresponding to be pre-read the page and be stored in memory based on main document and corresponding child resource, in response to being used during the access request of target webpage.According to the present invention, reduction user's access target webpage wait-for-response time is following in second grade so that user significantly perceives the promotion of webpage access speed, improves user experience.

Description

Webpage pre-head method, Web access method, equipment and electronic equipment
Technical field
The present invention relates to Internet technical field, more particularly, to a kind of webpage pre-head method, Web access method, Equipment and electronic equipment.
Background technology
With the development of Internet technology and popularizing for Intelligent Terminal, by browser or with similar browser work( Can application access internet webpage to obtain information, become one of main path that information is obtained in people's daily life, And user using browser or has similar to browser function in application, the speed of web page access, which also becomes, weighs user's body One of important indicator tested, wherein, the key factor for influencing the speed of web page access is to download the time of corresponding web page contents.
In order to promote user experience, current browser or the application with similar browser function, it will usually to The webpage that family may browse is pre-read, i.e., before user's actual access webpage, obtains the webpage that user may browse in advance Main document is simultaneously stored in the local of client of browser or the application with similar browser function, when user's actual access During corresponding webpage, can main document directly be obtained from local, be obtained further according to being rendered after the corresponding child resource of main document loading Corresponding webpage is presented to the user, and the time of the corresponding webpage of response return after access webpage is asked so as to shorten user, accelerates net Access to web page speed.
But in practical applications, when user accesses the webpage pre-read, however it remains the waiting of 1 second or even several seconds are rung The time of corresponding webpage should be returned to so that user can not ignore, it is impossible to significantly perceive the promotion of webpage access speed, influence user Experience.
Therefore, it has been recognised by the inventors that it is necessary to for the above-mentioned prior art the problem of be improved.
Invention content
It is an object of the present invention to provide a kind of new solutions pre-read for webpage.
According to the first aspect of the invention, a kind of webpage pre-head method is provided, including:
Determine the pending target webpage pre-read;
Current pre- read states are obtained, the pre- read states include at least network state and internal storage state;
When the pre- read states meet it is preset pre-read condition when, obtain the main document of the target webpage and corresponding Child resource, and render based on the main document and corresponding child resource that generation is corresponding to be pre-read the page and be stored in memory, For in response to being used during the access request of the target webpage.
Optionally, the method further includes:
When the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, removing, which has been stored in memory, meets removing The described of condition pre-reads the page, so that the internal storage state meets and corresponding described pre-reads condition.
Still optionally further,
The cleared condition is minimum for the prediction hits for pre-reading the corresponding target webpage of the page,
Wherein, the prediction clicks the total hits of several history according to the target webpage, in the first preset time period Accumulative hits and the accumulative hits calculating acquisition in the second preset time period.
Optionally,
The cleared condition is minimum for the prediction hits for pre-reading the corresponding target webpage of the page,
Wherein, the prediction clicks the total hits of several history according to the target webpage, in the first preset time period Accumulative hits and the accumulative hits calculating acquisition in the second preset time period.
According to the second aspect of the invention, a kind of Web access method is provided, is included at least:
In response to the access request of target webpage, detect to be stored in memory and corresponding with the target webpage pre-read page The page is pre-read during face, described in displaying to complete the access to the target webpage.
Optionally, the method further includes:
When the displaying number for pre-reading the page is more than predetermined threshold, the page is pre-read described in refreshing for displaying.
According to the third aspect of the invention we, a kind of webpage is provided and pre-reads equipment, which is characterized in that including:
Target determination unit, for determining the pending target webpage pre-read;
State acquiring unit, obtains current pre- read states, and the pre- read states include at least network state and memory shape State;
Pre-read processing unit, for when the pre- read states meet it is preset pre-read condition when, obtain the target webpage Main document and corresponding child resource, and render based on the main document and corresponding child resource that generation is corresponding to pre-read page Face is simultaneously stored in memory, in response to being used during the access request of the target webpage.
Optionally, the equipment further includes:
Page clearing cell, for when the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, removing has stored Meeting in memory pre-reads the page described in cleared condition, so that the internal storage state meets and corresponding described pre-reads item Part.
According to the fourth aspect of the invention, a kind of web page access equipment is also provided, is included at least:
Page presentation unit for the access request in response to target webpage, detects and target webpage is stored in memory It is corresponding when pre-reading the page, the page is pre-read to complete the access to the target webpage described in presentation.
Optionally, the equipment further includes:
Renewal of the page unit, for when the displaying number for pre-reading the page is more than predetermined threshold, being pre-read described in refreshing The page is for displaying.
According to the fifth aspect of the invention, a kind of electronic equipment is provided, including:
Memory and processor, for storing instruction, described instruction is used to that the processor to be controlled to carry out the memory It operates to perform the webpage pre-head method provided according to the first aspect of the invention.
According to the sixth aspect of the invention, a kind of electronic equipment is provided, including:
Memory and processor, for storing instruction, described instruction is used to that the processor to be controlled to carry out the memory It operates to perform the Web access method provided according to the second aspect of the invention.
It was found by the inventors of the present invention that in the prior art, not yet there are a kind of webpage pre-head method, web page access sides Method, equipment and electronic equipment, can by the state of pre-reading meet it is preset pre-read condition when, to target webpage generation pre-read page Face directly shows that reduction user's access target webpage wait-for-response time is following in second grade when accessing the target webpage for user. Therefore, the of the invention technical assignment to be realized or never expect the technical problem to be solved is that those skilled in the art Or it is not expected that, therefore the present invention is a kind of new technical solution.
By referring to the drawings to the detailed description of exemplary embodiment of the present invention, other feature of the invention and its Advantage will become apparent.
Description of the drawings
It is combined in the description and the attached drawing of a part for constitution instruction shows the embodiment of the present invention, and even With its explanation together principle for explaining the present invention.
Fig. 1 is the block diagram of the example for the hardware configuration for showing the electronic equipment available for realizing the embodiment of the present invention.
Fig. 2 shows the flow charts of the webpage pre-head method of the first embodiment of the present invention.
Fig. 3 shows the schematic diagram of the example of the webpage pre-head method of the first embodiment of the present invention.
Fig. 4 shows that the webpage of the first embodiment of the present invention pre-reads the schematic block diagram of equipment.
Fig. 5 shows the flow chart of the Web access method of the second embodiment of the present invention.
Fig. 6 shows the schematic block diagram of the web page access equipment of the second embodiment of the present invention.
Specific embodiment
Carry out the various exemplary embodiments of detailed description of the present invention now with reference to attached drawing.It should be noted that:Unless in addition have Body illustrates that the unlimited system of component and the positioned opposite of step, numerical expression and the numerical value otherwise illustrated in these embodiments is originally The range of invention.
It is illustrative to the description only actually of at least one exemplary embodiment below, is never used as to the present invention And its application or any restrictions that use.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as part of specification.
In shown here and discussion all examples, any occurrence should be construed as merely illustrative, without It is as limitation.Therefore, other examples of exemplary embodiment can have different values.
It should be noted that:Similar label and letter represents similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need to that it is further discussed.
In the present invention, general plotting is to provide a kind of webpage pre-head method, access method, equipment and electronic equipment, leads to Cross generation can respond directly presented during web access requests pre-read the page so that user access webpage when wait-for-response return The time of webpage is reduced to second grade hereinafter, the promotion that user is enabled significantly to perceive webpage access speed, improves user experience.
<Hardware configuration>
Fig. 1 is the block diagram for showing to realize the hardware configuration of the electronic equipment 1000 of the embodiment of the present invention.
Electronic equipment 1000 can be portable computer (1000-1), desktop computer (1000-2), mobile phone (1000-3), Tablet computer (1000-4) etc..As shown in Figure 1, electronic equipment 1000 can include processor 1100, memory 1200, interface dress Put 1300, communication device 1400, display device 1500, input unit 1600, loud speaker 1700, microphone 1800 etc..Wherein, Processor 1100 can be central processor CPU, Micro-processor MCV etc..Memory 1200 is for example including ROM (read-only storages Device), RAM (random access memory), hard disk nonvolatile memory etc..Interface arrangement 1300 for example connects including USB Mouth, earphone interface etc..Communication device 1400 can for example carry out wired or wireless communication, can specifically communicate including Wifi, Bluetooth communication, 2G/3G/4G/5G communications etc..Display device 1500 is, for example, liquid crystal display, touch display screen etc..Input unit 1600 such as can include touch screen, keyboard, body-sensing input.User can be defeated by loud speaker 1700 and microphone 1800 Enter/export voice messaging.
Electronic equipment shown in FIG. 1 is merely illustrative and is in no way intended to the invention, its application, or uses Any restrictions.Applied in the embodiment of the present invention, the memory 1200 of electronic equipment 1000 is for storing instruction, described Instruction is for controlling the processor 1100 to be operated to perform any one webpage side of pre-reading provided in an embodiment of the present invention Method or Web access method.It will be appreciated by those skilled in the art that although multiple dresses are shown to electronic equipment 1000 in Fig. 1 It puts, still, the present invention can only relate to partial devices therein, for example, electronic equipment 1000 pertains only to processor 1100 and deposits Storage device 1200.Technical staff can instruct according to presently disclosed conceptual design.How control processor is grasped for instruction Make, this is it is known in the art that therefore being not described in detail herein.
<First embodiment>
<Method>
In the present embodiment, a kind of webpage pre-head method is provided, as shown in Fig. 2, including:
Step S2100 determines the pending target webpage pre-read;
Wherein, target webpage is typically the site pages that user often accesses, and can be the historical viewings row by user The webpage higher for user's access probability of prediction, such as can be video website homepage that user often opens etc.;Either use Family is according to the customized expected webpage accessed of self-demand, such as real-time news site pages etc.;It can also be that user uses browsing Navigation site pages that device is either recommended similar to the application of browser or User Defined setting etc..
Step S2200, obtains current pre- read states, and the pre- read states include at least network state and internal storage state;
Wherein, the pre- read states are the states of the current local device for implementing webpage pre-head method, including at least network State and internal storage state.
The network state is the network connection state of the local device, can include network type, network downloads speed Degree or residue of network organization flow etc..In one example, the network state includes at least network type.
The internal storage state is the use state for the local memory for characterizing the local device, can include EMS memory occupation Than, memory usage amount, memory surplus etc..In one example, the internal storage state includes at least EMS memory occupation ratio.
The EMS memory occupation ratio can be obtained by monitoring memory service condition, for example, can count currently running The number N 1 of network view (WebView) and the window number N2 opened, it is assumed that the memory that each network view operation occupies For S1, the memory that operation occupies after each window is opened is S2, and the memory amount of local device is Su, then EMS memory occupation ratio Sp can be calculated according to equation below:
Sp=(N1*S1+N2*S2)/Su*100% (formula 1)
Step S2300, when the pre- read states meet it is preset pre-read condition when, obtain the main document of the target webpage And corresponding child resource, and render based on the main document and corresponding child resource that generation is corresponding to be pre-read the page and store In memory, in response to being used during the access request of the target webpage.
Wherein, it is described pre-read condition be characterization currently meet perform it is corresponding pre- to generate to the pre- read operation of target webpage Read the pre- read states that should have during the page.The network state and internal storage state included at least in the pre- read states, when network-like State and internal storage state all meet corresponding when pre-reading condition, and by loading the main document of target webpage, the main document specifically may be used To be the corresponding HTML of target webpage (Hyper Text Mark-up Language, hypertext markup language) file, HTML texts The descriptive text to webpage that part is made of HTML command, HTML command can be with comment, picture, video, audio frequency, tables Lattice, link etc..The resource specifically quoted in the html file of webpage by URL (uniform resource locator), such as picture, Video, audio frequency, etc. resources be corresponding child resource.
Corresponding child resource is loaded according to the main document of target webpage, it specifically, can be according to the HTML texts of target webpage The URL of the child resource quoted in part loads corresponding child resource, the child resource can include but is not limited to picture child resource, CSS (Cascading Style Sheets, cascading style sheets) child resource, JS (JavaScript, literal translation formula script) son Resource etc..
After the main document of target webpage and corresponding child resource is obtained, according to the main document and correspondence of target webpage Child resource can render the corresponding Webpage of generation and be stored in memory as the page that pre-reads of target webpage, when storing The link of target webpage or URL marks can be distinguished different targets as the corresponding storage index for pre-reading the page Webpage is corresponding to pre-read the page, it is, of course, also possible to the other identifier of different target webpages can be distinguished using other, in this reality It applies in example and is not limited.
When target webpage is accessed by the user, it is not necessary to perform the main document of loading target webpage again, according to target webpage Main document loading child resource performs Rendering operations generation Webpages based on main document and child resource, but directly The corresponding page that pre-reads is showed into user as Webpage, dramatically reduces the time that user's wait-for-response returns to webpage, It enables a user to significantly perceive the promotion of webpage access speed, improves user experience.
Specifically, the condition that pre-reads can be that the flow workable for network state meets is more sufficient, will not be because holding The pre- read operation of row target webpage and bring flow burden influence user experience, and internal storage state meet memory abundance, Bu Huiyin The pre- read operation of performance objective webpage and influence equipment operation when, just execution it is corresponding pre- to generate to the pre- read operation of target webpage Read the page.
More specifically, the network state includes at least network type, the internal storage state includes at least EMS memory occupation ratio When, the condition that pre-reads is that network type meets the network type specified and EMS memory occupation ratio compares threshold less than preset occupancy Value.
Wherein, the network type specified can be the sufficient corresponding network type of flow, such as WIFI or user The network type set according to own traffic use state, for example, user is not considered as flow can be brought to bear using 4G networks, Therefore it is 4G networks to set the network type specified.
It is described occupy than threshold value be characterization EMS memory occupation it is higher be it is corresponding occupy than threshold value, can according to engineering experience or Person's experiment simulation is chosen, for example, could be provided as 80%.
The internal storage state be unsatisfactory for it is corresponding pre-read condition when, for example, when the EMS memory occupation ratio is not less than described When occupying than threshold value, show that current internal storage state is not suitable for the pre- read operation of performance objective webpage, therefore, in an example In, the webpage pre-head method in the present embodiment further includes:When the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, clearly The page is pre-read described in cleared condition except meeting in memory has been stored in so that the internal storage state meet it is corresponding described Pre-read condition.
Wherein, meet the cleared condition pre-reads the page, and the user that can be estimated, which accesses, may remove smaller pre-read The page removes these and pre-reads the page, can be under the premise of ensureing that pre-reading the page meets user's requirements for access as far as possible so that interior The state of depositing, which meets, corresponding described pre-reads condition so that continues to execute the pre- read operation of other subsequent target webpages.
Specifically, the cleared condition is minimum for the prediction hits for pre-reading the corresponding target webpage of the page, wherein, The prediction clicks the total hits of several history according to the target webpage, add up in the first preset time period hits and Add up hits in the second preset time period and calculate acquisition.First preset time period, the second preset time period can bases Engineering experience or experiment simulation obtain, such as the first preset time period is set as nearest 7 days, and the second preset time period is nearest 30 My god.
More specifically, it is assumed that the total hits of history of the target webpage are Ds, add up point in the first preset time period Hit number be D1, in the second preset time period add up hits be D2, then predict that hits Dp can be calculated according to following formula:
Dp=Ds+D1*a1+D2*a2 (formula 2)
Wherein, a1, a2 are corresponding weight parameter, and value can be set according to engineering experience or experiment simulation, for example, In one example a1 be 2, a2 1.5.
<Example>
Further illustrate the webpage pre-head method provided in the present embodiment below plus with reference to Fig. 3.As shown in figure 3, in this example In, the condition of pre-reading is that network type is WIFI and memory accounting is less than 80%, and cleared condition is pre-reads the corresponding target of the page The prediction hits of webpage are minimum, and this method includes:
Step S301, the webpage for determining navigation website are the pending target webpage pre-read;
Step S302 obtains current network type;
Step S303 obtains current memory accounting;
Step S304 judges whether network type is WIFI, if so, S305 is entered step, if not, terminating;
Step S305 judges that memory accounting whether less than 80%, if so, entering step S306, is pre-read if not, meeting Condition enters step S307;
Step S306, by the prediction hits for having stored corresponding target webpage in memory it is minimum to pre-read the page clear It removes, goes back to step S305 later;
Step S307 loads the main document of target webpage, and corresponding child resource is being loaded according to main document;
Step S308, main document based on target webpage and corresponding child resource render that generation is corresponding to be pre-read the page and deposit It is stored in memory.
<Device>
In the present embodiment, it also provides a kind of webpage and pre-reads equipment 4000, as shown in figure 4, including target determination unit 4100th, state acquiring unit 4200 and processing unit 4300 is pre-read, optionally, further includes page clearing cell 4400, be used for Implement the webpage pre-head method provided in the present embodiment, details are not described herein.
Webpage pre-reads equipment 4000, including:
Target determination unit 4100, for determining the pending target webpage pre-read;
State acquiring unit 4200, obtains current pre- read states, and the pre- read states include at least network state and interior Deposit state;
Pre-read processing unit 4300, for when the pre- read states meet it is preset pre-read condition when, obtain the target The main document of webpage and corresponding child resource, and it is corresponding pre- based on the main document and the rendering generation of corresponding child resource It reads the page and is stored in memory, in response to being used during the access request of the target webpage.
Optionally, the webpage pre-reads equipment 4000 and further includes:
Page clearing cell 4400, for when the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, remove The described of cleared condition that meet being stored in memory pre-reads the page, so that the internal storage state meets corresponding described pre-read Condition.
In the present embodiment, the form of implementation that the webpage pre-reads equipment 4000 is not intended to limit, the webpage pre-reads equipment 4000 can be set to browser either can also be independently of the browser or similar browsing in the application of similar browser Except the application of device, the application with the browser or similar browser establishes connection to realize corresponding function.This field Technical staff should be understood that can realize that webpage pre-reads equipment 4000 by various modes.For example, it can be configured by instructing Processor realizes that webpage pre-reads equipment 4000.For example, instruction can be stored in the ROM, and when starting the device, will refer to Order is read from ROM realizes that webpage pre-reads equipment 4000 in programming device.Consolidate for example, webpage can be pre-read to equipment 4000 Change into dedicated devices (such as ASIC).Webpage can be pre-read to equipment 4000 to be divided into mutually independent unit or can incite somebody to action They merge realization.Webpage pre-read equipment 4000 can by one kind in above-mentioned various realization methods realizing or Person can be realized by the combination of two or more modes in above-mentioned various realization methods.
<Entity device>
In the present embodiment, a kind of electronic equipment is also provided, including memory and processor, the memory is used to store Instruction, described instruction are used to the processor be controlled to be operated to perform the webpage pre-head method provided in the present embodiment.Tool Body, the electronic equipment can be electronic equipment 1000 as shown in Figure 1, and details are not described herein.
Attached drawing is had been combined above and describes the first embodiment of the present invention, and according to the present embodiment, it is pre- to provide a kind of webpage Reading method, equipment and electronic equipment, by the target webpage for determining to pre-read and after obtaining current pre- read states, pre-reading When state satisfaction pre-reads condition, main document and the corresponding child resource for obtaining target webpage are corresponding with target webpage to generate Pre-read the page so that directly can pre-read the page to user's displaying in user's access target webpage, reduce user's wait-for-response Time to the second grade for returning to webpage is following so that user significantly perceives the promotion of webpage access speed, improves user experience.
<Second embodiment>
<Method>
In the present embodiment, a kind of Web access method is provided, as shown in figure 5, including:
Step S5100 in response to the access request of target webpage, is detected and is stored in memory and the target webpage pair That answers pre-reads the page to complete the access to the target webpage when pre-reading the page, described in displaying;
Wherein, the access request of target webpage by user there are access target webpage demand when trigger, triggering mode is deposited A variety of, such as user clicks the corresponding icon of target webpage or link etc. by implementing the equipment of access target webpage, It is not limited in the present embodiment.
It detects and is stored with corresponding with the target webpage when pre-reading the page in memory, can this directly be pre-read into the page The page user oriented displaying of the target webpage returned in response, therefore main document, the root of loading target webpage need not be performed again According to the main document loading child resource of target webpage, the steps such as Rendering operations generation Webpage are performed based on main document and child resource Suddenly, but the corresponding page that pre-reads directly is showed into user as Webpage, dramatically reduces the return of user's wait-for-response The time of webpage, in concrete application test, the time that the response of user's average waiting returns to webpage is following in second grade so that user The promotion of webpage access speed can be significantly perceived, improves user experience.
And it is described pre-read the page, be perform that the webpage pre-head method that provides in first embodiment obtains pre-read the page, lead to Often corresponding is that user accesses the larger webpage of possibility, such as the webpage of customized navigation website or user determine The webpage of the news site of system.Usual this kind of webpage usually has higher timeliness, therefore, can be corresponded to being shown to user Can refresh this when pre-reading the page and pre-read the page and be shown with obtaining the newest page, to ensure to show symbol to user Close the Webpage of timeliness requirement.Therefore, the Web access method provided in the present embodiment can also include:
Step S5200, when the displaying number for pre-reading the page is more than predetermined threshold, pre-read described in refreshing the page with In displaying.
Wherein, it is described pre-read the page displaying number be real-time detection statistics the number for pre-reading the displaying of page user oriented, And predetermined threshold can be set according to engineering experience or experiment simulation, for example, the predetermined threshold is 1, this means that pre-reading After the number that the page is demonstrated is more than 1 time, then show that this shows after need to performing refresh operation when pre-reading the page.
<Device>
In the present embodiment, a kind of web page access equipment 6000 is also provided, as shown in figure 4, including page presentation unit 6100, optionally, renewal of the page unit 6200 is further included, for implementing the Web access method provided in the present embodiment, herein It repeats no more.
Webpage pre-reads equipment 6000, including:
Page presentation unit 6100 for the access request in response to target webpage, detects and target is stored in memory Webpage is corresponding when pre-reading the page, and the page is pre-read to complete the access to the target webpage described in presentation.
Optionally, it further includes:
Renewal of the page unit 6200, for when the displaying number for pre-reading the page is more than predetermined threshold, described in refreshing The page is pre-read for displaying.
In the present embodiment, the form of implementation of the web page access equipment 6000, the web page access equipment are not intended to limit 6000 can be set to browser either can also be independently of the browser or similar browsing in the application of similar browser Except the application of device, the application with the browser or similar browser establishes connection to realize corresponding function.This field Technical staff should be understood that can realize web page access equipment 6000 by various modes.For example, it can be configured by instructing Processor realizes web page access equipment 6000.For example, instruction can be stored in the ROM, and when starting the device, will refer to Order is read from ROM realizes that webpage pre-reads equipment 4000 in programming device.For example, web page access equipment 6000 can be consolidated Change into dedicated devices (such as ASIC).Web page access equipment 6000 can be divided into mutually independent unit or can be incited somebody to action They merge realization.Web page access equipment 6000 can by one kind in above-mentioned various realization methods realizing or Person can be realized by the combination of two or more modes in above-mentioned various realization methods.
<Entity device>
In the present embodiment, a kind of electronic equipment is also provided, including memory and processor, the memory is used to store Instruction, described instruction are used to the processor be controlled to be operated to perform the webpage pre-head method provided in the present embodiment.Tool Body, the electronic equipment can be electronic equipment 1000 as shown in Figure 1, and details are not described herein.
Attached drawing is had been combined above and describes the second embodiment of the present invention, according to the present embodiment, a kind of webpage is provided and is visited It asks method, equipment and electronic equipment, in user's access target webpage, directly can pre-read the page to user's displaying is corresponding, Reducing user's wait-for-response to return below time to the second grade of webpage so that user significantly perceives the promotion of webpage access speed, Improve user experience.
It is well known by those skilled in the art that the development of the electronic information technology with such as large scale integrated circuit technology With the trend of hardware and software, clearly to divide computer system soft and hardware boundary has seemed relatively difficult.Because appoint What operation can be realized with software, can also be realized by hardware.The execution of any instruction can be completed by hardware, equally also may be used To be completed by software.For a certain machine function using hardware implementations or software implement scheme, depending on price, speed The Non-technical factors such as degree, reliability, memory capacity, change cycle.Therefore, for the ordinary skill of electronic information technical field For personnel, mode more direct and that a technical solution is explicitly described is each operation described in the program.Knowing In the case of road institute operation to be performed, those skilled in the art can directly set based on the considerations of to the Non-technical factor Count out desired product.
The present invention can be system, method and/or computer program product.Computer program product can include computer Readable storage medium storing program for executing, containing for make processor realize various aspects of the invention computer-readable program instructions.
Computer readable storage medium can keep and store to perform the tangible of the instruction that uses of equipment by instruction Equipment.Computer readable storage medium for example can be-- but be not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electromagnetism storage device, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes:Portable computer diskette, random access memory (RAM), read-only is deposited hard disk It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with the punch card of instruction or groove internal projection structure and above-mentioned any appropriate combination.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted instantaneous signal in itself, and the electromagnetic wave of such as radio wave or other Free propagations leads to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment downloads to outer computer or outer by network, such as internet, LAN, wide area network and/or wireless network Portion's storage device.Network can include copper transmission cable, optical fiber transmission, wireless transmission, router, fire wall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
For perform the computer program instructions that operate of the present invention can be assembly instruction, instruction set architecture (ISA) instruction, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages Arbitrarily combine the source code or object code write, the programming language includes the programming language of object-oriented-such as Procedural programming languages-such as " C " language or similar programming language of Smalltalk, C++ etc. and routine.Computer Readable program instructions can be performed fully, partly perform on the user computer, is only as one on the user computer Vertical software package performs, part performs or on the remote computer completely in remote computer on the user computer for part Or it is performed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind Include LAN (LAN) or wide area network (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as profit Pass through Internet connection with ISP).In some embodiments, by using computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can perform computer-readable program instructions, so as to fulfill each side of the present invention Face.
Referring herein to according to the method for the embodiment of the present invention, the flow chart of device (system) and computer program product and/ Or block diagram describes various aspects of the invention.It should be appreciated that each box and flow chart of flow chart and/or block diagram and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to all-purpose computer, special purpose computer or other programmable datas The processor of processing unit, so as to produce a kind of machine so that these instructions are passing through computer or other programmable datas When the processor of processing unit performs, produce and realize work(specified in one or more of flow chart and/or block diagram box The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, so as to be stored with instruction Computer-readable medium then includes a manufacture, including realizing in one or more of flow chart and/or block diagram box The instruction of the various aspects of defined function/action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment so that series of operation steps are performed on computer, other programmable data processing units or miscellaneous equipment, with production Raw computer implemented process, so that performed on computer, other programmable data processing units or miscellaneous equipment Function/action specified in one or more of flow chart and/or block diagram box is realized in instruction.
Flow chart and block diagram in attached drawing show the system, method and computer journey of multiple embodiments according to the present invention Architectural framework in the cards, function and the operation of sequence product.In this regard, each box in flow chart or block diagram can generation One module of table, program segment or a part for instruction, the module, program segment or a part for instruction include one or more use In the executable instruction of logic function as defined in realization.In some implementations as replacements, the function of being marked in box It can be occurred with being different from the sequence marked in attached drawing.For example, two continuous boxes can essentially be held substantially in parallel Row, they can also be performed in the opposite order sometimes, this is depended on the functions involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and/or flow chart can use function or dynamic as defined in performing The dedicated hardware based system made is realized or can be realized with the combination of specialized hardware and computer instruction.It is right It is well known that, realized for those skilled in the art by hardware mode, realized by software mode and by software and It is all of equal value that the mode of combination of hardware, which is realized,.
Various embodiments of the present invention are described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.In the case of without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes will be apparent from for the those of ordinary skill in art field.The selection of term used herein, purport Best explain each embodiment principle, practical application or to the technological improvement in market or make the art its Its those of ordinary skill is understood that each embodiment disclosed herein.The scope of the present invention is defined by the appended claims.

Claims (12)

1. a kind of webpage pre-head method, which is characterized in that including:
Determine the pending target webpage pre-read;
Current pre- read states are obtained, the pre- read states include at least network state and internal storage state;
When the pre- read states meet it is preset pre-read condition when, obtain the main document of the target webpage and corresponding sub- money Source, and render based on the main document and corresponding child resource that generation is corresponding to be pre-read the page and be stored in memory, for In response to the target webpage access request when use.
2. it according to the method described in claim 1, it is characterized in that, further includes:
When the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, removing, which has been stored in memory, meets cleared condition It is described pre-read the page so that the internal storage state meets and corresponding described pre-reads condition.
3. according to the method described in claim 2, it is characterized in that,
The cleared condition is minimum for the prediction hits for pre-reading the corresponding target webpage of the page,
Wherein, the prediction is clicked the total hits of several history according to the target webpage, is added up in the first preset time period Hits and the accumulative hits calculating acquisition in the second preset time period.
4. any one method according to claim 1-3, which is characterized in that
The network state includes at least network type;
The internal storage state includes at least EMS memory occupation ratio;
The condition that pre-reads is that network type meets the network type specified and EMS memory occupation ratio compares threshold less than preset occupancy Value.
5. a kind of Web access method, which is characterized in that include at least:
In response to the access request of target webpage, detect to be stored in memory and corresponding with the target webpage pre-read the page When, the page is pre-read to complete the access to the target webpage described in displaying.
6. it according to the method described in claim 5, it is characterized in that, further includes:
When the displaying number for pre-reading the page is more than predetermined threshold, the page is pre-read described in refreshing for displaying.
7. a kind of webpage pre-reads equipment, which is characterized in that including:
Target determination unit, for determining the pending target webpage pre-read;
State acquiring unit, obtains current pre- read states, and the pre- read states include at least network state and internal storage state;
Pre-read processing unit, for when the pre- read states meet it is preset pre-read condition when, obtain the master of the target webpage Document and corresponding child resource, and render based on the main document and corresponding child resource that generation is corresponding to pre-read the page simultaneously It is stored in memory, in response to being used during the access request of the target webpage.
8. equipment according to claim 7, which is characterized in that further include:
Page clearing cell, for when the internal storage state be unsatisfactory for it is corresponding it is described pre-read condition when, in removing has been stored in The described of cleared condition that meet in depositing pre-reads the page, so that the internal storage state meets and corresponding described pre-reads condition.
9. a kind of web page access equipment, which is characterized in that include at least:
Page presentation unit for the access request in response to target webpage, detects and target webpage correspondence is stored in memory The page is pre-read when pre-reading the page, described in presentation to complete the access to the target webpage.
10. equipment according to claim 9, which is characterized in that further include:
Renewal of the page unit, for when the displaying number for pre-reading the page is more than predetermined threshold, the page to be pre-read described in refreshing For displaying.
11. a kind of electronic equipment, which is characterized in that including:
Memory and processor, for storing instruction, described instruction is used to that the processor to be controlled to be operated the memory To perform the method according to claim 1-4.
12. a kind of electronic equipment, which is characterized in that including:
Memory and processor, for storing instruction, described instruction is used to that the processor to be controlled to be operated the memory To perform method according to claim 5 or 6.
CN201710067074.0A 2017-02-06 2017-02-06 Webpage pre-head method, Web access method, equipment and electronic equipment Pending CN108255896A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710067074.0A CN108255896A (en) 2017-02-06 2017-02-06 Webpage pre-head method, Web access method, equipment and electronic equipment
PCT/CN2018/075366 WO2018141300A1 (en) 2017-02-06 2018-02-06 Webpage pre-reading method, webpage access method, device, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710067074.0A CN108255896A (en) 2017-02-06 2017-02-06 Webpage pre-head method, Web access method, equipment and electronic equipment

Publications (1)

Publication Number Publication Date
CN108255896A true CN108255896A (en) 2018-07-06

Family

ID=62721714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710067074.0A Pending CN108255896A (en) 2017-02-06 2017-02-06 Webpage pre-head method, Web access method, equipment and electronic equipment

Country Status (2)

Country Link
CN (1) CN108255896A (en)
WO (1) WO2018141300A1 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109614569A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Page rendering method, apparatus and intelligent terminal
CN110889059A (en) * 2018-09-11 2020-03-17 优视科技有限公司 Method, client, server and system for presetting page resources
CN111506841A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Webpage display method, device and equipment and readable storage medium
CN111966642A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Picture management method and device and electronic equipment
CN113343141A (en) * 2021-05-12 2021-09-03 北京三快在线科技有限公司 Webpage obtaining method and device
CN113535311A (en) * 2021-07-29 2021-10-22 展讯半导体(成都)有限公司 Page display method and device and electronic equipment
CN113836458A (en) * 2020-06-23 2021-12-24 阿里巴巴集团控股有限公司 Page loading method, device and equipment and computer storage medium
CN113987397A (en) * 2021-10-26 2022-01-28 北京字节跳动网络技术有限公司 Application page control method, device, medium and electronic device
CN114090139A (en) * 2020-07-29 2022-02-25 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN115202778A (en) * 2022-06-06 2022-10-18 上海万物新生环保科技集团有限公司 Page refresh method, device and computer readable medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151000A1 (en) * 2003-07-02 2012-06-14 Snodgrass Ryan J Predictive prefetching to improve parallelization of data retrieval subtasks
CN104239562A (en) * 2014-09-26 2014-12-24 可牛网络技术(北京)有限公司 Web page display method and device
CN105849724A (en) * 2013-12-22 2016-08-10 交互数字专利控股公司 Web application acceleration using personalized caching or prerendering

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102222086B (en) * 2011-05-18 2014-11-26 广州市动景计算机科技有限公司 Webpage viewing method and webpage viewing device based on mobile terminal as well as mobile terminal
CN103678307B (en) * 2012-08-31 2016-07-13 腾讯科技(深圳)有限公司 Page display method and client

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120151000A1 (en) * 2003-07-02 2012-06-14 Snodgrass Ryan J Predictive prefetching to improve parallelization of data retrieval subtasks
CN105849724A (en) * 2013-12-22 2016-08-10 交互数字专利控股公司 Web application acceleration using personalized caching or prerendering
CN104239562A (en) * 2014-09-26 2014-12-24 可牛网络技术(北京)有限公司 Web page display method and device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110889059A (en) * 2018-09-11 2020-03-17 优视科技有限公司 Method, client, server and system for presetting page resources
CN109614569A (en) * 2018-12-07 2019-04-12 万兴科技股份有限公司 Page rendering method, apparatus and intelligent terminal
CN111506841A (en) * 2019-01-30 2020-08-07 阿里巴巴集团控股有限公司 Webpage display method, device and equipment and readable storage medium
CN111506841B (en) * 2019-01-30 2023-06-09 阿里巴巴集团控股有限公司 Webpage display method, device, equipment and readable storage medium
CN113836458A (en) * 2020-06-23 2021-12-24 阿里巴巴集团控股有限公司 Page loading method, device and equipment and computer storage medium
CN114090139A (en) * 2020-07-29 2022-02-25 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN111966642A (en) * 2020-08-28 2020-11-20 维沃移动通信有限公司 Picture management method and device and electronic equipment
CN111966642B (en) * 2020-08-28 2022-09-30 维沃移动通信有限公司 Image management method, device and electronic device
CN113343141A (en) * 2021-05-12 2021-09-03 北京三快在线科技有限公司 Webpage obtaining method and device
CN113535311A (en) * 2021-07-29 2021-10-22 展讯半导体(成都)有限公司 Page display method and device and electronic equipment
CN113987397A (en) * 2021-10-26 2022-01-28 北京字节跳动网络技术有限公司 Application page control method, device, medium and electronic device
CN115202778A (en) * 2022-06-06 2022-10-18 上海万物新生环保科技集团有限公司 Page refresh method, device and computer readable medium

Also Published As

Publication number Publication date
WO2018141300A1 (en) 2018-08-09

Similar Documents

Publication Publication Date Title
CN108255896A (en) Webpage pre-head method, Web access method, equipment and electronic equipment
CN109308255B (en) Method and device for A/B test experiment
CN108804707B (en) Page processing method and device and related equipment
US10306013B2 (en) Churn risk scoring using call network analysis
CN106708899A (en) Automatic point burying device
CN101770365B (en) Method and system for collaborative development of visualization dashboards
CN110765208B (en) Data synchronization method and device, electronic equipment and storage medium
CN108255923A (en) Image presentation method, equipment and electronic equipment
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN111191163B (en) Method, device, equipment and storage medium for updating webpage form data
CN107967278A (en) Webpage pre-head method, Web access method, equipment and programmable device
CN107870912A (en) Article quality score method, equipment, client, server and programmable device
CN107122172A (en) Processing method, operation method, equipment and the application apparatus gently applied
CN113590974B (en) Recommendation page configuration method and device, electronic equipment and computer readable medium
US20190147540A1 (en) Method and apparatus for outputting information
CN106874519A (en) Webpage representation method and apparatus
CN110309444A (en) A kind of page display method, device, medium and server
CN109783757A (en) Render method and device, the system, storage medium, electronic device of webpage
CN112085087A (en) Method and device for generating business rules, computer equipment and storage medium
CN107330087A (en) Pagefile generation method and device
CN108449255A (en) Comment on exchange method, equipment, client terminal device and electronic equipment
CN108255916A (en) Method, equipment, client terminal device and the electronic equipment that Webpage is presented
CN110209964A (en) A kind of page display method, device and equipment
CN103559228B (en) The loading method and device of Shipping Options Page in browser
CN107229405A (en) Method, equipment, browser and electronic equipment for providing web page contents

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
TA01 Transfer of patent application right

Effective date of registration: 20200526

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio square 14 storey tower

Applicant before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
RJ01 Rejection of invention patent application after publication

Application publication date: 20180706

RJ01 Rejection of invention patent application after publication