CN104536791A - Page resource loading method and device based on mobile terminal - Google Patents

Page resource loading method and device based on mobile terminal Download PDF

Info

Publication number
CN104536791A
CN104536791A CN201410838477.7A CN201410838477A CN104536791A CN 104536791 A CN104536791 A CN 104536791A CN 201410838477 A CN201410838477 A CN 201410838477A CN 104536791 A CN104536791 A CN 104536791A
Authority
CN
China
Prior art keywords
page
loaded
application program
picture
loads
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
CN201410838477.7A
Other languages
Chinese (zh)
Inventor
游少华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201410838477.7A priority Critical patent/CN104536791A/en
Publication of CN104536791A publication Critical patent/CN104536791A/en
Priority to PCT/CN2015/095013 priority patent/WO2016107325A1/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Abstract

The invention discloses a page resource loading method and device based on a mobile terminal, and relates to the technical field of resource loading. The method includes the steps that when a current page of an application program is displayed in an interface, the touch operation, on the interface, of a user is obtained; according to the touch operation, the page switching direction of the application program is determined; according to the current page and the page switching direction, a page to be loaded in the application program is determined, and resource loading of the page to be loaded is triggered. As the touch operation, on the interface, of the user is obtained, the page switching direction of the application program is determined according to the touch operation, the page to be loaded in the application program is determined according to the current page and the page switching direction, and then resource loading of the page to be loaded is triggered, the loading time of scene application is effectively shortened, user experience is improved, it is unnecessary to load some pages which the user possibly does not browse, and the flow of the user is saved.

Description

