CN105630949B - Page load, backing method and device - Google Patents

Page load, backing method and device Download PDF

Info

Publication number
CN105630949B
CN105630949B CN201510981343.5A CN201510981343A CN105630949B CN 105630949 B CN105630949 B CN 105630949B CN 201510981343 A CN201510981343 A CN 201510981343A CN 105630949 B CN105630949 B CN 105630949B
Authority
CN
China
Prior art keywords
page
network view
network
rollback
load
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.)
Active
Application number
CN201510981343.5A
Other languages
Chinese (zh)
Other versions
CN105630949A (en
Inventor
李�杰
李林
杨伟贤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510981343.5A priority Critical patent/CN105630949B/en
Publication of CN105630949A publication Critical patent/CN105630949A/en
Application granted granted Critical
Publication of CN105630949B publication Critical patent/CN105630949B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching

Landscapes

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

Abstract

The disclosure provides a kind of load of the page, backing method and device.Disclosure page loading method, comprising: obtain page load request;Network view is called to load the corresponding page of the page load request, wherein, network view includes first network view and the second network view, first network view is called to carry out page load in m-th of page load request, the second network view is called to carry out page load in the m+1 page load request, the m+1 page load request is the access request for the hyperlink triggering that user clicks in the corresponding page of m-th of page load request, and m is positive integer.The disclosure realizes that the page is infinitely loaded by two network view rotation loading pages, and institute's loading page simulates primary animation, keeps identical animation experience with locally applied to realize, promotes experience of the user in the terminal during unlimited loading page;In addition, in the scene of commending contents, additionally it is possible to promote loading velocity.

Description

Page load, backing method and device
Technical field
This disclosure relates to the communication technology more particularly to a kind of load of page, backing method and device.
Background technique
Currently, all there are recommendation mechanisms in most of business type application.Wherein, a kind of recommendation mechanisms form is to be melted into content pages Interior, guidance user opens new content pages and continues to browse when browsing the content in a content pages.
Scene one: a piece of news A is browsed in today's tops application (application, referred to as: App), in news A It clicks associated recommendation and enters news B, associated recommendation is clicked in news B and enters news C, etc., and so on.
Scene two: the details page of browse application A in application shop App clicks related application in the details page of application 1 Recommend to enter the details page for applying 2, related application is clicked in the details page of application 2 and recommends to enter the details page for applying 3, etc. Deng, and so on.
Summary of the invention
The disclosure provides a kind of load of the page, backing method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of page loading method is provided, is added this method comprises: obtaining the page Carry request;Call the corresponding page of network view loading page load request.Wherein, network view include first network view and Second network view calls first network view to carry out page load, in the m+1 page in m-th of page load request The second network view is called to carry out the page load when load request, the m+1 page load request is that user clicks m-th of page The access request of hyperlink triggering in the corresponding page of load request, m is positive integer.
The technical scheme provided by this disclosed embodiment can include the following benefits: by two network views, i.e., First network view and the second network view, rotation loading page realize that the page infinitely loads, and the stringent memory that limits increases;Together When, institute's loading page simulates primary animation, keeps identical animation experience with locally applied to realize, promotes user in terminal In experience during unlimited loading page;In addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Further, for the m+1 page load request, above-mentioned calling network view loading page load request is corresponding The page, comprising: call first network view need rewrite network address loading method intercept the m+1 page load request;By m + 1 page load request passes to the second network view and carries out page load.
Further, above-mentioned first network view and the second network view are local network view.
According to the second aspect of an embodiment of the present disclosure, a kind of page backing method is provided, is returned this method comprises: obtaining the page Move back request;Network view is called to show the corresponding page of page rollback requests.Wherein, network view include first network view and Second network view calls if current display page is that first network view is called to load in n-th of page rollback requests Second network view carries out the page and shows, the corresponding page of n-th of page rollback requests is that the second network view is called to be added It carries, calls first network view to carry out page rollback, (n+1)th page rollback requests in (n+1)th page rollback requests The corresponding page calls first network view to be loaded, and (n+1)th page rollback requests is that user clicks n-th of page The access request of back return button triggering in the corresponding page of rollback requests, n is positive integer.
The technical scheme provided by this disclosed embodiment can include the following benefits: by two network views, i.e., First network view and the second network view, the rotation rollback page guarantee the fluency of back off procedure, promote user in the terminal Experience during the rollback page.
Further, above-mentioned page backing method further include: first network view is called to show that page rollback requests are corresponding The page when, call the second network view execute rollback operation;Alternatively, the second network view is called to show page rollback requests pair When the page answered, first network view is called to execute rollback operation.
Further, above-mentioned first network view and the second network view are local network view.
According to the third aspect of an embodiment of the present disclosure, a kind of page loading device is provided.The device includes: acquisition module, It is configured as obtaining page load request;Loading module is configured as that network view is called to load the page load request pair The page answered, wherein the network view includes first network view and the second network view, in m-th of page load request When call the first network view to carry out page load, second network video is called in the m+1 page load request Figure carries out page load, and the m+1 page load request is that user clicks surpassing in the corresponding page of m-th of page load request The access request of triggering is linked, m is positive integer.
The technical scheme provided by this disclosed embodiment can include the following benefits: by two network views, i.e., First network view and the second network view, rotation loading page realize that the page infinitely loads, and the stringent memory that limits increases;Together When, institute's loading page simulates primary animation, keeps identical animation experience with locally applied to realize, promotes user in terminal In experience during unlimited loading page;In addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
According to a fourth aspect of embodiments of the present disclosure, a kind of page rollback device is provided, which includes: acquisition module, It is configured as obtaining page rollback requests;Rollback module is configured as that network view is called to show the page rollback requests pair The page answered, wherein the network view includes first network view and the second network view, if current display page is to call The first network view load, it calls second network view to carry out the page in n-th of page rollback requests and shows, The corresponding page calling of n-th of page rollback requests second network view is loaded, in (n+1)th page The first network view is called to carry out the page rollback when rollback requests, the corresponding page of (n+1)th page rollback requests The first network view is called to be loaded, (n+1)th page rollback requests are that user clicks described n-th page The access request of back return button triggering in the corresponding page of face rollback requests, n is positive integer.
The technical scheme provided by this disclosed embodiment can include the following benefits: by two network views, i.e., First network view and the second network view, the rotation rollback page guarantee the fluency of back off procedure, promote user in the terminal Experience during the rollback page.
According to a fifth aspect of the embodiments of the present disclosure, a kind of terminal is provided, comprising: processor and for storage processor can The memory executed instruction.Wherein, processor is configured as executing as described in any one of first aspect and/or second aspect Method.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
In order to illustrate more clearly of the embodiment of the present disclosure or technical solution in the prior art, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Disclosed some embodiments without any creative labor, may be used also for those of ordinary skill in the art To obtain other drawings based on these drawings.
Fig. 1 is a kind of implementation ring according to involved in the page load of each embodiment of disclosure offer, backing method The schematic diagram in border;
Fig. 2 is a kind of flow chart of page loading method shown according to an exemplary embodiment;
Fig. 3 is a kind of operation chart of page loading method shown according to an exemplary embodiment;
Fig. 4 is a kind of flow chart of page backing method shown according to an exemplary embodiment;
Fig. 5 is a kind of page loading device block diagram shown according to an exemplary embodiment;
Fig. 6 is a kind of page rollback device block diagram shown according to an exemplary embodiment;
Fig. 7 is a kind of terminal block diagram shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Term " first ", " second ", " third " in the specification and claims of the disclosure etc. are for distinguishing class As object, without being used to describe a particular order or precedence order.It should be understood that the data used in this way are in appropriate situation Under can be interchanged, so as to embodiment of the disclosure described herein for example can in addition to those of illustrate or describe herein with Outer sequence is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover non-exclusive packet Contain, for example, what the process, method, system, product or equipment for containing a series of steps or units were not necessarily limited to be clearly listed Those step or units, but may include be not clearly listed or it is intrinsic for these process, methods, product or equipment Other step or units.
Several nouns involved in the embodiment of the present disclosure are explained first:
Page load: the corresponding resource file of loading page and data cached process.Wherein, resource file adds for the page Necessary composing document when load, the html file including the page, CSS file, JS file etc..These resource files are for the page The information such as the frame infrastructure elements of display, including layout structure configuration, functional module configuration, system configuration, only application mention The modification and update of these resource files are related to the page Shi Caihui that modifies for quotient.Data cached is to need to be loaded into page The data and resource file in face form the complete page together.It is data cached to refer generally to the relevant video such as advertisement or news, figure The information of piece and text.The data cached update cycle is much smaller than the update cycle of resource file.
Mixed mode mobile application (Hybrid App): refer between network application (Web App), locally applied Application between (Native App) the two has both " advantage of locally applied good user-interaction experience " and " network application The advantage of Cross-border congestion management ".Although mixed mode mobile application appears to be locally applied, but only one user interface (User Interface, referred to as: UI) network view (WebView), is substantially a network application.
Locally applied (Native App): also known as ecosystem application is a kind of based on smart phone native operating sys-tern Such as iOS, Android (Android), WP and the third party application for writing using native program operation.
The H5 page: being exactly HTML5.HTML5 is the HTML standard version for replacing 1.0 standard of HTML 4.01 and XHTML This, now still in developing stage, but most of browser has supported certain HTML5 technologies.HTML 5 has two major features: first First, the performance capabilities of Web page is enhanced.Secondly, having added the function of the Web such as local data base application.
Referring to FIG. 1, it illustrates the pages that the embodiment of the present disclosure provides to load, a kind of implementation involved in backing method The structural schematic diagram of environment, the implementation environment include terminal 100 and server 200.Wherein, terminal 100 passes through with server 200 Wireless network is communicated.
Terminal 100 can be that smart phone, tablet computer with telephony feature etc. are based on mixed mode mobile application (this Ground application+H5 the page) client device.Server 200 can be a server, or consist of several servers Server cluster or a cloud computing service center.
Fig. 2 is a kind of flow chart of page loading method shown according to an exemplary embodiment.The present embodiment provides one Kind page loading method, this method are applied in page loading device, which is integrated in terminal.Such as Fig. 2 institute Show, method the following steps are included:
In step 201, page load request is obtained.
Wherein, page load request may include the pages such as the hyperlink in the access request and the display page to site for service Business function starting request that functionality controls are triggered etc..Above-mentioned access request and business function starting request include but is not limited to The physical button that client device provides is manually operated in user or virtual push button triggers.
In step 202, the corresponding page of network view loading page load request is called, wherein network view includes First network view and the second network view.
It calls first network view to carry out page load in m-th of page load request, is asked in the m+1 page load The second network view is called to carry out the page load when asking, the m+1 page load request is that m-th of page load of user's click is asked The access request for asking the hyperlink in the corresponding page to trigger, m is positive integer.
In the prior art, mixed mode mobile application is in order to guarantee smooth page switching animation, each H5 page Must all be embedded into one it is locally applied in, lead to that when opening about 5 pages, application crashes will be led to because memory overflows.
To avoid problems of the prior art, the disclosure in mixed mode mobile application by being arranged two networks View namely first network view and the second network view call two that the load of the two network views continuously acquires in turn The corresponding page of page load request, that is, first network is called in m-th of page load request described in step 202 View carries out page load, and the second network view is called to carry out page load in the m+1 page load request.
In the concrete realization, the embodiment of the present disclosure creates a customized view: network view changeover module (WebViewSwitcher), which externally exposes a loadUrl method, adds for loading a page It carries and requests the corresponding page;It is made of inside the network view changeover module two network views (WebView), below by its point It is also known as WebView_A and WebView_B.By this two network views loading page in turn, i.e., by WebView_A load the The corresponding page of 1 page load request, the 3rd corresponding page of page load request, the 5th page load request are corresponding Page, etc.;It is corresponding that the 2nd corresponding page of page load request, the 4th page load request are loaded by WebView_B The page, the 6th corresponding page of page load request, etc., and so on.
When by WebView_A loading page, WebView_A is switched to foreground, and after WebView_B is switched to Platform.Similarly, when WebView_B loading page, WebView_B is switched to foreground, WebView_A is switched to backstage.Due to Handoff procedure is completed by two WebView_A and WebView_B, also just at two common local view (Native View switching), therefore, it is possible to specify arbitrary local view switches animation, to realize the loaded page on network view Face reaches locally applied animation switching experience.
For the m+1 page load request, step 202 can be with specifically: the need of first network view is called to rewrite net Location loading method intercepts the m+1 page load request;By the m+1 page load request pass to the second network view into The load of the row page.
For example, referring to Fig. 3, load comprising uniform resource locator (Uniform Resource Locator, referred to as: URL) when the corresponding page of 1 page load request, the loadUrl method provided by network view changeover module is loaded, The page load request for including URL1 can be passed to WebView_A by this method, include the page of URL1 by WebView_A load The corresponding page of face load request;In the corresponding page of page load request comprising URL1, clickable hyperlinks, generation includes The page load request of URL2;This includes the page load request of URL2 by WebView_A's ShouldOverrideUrlLoading method intercepts, and the page load request for including URL2 is passed to WebView_B, It is, the page load request intercepted in WebView_A is loaded by WebView_B.Meanwhile WebView_B being switched To foreground, WebView_A is switched to backstage.Similarly, based on the page for clicking hyperlink generation in the page loaded by WebView_B Face load request is intercepted and passes to WebView_A, and WebView_A is switched to foreground, after WebView_B is switched to Platform circuits sequentially, and details are not described herein again.
It should be noted that it will be understood by those skilled in the art that wherein, terminal 100 as shown in Figure 1 and server 200 Interaction be backstage realize, do not influence the loading velocity of the page.
Wherein, above-mentioned first network view and the second network view are local network view.
In conclusion page loading method provided in this embodiment, by two network views, i.e., first network view and Second network view, rotation loading page realize that the page infinitely loads, and the stringent memory that limits increases;Meanwhile institute's loading page mould Intend primary animation, keeps identical animation experience with locally applied to realize, promote user's unlimited loading page in the terminal During experience;In addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Based on above-mentioned page loading method, the disclosure also provides a kind of page backing method.Below to the page rollback side Method is explained.Wherein, for details undisclosed in the embodiment of the present disclosure, it is real to please refer to disclosure page loading method Apply example.
Fig. 4 is a kind of flow chart of page backing method shown according to an exemplary embodiment.The present embodiment provides one Kind page backing method, this method are applied in page rollback device, which is integrated in terminal.Such as Fig. 4 institute Show, method the following steps are included:
In step 401, page rollback requests are obtained.
In step 402, network view is called to show the corresponding page of the page rollback requests, if current display page For calling first network view load, calls the second network view to carry out the page in n-th of page rollback requests and show, First network view is called to carry out the page rollback when (n+1)th page rollback requests.
Wherein, the corresponding page of n-th of page rollback requests calls the second network view to be loaded.(n+1)th The corresponding page of page rollback requests calls first network view to be loaded.And (n+1)th page rollback requests is to use The access request of the back return button triggering in the corresponding page of n-th of page rollback requests is clicked at family, and n is positive integer.
Network view itself has browsing history function, and the embodiment of the present disclosure realizes that the smooth page returns by this function Move back effect.Assuming that multiple pages currently have been loaded with, and that be currently at foreground is WebView_B, the page being loaded For url_n.At this point, rollback (back, or be " the retrogressing ") button clicked in url_n returns to a page, i.e. url_n- 1.Due to using two network views alternately to load in loading page, url_n-1 is loaded by WebView_A.This When, it is only necessary to WebView_A is directly switched to foreground, and WebView_B is switched to backstage, WebView_A is not required to Rollback (goBack) operation is executed, therefore the process of the rollback page is very smooth.After switching, for WebView_B, due to Retracted the page, therefore url_n no longer needs, and executes rollback operation to WebView_B at this time, that is, allow WebView_B It shows url_n-2, is ready for the rollback page next time, WebView_B can not be any behaviour when to retract next time That makees is directly switch to foreground, to guarantee the fluency to retract.
In conclusion page backing method provided in this embodiment, by two network views, i.e., first network view and Second network view, the rotation rollback page guarantee the fluency of back off procedure, promote the process of user's rollback page in the terminal In experience.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.It is real for disclosure device Undisclosed details in example is applied, embodiments of the present disclosure is please referred to.
Fig. 5 is a kind of page loading device block diagram shown according to an exemplary embodiment.The embodiment of the present disclosure provides one Kind page loading device, the page loading device are integrated in terminal.Referring to Fig. 5, which includes obtaining module 11 and loading module 12.
The acquisition module 11 is configured as obtaining page load request.
The loading module 12 is configured as calling the corresponding page of network view loading page load request.
Wherein, network view includes first network view and the second network view.It is called in m-th of page load request First network view carries out page load, and the second network view is called to carry out page load in the m+1 page load request, The m+1 page load request is the access for the hyperlink triggering that user clicks in the corresponding page of m-th of page load request Request, m is positive integer.
In conclusion page loading device provided in this embodiment, by two network views, i.e., first network view and Second network view, rotation loading page realize that the page infinitely loads, and the stringent memory that limits increases;Meanwhile institute's loading page mould Intend primary animation, keeps identical animation experience with locally applied to realize, promote user's unlimited loading page in the terminal During experience;In addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Further, for the m+1 page load request, loading module 12 is configured as calling first network view Network address loading method need to be rewritten and intercept the m+1 page load request;The m+1 page load request is passed into the second network View carries out page load.
In the above-described embodiments, first network view and the second network view are local network view.
Fig. 6 is a kind of page rollback device block diagram shown according to an exemplary embodiment.The embodiment of the present disclosure provides one Kind page rollback device, the page rollback device are integrated in terminal.Referring to Fig. 6, which includes obtaining module 21 and rollback module 22.
The acquisition module 21 is configured as obtaining page rollback requests.
The rollback module 22 is configured as that network view is called to show the corresponding page of page rollback requests.
Wherein, network view includes first network view and the second network view.If current display page is to call first Network view load, it calls the second network view to carry out the page in n-th of page rollback requests and shows, n-th of page returns Moving back the corresponding page of request calls the second network view to be loaded.In (n+1)th page rollback requests, tune states first Network view carries out page rollback, and the corresponding page of (n+1)th page rollback requests is that first network view is called to be loaded 's.(n+1)th page rollback requests is that the back return button that user clicks in the corresponding page of n-th of page rollback requests triggers Access request, n are positive integer.
In conclusion page rollback device provided in this embodiment, by two network views, i.e., first network view and Second network view, the rotation rollback page guarantee the fluency of back off procedure, promote the process of user's rollback page in the terminal In experience.
Further, rollback module 22 are configured as that first network view is called to show the corresponding page of page rollback requests When face, the second network view is called to execute rollback operation.Alternatively, rollback module 22, is configured as calling the second network view aobvious When showing the corresponding page of page rollback requests, first network view is called to execute rollback operation.Wherein, first network view and Two network views are local network view.
Fig. 7 is a kind of terminal block diagram shown according to an exemplary embodiment.Referring to Fig. 7, terminal 800 may include following One or more components: processing component 802, memory 804, electric power assembly 806, multimedia component 808, audio component 810 are defeated Enter/export the interface 812 of (input/output, referred to as: I/O), sensor module 814 and communication component 816.
The integrated operation of the usual controlling terminal 800 of processing component 802, such as with display, data communication, camera operation and note Record operates associated operation.Processing component 802 may include one or more processors 820 to execute instruction, on completing The all or part of the steps for the method stated.In addition, processing component 802 may include one or more modules, it is convenient for processing component Interaction between 802 and other assemblies.For example, processing component 802 may include multi-media module, to facilitate multimedia component Interaction between 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in terminal 800.These data are shown Example includes the instruction of any application or method for operating in terminal 800, contact data, and telephone book data disappears Breath, picture, video etc..Memory 804 can be by any kind of volatibility or non-volatile memory device or their group It closes and realizes, such as static random access memory (Static Random Access Memory, referred to as: SRAM), electric erasable can Program read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as: EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, referred to as: EPROM), programmable read only memory (Programmable Red-Only Memory, referred to as: PROM), read-only memory (Read-Only Memory, referred to as: ROM), magnetic memory, flash memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of terminal 800.Electric power assembly 806 may include power management system System, one or more power supplys and other with for terminal 800 generate, manage, and distribute the associated component of electric power.
Multimedia component 808 includes the screen of one output interface of offer between the terminal 800 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, referred to as: LCD) and touch panel (Touch Panel, referred to as: TP).If screen includes touch panel, screen may be implemented as touch screen, be come from receiving The input signal of user.Touch panel includes one or more touch sensors to sense on touch, slide, and touch panel Gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch or cunning It is dynamic to operate relevant duration and pressure.In some embodiments, multimedia component 808 include front camera and/ Or rear camera.When terminal 800 is in operation mode, such as in a shooting mode or a video mode, front camera and/or postposition Camera can receive external multi-medium data.Each front camera and rear camera can be a fixed optics Lens system has focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (Microphone, referred to as: MIC), when terminal 800 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via communication component 816 send.In some embodiments, audio component 810 further includes a loudspeaker, for exporting Audio signal.
I/O interface 812 provides interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, and the state for providing various aspects for terminal 800 is commented Estimate.For example, sensor module 814 can detecte the state that opens/closes of terminal 800, and the relative positioning of component, for example, it is described Component is the display and keypad of terminal 800, and sensor module 814 can also detect 800 1 components of terminal 800 or terminal Position change, the existence or non-existence that user contacts with terminal 800,800 orientation of terminal or acceleration/deceleration and terminal 800 Temperature change.Sensor module 814 may include proximity sensor, be configured to detect without any physical contact Presence of nearby objects.Sensor module 814 can also include optical sensor, such as complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, referred to as: CMOS) or charge coupled cell (Charge- Coupled Device, referred to as: CCD) photosensitive imaging element, for being used in imaging applications.In some embodiments, the biography Sensor component 814 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensing Device.
Communication component 816 is configured to facilitate the communication of wired or wireless way between terminal 800 and other equipment.Terminal 800 can access the wireless network based on communication standard, such as Wireless Fidelity (WIreless-Fidelity, referred to as: WiFi), 2G Or 3G or their combination.In one exemplary embodiment, communication component 816 is received via broadcast channel from external wide The broadcast singal or broadcast related information of broadcast management system.In one exemplary embodiment, the communication component 816 further includes Near-field communication (Near Field Communication, referred to as: NFC) module, to promote short range communication.For example, in NFC module It can be based on radio frequency identification (Radio Frequency Identification, referred to as: RFID) technology, Infrared Data Association (Infrared Data Association, referred to as: IrDA) technology, ultra wide band (Ultra Wideband, referred to as: UWB) skill Art, bluetooth (Bluetooth, referred to as: BT) technology and other technologies are realized.
In the exemplary embodiment, terminal 800 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, referred to as: ASIC), digital signal processor (Ddigital Signal Processor, referred to as: DSP), digital signal processing appts (Digital Signal Processing Device, referred to as: DSPD), programmable logic device (Programmable Logic Device, referred to as: PLD), field programmable gate array (Field Programmable Gate Array, referred to as: FPGA), controller, microcontroller, microprocessor or other electronics Element is realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of terminal 800 to complete the above method.For example, The non-transitorycomputer readable storage medium can be ROM, random access memory (Random Access Memory, Referred to as: RAM), CD-ROM (Compact Disc Read-Only Memory, referred to as: CD-ROM), tape, floppy disk and light number According to storage equipment etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is held by the processor of terminal It when row, enables the terminal to execute a kind of page loading method, which comprises obtain page load request;Call network View loads the corresponding page of the page load request, wherein network view includes first network view and the second network video Figure calls first network view to carry out page load, in the m+1 page load request in m-th of page load request The second network view is called to carry out page load, the m+1 page load request is that user clicks m-th of page load request pair The access request of hyperlink triggering in the page answered, m is positive integer.
When the instruction in the storage medium is executed by the processor of terminal, so that terminal can also execute a kind of page Backing method, which comprises obtain page rollback requests;Network view is called to show that the page rollback requests are corresponding The page, wherein network view includes first network view and the second network view, if current display page is to call first network View load, it calls the second network view to carry out the page in n-th of page rollback requests and shows, n-th of page rollback is asked It asks the corresponding page that the second network view is called to be loaded, calls first network in (n+1)th page rollback requests View carries out page rollback, and the corresponding page of (n+1)th page rollback requests calls first network view to be loaded, the N+1 page rollback requests are the access for the back return button triggering that user clicks in the corresponding page of n-th of page rollback requests Request, n is positive integer.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (13)

