CN105630949A - Page loading and backspacing method and device - Google Patents

Page loading and backspacing method and device Download PDF

Info

Publication number
CN105630949A
CN105630949A CN201510981343.5A CN201510981343A CN105630949A CN 105630949 A CN105630949 A CN 105630949A CN 201510981343 A CN201510981343 A CN 201510981343A CN 105630949 A CN105630949 A CN 105630949A
Authority
CN
China
Prior art keywords
page
network view
call
rollback
network
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.)
Granted
Application number
CN201510981343.5A
Other languages
Chinese (zh)
Other versions
CN105630949B (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.)
Beijing Xiaomi Technology Co Ltd
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 invention provides a page loading and backspacing method and device. The page loading method comprises the following steps: obtaining page loading requests; and calling network views to load pages corresponding to the page loading requests, wherein the network views comprise a first network view and a second network view, the first network view is called to carry out page loading at the mth page loading request, the second network view is called to carry out page loading at the (m+1)th page loading request, the (m+1)th page loading request is an access request which is triggered when a user clicks a hyperlink in the page corresponding to the (m+1)th page loading request, and m is a positive integer. According to the page loading method, the pages are loaded in turns through the two network views so as to realize infinite page loading, and the loaded pages simulate the original animation, so that the animation experience same as the local application is realized and the experience in the process of infinitely loading pages by the user in a terminal is enhanced; and moreover, in a content recommendation scene, the loading speed can be enhanced.

Description