Based on page resource loading method and the device of mobile terminal
Technical field
The present invention relates to resource loading technique field, particularly a kind of page resource loading method based on mobile terminal and device.
Background technology
Scene applies the application program be made up of some pages, the described page is by application HTML (Hypertext Markup Language) HTML technological development, be applicable to using on mobile terminals, usually the touch control operation carried out on mobile terminals by user realizes page layout switch, thus complete mutual, be nowadays usually used in the popularization of product.
Because the page overwhelming majority of scene application is picture resource, and general each pictures uses jpg form at about 100kb, if there are 10 pictures, is equivalent to 1M, adds the resources such as other picture patterns, generally have 2 ~ 5M.
In prior art, user is when browsing scene application, after the page in whole scene being applied by mobile terminal has all loaded, just page layout switch can be carried out, if but mobile terminal is in the slower network of the network speeds such as 2G network or 3G network, the page load time of mobile terminal can be caused long, have a strong impact on Consumer's Experience, in addition, user not necessarily can browse all pages in the application of described scene, still need to load all pages in the application of described scene, also can cause certain waste to the flow of user.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of page resource loading method based on mobile terminal solved the problem at least in part and a kind of page resource charger based on mobile terminal accordingly.
According to one aspect of the present invention, provide a kind of page resource loading method based on mobile terminal, described method comprises:
When showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
The page layout switch direction of described application program is determined according to described touch control operation;
Determine the page to be loaded in described application program according to described current page and page layout switch direction, the resource triggering the described page to be loaded loads.
Alternatively, the described page to be loaded determined according to described current page and page layout switch direction in described application program, comprises further:
Using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
Alternatively, the resource of the described page to be loaded of described triggering loads, and comprises further:
The picture triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
Alternatively, the picture of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the src attribute write picture in the img label of the described page to be loaded, the URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
Alternatively, the background image of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the background attribute write background image in the body label of the described page to be loaded, the URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
Alternatively, described determine the page layout switch direction of described application program according to described touch control operation after, also comprise:
Determine the page to be presented in described application program according to described current page and page layout switch direction, the current page shown in described interface is switched to the described page to be presented.
According to another aspect of the present invention, provide a kind of page resource charger based on mobile terminal, described device comprises:
Operation getter, when being suitable for the current page showing application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Direction determinator, is suitable for the page layout switch direction determining described application program according to described touch control operation;
Load trigger, be suitable for the page to be loaded determined according to described current page and page layout switch direction in described application program, the resource triggering the described page to be loaded loads.
Alternatively, described loading trigger, be also suitable for using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
Alternatively, described loading trigger, the picture being also suitable for triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
Alternatively, described loading trigger, be also suitable for the uniform resource position mark URL to the src attribute write picture in the img label of the described page to be loaded, the URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
Alternatively, described loading trigger, also be suitable for the uniform resource position mark URL to the background attribute write background image in the body label of the described page to be loaded, URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
Alternatively, described device, also comprises page layout switch device, is suitable for the page to be presented determined according to described current page and page layout switch direction in described application program, the current page shown in described interface is switched to the described page to be presented.
The present invention is by obtaining the touch control operation of user on described interface, the page layout switch direction of described application program is determined according to described touch control operation, the page to be loaded in described application program is determined according to current page and page layout switch direction, the resource triggering the described page to be loaded again loads, effectively shorten the load time of scene application, improve Consumer's Experience, and without the need to loading the page that some may not be browsed, save the flow of user.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention;
Fig. 2 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention;
Fig. 3 is the exemplary plot of the page in a kind of scene application of one embodiment of the invention;
Fig. 4 is the exemplary plot that a kind of scene of one embodiment of the invention is applied in when browsing first;
Fig. 5 is a kind of scene application of one embodiment of the invention switches to the 2nd page exemplary plot from the 1st page;
Fig. 6 is a kind of scene application of one embodiment of the invention switches to the 3rd page exemplary plot from the 2nd page;
Fig. 7 is a kind of scene application of an embodiment of the present invention switches to the 1st page exemplary plot from the 2nd page;
Fig. 8 is a kind of scene application of an embodiment of the present invention switches to last 1 page exemplary plot from the 1st page;
Fig. 9 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention;
Figure 10 is the structured flowchart of a kind of page resource charger based on mobile terminal of one embodiment of the invention;
Figure 11 is the structured flowchart of a kind of page resource charger based on mobile terminal of one embodiment of the invention.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail.Following examples for illustration of the present invention, but are not used for limiting the scope of the invention.
Fig. 1 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention; With reference to Fig. 1, described method comprises:
S101: when showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Will be understood that, described interface is the display interface of mobile terminal, and described current page is the current page shown in the display interface of mobile terminal, and described application program is scene application.
S102: the page layout switch direction determining described application program according to described touch control operation;
It should be noted that, the corresponding relation between touch control operation and page layout switch mode can be pre-set in the terminal, then determine the page layout switch direction of described application program according to described touch control operation;
Such as: in described interface, preset two buttons, when touch control operation is click the first button, can be defined as page layout switch direction is that forward (sets N page as current page, namely the direction of N+1 page is switched to from the N page of scene application), when touch control operation is click the second button, can be defined as page layout switch direction is oppositely (namely switch to the direction of N-1 page from the N page of scene application);
Again such as: when touch control operation is upward sliding, can be defined as page layout switch direction is forward, and when touch control operation is slide downward, it is reverse for can being defined as page layout switch direction;
Certainly, step S102 also can adopt other modes to determine the page layout switch direction of described application program, and the present embodiment is not limited this.
S103: determine the page to be loaded in described application program according to described current page and page layout switch direction, the resource triggering the described page to be loaded loads.
The present embodiment is by obtaining the touch control operation of user on described interface, the page layout switch direction of described application program is determined according to described touch control operation, the page to be loaded in described application program is determined according to current page and page layout switch direction, the resource triggering the described page to be loaded again loads, effectively shorten the load time of scene application, improve Consumer's Experience, and without the need to loading the page that some may not be browsed, save the flow of user.
Fig. 2 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention; With reference to Fig. 2, described method comprises:
S201: when showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
S202: the page layout switch direction determining described application program according to described touch control operation;
Will be understood that, the step S101 in the embodiment shown in step S201 ~ S202 and Fig. 1 ~ S102 is identical, does not repeat them here.
S203: determine the page to be presented in described application program according to described current page and page layout switch direction, the current page shown in described interface is switched to the described page to be presented, using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded, trigger the described page to be loaded resource load.
It should be noted that, for realizing predicting browsing pages needed for user, and ensure the continuity that user browses, in the present embodiment using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
Will be understood that, for avoiding the waste of flow, and ensureing the normal use of user, needing, when browsing scene application first, first to load all resources of initial page.
Described initial page needs the 1st page that comprises the application of described scene usually, also need in addition to apply adjacent at least 1 page with scene, browse custom to be to browse from front to back because user is common, so the 1st, 2 page that scene is applied in the present embodiment is set to initial page, certainly, also other pages also can be set to initial page, such as: be also set to initial page by the 3rd page, or, also be set to initial page by last 1 page, the present embodiment is not limited this.
Owing to achieving the on-demand loading of user in the present embodiment, according to the page that current page and the page layout switch direction prediction next one will be browsed, load the resource of this page; The page resource that user may not browse in the future without the need to loading some, only loads the resource of a page simultaneously for each time, decreases http request, effectively shorten the load time of scene application, improve Consumer's Experience.
Be the 1st, the 2 page of determination that the page to be loaded is described for initial page below, but do not limit protection scope of the present invention.
Because scene application is made up of some pages, with reference to Fig. 3, scene application can be considered as a list, each behavior page, each page all has a lot of resource.
When user browses scene application first, with reference to Fig. 4, all resources of initial page (namely the 1st, 2 page) automatically can be loaded, if all resources of the 1st, 2 page do not load, then not page-turnable, now current page is the 1st page;
When user needs to switch to the 2nd page from the 1st page, obtain the touch control operation of user on described interface, be forward according to described touch control operation determination page layout switch direction, with reference to Fig. 5, thus determine that the described page to be loaded is the 3rd page, the resource triggering the 3rd page loads, and now current page switches to the 2nd page from the 1st page;
After the resource loaded of the 3rd page, when user needs to switch to the 3rd page from the 2nd page, obtain the touch control operation of user on described interface, be forward according to described touch control operation determination page layout switch direction, with reference to Fig. 6, thus determine that the described page to be loaded is the 4th page, the resource triggering the 4th page loads, and now current page switches to the 3rd page from the 2nd page;
The like, if current page is 3rd page reciprocal time, when user needs to switch to 2nd page reciprocal from 3rd page reciprocal, obtain the touch control operation of user on described interface, be forward according to described touch control operation determination page layout switch direction, thus determine that the described page to be loaded is last 1 page, the resource triggering last 1 page loads, and now current page switches to 2nd page reciprocal from 3rd page reciprocal;
When current page is the 2nd page, when user needs to switch to the 1st page from the 2nd page, obtain the touch control operation of user on described interface, be reverse according to described touch control operation determination page layout switch direction, with reference to Fig. 7, thus determine that the described page to be loaded is last 1 page, the resource triggering last 1 page loads, and now current page switches to the 1st page from the 2nd page;
It is the 1st page at current page, when user needs to switch to last 1 page from the 1st page, obtain the touch control operation of user on described interface, be reverse according to described touch control operation determination page layout switch direction, with reference to Fig. 8, thus determine that the described page to be loaded is for 2nd page reciprocal, the resource triggering 2nd page reciprocal loads, and now current page switches to last 1 page from the 1st page;
The like, if current page is last 1 page, when user needs to switch to 2nd page reciprocal from last 1 page, obtain the touch control operation of user on described interface, be reverse according to described touch control operation determination page layout switch direction, thus determine that the described page to be loaded is for 3rd page reciprocal, the resource triggering 3rd page reciprocal loads, and now current page switches to 2nd page reciprocal from last 1 page.
Fig. 9 is the flow chart of steps of a kind of page resource loading method based on mobile terminal of one embodiment of the invention; With reference to Fig. 9, described method comprises:
S901: when showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
S902: the page layout switch direction determining described application program according to described touch control operation;
Step S101 ~ the S102 of the embodiment shown in step S901 ~ S902 and Fig. 1 is identical, does not repeat them here.
S903: determine the page to be loaded in described application program according to described current page and page layout switch direction, the picture triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
Because the file of picture and background image in the resource of the page is comparatively large, to its conclusive effect of resource loading velocity of the page, so in the present embodiment, the resource of the described page is picture and background image.
For making not want all pictures in all pages of disposable loading and/or background image during a certain page of loading application programs, various ways can be adopted, in the present embodiment, when writing page HTML structure, the URL of background image and/or picture is all positioned in corresponding data-src attribute, when a certain page so is in the application loaded, (such as during browser load page) then can not all pictures of disposable automatic download and/or all background images, but load nextpage or picture corresponding to previous page and/or background picture according to the first pre-trigger of the current page browsed of user.
When the picture triggering the page to be loaded loads, and when triggering the background image loading of the page to be loaded, all pictures and background image (background image can be identified by bg=1 in data-src) in the described page to be loaded is selected by the passback function $ (' [data-src] ') in jquery, the object of picture and background image is created again by new Image (), the URL of the picture in data-src attribute is positioned over to the src attribute write in the img label of the described page to be loaded, the URL of the background image in data-src attribute is positioned over to the background attribute write in the body label of the described page to be loaded, URL according to described picture downloads corresponding picture, URL according to described background image downloads corresponding background image, thus realize the described picture of the page to be loaded and the loading of background image,
Certainly, also can adopt other modes to realize, such as, the URL of background image and picture is all positioned in other attributes, or write direct in js variable array by the URL of background image and picture, the present embodiment is not limited this.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to preferred embodiment, and involved action might not be that the embodiment of the present invention is necessary.
Figure 10 is the structured flowchart of a kind of page resource charger based on mobile terminal of one embodiment of the invention; With reference to Figure 10, described device comprises:
Operation getter 1001, when being suitable for the current page showing application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Direction determinator 1002, is suitable for the page layout switch direction determining described application program according to described touch control operation;
Load trigger 1003, be suitable for the page to be loaded determined according to described current page and page layout switch direction in described application program, the resource triggering the described page to be loaded loads.
In a kind of embodiment of the present invention, described loading trigger, be also suitable for using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
In a kind of embodiment of the present invention, described loading trigger, the picture being also suitable for triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
In a kind of embodiment of the present invention, described loading trigger, also be suitable for the uniform resource position mark URL to the src attribute write picture in the img label of the described page to be loaded, the URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
In a kind of embodiment of the present invention, described loading trigger, also be suitable for the uniform resource position mark URL to the background attribute write background image in the body label of the described page to be loaded, URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
Figure 11 is the structured flowchart of a kind of page resource charger based on mobile terminal of one embodiment of the invention; With reference to Figure 11, described device comprises:
Operation getter 1101, when being suitable for the current page showing application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Direction determinator 1102, is suitable for the page layout switch direction determining described application program according to described touch control operation;
Load trigger 1103, be suitable for the page to be loaded determined according to described current page and page layout switch direction in described application program, the resource triggering the described page to be loaded loads.
Page layout switch device 1104, is suitable for the page to be presented determined according to described current page and page layout switch direction in described application program, the current page shown in described interface is switched to the described page to be presented.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Should be noted that, in all parts of device of the present invention, the function that will realize according to it and logical partitioning has been carried out to parts wherein, but, the present invention is not limited to this, can repartition all parts as required or combine, such as, can be single parts by some component combinations, or some parts can be decomposed into more subassembly further.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the device of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
Above embodiment is only for illustration of the present invention; and be not limitation of the present invention; the those of ordinary skill of relevant technical field; without departing from the spirit and scope of the present invention; can also make a variety of changes and modification; therefore all equivalent technical schemes also belong to category of the present invention, and scope of patent protection of the present invention should be defined by the claims.
The invention discloses A1, a kind of page resource loading method based on mobile terminal, described method comprises:
When showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
The page layout switch direction of described application program is determined according to described touch control operation;
Determine the page to be loaded in described application program according to described current page and page layout switch direction, the resource triggering the described page to be loaded loads.
A2, method as described in A1, the described page to be loaded determined according to described current page and page layout switch direction in described application program, comprises further:
Using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
A3, method according to any one of A1 ~ A2, the resource of the described page to be loaded of described triggering loads, and comprises further:
The picture triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
A4, method according to any one of A1 ~ A3, the picture of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the src attribute write picture in the img label of the described page to be loaded, the URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
A5, method according to any one of A1 ~ A4, the background image of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the background attribute write background image in the body label of the described page to be loaded, the URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
A6, method according to any one of A1 ~ A5, described determine the page layout switch direction of described application program according to described touch control operation after, also comprise:
Determine the page to be presented in described application program according to described current page and page layout switch direction, the current page shown in described interface is switched to the described page to be presented.
The invention also discloses B7, a kind of page resource charger based on mobile terminal, described device comprises:
Operation getter, when being suitable for the current page showing application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Direction determinator, is suitable for the page layout switch direction determining described application program according to described touch control operation;
Load trigger, be suitable for the page to be loaded determined according to described current page and page layout switch direction in described application program, the resource triggering the described page to be loaded loads.
B8, device as described in B7, described loading trigger, be also suitable for using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
B9, device according to any one of B7 ~ B8, described loading trigger, the picture being also suitable for triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
B10, device according to any one of B7 ~ B9, described loading trigger, also be suitable for the uniform resource position mark URL to the src attribute write picture in the img label of the described page to be loaded, URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
B11, device according to any one of B7 ~ B10, described loading trigger, also be suitable for the uniform resource position mark URL to the background attribute write background image in the body label of the described page to be loaded, URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
B12, device according to any one of B7 ~ B11, described device, also comprise page layout switch device, be suitable for the page to be presented determined according to described current page and page layout switch direction in described application program, the current page shown in described interface is switched to the described page to be presented.