1. a kind of page loading method, which is characterized in that the described method includes:
Obtain page load request;
Network view is called to load the corresponding page of the page load request, wherein the network view includes first network View and the second network view call the first network view to carry out page load in m-th of page load request, the Second network view is called to carry out the page load when m+1 page load request, the m+1 page load request is User clicks the access request of the triggering of the hyperlink in the corresponding page of m-th of page load request, and the m is positive whole Number;And the page that the first network view and the second network view record have loaded is to carry out page rollback.
2. the method according to claim 1, wherein for the m+1 page load request, the calling Network view loads the corresponding page of the page load request, comprising:
It calls the need of the first network view to rewrite network address loading method and intercepts the m+1 page load request;
The m+1 page load request is passed into second network view and carries out page load.
3. method according to claim 1 or 2, which is characterized in that the first network view and second network video Figure is local network view.
4. a kind of page backing method, which is characterized in that the described method includes:
Obtain page rollback requests;
Network view is called to show the corresponding page of the page rollback requests, wherein the network view includes first network View and the second network view retract if current display page is that the first network view is called to load in n-th of page It calls second network view to carry out the page when request to show, the corresponding page of n-th of page rollback requests is to call What second network view was loaded, call the first network view to carry out page in (n+1)th page rollback requests Face retracts, and (n+1)th page rollback requests corresponding page calling first network view is loaded, described (n+1)th page rollback requests is that user clicks the triggering of the back return button in the corresponding page of n-th of page rollback requests Access request, the n be positive integer.
5. according to the method described in claim 4, it is characterized by further comprising:
When first network view being called to show the corresponding page of page rollback requests, the second network view is called to execute the behaviour that retracts Make;
Alternatively, calling first network view to execute back when the second network view being called to show the corresponding page of page rollback requests Move back operation.
6. method according to claim 4 or 5, which is characterized in that the first network view and second network video Figure is local network view.
7. a kind of page loading device, which is characterized in that described device includes:
Module is obtained, is configured as obtaining page load request;
Loading module is configured as that network view is called to load the corresponding page of the page load request, wherein the network View includes first network view and the second network view, and the first network view is called in m-th of page load request Page load is carried out, second network view is called to carry out page load, the m+ in the m+1 page load request 1 page load request is the access that user clicks the triggering of the hyperlink in the corresponding page of m-th of page load request Request, the m are positive integer, wherein the page that the first network view and the second network view record have loaded is to carry out The page retracts.
8. device according to claim 7, which is characterized in that for the m+1 page load request, the load Module is configured as that the need of the first network view is called to rewrite network address loading method interception the m+1 page load Request;The m+1 page load request is passed into second network view and carries out page load.
9. device according to claim 7 or 8, which is characterized in that the first network view and second network video Figure is local network view.
10. a kind of page rollback device, which is characterized in that described device includes:
Module is obtained, is configured as obtaining page rollback requests;
Rollback module is configured as that network view is called to show the corresponding page of the page rollback requests, wherein the network View includes first network view and the second network view, if current display page is to call the first network view load , it calls second network view to carry out the page in n-th of page rollback requests and shows, n-th of page rollback is asked Ask the corresponding page that second network view is called to be loaded, in (n+1)th page rollback requests described in calling First network view carries out page rollback, and the corresponding page of (n+1)th page rollback requests is to call the first network What view was loaded, (n+1)th page rollback requests are that user clicks the corresponding page of n-th of page rollback requests The access request of back return button triggering in face, the n are positive integer.
11. device according to claim 10, which is characterized in that rollback module is configured as calling first network view When showing the corresponding page of page rollback requests, the second network view is called to execute rollback operation;Alternatively, calling the second network video When figure shows the page rollback requests corresponding page, first network view is called to execute rollback operation.
12. device described in 1 or 10 according to claim 1, which is characterized in that the first network view and second network View is local network view.
13. a kind of terminal characterized by comprising processor and the memory for storage processor executable instruction;
Wherein, the processor is configured to perform claim require any one of 1~3 described in method, and/or, claim 4 Method described in any one of~6.
CN201510981343.5A 2015-12-23 2015-12-23 Page load, backing method and device Active CN105630949B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510981343.5A CN105630949B (en) 2015-12-23 2015-12-23 Page load, backing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510981343.5A CN105630949B (en) 2015-12-23 2015-12-23 Page load, backing method and device