Page loading, backing method and device
Technical field
It relates to communication technology, particularly relate to a kind of page loading, backing method and device.
Background technology
At present, all there is recommendation mechanisms in the application of major part business type. Wherein, a kind of recommendation mechanisms form is to be melted in content pages, when guiding user's content in browsing a content pages, opens new content pages and continues to browse.
Scene one: today's tops apply (application, be called for short: browse a piece of news A in App), in news A click associated recommendation enter news B, in news B click associated recommendation enter news C, etc., by that analogy.
Scene two: the details page of browse application A in application shop App, clicks related application in the details page of application 1 and recommends to enter the details page of application 2, click related application and recommend to enter the details page of application 3 in the details page of application 2, etc., by that analogy.
Summary of the invention
The disclosure provides a kind of page loading, backing method and device. Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of page loading method, the method includes: obtain page load request; Call network view and load the page that page load request is corresponding. Wherein, network view includes first network view and the second network view, call first network view when m-th page load request and carry out page loading, call the second network view when the m+1 page load request and carry out page loading, the m+1 page load request is the access request that the hyperlink that user clicks in the page that m-th page load request is corresponding triggers, and m is positive integer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by two network views, i.e. first network view and the second network view, rotation loads the page, it is achieved the page infinitely loads, and strict restriction internal memory increases; Meanwhile, the loaded page simulates primary animation, thus realizing the animation experience identical with locally applied maintenance, lifting user infinitely loads the experience in the process of the page in the terminal; It addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Further, for the m+1 page load request, the above-mentioned network view that calls loads the page that page load request is corresponding, including: the need rewriting network address loading method calling first network view intercepts the m+1 page load request; The m+1 page load request is passed to the second network view and carries out page loading.
Further, above-mentioned first network view and the second network view are local network view.
Second aspect according to disclosure embodiment, it is provided that a kind of page backing method, the method includes: obtain page rollback requests, call the page that network view display page rollback requests is corresponding. wherein, network view includes first network view and the second network view, if current display page is call first network view to load, call the second network view to carry out the page show when the n-th page rollback requests, the page that n-th page rollback requests is corresponding is call the second network view to carry out loading, call first network view when (n+1)th page rollback requests and carry out page rollback, the page that (n+1)th page rollback requests is corresponding is call first network view to carry out loading, (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that the n-th page rollback requests is corresponding triggers, n is positive integer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by two network views, i.e. first network view and the second network view, the rotation rollback page, it is ensured that the fluency of back off procedure, promotes the experience in the process of user's rollback page in the terminal.
Further, above-mentioned page backing method also includes: when calling the first network view display page corresponding to page rollback requests, calls the second network view and performs rollback operation; Or, when calling the second network view display page corresponding to page rollback requests, call first network view and perform rollback operation.
Further, above-mentioned first network view and the second network view are local network view.
The third aspect according to disclosure embodiment, it is provided that a kind of page charger. This device includes: acquisition module, is configured to obtain page load request; Load-on module, it is configured to call network view and loads the page that described page load request is corresponding, wherein, described network view includes first network view and the second network view, call described first network view when m-th page load request and carry out page loading, call described second network view when the m+1 page load request and carry out page loading, the m+1 page load request is the access request that the hyperlink that user clicks in the page that m-th page load request is corresponding triggers, and m is positive integer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by two network views, i.e. first network view and the second network view, rotation loads the page, it is achieved the page infinitely loads, and strict restriction internal memory increases; Meanwhile, the loaded page simulates primary animation, thus realizing the animation experience identical with locally applied maintenance, lifting user infinitely loads the experience in the process of the page in the terminal; It addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Fourth aspect according to disclosure embodiment, it is provided that a kind of page rollback device, this device includes: acquisition module, is configured to obtain page rollback requests, rollback module, it is configured to call the page that network view shows that described page rollback requests is corresponding, wherein, described network view includes first network view and the second network view, if current display page is call described first network view to load, call described second network view to carry out the page show when the n-th page rollback requests, the page that described n-th page rollback requests is corresponding is call described second network view to carry out loading, call described first network view when (n+1)th page rollback requests and carry out page rollback, the page that described (n+1)th page rollback requests is corresponding is call described first network view to carry out loading, described (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that described n-th page rollback requests is corresponding triggers, n is positive integer.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect: by two network views, i.e. first network view and the second network view, the rotation rollback page, it is ensured that the fluency of back off procedure, promotes the experience in the process of user's rollback page in the terminal.
The 5th aspect according to disclosure embodiment, it is provided that a kind of terminal, including: processor with for storing the memorizer of processor executable. Wherein, processor is configured to perform the method as according to any one of first aspect and/or second aspect.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Accompanying drawing explanation
In order to be illustrated more clearly that disclosure embodiment or technical scheme of the prior art, the accompanying drawing used required in embodiment or description of the prior art will be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the disclosure, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 be the page that provides of each embodiment according to the disclosure load, the schematic diagram of a kind of implementation environment involved by backing method;
Fig. 2 is the flow chart of a kind of page loading method according to an exemplary embodiment;
Fig. 3 is the operation chart of a kind of page loading method according to an exemplary embodiment;
Fig. 4 is the flow chart of a kind of page backing method according to an exemplary embodiment;
Fig. 5 is a kind of page charger block diagram according to an exemplary embodiment;
Fig. 6 is a kind of page rollback device block diagram according to an exemplary embodiment;
Fig. 7 is a kind of terminal block diagram according to an exemplary embodiment.
By above-mentioned accompanying drawing, it has been shown that the embodiment that the disclosure is clear and definite, will there is more detailed description hereinafter. These accompanying drawings and word describe the scope being not intended to be limited disclosure design by any mode, but are the concept that those skilled in the art illustrate the disclosure by reference specific embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Term " first " in the specification and claims of the disclosure, " second ", " the 3rd " etc. are for distinguishing similar object, without being used for describing specific order or precedence. Should be appreciated that the data of so use can be exchanged in the appropriate case, in order to described herein embodiment of the disclosure such as can with except here diagram or describe those except order implement. In addition, term " includes " and " having " and their any deformation, it is intended to cover non-exclusive comprising, such as, contain series of steps or the process of unit, method, system, product or equipment be not necessarily limited to those steps or the unit clearly listed, but can include clearly not listing or for intrinsic other step of these processes, method, product or equipment or unit.
First the several nouns involved by disclosure embodiment are made an explanation:
The page loads: resource file that loaded page face is corresponding and data cached process. Wherein, resource file is necessary composing document during page loading, including the html file of the page, CSS file, JS file etc. These resource files are the framework infrastructure elements shown for the page, the information such as including layout structure configuration, functional module configuration, system configuration, just can relate to amendment and the renewal of these resource files when only the page is modified by application provider. Data cached for need to be loaded into the data of the page, form the complete page together with resource file. The data cached information referring generally to the relevant video such as advertisement or news, picture and word. The data cached update cycle is much smaller than the update cycle of resource file.
Mixed model Mobile solution (HybridApp): refer to the application between both network application (WebApp), locally applied (NativeApp), have " advantage of locally applied good user-interaction experience " and " advantage of network application Cross-border congestion management " concurrently. Although mixed model Mobile solution appear to be one locally applied, but only one of which user interface (UserInterface, be called for short: UI) network view (WebView), essence is a network application.
Locally applied (NativeApp): be also called ecosystem application, is that one based on smart mobile phone native operating sys-tern such as iOS, Android (Android), WP and uses native program to write the third party application of operation.
The H5 page: be exactly HTML5. HTML5 is the HTML standard version for replacing HTML4.01 and XHTML1.0 standard, and now still in developmental stage, but some HTML5 technology supported by major part browser. HTML5 has two major features: first, enhances the performance performance of Web page. Secondly, the function of the Web application such as local data base has been added.
Refer to Fig. 1, the page that it illustrates disclosure embodiment provides loads, the structural representation of a kind of implementation environment involved by backing method, and this implementation environment includes terminal 100 and server 200. Wherein, terminal 100 and server 200 are communicated by wireless network.
Terminal 100 can for the client device based on mixed model Mobile solution (locally applied+H5 page) such as smart mobile phone, the panel computer with telephony feature. Server 200 can be a station server, or the server cluster being made up of some station servers, or a cloud computing service center.
Fig. 2 is the flow chart of a kind of page loading method according to an exemplary embodiment. The present embodiment provides a kind of page loading method, and the method is applied in page charger, and this page charger is integrated in terminal. As in figure 2 it is shown, method comprises the following steps:
In step 201, page load request is obtained.
Wherein, page load request can include the business function startup request etc. that the page functionality controls such as the hyperlink in the access request to site for service and the display page trigger. Above-mentioned access request and business function start physical button that request includes but not limited to that user's manual operation client device provides or virtual push button triggers.
In step 202., calling network view and load the page that page load request is corresponding, wherein, network view includes first network view and the second network view.
Call first network view when m-th page load request and carry out page loading, call the second network view when the m+1 page load request and carry out page loading, the m+1 page load request is the access request that the hyperlink that user clicks in the page that m-th page load request is corresponding triggers, and m is positive integer.
In the prior art, mixed model Mobile solution in order to ensure smoothness page layout switch animation, each H5 page must be embedded into one locally applied in, cause open about 5 pages time will because of internal memory overflow cause application crashes.
For avoiding problems of the prior art, the disclosure by arranging two network views in mixed model Mobile solution, namely first network view and the second network view, call the two network view in turn and load the page that two page load request continuously acquired are corresponding, namely calling first network view when m-th page load request and carry out page loading described in step 202, calls the second network view when the m+1 page load request and carries out page loading.
In implementing, disclosure embodiment creates a self-defining view: network view changeover module (WebViewSwitcher), this network view changeover module externally exposes a loadUrl method, for loading the page that a page load request is corresponding; It is made up of two network views (WebView) inside this network view changeover module, is called WebView_A and WebView_B below. Loaded the page in turn by these two network views, namely loaded the 1st page that page load request is corresponding, the 3rd page that page load request is corresponding, the 5th page that page load request is corresponding by WebView_A, etc.; The 2nd page that page load request is corresponding, the 4th page that page load request is corresponding, the 6th page that page load request is corresponding is loaded by WebView_B, etc., the like.
When being loaded the page by WebView_A, WebView_A is switched to foreground, and WebView_B is switched to backstage. In like manner, when WebView_B loads the page, WebView_B being switched to foreground, WebView_A is switched to backstage. Owing to handoff procedure is to be completed by two WebView_A and WebView_B, also the switching of two common local views (NativeView) has just been become, therefore, arbitrary local view switching animation can be specified, it is achieved thereby that load the page on network view to reach locally applied animation switching experience.
For the m+1 page load request, step 202 can particularly as follows: the need rewriting network address loading method calling first network view intercepts this m+1 page load request; The m+1 page load request is passed to the second network view and carries out page loading.
Such as, with reference to Fig. 3, URL (UniformResourceLocator is comprised in loading, it is called for short: during the page that URL) page load request of 1 is corresponding, the loadUrl method provided by network view changeover module loads, the page load request that this comprises URL1 can be passed to WebView_A by the method, WebView_A load the page that the page load request comprising URL1 is corresponding; In the page that the page load request comprising URL1 is corresponding, clickable hyperlinks, generate the page load request comprising URL2; The page load request that this comprises URL2 is intercepted by the shouldOverrideUrlLoading method of WebView_A, and the page load request that this is comprised URL2 passes 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. In like manner, being intercepted and pass to WebView_A based on clicking the page load request that in the page loaded by WebView_B, hyperlink generates, and WebView_A is switched to foreground, WebView_B is switched to backstage, circulates successively, repeats no more herein.
It should be noted that, it will be understood by those skilled in the art that wherein, terminal 100 as shown in Figure 1 realizes on backstage alternately with server 200, does not affect the loading velocity of the page.
Wherein, above-mentioned first network view and the second network view are local network view.
In sum, the page loading method that the present embodiment provides, by two network views, i.e. first network view and the second network view, rotation loads the page, it is achieved the page infinitely loads, and strict restriction internal memory increases; Meanwhile, the loaded page simulates primary animation, thus realizing the animation experience identical with locally applied maintenance, lifting user infinitely loads the experience in the process of the page in the terminal; It 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 for a kind of page backing method. Hereinafter this page backing method is explained. Wherein, for the details not disclosed in disclosure embodiment, refer to disclosure page loading method embodiment.
Fig. 4 is the flow chart of a kind of page backing method according to an exemplary embodiment. The present embodiment provides a kind of page backing method, and the method is applied in page rollback device, and this page rollback device is integrated in terminal. As shown in Figure 4, method comprises the following steps:
In step 401, page rollback requests is obtained.
In step 402, call the page that network view shows that described page rollback requests is corresponding, if current display page is call first network view to load, call the second network view to carry out the page show when the n-th page rollback requests, call first network view when (n+1)th page rollback requests and carry out page rollback.
Wherein, the page that the n-th page rollback requests is corresponding is call the second network view to carry out loading. The page that (n+1)th page rollback requests is corresponding is call first network view to carry out loading. And, (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that the n-th page rollback requests is corresponding triggers, and n is positive integer.
Network view itself has browsing histories function, and disclosure embodiment is by the page rollback effect of this functional realiey smoothness. Assuming currently to be loaded with multiple page, and that be currently at foreground is WebView_B, the page being loaded is url_n. Now, click rollback in url_n (back, or be called " retrogressing ") button and return to the page, i.e. a url_n-1. Owing to adopting two network views alternately to load when loading the page, therefore, url_n-1 is loaded by WebView_A. Now, it is only necessary to WebView_A is directly switched to foreground, and WebView_B is switched to backstage, WebView_A need not perform rollback (goBack) operation, and therefore the process of this rollback page is very smooth. After switching, for WebView_B, due to the rollback page, therefore url_n is no longer necessary to, now WebView_B is performed rollback operation, namely allow WebView_B show url_n-2, for the rollback page is ready next time, so that next time during rollback WebView_B can not do any operation be directly switch to foreground, thus ensureing the fluency of rollback.
In sum, the page backing method that the present embodiment provides, by two network views, i.e. first network view and the second network view, the rotation rollback page, it is ensured that the fluency of back off procedure, promote the experience in the process of user's rollback page in the terminal.
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment. For the details not disclosed in disclosure device embodiment, refer to method of disclosure embodiment.
Fig. 5 is a kind of page charger block diagram according to an exemplary embodiment. Disclosure embodiment provides a kind of page charger, and this page charger is integrated in terminal. With reference to Fig. 5, this page charger includes acquisition module 11 and load-on module 12.
This acquisition module 11, is configured to obtain page load request.
This load-on module 12, is configured to call network view and loads the page that page load request is corresponding.
Wherein, network view includes first network view and the second network view. Call first network view when m-th page load request and carry out page loading, call the second network view when the m+1 page load request and carry out page loading, the m+1 page load request is the access request that the hyperlink that user clicks in the page that m-th page load request is corresponding triggers, and m is positive integer.
In sum, the page charger that the present embodiment provides, by two network views, i.e. first network view and the second network view, rotation loads the page, it is achieved the page infinitely loads, and strict restriction internal memory increases; Meanwhile, the loaded page simulates primary animation, thus realizing the animation experience identical with locally applied maintenance, lifting user infinitely loads the experience in the process of the page in the terminal; It addition, in the scene of commending contents, additionally it is possible to promote loading velocity.
Further, for the m+1 page load request, load-on module 12 is configured to call the need rewriting network address loading method of first network view and intercepts the m+1 page load request; The m+1 page load request is passed to the second network view and carries out page loading.
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 according to an exemplary embodiment. Disclosure embodiment provides a kind of page rollback device, and this page rollback device is integrated in terminal. With reference to Fig. 6, this page rollback device includes acquisition module 21 and rollback module 22.
This acquisition module 21, is configured to obtain page rollback requests.
This rollback module 22, is configured to call the page that network view display page rollback requests is corresponding.
Wherein, network view includes first network view and the second network view. If current display page is call first network view to load, calling the second network view when the n-th page rollback requests and carry out the page and show, the page that the n-th page rollback requests is corresponding is call the second network view to carry out loading. Adjusting when (n+1)th page rollback requests and state first network view and carry out page rollback, the page that (n+1)th page rollback requests is corresponding is call first network view to carry out loading. (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that the n-th page rollback requests is corresponding triggers, and n is positive integer.
In sum, the page rollback device that the present embodiment provides, by two network views, i.e. first network view and the second network view, the rotation rollback page, it is ensured that the fluency of back off procedure, promote the experience in the process of user's rollback page in the terminal.
Further, rollback module 22, when being configured to call the page corresponding to first network view display page rollback requests, call the second network view and perform rollback operation. Or, rollback module 22, when being configured to call the page corresponding to the second network view display page rollback requests, call first network view and perform rollback operation. Wherein, first network view and the second network view are local network view.
Fig. 7 is a kind of terminal block diagram according to an exemplary embodiment. With reference to Fig. 7, terminal 800 can include following one or more assembly: processes assembly 802, memorizer 804, electric power assembly 806, multimedia groupware 808, audio-frequency assembly 810, input/output (input/output, it is called for short: interface 812 I/O), sensor cluster 814, and communications component 816.
Process assembly 802 and generally control the integrated operation of terminal 800, such as with display, data communication, the operation that camera operation and record operation are associated. Process assembly 802 and can include one or more processor 820 to perform instruction, to complete all or part of step of above-mentioned method. Additionally, process assembly 802 can include one or more module, it is simple to what process between assembly 802 and other assemblies is mutual. Such as, process assembly 802 and can include multi-media module, with facilitate multimedia groupware 808 and process between assembly 802 mutual.
Memorizer 804 is configured to store various types of data to support the operation in terminal 800. the example of these data includes any application program for operation in terminal 800 or the instruction of method, contact data, telephone book data, message, picture, video etc. memorizer 804 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (StaticRandomAccessMemory, it is called for short: SRAM), Electrically Erasable Read Only Memory (ElectricallyErasableProgrammableRead-OnlyMemory, it is called for short: EEPROM), Erasable Programmable Read Only Memory EPROM (ErasableProgrammableReadOnlyMemory, it is called for short: EPROM), programmable read only memory (ProgrammableRed-OnlyMemory, it is called for short: PROM), read only memory (Read-OnlyMemory, it is called for short: ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 806 is terminal 800 provide electric power. Electric power assembly 806 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for terminal 800, the assembly that electric power is associated.
Multimedia groupware 808 includes the screen providing an output interface between described terminal 800 and user. In certain embodiments, screen can include liquid crystal display (LiquidCrystalDisplay, be called for short: LCD) and touch panel (TouchPanel, abbreviation: TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel. Described touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to described touch or slide and pressure. In certain embodiments, multimedia groupware 808 includes a front-facing camera and/or post-positioned pick-up head. When terminal 800 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 810 is configured to output and/or input audio signal. Such as, audio-frequency assembly 810 include a mike (Microphone, be called for short: MIC), when terminal 800 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike be configured to receive external audio signal. The audio signal received can be further stored at memorizer 804 or send via communications component 816. In certain embodiments, audio-frequency assembly 810 also includes a speaker, is used for exporting audio signal.
I/O interface 812 provides interface for processing between assembly 802 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 814 includes one or more sensor, for providing the state estimation of various aspects for terminal 800. Such as, what sensor cluster 814 can detect terminal 800 opens/closed mode, the relative localization of assembly, such as described assembly is display and the keypad of terminal 800, sensor cluster 814 can also detect terminal 800 or the position change of 800 1 assemblies of terminal, the presence or absence that user contacts with terminal 800, the variations in temperature of terminal 800 orientation or acceleration/deceleration and terminal 800. Sensor cluster 814 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 814 can also include optical sensor, such as complementary metal oxide semiconductors (CMOS) (ComplementaryMetalOxideSemiconductor, CMOS) or charge coupled cell (Charge-coupledDevice it is called for short:, it is called for short: CCD) photosensitive imaging element, for using in imaging applications. In certain embodiments, this sensor cluster 814 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 816 is configured to facilitate between terminal 800 and other equipment the communication of wired or wireless mode. Terminal 800 can access the wireless network based on communication standard, and such as Wireless Fidelity, (WIreless-Fidelity is called for short: WiFi), 2G or 3G, or their combination. In one exemplary embodiment, communications component 816 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, described communications component 816 also include near-field communication (NearFieldCommunication, be called for short: NFC) module, to promote junction service. Such as, can based on RF identification (RadioFrequencyIdentification in NFC module, it is called for short: RFID) technology, Infrared Data Association (InfraredDataAssociation, being called for short: IrDA) technology, (UltraWideband, is called for short: UWB) technology ultra broadband, (Bluetooth is called for short: BT) technology and other technologies realize bluetooth.
In the exemplary embodiment, terminal 800 can by one or more application specific integrated circuit (ApplicationSpecificIntegratedCircuit, it is called for short: ASIC), digital signal processor (DdigitalSignalProcessor, it is called for short: DSP), digital signal processing appts (DigitalSignalProcessingDevice, it is called for short: DSPD), PLD (ProgrammableLogicDevice, it is called for short: PLD), field programmable gate array (FieldProgrammableGateArray, it is called for short: FPGA), controller, microcontroller, microprocessor or other electronic components realize, for performing said method.
In the exemplary embodiment, additionally providing a kind of non-transitory computer-readable recording medium including instruction, for instance include the memorizer 804 of instruction, above-mentioned instruction can have been performed said method by the processor 820 of terminal 800. Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RandomAccessMemory, CD-ROM), tape, floppy disk and optical data storage devices etc. it is called for short: RAM), (CompactDiscRead-OnlyMemory, is called for short read-only optical disc:.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of terminal so that terminal is able to carry out a kind of page loading method, and described method includes: obtain page load request; Call network view and load the page that described page load request is corresponding, wherein, network view includes first network view and the second network view, call first network view when m-th page load request and carry out page loading, call the second network view when the m+1 page load request and carry out page loading, the m+1 page load request is the access request that the hyperlink that user clicks in the page that m-th page load request is corresponding triggers, and m is positive integer.
When the instruction in described storage medium is performed by the processor of terminal so that terminal can also perform a kind of page backing method, and described method includes: obtains page rollback requests, call the page that network view shows that described page rollback requests is corresponding, wherein, network view includes first network view and the second network view, if current display page is call first network view to load, call the second network view to carry out the page show when the n-th page rollback requests, the page that n-th page rollback requests is corresponding is call the second network view to carry out loading, call first network view when (n+1)th page rollback requests and carry out page rollback, the page that (n+1)th page rollback requests is corresponding is call first network view to carry out loading, (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that the n-th page rollback requests is corresponding triggers, n is positive integer.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to other embodiment of the disclosure. The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means. Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.

Claims (13)

1. a page loading method, it is characterised in that described method includes:
Obtain page load request;
Call network view and load the page that described page load request is corresponding, wherein, described network view includes first network view and the second network view, call described first network view when m-th page load request and carry out page loading, call described second network view when the m+1 page load request and carry out page loading, described the m+1 page load request is the access request that the hyperlink that user clicks in the page that described m-th page load request is corresponding triggers, and described m is positive integer.
2. method according to claim 1, it is characterised in that for described the m+1 page load request, described in call network view and load the page that described page load request is corresponding, including:
The need calling described first network view rewrite network address loading method described the m+1 the page load request of interception;
Described the m+1 page load request is passed to described second network view and carries out page loading.
3. method according to claim 1 and 2, it is characterised in that described first network view and described second network view are local network view.
4. a page backing method, it is characterised in that described method includes:
Obtain page rollback requests;
Call the page that network view shows that described page rollback requests is corresponding, wherein, described network view includes first network view and the second network view, if current display page is call described first network view to load, call described second network view to carry out the page show when the n-th page rollback requests, the page that described n-th page rollback requests is corresponding is call described second network view to carry out loading, call described first network view when (n+1)th page rollback requests and carry out page rollback, the page that described (n+1)th page rollback requests is corresponding is call described first network view to carry out loading, described (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that described n-th page rollback requests is corresponding triggers, described n is positive integer.
5. method according to claim 4, it is characterised in that also include:
When calling the first network view display page corresponding to page rollback requests, call the second network view and perform rollback operation;
Or, when calling the second network view display page corresponding to page rollback requests, call first network view and perform rollback operation.
6. the method according to claim 4 or 5, it is characterised in that described first network view and described second network view are local network view.
7. a page charger, it is characterised in that described device includes:
Acquisition module, is configured to obtain page load request;
Load-on module, it is configured to call network view and loads the page that described page load request is corresponding, wherein, described network view includes first network view and the second network view, call described first network view when m-th page load request and carry out page loading, call described second network view when the m+1 page load request and carry out page loading, described the m+1 page load request is the access request that the hyperlink that user clicks in the page that described m-th page load request is corresponding triggers, and described m is positive integer.
8. device according to claim 7, it is characterised in that for described the m+1 page load request, described load-on module, the need being configured to call described first network view rewrite network address loading method described the m+1 the page load request of interception; Described the m+1 page load request is passed to described second network view and carries out page loading.
9. the device according to claim 7 or 8, it is characterised in that described first network view and described second network view are local network view.
10. a page rollback device, it is characterised in that described device includes:
Acquisition module, is configured to obtain page rollback requests;
Rollback module, it is configured to call the page that network view shows that described page rollback requests is corresponding, wherein, described network view includes first network view and the second network view, if current display page is call described first network view to load, call described second network view to carry out the page show when the n-th page rollback requests, the page that described n-th page rollback requests is corresponding is call described second network view to carry out loading, call described first network view when (n+1)th page rollback requests and carry out page rollback, the page that described (n+1)th page rollback requests is corresponding is call described first network view to carry out loading, described (n+1)th page rollback requests is the access request that the rollback button that user clicks in the page that described n-th page rollback requests is corresponding triggers, described n is positive integer.
11. device according to claim 10, it is characterised in that rollback module, when being configured to call the page corresponding to first network view display page rollback requests, call the second network view and perform rollback operation; Or, when calling the second network view display page corresponding to page rollback requests, call first network view and perform rollback operation.
12. the device according to claim 11 or 10, it is characterised in that described first network view and described second network view are local network view.
13. a terminal, it is characterised in that including: processor and for storing the memorizer of processor executable;
Wherein, described processor is configured to perform the method according to any one of claim 1��3, and/or, the method according to any one of claim 4��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 true CN105630949A (en) 2016-06-01
CN105630949B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107766423A (en) * 2017-09-13 2018-03-06 成都路行通信息技术有限公司 A kind of proceduring switching methods of web page contents 3D
CN108073610A (en) * 2016-11-11 2018-05-25 聚好看科技股份有限公司 Realize the method and device of Webpage loading
CN109189525A (en) * 2018-08-10 2019-01-11 广州酷狗计算机科技有限公司 Load method, apparatus, equipment and the computer readable storage medium of subpage frame
CN109948101A (en) * 2019-03-21 2019-06-28 Oppo广东移动通信有限公司 Page switching method, device, storage medium and electronic equipment
CN110020274A (en) * 2017-08-21 2019-07-16 北京国双科技有限公司 Page returning method and device under browser environment are applied in mixing
CN110209967A (en) * 2019-04-17 2019-09-06 北京奇艺世纪科技有限公司 Page loading method, device, terminal device and computer-readable medium
CN111459481A (en) * 2020-03-26 2020-07-28 平安普惠企业管理有限公司 Page sideslip method and device, electronic equipment and storage medium
WO2020238241A1 (en) * 2019-05-31 2020-12-03 北京字节跳动网络技术有限公司 Media object playback method and apparatus, electronic device, 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
DCLOUD问答: "webview如何良好处理同一页面复用的情况", 《HTTP://ASK.DCLOUD.NET.CN/QUESTION/2367》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108073610A (en) * 2016-11-11 2018-05-25 聚好看科技股份有限公司 Realize the method and device of 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
CN109189525A (en) * 2018-08-10 2019-01-11 广州酷狗计算机科技有限公司 Load method, apparatus, equipment and the computer readable storage medium of subpage frame
CN109189525B (en) * 2018-08-10 2021-03-26 广州酷狗计算机科技有限公司 Method, device and equipment for loading sub-page and computer readable storage medium
CN109948101A (en) * 2019-03-21 2019-06-28 Oppo广东移动通信有限公司 Page switching method, device, storage medium and electronic equipment
CN109948101B (en) * 2019-03-21 2022-03-01 Oppo广东移动通信有限公司 Page switching method and device, storage medium and electronic equipment
CN110209967A (en) * 2019-04-17 2019-09-06 北京奇艺世纪科技有限公司 Page loading method, device, terminal device and computer-readable medium
CN110209967B (en) * 2019-04-17 2022-05-03 北京奇艺世纪科技有限公司 Page loading method and device, terminal equipment and computer readable medium
WO2020238241A1 (en) * 2019-05-31 2020-12-03 北京字节跳动网络技术有限公司 Media object playback method and apparatus, electronic device, and storage medium
CN111459481A (en) * 2020-03-26 2020-07-28 平安普惠企业管理有限公司 Page sideslip method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN105630949B (en) 2019-03-22

Similar Documents

Publication Publication Date Title
CN105630949A (en) Page loading and backspacing method and device
CN105955607B (en) Content sharing method and device
EP3407189B1 (en) Application distribution method and device
US11704001B2 (en) Method and device for displaying web page content
US8682374B2 (en) Mobile terminal and controlling method thereof
CN104778063A (en) Method and device for updating resource
CN109032606A (en) The process of compilation method, apparatus and terminal of native applications program
CN102572096A (en) Mobile terminal and application controlling method thereof
KR20110131439A (en) Mobile terminal and method for controlling thereof
CN105183513A (en) Application recommendation method and apparatus
CN106126685A (en) Page loading method and device
CN106201610A (en) Web application accesses the method and device of the primary function of terminal
CN105808305B (en) Static resource loading method and device
CN111290819B (en) Method and device for displaying operation prompt and electronic equipment
CN114371896B (en) Prompting method, device, equipment and medium based on document sharing
CN105183493A (en) Display method and device of network information
CN104636170A (en) Application acquiring method and device and electronic device
CN105872573A (en) Video playing method and apparatus
CN104536787A (en) Resource preloading method and device
CN115113790A (en) Interaction method, interaction device, electronic equipment and storage medium
CN112788362B (en) Video playing method, video playing device and storage medium
CN106201189A (en) Widget display packing, device and electronic equipment
CN106331076A (en) Advertisement push method and apparatus
CN108108206A (en) Mobile payment cut-in method and device
CN104572230A (en) Script file loading method, script file generating method and script file generating device

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