Claims (10)

1. based on a page resource loading method for mobile terminal, it is characterized in that, described method comprises:
When showing the current page of application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
The page layout switch direction of described application program is determined according to described touch control operation;
Determine the page to be loaded in described application program according to described current page and page layout switch direction, the resource triggering the described page to be loaded loads.
2. the method for claim 1, is characterized in that, the described page to be loaded determined according to described current page and page layout switch direction in described application program, comprises further:
Using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
3. the method according to any one of claim 1 ~ 2, is characterized in that, the resource of the described page to be loaded of described triggering loads, and comprises further:
The picture triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
4. the method according to any one of claims 1 to 3, is characterized in that, the picture of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the src attribute write picture in the img label of the described page to be loaded, the URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
5. the method according to any one of Claims 1 to 4, is characterized in that, the background image of the described page to be loaded of described triggering loads, and comprises further:
To the uniform resource position mark URL of the background attribute write background image in the body label of the described page to be loaded, the URL according to described background image downloads corresponding background image, thus the background image realizing the described page to be loaded loads.
6. the method according to any one of Claims 1 to 5, is characterized in that, described determine the page layout switch direction of described application program according to described touch control operation after, also comprise:
Determine the page to be presented in described application program according to described current page and page layout switch direction, the current page shown in described interface is switched to the described page to be presented.
7. based on a page resource charger for mobile terminal, it is characterized in that, described device comprises:
Operation getter, when being suitable for the current page showing application program in interface, obtain the touch control operation of user on described interface, described application program is made up of some pages;
Direction determinator, is suitable for the page layout switch direction determining described application program according to described touch control operation;
Load trigger, be suitable for the page to be loaded determined according to described current page and page layout switch direction in described application program, the resource triggering the described page to be loaded loads.
8. device as claimed in claim 7, is characterized in that, described loading trigger, be also suitable for using in described application program from described current page along first non-load page in described page layout switch direction as the described page to be loaded.
9. the device according to any one of claim 7 ~ 8, is characterized in that, described loading trigger, and the picture being also suitable for triggering the described page to be loaded loads, and the background image triggering the described page to be loaded loads.
10. the device according to any one of claim 7 ~ 9, it is characterized in that, described loading trigger, also be suitable for the uniform resource position mark URL to the src attribute write picture in the img label of the described page to be loaded, URL according to described picture downloads corresponding picture, thus the picture realizing the described page to be loaded loads.
CN201410838477.7A 2014-12-29 2014-12-29 Page resource loading method and device based on mobile terminal Pending CN104536791A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410838477.7A CN104536791A (en) 2014-12-29 2014-12-29 Page resource loading method and device based on mobile terminal
PCT/CN2015/095013 WO2016107325A1 (en) 2014-12-29 2015-11-19 Page resource loading method and device based on mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410838477.7A CN104536791A (en) 2014-12-29 2014-12-29 Page resource loading method and device based on mobile terminal