Publications (2)

Publication Number Publication Date
CN105630949A CN105630949A (en) 2016-06-01
CN105630949B true CN105630949B (en) 2019-03-22

Family

ID=56045882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510981343.5A Active CN105630949B (en) 2015-12-23 2015-12-23 Page load, backing method and device

Country Status (1)

Country Link
CN (1) CN105630949B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073610B (en) * 2016-11-11 2021-03-02 聚好看科技股份有限公司 Method and device for realizing webpage loading
CN110020274A (en) * 2017-08-21 2019-07-16 北京国双科技有限公司 Page returning method and device under browser environment are applied in mixing
CN107766423A (en) * 2017-09-13 2018-03-06 成都路行通信息技术有限公司 A kind of proceduring switching methods of web page contents 3D
CN109189525B (en) * 2018-08-10 2021-03-26 广州酷狗计算机科技有限公司 Method, device and equipment for loading sub-page and computer readable storage medium
CN109948101B (en) * 2019-03-21 2022-03-01 Oppo广东移动通信有限公司 Page switching method and device, storage medium and electronic equipment
CN110209967B (en) * 2019-04-17 2022-05-03 北京奇艺世纪科技有限公司 Page loading method and device, terminal equipment and computer readable medium
CN110162394B (en) * 2019-05-31 2022-09-23 北京字节跳动网络技术有限公司 Media object playing method and device, electronic equipment and storage medium
CN111459481A (en) * 2020-03-26 2020-07-28 平安普惠企业管理有限公司 Page sideslip method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685526B2 (en) * 2003-11-26 2010-03-23 Sap Aktiengesellschaft Providing navigation in a browser
CN103390053A (en) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 Page switching control method and device of browser and client
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system
CN104035753A (en) * 2013-03-04 2014-09-10 优视科技有限公司 Double-WebView customized page display method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7685526B2 (en) * 2003-11-26 2010-03-23 Sap Aktiengesellschaft Providing navigation in a browser
CN104035753A (en) * 2013-03-04 2014-09-10 优视科技有限公司 Double-WebView customized page display method and system
CN103390053A (en) * 2013-07-26 2013-11-13 贝壳网际(北京)安全技术有限公司 Page switching control method and device of browser and client
CN103995884A (en) * 2014-05-29 2014-08-20 北京中电普华信息技术有限公司 Hybrid application page switching method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
webview如何良好处理同一页面复用的情况;DCloud问答;《http://ask.dcloud.net.cn/question/2367》;20150110;第1-2页

