CN107967278A - Webpage pre-head method, Web access method, equipment and programmable device - Google Patents
Webpage pre-head method, Web access method, equipment and programmable device Download PDFInfo
- Publication number
- CN107967278A CN107967278A CN201610912930.3A CN201610912930A CN107967278A CN 107967278 A CN107967278 A CN 107967278A CN 201610912930 A CN201610912930 A CN 201610912930A CN 107967278 A CN107967278 A CN 107967278A
- Authority
- CN
- China
- Prior art keywords
- child resource
- target webpage
- webpage
- web page
- read
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (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 programmable device.The webpage pre-head method includes:In response to the pre- read request to target webpage, according to the web page frame of acquired target webpage, determine to be contained in the preloading child resource pre-read in part of target webpage and delay loading child resource;Loading preloads child resource to the correspondence position of the web page frame of target webpage, to complete to pre-read processing to target webpage.According to the present invention it is possible to effectively save flow spent during pre-reading web page to lift user experience, memory source and processor resource spent during pre-reading web page can also be effectively reduced in addition.
Description
Technical field
The present invention relates to network technique field, more particularly, to a kind of webpage pre-head method, Web access method and can
Programming device.
Background technology
With flourishing for Internet technology, visited using browser or the application program with similar browser function
Ask that webpage has become the conventional means that information is obtained in people's daily life, and increase with the geometry level of network information,
Webpage access speed also becomes one of key factor for influencing user experience.Therefore, the webpage of webpage access speed is accelerated to pre-read
Scheme occurs therewith, its main mentality of designing is:
When user accesses some webpage, pass through prediction for user access activity (such as the pass based on accession page
Keyword, prediction, the prediction based on webpage functional characteristic for accessing based on user historical statistics), determine the net of user's current accessed
Some or the multiple webpages quoted on the page of page is need the webpage pre-read, during user accesses current web page,
The browser or the application program of similar browser that user uses, the page, loading net are parsed on backstage to the webpage that need to be pre-read
The child resource of page frame frame (such as dom tree) and whole;
When user, which then clicks on, accesses webpage that this has pre-read, browser used by a user or similar browser
Application program, directly the webpage can be carried out rendering display with the web page frame that loads and whole child resources so that
Perceive that the web page access response time of the pre-reading web page is seldom in user side, improve the perception velocities that user accesses webpage.
But inventor has found that above-mentioned webpage pre-reads scheme after all, dependent on to user's web page access behavior
Prediction, only accurately predicts user access activity, can just bring the preferable user's access webpage perception velocities that actually reach to add
The purpose of speed, but the network access behavior predicted always has differences unavoidably compared with the network access behavior of user's reality,
At present best webpage pre-reads hit rate (user's actual click the pre-reading web page number of pre-reading web page number /) and can only also approach
80%, therefore, always in the presence of still user pre-read, but actually without the pre-reading web page accessed, this can bring about resource
Waste:First, waste to load the web page frame of the webpage, the flow spent by whole child resources when pre-reading the webpage, especially
Can be more prominent when carrying out web page access using mobile operator networks, to user flow cost can be caused to bear, influence user
Experience;Second, the application program for wasting browser or similar browser carries out such as page parsing, typesetting, figure to pre-read the webpage
Memory source and processor (such as CPU) resource spent by the logical process such as piece decoding etc..
Therefore, it has been recognised by the inventors that being necessary that above-mentioned problems of the prior art are improved.
The content of the invention
It is an object of the present invention to provide a kind of new solution pre-read for webpage and a kind of webpage that is used for visit
The new solution asked.
According to the first aspect of the invention, there is provided a kind of webpage pre-head method, including:
In response to the pre- read request to target webpage, according to the web page frame of the acquired target webpage, bag is determined
It is contained in the preloading child resource pre-read in part and delay loading child resource of the target webpage;
The correspondence position of web page frame of the preloading child resource to the target webpage is loaded, to complete to the mesh
Mark webpage pre-reads processing.
Alternatively, it is described to determine that the preloading child resource and the delay loading child resource step include:
According to the web page frame of the target webpage, the child resource included in part that pre-reads for determining the target webpage is
During delay loading child resource, it is delay loading child resource to mark the child resource;
According to the web page frame of the target webpage, determine to be contained in the child resource pre-read in part of the target webpage
During to preload child resource, the step of loading preloads child resource is triggered, to load the preloading child resource to the mesh
Mark the correspondence position of the web page frame of webpage.
Alternatively, content is shielded in the part that pre-reads of the target webpage for the first of the target webpage.
Alternatively, the delay loading child resource, which includes at least pre-reading in part for the target webpage, size picture
Child resource.
According to the second aspect of the invention, there is provided a kind of Web access method, including:
In response to the access request of target webpage, when the target webpage is times according to the first aspect of the invention
When one webpage pre-head method of meaning is completed to pre-read the webpage of processing, the delay loading child resource of the target webpage is loaded to described
Correspondence position in the web page frame of target webpage, part is pre-read with show the target webpage.
According to the third aspect of the invention we, there is provided a kind of webpage pre-reads equipment, including:
Child resource determination unit, in response to the pre- read request to target webpage, according to the acquired target network
The web page frame of page, determines to be contained in the preloading child resource pre-read in part of the target webpage and delay loading money
Source;
Child resource pre-add carrier unit, for loading pair of web page frame of the preloading child resource to the target webpage
Position is answered, to complete to pre-read processing to the target webpage.
Alternatively, the child resource determination unit includes:
For the web page frame according to the target webpage, determine the target webpage pre-reads the son money included in part
When source is delay loading child resource, the device that the child resource is delay loading child resource is marked;
For the web page frame according to the target webpage, determine to be contained in the son pre-read in part of the target webpage
When resource is preloads child resource, the preloading child resource cell operation is triggered to load the preloading child resource to the mesh
Mark the device of the correspondence position of the web page frame of webpage.
According to the fourth aspect of the invention, there is provided a kind of web page access equipment, please for the access in response to target webpage
Ask, when the target webpage is that any one webpage pre-head method provided according to the first aspect of the invention is completed to pre-read
During the webpage of processing, the correspondence in delay loading child resource to the web page frame of the target webpage of the target webpage is loaded
Position, part is pre-read with show the target webpage.
According to the fifth aspect of the invention, there is provided a kind of programmable device, including memory and processor, the memory
For storing instruction, described instruction is provided according to a first aspect of the present invention for controlling the processor to be operated with performing
The webpage pre-head method of any one.
According to the sixth aspect of the invention, there is provided a kind of programmable device, including memory and processor, the memory
For storing instruction, described instruction is provided according to a second aspect of the present invention for controlling the processor to be operated with performing
The Web access method of any one.
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 side
Method, equipment and programmable device, can effectively save flow spent during pre-reading web page to lift user experience, in addition can also
Effectively reduce process resource spent during pre-reading web page.Therefore, the technical assignment or to be solved that the present invention to be realized
Technical problem be it is that those skilled in the art never expect or it is not expected that, therefore the present invention is a kind of new technical side
Case.
By referring to the drawings to the present invention exemplary embodiment detailed description, further feature of the invention and its
Advantage will be made apparent from.
Brief 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
It is used to explain the principle of the present invention together with its explanation.
Fig. 1 is the schematic block diagram shown available for the programmable device for realizing the embodiment of the present invention.
Fig. 2 shows the flow chart of webpage pre-head method in the embodiment of the present invention.
Fig. 3 shows that webpage in the embodiment of the present invention pre-reads the schematic block diagram of equipment.
Fig. 4 is that the webpage of the embodiment of the present invention is pre-read and the schematic diagram of Web access method example.
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 scope of invention.
The description only actually at least one exemplary embodiment is illustrative to be never used as to the present invention below
And its application or any restrictions that use.
It may be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable
In the case of, the technology, method and apparatus should be considered as part for specification.
In shown here and discussion all examples, any occurrence should be construed as merely exemplary, 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, then it need not be further discussed in subsequent attached drawing in a attached drawing.
<Hardware configuration>
Fig. 1 is the block diagram for showing to realize the hardware configuration of the programmable device 1000 of the embodiment of the present invention.
Programmable device 1000 can be portable computer, desktop computer, mobile phone, tablet computer etc..As shown in Figure 1,
Programmable device 1000 can include processor 1010, memory 1020, interface arrangement 1030, communicator 1040, display dress
Put 1050, input unit 1060, loudspeaker 1070, microphone 1080, etc..Wherein, processor 1010 can be central processing
Device CPU, Micro-processor MCV etc..Memory 1020 is for example including ROM (read-only storage), RAM (random access memory), all
The nonvolatile memory of such as hard disk.Interface arrangement 1030 is such as including USB interface, earphone interface, blue tooth interface.Communication
Device 1040 can for example carry out wired or wireless communication.Display device 1050 is, for example, liquid crystal display, touch display screen etc..
Input unit 1060 is such as can include touch-screen, keyboard.User can be inputted by loudspeaker 1070 and microphone 1080/
Export voice messaging.
Programmable device shown in Fig. 1 is only explanatory, and is never intended to the limitation present invention, its application or uses
On the way.Applied in the embodiment of the present invention, for storing instruction, described instruction is used for the memory 1020 of client 1000
Control the processor 1010 operated pre-head method to perform any one webpage provided in an embodiment of the present invention or
Web access method.It will be appreciated by those skilled in the art that although multiple dresses are shown to programmable device 1000 in Fig. 1
Put, still, the present invention can only relate to partial devices therein, for example, programmable device 1000 pertains only to 1010 He of processor
Storage device 1020 etc..Technical staff can disclosed conceptual design instruction according to the present invention.Instruction how control processor into
Row operation, this is it is known in the art that therefore being not described in detail herein.
<Embodiment>
A kind of webpage pre-head method is provided in the present embodiment, as shown in Fig. 2, including:
Step S2100, in response to the pre- read request to target webpage, according to the webpage frame of the acquired target webpage
Frame, determines to be contained in the preloading child resource pre-read in part of the target webpage and delay loading child resource.
In the present embodiment, the production method of the pre- read request of target webpage is not intended to limit, the target webpage is pre-read
Request, can access the behavior of webpage according to user or historical custom is predicted generation, such as according to user's current accessed
The keyword of webpage be predicted generation, or access record prediction according to the history web pages of user and produce, or user
Webpage functional characteristic generation of current accessed, etc..
In the present embodiment, after the pre- read request of target webpage produces, in response to the pre- read request, by acquired page
Face analyzing step, obtains the web page frame of target webpage, and the web page frame characterizes the page structure of the webpage, the page
Structure includes page composition, the child resource attribute that the page includes, the information such as position of child resource.For example, the webpage of target webpage
Frame can be the dom tree (DOM, Document Object Mode, document dbject model) of target webpage.Dom tree is by net
Element in page regards the object that can be edited and obtain one by one as, the DOM element of composition dom tree is included in dom tree, each
The corresponding contents included in DOM element storage webpage (size, position, typesetting attribute correspond to child resource information placed etc.).Obtain
Take the dom tree of target webpage, it is possible to determine the child resource type included in target webpage, the child resource type includes CSS
(Cascading Style Sheets, cascading style sheets) child resource, JS (JavaScript, literal translation formula script) sub- money
Source, picture child resource, video child resource, audio child resource etc..
According to the web page frame of the acquired target webpage, it may be determined that each seed included in the target webpage
The type of resource, and then can determine that being contained in the preloading child resource pre-read in part of the target webpage and delay adds
Carrier resource.
Wherein, the preloading child resource is when carrying out pre-reading processing to target webpage, and part is pre-read to target webpage
The crucial child resource loaded is needed, for example, the Dimensionless graph piece child resource of CSS child resources, JS child resources, target webpage, target
Background of webpage etc..The Dimensionless graph piece child resource needs to load when being and being placed in webpage by external connection mode and access webpage
, and the picture child resource that the size that shows of picture is defined according to it from own dimensions, if missing, the row of webpage can be influenced
Version.The Background of the target webpage refers to that the background of the web page element of some intercorrelations in target webpage, such as function are pressed
Button (input/div nodes etc.), the region (a nodes etc.) that can be clicked on etc., if deleted background figure, can influence the interaction work(of webpage
Energy.
The delay loading child resource is to need to load, but may not necessarily be pre-loaded when webpage is pre-read, but works as and use
Pre-reading for the target webpage reloaded during the actual access target webpage of family includes child resource in part, such as the video of target webpage
Child resource, audio child resource, have dimensional drawing piece child resource etc..It is described that to have dimensional drawing piece child resource be to be placed in net by external connection mode
Need to load when accessing webpage in page, and the picture child resource that the size that shows of picture is defined according to the typesetting of webpage, such as
Fruit lacks, and does not interfere with the typesetting of webpage.In one example, the delay loading child resource includes at least the target webpage
Pre-read in part and have dimensional drawing piece child resource.
Also, the target webpage pre-reads part, initially rendered to user when user's actual access target webpage
The corresponding region of the target webpage of display, it is described pre-read part can be configured according to the demand and application scenarios of user or
Change, for example, when the network access webpage that user is provided by Mobile Network Operator, can set described pre-read to be partly
The first screen content of the target webpage, to save the flow of pre-reading web page consumption, the flow cost for reducing user's access webpage is born
Load;Or when user accesses webpage from the network switching that mobile operator is provided to local wireless local area network (such as wifi)
When, described pre-read partly as the full content of the target webpage can be changed.And work as under some application scenarios, when implementation webpage
The memory source of the application program of the browser of access or similar browser function can also be pre-read part by limited time by described
Be arranged to the first screen content of target webpage, so as to reduce the memory source for implementing to be consumed when webpage is pre-read and processor (such as
CPU) resource.Therefore, in one example, content is shielded in the part that pre-reads of the target webpage for the first of the target webpage.
In the above example, the setting or change for pre-reading part, can by implementation web page access browser or
Person, in backstage automatic trigger, can provide interface for users operation triggering similar to the application program of browser function.
After step S2100, S2200 is entered step, loads the child resource that preloads to the net of the target webpage
The correspondence position of page frame frame, to complete to pre-read processing to the target webpage.
In the present embodiment, processing is pre-read to target webpage, the preloading pre-read in part of a loaded targets webpage
Child resource, does not load the delay loading child resource, can save during pre-reading web page the flow consumed, and lifting is used
Family is experienced, and can also reduce the memory source and processor (example loaded during pre-reading web page spent by excessive child resource in addition
Such as CPU) resource.Particularly, there is dimensional drawing piece child resource as delay loading child resource using described, pre-read to target webpage
Do not loaded during processing, neither influence the typesetting that target webpage pre-reads part, can also be effectively saved institute during pre-reading web page
The memory source and processor spent by child resource are loaded and handled during the flow of consumption, and reduction pre-reading web page
(such as CPU) resource.
In the present embodiment, the step S2100 and step S2200 can also intersect reciprocal progress, with completion pair
The target webpage pre-reads processing, specifically, described to determine the preloading child resource and the delay loading child resource
Step includes:
According to the web page frame of the target webpage, the child resource included in part that pre-reads for determining the target webpage is
During delay loading child resource, it is delay loading child resource to mark the child resource;
According to the web page frame of the target webpage, determine to be contained in the child resource pre-read in part of the target webpage
During to preload child resource, the step of loading preloads child resource is triggered, to load the preloading child resource to the mesh
Mark the correspondence position of the web page frame of webpage.
In the present embodiment, also provide a kind of webpage and pre-read equipment 3000, as shown in figure 3, including child resource determination unit
3100 and child resource loading unit 3200, for any one webpage pre-head method for implementing to provide in the present embodiment, herein
Repeat no more.
Webpage pre-reads equipment 3000, including:
Child resource determination unit 3100, in response to the pre- read request to target webpage, according to the acquired mesh
The web page frame of webpage is marked, determines to be contained in the preloading child resource pre-read in part of the target webpage and delay loading
Child resource;
Child resource pre-add carrier unit 3200, for loading the preloading child resource to the web page frame of the target webpage
Correspondence position, with complete processing is pre-read to the target webpage.
Alternatively, the child resource determination unit 3100 includes:
For the web page frame according to the target webpage, determine the target webpage pre-reads the son money included in part
When source is delay loading child resource, the device that the child resource is delay loading child resource is marked;
For the web page frame according to the target webpage, determine to be contained in the son pre-read in part of the target webpage
When resource is preloads child resource, trigger the preloading child resource unit 3200 and work to load the preloading child resource to institute
State the device of the correspondence position of the web page frame of target webpage.
In one example, content is shielded in the part that pre-reads of the target webpage for the first of the target webpage.
In another example, the delay loading child resource pre-reads having in part including at least the target webpage
Dimensional drawing piece child resource.
In the present embodiment, the webpage, which pre-reads equipment, may have a variety of entity forms, such as can be browser, tool
There are the application program of similar browser function or the application program independently of browser, with similar browser function
Feature card etc..
In the present embodiment, a kind of programmable device is also provided, for storing instruction, described instruction is used to control the memory
The processor is made to be operated to perform the webpage pre-head method in the present embodiment described in any one.The programmable device
Hardware configuration can be with as shown in Figure 1, details are not described herein.
In the present embodiment, a kind of Web access method is also provided, including:In response to the access request of target webpage, when
When the target webpage is that the method for offer any one in the present embodiment is completed to pre-read the webpage of processing, the target network is loaded
Correspondence position in delay loading child resource to the web page frame of the target webpage of page, to show the pre- of the target webpage
Read part.
The target webpage is that the method that any one is provided in the present embodiment is completed to pre-read the webpage of processing, has been loaded
The preloading child resource for pre-reading part of target webpage, target webpage is reloaded in actual access target webpage pre-read portion
The delay loading child resource divided, can save during pre-reading web page during the flow consumed, and reduction pre-reading web page
Load the memory process resource spent by excessive child resource.Particularly, there is dimensional drawing piece child resource as delay loading using described
Child resource, does not load when pre-reading processing to target webpage, neither influences the typesetting that target webpage pre-reads part, can also have
The flow consumed during effect ground saving pre-reading web page, and loaded during reduction pre-reading web page interior spent by child resource
Deposit resource and processor (CPU) resource.
The target webpage pre-reads the first screen content that part can be the target webpage.It is therefore, it is possible to first to user
The first screen content of the target webpage of its access, user's request of quick response user's access target webpage are directly rendered, lifting is used
Experience at family.When user needs the remainder content of further browsing objective webpage, it is further continued in loading remainder content
Comprising child resource carry out rendering display, can reduce access webpage flow consumption so that web page access is more efficiently.
In the present embodiment, a kind of network access device is also provided, is used for:In response to the access request of target webpage, when
The target webpage is completed to pre-read processing for the webpage pre-head method according to providing any one in the present embodiment
During webpage, the correspondence position in delay loading child resource to the web page frame of the target webpage of the target webpage is loaded,
Part is pre-read with show the target webpage.
In the present embodiment, a variety of entity forms may be had by being not intended to limit web page access equipment, such as can have
The browser of web page access function, the application program with similar browser function etc..
In the present embodiment, a kind of programmable device, including memory and processor are also provided, the memory is used to store
Instruction, described instruction are used to control the processor to be operated the Web access method provided in the present embodiment to perform.Institute
The hardware configuration for stating programmable device can be with as shown in Figure 1, details are not described herein.
<Example>
It will schematically illustrate below, the webpage pre-head method and web page access provided in the present embodiment is be provided
Method.In this example, the first screen content for pre-reading part and being arranged to target webpage of target webpage, flow chart as shown in figure 4, including:
Step S401, responds the pre- read request of target webpage, and the target webpage is obtained according to the URL addresses of target webpage
The page obtain the dom tree of target webpage to carry out page parsing;
Step S402, judges whether the dom tree for the target webpage that parsing obtains meets that the first screen content of target webpage is shown,
If meet that first screen content shows that completion pre-reads processing to target webpage, is transferred to step, otherwise, enters step S403;
Step S403, according to the dom tree of target webpage, judges whether currently pending child resource needs to load, if
It is to enter step S404, otherwise, goes back to step S402;
Step S404, determines whether current child resource is delay loading child resource, such as has dimensional drawing piece child resource, such as
Fruit is to be transferred to step S405, and otherwise, current child resource is transferred to preloading child resource, is transferred to step to preload child resource
S406;
Step S405, is labeled as " delay loading child resource " by current child resource, is transferred to step S402;
Step S406, loads current child resource to the correspondence position in the dom tree, is transferred to step S402;
Whether step S407, determine the target webpage by pre-reading processing by user's actual access, if by user
Access, enter step S408, otherwise, terminate;
Step S408, whether need load the delay loading child resource, such as if judging the first screen content of the target webpage
Fruit needs, and is transferred to step S409, is otherwise transferred to step S410;
Step S409, loads the correspondence position in the delay loading child resource to dom tree of the target webpage, is transferred to step
S410;
Step S410, renders the dom tree to show the first screen content of the target webpage, enters step S411;
Step S411, determines whether user will also continue browsing objective webpage, if so, S412 is entered step, otherwise, knot
Beam;
Step S412, continues the correspondence in child resource to the dom tree that includes in the remaining content of loaded targets webpage
Position, renders and shows, when target webpage is closed, terminates.
Attached drawing and the example embodiment that the invention has been described are had been combined above, according to the present embodiment, there is provided a kind of net
Page pre-head method, Web access method, equipment and programmable device, determine to include by the web page frame of acquired target webpage
In the preloading child resource pre-read in part and delay loading child resource of the target webpage, when pre-reading target webpage only
The preloading child resource is loaded, the delay loading resource is loaded when user's actual access target webpage, can save pre-
The flow consumed during reading web page, reduces the flow cost burden that user accesses webpage, lifts user experience, also can in addition
The memory source and processor resource spent by excessive child resource are loaded during reduction pre-reading web page.
It will be appreciated by those skilled in the art that it can realize that the webpage provided in the present embodiment is pre-read by various modes
Equipment and web page access equipment.For example, it can realize that webpage pre-reads equipment and web page access is set by instructing configuration processor
It is standby.For example, instruction can be stored in ROM, and when starting the device, instruction is read in programming device from ROM
To realize that webpage pre-reads equipment and web page access equipment.For example, webpage can be pre-read to equipment and web page access equipment is cured to
In dedicated devices (such as ASIC).Webpage can be pre-read to equipment and web page access equipment is divided into mutually independent unit, or
They can be merged to realization.The webpage provided in the present embodiment pre-reads equipment and web page access equipment can be by upper
One kind in various implementations is stated to realize, or two or more modes in above-mentioned various implementations can be passed through
Combination realize.
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 and seem 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.Hardware implementations or software implement scheme are used for a certain machine function, 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 be set based on the consideration 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 making processor realize the computer-readable program instructions of various aspects of the invention.
Computer-readable recording medium can keep and store to perform the tangible of the instruction that uses of equipment by instruction
Equipment.Computer-readable recording 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 recording medium
More specifically example (non exhaustive list) includes:Portable computer diskette, hard disk, random access memory (RAM), read-only deposit
It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static RAM (SRAM), portable
Compact disk read-only storage (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon
It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.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, lead to
Cross the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or transmitted by electric wire
Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer-readable recording medium it is each calculate/
Processing equipment, or outer computer or outer is downloaded to 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 is transmitted, is wirelessly transferred, 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
The source code or object code that any combination is write, programming language of the programming language including object-oriented-such as
Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer
Readable program instructions fully can on the user computer perform, partly perform on the user computer, be only as one
Vertical software kit performs, part performs or completely in remote computer on the remote computer on the user computer for part
Or performed on server.In the situation of remote computer is related to, remote computer can pass through network-bag of any kind
LAN (LAN) or wide area network (WAN)-be connected to subscriber computer are included, or, it may be connected to outer computer (such as profit
Pass through Internet connection with ISP).In certain 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 the block diagram various aspects that the invention has been described.It should be appreciated that each square frame and flow chart of flow chart and/or block diagram and/
Or in block diagram each square frame 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, generate and realize work(specified in one or more of flow chart and/or block diagram square frame
The device of energy/action.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to
Order causes computer, programmable data processing unit and/or other equipment to work in a specific way, so that, it is stored with instruction
Computer-readable medium then includes a manufacture, it includes realizing in one or more of flow chart and/or block diagram square frame
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 is 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 square frame is realized in instruction.
Flow chart and block diagram in attached drawing show system, method and the computer journey of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame 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.At some as the function of in the realization replaced, being marked in square frame
Can be with different from the order marked in attached drawing generation.For example, two continuous square frames can essentially be held substantially in parallel
OK, they can also be performed in the opposite order sometimes, this is depending on involved function.It is also noted that block diagram and/or
The combination of each square frame and block diagram in flow chart and/or the square frame in 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, described above 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 explaining the principle of each embodiment, 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 (10)
- A kind of 1. webpage pre-head method, it is characterised in that including:In response to the pre- read request to target webpage, according to the web page frame of the acquired target webpage, determine to be contained in The preloading child resource pre-read in part and delay loading child resource of the target webpage;The correspondence position of web page frame of the preloading child resource to the target webpage is loaded, to complete to the target network Page pre-reads processing.
- 2. according to the method described in claim 1, it is characterized in that, described determine the preloading child resource and the delay Loading child resource step includes:According to the web page frame of the target webpage, the child resource included in part that pre-reads for determining the target webpage is delay When loading child resource, it is delay loading child resource to mark the child resource;According to the web page frame of the target webpage, the child resource pre-read in part for determining to be contained in the target webpage is pre- When loading child resource, the step of loading preloads child resource is triggered, to load the preloading child resource to the target network The correspondence position of the web page frame of page.
- 3. method according to claim 1 or 2, it is characterised in thatThe target webpage pre-reads first screen content of the part for the target webpage.
- 4. method according to claim 1 or 2, it is characterised in thatThe delay loading child resource, which includes at least pre-reading in part for the target webpage, dimensional drawing piece child resource.
- A kind of 5. Web access method, it is characterised in that including:In response to the access request of target webpage, when the target webpage is as described in any one in claim 1-4 Method complete when pre-reading the webpage of processing, load the delay loading child resource of the target webpage to the net of the target webpage Correspondence position in page frame frame, part is pre-read with show the target webpage.
- 6. a kind of webpage pre-reads equipment, it is characterised in that including:Child resource determination unit, in response to the pre- read request to target webpage, according to the acquired target webpage Web page frame, determines to be contained in the preloading child resource pre-read in part of the target webpage and delay loading child resource;Child resource pre-add carrier unit, for loading the correspondence position of web page frame of the preloading child resource to the target webpage Put, to complete to pre-read processing to the target webpage.
- 7. equipment according to claim 6, it is characterised in that the child resource determination unit includes:For the web page frame according to the target webpage, the child resource included in part that pre-reads for determining the target webpage is During delay loading child resource, the device that the child resource is delay loading child resource is marked;For the web page frame according to the target webpage, determine to be contained in the child resource pre-read in part of the target webpage During to preload child resource, the preloading child resource cell operation is triggered to load the preloading child resource to the target network The device of the correspondence position of the web page frame of page.
- 8. a kind of web page access equipment, it is characterised in that for the access request in response to target webpage, when the target webpage When the method according to any one in claim 1-4 is completed to pre-read the webpage of processing, to load the target network Correspondence position in delay loading child resource to the web page frame of the target webpage of page, to show the pre- of the target webpage Read part.
- A kind of 9. programmable device, it is characterised in that including memory and processor, the memory for storing instruction, institute Instruction is stated to be used to control the processor to be operated to perform the method according to any one in claim 1-4.
- A kind of 10. programmable device, it is characterised in that including memory and processor, the memory for storing instruction, institute Instruction is stated to be used to control the processor to be operated to perform the method according to claim 11.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912930.3A CN107967278A (en) | 2016-10-19 | 2016-10-19 | Webpage pre-head method, Web access method, equipment and programmable device |
PCT/CN2017/077535 WO2018072388A1 (en) | 2016-10-19 | 2017-03-21 | Method for pre-reading webpage, method and device for accessing webpage, and programmable device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610912930.3A CN107967278A (en) | 2016-10-19 | 2016-10-19 | Webpage pre-head method, Web access method, equipment and programmable device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107967278A true CN107967278A (en) | 2018-04-27 |
Family
ID=61996988
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610912930.3A Pending CN107967278A (en) | 2016-10-19 | 2016-10-19 | Webpage pre-head method, Web access method, equipment and programmable device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107967278A (en) |
WO (1) | WO2018072388A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569078A (en) * | 2018-05-18 | 2019-12-13 | 广州腾讯科技有限公司 | Method and device for preloading webpage-level program |
CN110717129A (en) * | 2019-10-24 | 2020-01-21 | 北京思维造物信息科技股份有限公司 | Resource preloading method, device, equipment and storage medium |
CN111158799A (en) * | 2019-12-31 | 2020-05-15 | 北京百度网讯科技有限公司 | Page rendering method and device, electronic equipment and storage medium |
CN111339458A (en) * | 2018-12-18 | 2020-06-26 | 阿里巴巴集团控股有限公司 | Page presenting method and device |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111061633B (en) * | 2019-12-05 | 2024-04-30 | 北京达佳互联信息技术有限公司 | Webpage first screen time detection method, device, terminal and medium |
CN111666497B (en) * | 2020-06-16 | 2023-06-06 | 腾讯科技(上海)有限公司 | Application program loading method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102819560A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Display method and device of picture in webpage |
CN102855318A (en) * | 2012-08-31 | 2013-01-02 | 北京搜狗信息服务有限公司 | Method and system for preloading of webpages |
CN104657499A (en) * | 2015-03-11 | 2015-05-27 | 网易(杭州)网络有限公司 | Webpage loading method and device of client-side APP (Application) |
US20150200994A1 (en) * | 2012-05-29 | 2015-07-16 | Google Inc. | Preloading resources of a web page |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9348939B2 (en) * | 2011-03-18 | 2016-05-24 | International Business Machines Corporation | Web site sectioning for mobile web browser usability |
CN102591954B (en) * | 2011-12-29 | 2015-09-30 | 深圳Tcl新技术有限公司 | A kind of browser data load method and device |
CN103530289B (en) * | 2012-07-02 | 2018-06-22 | 腾讯科技(深圳)有限公司 | Webpage display process and device |
CN104239503A (en) * | 2014-09-11 | 2014-12-24 | 可牛网络技术(北京)有限公司 | Display control method and device for loading progress, browser and electronic equipment |
CN104750851A (en) * | 2015-04-14 | 2015-07-01 | 钱海祥 | Webpage content lazy loading method and system |
-
2016
- 2016-10-19 CN CN201610912930.3A patent/CN107967278A/en active Pending
-
2017
- 2017-03-21 WO PCT/CN2017/077535 patent/WO2018072388A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150200994A1 (en) * | 2012-05-29 | 2015-07-16 | Google Inc. | Preloading resources of a web page |
US9756108B2 (en) * | 2012-05-29 | 2017-09-05 | Google Inc. | Preloading resources of a web page |
CN102819560A (en) * | 2012-06-29 | 2012-12-12 | 北京奇虎科技有限公司 | Display method and device of picture in webpage |
CN102855318A (en) * | 2012-08-31 | 2013-01-02 | 北京搜狗信息服务有限公司 | Method and system for preloading of webpages |
CN104657499A (en) * | 2015-03-11 | 2015-05-27 | 网易(杭州)网络有限公司 | Webpage loading method and device of client-side APP (Application) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110569078A (en) * | 2018-05-18 | 2019-12-13 | 广州腾讯科技有限公司 | Method and device for preloading webpage-level program |
CN110569078B (en) * | 2018-05-18 | 2023-08-08 | 广州腾讯科技有限公司 | Method and device for preloading webpage-level program |
CN111339458A (en) * | 2018-12-18 | 2020-06-26 | 阿里巴巴集团控股有限公司 | Page presenting method and device |
CN111339458B (en) * | 2018-12-18 | 2024-05-31 | 阿里巴巴集团控股有限公司 | Page presentation method and device |
CN110717129A (en) * | 2019-10-24 | 2020-01-21 | 北京思维造物信息科技股份有限公司 | Resource preloading method, device, equipment and storage medium |
CN111158799A (en) * | 2019-12-31 | 2020-05-15 | 北京百度网讯科技有限公司 | Page rendering method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2018072388A1 (en) | 2018-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107967278A (en) | Webpage pre-head method, Web access method, equipment and programmable device | |
CN107526751A (en) | Loading method, client, web page server and the programmable device of webpage | |
US20150039996A1 (en) | System and method for dynamically converting webpage, and computer-readable recording medium | |
TW202141300A (en) | Page processing method, device, apparatus and storage medium | |
US10303526B2 (en) | Device specific handling of user interface components | |
CN107451162A (en) | Network resource accession equipment, mixing apparatus and method | |
US10306013B2 (en) | Churn risk scoring using call network analysis | |
CN105827510A (en) | Push message processing method for mobile terminal, and mobile terminal | |
CN111368180B (en) | Page display method and device and electronic equipment | |
CN107241639A (en) | The method of preloading video, equipment, video player, electronic equipment | |
CN106354483B (en) | Data processing method and device and electronic equipment | |
CN108255896A (en) | Webpage pre-head method, Web access method, equipment and electronic equipment | |
CN106982249A (en) | Multithreading segmentation method for down loading, equipment, client device and electronic equipment | |
CN108255923A (en) | Image presentation method, equipment and electronic equipment | |
CN107168780A (en) | Loading method, equipment and the virtual reality device of virtual reality scenario | |
CN112016023B (en) | Service processing method, device, terminal and storage medium | |
CN107533568A (en) | It is determined that the system and method using zoom level | |
CN104881273A (en) | Webpage rendering analysis method and terminal device | |
CN107832052A (en) | Show the method, apparatus and storage medium and electronic equipment of preview page | |
CN107203425A (en) | Switching method, equipment and the electronic equipment gently applied | |
CN109040767B (en) | Live broadcast room loading method, system, server and storage medium | |
CN107133235A (en) | The page composition method, again composing device, browser and electronic equipment again | |
CN107678637A (en) | Method, equipment, browser and the electronic equipment of handoff options card | |
CN106648602A (en) | Page loading method | |
CN108255916A (en) | Method, equipment, client terminal device and the electronic equipment that Webpage is presented |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20200528 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 Dongjing Computer Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180427 |