Publications (1)

Publication Number Publication Date
CN104536791A true CN104536791A (en) 2015-04-22

Family

ID=52852323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410838477.7A Pending CN104536791A (en) 2014-12-29 2014-12-29 Page resource loading method and device based on mobile terminal

Country Status (2)

Country Link
CN (1) CN104536791A (en)
WO (1) WO2016107325A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105516467A (en) * 2015-11-26 2016-04-20 努比亚技术有限公司 Page displaying method and mobile terminal
WO2016107325A1 (en) * 2014-12-29 2016-07-07 北京奇虎科技有限公司 Page resource loading method and device based on mobile terminal
CN106095461A (en) * 2016-06-21 2016-11-09 东软集团股份有限公司 The method and device of display module in interface
CN107391610A (en) * 2017-07-04 2017-11-24 广州视源电子科技股份有限公司 Background picture method to set up, device, readable storage medium storing program for executing and computer equipment
CN108076113A (en) * 2016-11-15 2018-05-25 同方威视技术股份有限公司 For method, server and the system operated to safety inspection data
CN112506603A (en) * 2021-02-08 2021-03-16 艾乐德电子(南京)有限公司 Switching method and system for display interface of electronic instrument equipment
CN113934949A (en) * 2021-11-24 2022-01-14 掌阅科技股份有限公司 Information page display method, electronic equipment and computer storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111625432B (en) * 2019-02-28 2023-03-28 北京字节跳动网络技术有限公司 Page loading time consumption determination method and device and computer readable storage medium
CN111552528A (en) * 2020-04-14 2020-08-18 携程旅游网络技术(上海)有限公司 Display method, system, electronic equipment and medium of mobile terminal page
CN113411622B (en) * 2021-05-26 2022-03-15 广州方硅信息技术有限公司 Loading method and device of live broadcast interface, client and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065114A (en) * 2009-11-17 2011-05-18 中国移动通信集团重庆有限公司 Method and device for mobile terminal to access webpage
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN104008114A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 WAP (wireless application protocol) browser page jumping method and device
CN104216944A (en) * 2014-07-10 2014-12-17 腾讯科技(深圳)有限公司 Webpage content display method and webpage content display device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809896B (en) * 2012-11-15 2018-11-09 腾讯科技(深圳)有限公司 A kind of page switching method and device
CN103853729B (en) * 2012-11-29 2019-03-26 腾讯科技(深圳)有限公司 Page loading method and its system
CN103390053A (en) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 Page switching control method and device of browser and client
CN104536791A (en) * 2014-12-29 2015-04-22 北京奇虎科技有限公司 Page resource loading method and device based on mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065114A (en) * 2009-11-17 2011-05-18 中国移动通信集团重庆有限公司 Method and device for mobile terminal to access webpage
CN103984686A (en) * 2013-02-07 2014-08-13 阿里巴巴集团控股有限公司 Page-switching method and device
CN104008114A (en) * 2013-02-27 2014-08-27 腾讯科技(深圳)有限公司 WAP (wireless application protocol) browser page jumping method and device
CN104216944A (en) * 2014-07-10 2014-12-17 腾讯科技(深圳)有限公司 Webpage content display method and webpage content display device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016107325A1 (en) * 2014-12-29 2016-07-07 北京奇虎科技有限公司 Page resource loading method and device based on mobile terminal
CN105516467A (en) * 2015-11-26 2016-04-20 努比亚技术有限公司 Page displaying method and mobile terminal
CN106095461A (en) * 2016-06-21 2016-11-09 东软集团股份有限公司 The method and device of display module in interface
CN108076113A (en) * 2016-11-15 2018-05-25 同方威视技术股份有限公司 For method, server and the system operated to safety inspection data
CN108076113B (en) * 2016-11-15 2021-04-16 同方威视技术股份有限公司 Method, server and system for operating security check data
CN107391610A (en) * 2017-07-04 2017-11-24 广州视源电子科技股份有限公司 Background picture method to set up, device, readable storage medium storing program for executing and computer equipment
CN112506603A (en) * 2021-02-08 2021-03-16 艾乐德电子(南京)有限公司 Switching method and system for display interface of electronic instrument equipment
CN113934949A (en) * 2021-11-24 2022-01-14 掌阅科技股份有限公司 Information page display method, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
WO2016107325A1 (en) 2016-07-07