Also Published As

Publication number Publication date
CN105630949A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
CN105630949B (en) Page load, backing method and device
CN105955607B (en) Content sharing method and device
US10942616B2 (en) Multimedia resource management method and apparatus, and storage medium
US11704001B2 (en) Method and device for displaying web page content
US10949490B2 (en) Method and apparatus for displaying webpage content
JP7317232B2 (en) Information interaction method, device, equipment, storage medium and program product
CN107203398B (en) Application distribution method and device
CN107193606B (en) Application distribution method and device
CN109032606A (en) The process of compilation method, apparatus and terminal of native applications program
CN102572096A (en) Mobile terminal and application controlling method thereof
CN106126685A (en) Page loading method and device
CN106886540B (en) Data searching method and device for data searching
CN117390330A (en) Webpage access method and device
CN105183493A (en) Display method and device of network information
CN105554382B (en) A kind of mobile terminal and its method for realizing control of taking pictures
CN107463372B (en) Data-driven page updating method and device
JP7187491B2 (en) Information display method, device and medium
CN115113790A (en) Interaction method, interaction device, electronic equipment and storage medium
US11210449B2 (en) Page display method and device and storage medium
CN111859209A (en) Content display method, device and storage medium
CN108108206A (en) Mobile payment cut-in method and device
CN115113787B (en) Message processing method, device, equipment and medium
CN115576458A (en) Application window display method, device, equipment and medium
CN105653658B (en) Information displaying method and device
CN114048404A (en) Display 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
GR01 Patent grant
GR01 Patent grant