Similar Documents

Publication Publication Date Title
CN104536791A (en) Page resource loading method and device based on mobile terminal
CN109388463B (en) Split screen display method of tablet personal computer application software, storage medium and tablet personal computer
CN104050171B (en) Air navigation aid, the device and system of the page presented on a kind of mobile terminal
JP5661704B2 (en) Information processing apparatus, server apparatus, information processing method, and computer program
CN104484193A (en) Method and device for rapidly starting application program
CN103135879B (en) Display packing, display device and electronic equipment
CN104238897A (en) Menu item displaying method and device
CN110046310B (en) Method and device for analyzing jump link in page
CN105389372A (en) Page display method and apparatus
CN102077200A (en) Graphical user interface for non mouse-based activation of links
CN104808889A (en) Page switching method and electronic equipment
CN105487777A (en) Mobile search and news switching method and device based on gesture operation
CN104750409A (en) Screen picture zooming and operating method and device
CN103177113A (en) Webpage rendering method and webpage rendering device
CN104063484A (en) Webpage presenting method and device and electronic device
CN111723309B (en) Method and device for web page searching
CN105630310A (en) Method and device for displaying titles during graph group switching
CN103838486A (en) Operation method and terminal for terminal display page
CN112445588A (en) Application task processing method, device and equipment and readable storage medium
EP2887197A1 (en) Method for selecting an electronic content to be displayed on a display of an electronic device
CN103714074A (en) Interactive method for mobile terminal, device and mobile terminal
CN105630304A (en) Browser operation method and electronic equipment
CN103345362A (en) Method and system for saving web pages in batch
JP5372704B2 (en) Web page display program, Web page display method, Web page display device, and Web page display system
CN112905072B (en) Application processing method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150422