CN106503099A - Webpage jump method and device - Google Patents

Webpage jump method and device Download PDF

Info

Publication number
CN106503099A
CN106503099A CN201610899878.2A CN201610899878A CN106503099A CN 106503099 A CN106503099 A CN 106503099A CN 201610899878 A CN201610899878 A CN 201610899878A CN 106503099 A CN106503099 A CN 106503099A
Authority
CN
China
Prior art keywords
page
current page
pattern
target pages
current
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610899878.2A
Other languages
Chinese (zh)
Inventor
章谨麟
朱瑞贤
曲雯雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610899878.2A priority Critical patent/CN106503099A/en
Publication of CN106503099A publication Critical patent/CN106503099A/en
Pending legal-status Critical Current

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/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

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 webpage jump method and device, and webpage jump method includes:When detecting depth fallback function and being activated, according to current page determine target pages, target pages be current page before the page, and target pages are different from the pattern of current page;Redirect and shows target pages.The article or atlas for currently browsing can be jumped out when depth fallback function is activated, return to the initial page, user-friendly, improve experience of the user using browser.

Description

Webpage jump method and device
Technical field
It relates to technical field of electronic communication, more particularly to webpage jump method and device.
Background technology
With the development of electronic communication, network effect in daily life increasingly increases, and user is using intelligent handss The electronic equipments such as machine, panel computer, notebook browse webpage and have become indispensable life requirement.Webpage is browsed in user During, it is frequently encountered an article or an atlas is divided into several pages, for example:Many newsphotos, novel, index page Deng, this when, user needing constantly to click on lower one page, when user has browsed or is not desired to browse, selection is retreated, only Can back to page up, this when, user if it is intended to return to the initial page for selecting this article or atlas, with regard to ten Divide inconvenience.
Content of the invention
The embodiment of the present disclosure provides a kind of webpage jump method and device.The technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure, there is provided a kind of webpage jump method, the method include:
When detecting depth fallback function and being activated, target pages are determined according to current page, target pages are current The page before the page, and target pages are different from the pattern of current page;
Redirect and shows target pages.
During user browses webpage, when selecting to retreat, page up can only be backed to, if user browses one The subpage frame of article or novel, article or novel belongs to the pattern identical page, if user selects to retreat, intelligently backs to Article or the page up of novel current page, can jump directly to article or novel if user's selected depth is retreated Catalogue page or initial page (i.e. target pages), user do not need adopting consecutive click chemical reaction retreat can just return to initial page, aspect The operation of user.
In one embodiment, target pages are to browse record order from back to front according to user, with current page face mould First different page of formula.
In one embodiment, target pages are determined according to current page, including:
Whether n-th page before determining current page be identical with the pattern of current page;
When n-th page is identical with the pattern of current page, (n+1)th before the determining current page page with current Whether the pattern of the page is identical, and n is the integer between [1, K], and K is the integer more than 1;
Until determine current page before the k-th page different from the pattern of current page when, using the k-th page as Target pages.
When depth fallback function is activated, from the beginning of current page, from back to front suitable in record is browsed according to user Sequence is retrieved forward, when retrieving the page that first is differed with current page pattern, the page is defined as target pages, when The front page and target pages are all and current page pattern identical subpage frame that user can directly skip these pages when retreating Face, improves Consumer's Experience.
In one embodiment, whether n-th page before determining current page be identical with the pattern of current page, bag Include:
URL (English when n-th page:Uniform Resource Locator, URL) with current The URL of the page, the part before filename are identical, and filename some identical when, determine n-th page and current page Pattern identical.
If the part in two page URL before filename is identical, and filename some identical when illustrate two The page is the different subpage frames of same file respectively, it is generally the case that some is identical for filename, and different parts are used for Indicating page numbers, it is possible to determine that two pages belong to identical pattern.
In one embodiment, whether n-th page before determining current page be identical with the pattern of current page, bag Include:
When the URL of n-th page includes the part before identical parameter, and identical parameter with the URL of current page When identical, n-th page before determining current page is identical with the pattern of current page.
If including identical parameter in two page URL, the value of parameter is different, illustrates that two pages are identical moulds Formula, because for some URL, filename is indicated with parameter, has identical portion comprising identical parameter with regard to supporting paper name Point, it is possible to determine that two pages belong to identical pattern.
In one embodiment, the URL of the page includes agreement, server name, also includes path, filename, in parameter At least one.
In one embodiment, the method also includes:
Storage user browses record, and the record that browses of user includes the URL of the browsed page of user.
In one embodiment, the method also includes:
When detecting current page that user browses and being identical with the pattern of a upper page, generate and display depth is retreated Option.
According to the second aspect of the embodiment of the present disclosure, there is provided a kind of webpage redirects device, including:Depth fallback block and jump Revolving die block;
Depth fallback block, for when detecting depth fallback function and being activated, determining page object according to current page Face, target pages be current page before the page, and target pages are different from the pattern of current page;
Jump module, for redirecting simultaneously shows target pages.
In one embodiment, depth fallback block includes cyclic submodule block;
Whether cyclic submodule block is identical for n-th page before determining current page and the pattern of current page;When When n-th page is identical with the pattern of current page, the pattern of (n+1)th page and current page before determining current page Whether identical, n is the integer between [1, K], and K is the integer more than 1;Until determine current page before the k-th page with When the pattern of current page is different, using the k-th page as target pages.
In one embodiment, depth fallback block includes the first decision sub-module;
First decision sub-module, for the uniform resource position mark URL in n-th page and the URL of current page, file Name before part identical, and filename some identical when, determine that n-th page is identical with the pattern of current page.
In one embodiment, depth fallback block includes the second decision sub-module;
Second decision sub-module, includes identical parameter, and phase for the URL in n-th page with the URL of current page With parameter before part identical when, n-th page before determining current page is identical with the pattern of current page.
In one embodiment, webpage redirects device also includes memory module;
Memory module, for storing the record that browses of user, the record that browses of user includes the browsed page of user URL.
According to the third aspect of the embodiment of the present disclosure, there is provided a kind of webpage redirects device, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
When detecting depth fallback function and being activated, target pages are determined according to current page, target pages are current The page before the page, and target pages are different from the pattern of current page;
Redirect and shows target pages.
In one embodiment, processor can be additionally configured to:
Whether n-th page before determining current page be identical with the pattern of current page;
When n-th page is identical with the pattern of current page, (n+1)th before the determining current page page with current Whether the pattern of the page is identical, and n is the integer between [1, K], and K is the integer more than 1;
Until determine current page before the k-th page different from the pattern of current page when, using the k-th page as Target pages.
In one embodiment, processor can be additionally configured to:
As uniform resource position mark URL and the URL of current page of n-th page, the part before filename is identical, and Filename some identical when, determine that n-th page is identical with the pattern of current page.
In one embodiment, processor can be additionally configured to:
When the URL of n-th page includes the part before identical parameter, and identical parameter with the URL of current page When identical, n-th page before determining current page is identical with the pattern of current page.
In one embodiment, processor can be additionally configured to:
Storage user browses record, and the record that browses of user includes the URL of the browsed page of user.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement for meeting the disclosure Example, and the principle for being used for explaining the disclosure together with description.
Fig. 1 is the flow chart of the webpage jump method according to an exemplary embodiment;
Fig. 2 is the flow chart of the webpage jump method according to an exemplary embodiment;
Fig. 3 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 4 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 5 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 6 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 7 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 8 is the block diagram that the webpage according to an exemplary embodiment redirects device;
Fig. 9 is the block diagram of the terminal unit according to an exemplary embodiment.
Specific embodiment
Here in detail exemplary embodiment will be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.Conversely, they be only with as appended by The example of consistent apparatus and method in terms of some that described in detail in claims, the disclosure.
The embodiment of the present disclosure provide technical scheme, be applied to webpage and redirect device, the webpage redirect device can be can Smart mobile phone, panel computer, notebook etc..In daily life, when user browses webpage, if selecting to retreat, can only back to The page up of current page, if the article or atlas that are divided into a lot of pages that user browses, user selects to retreat or stops In article or the inside of atlas, the only page up of current page.The webpage jump method that the embodiment of the present disclosure is provided, in inspection When measuring depth fallback function and being activated, according to current page determine target pages, target pages be current page before page Face, and target pages are different from the pattern of current page;Redirect and shows target pages.Can be activated in depth fallback function When, the article or atlas for currently browsing is jumped out, the initial page is returned to, user-friendly, user is improve using browsing The experience of device.
Fig. 1 is a kind of flow chart of the webpage jump method according to an exemplary embodiment, as shown in figure 1, the net Page jump method includes step 101-102:
In a step 101, when detecting depth fallback function and being activated, target pages are determined according to current page.
Target pages be current page before the page, and target pages are different from the pattern of current page.Disclosure reality What the page described in applying in example was all referred to is Webpage.
Depth fallback function is to jump to the initial pages different from current page pattern for realization from current page Function, it is generally the case that current page and target pages user browse in record be before and after non-conterminous two pages, retreat Function is the function for realizing the upper page for jumping to current page from current page.
In one embodiment, target pages are to browse record order from back to front according to user, with current page face mould First different page of formula.
In one embodiment, in one embodiment, the URL (English of the page:Uniform Resource Locator, URL) include agreement, server name, also include path, filename, at least one in parameter.
In one embodiment, the structure based on URL, whether identical mode is as follows to enumerate three kinds of judgement page-modes:
First kind of way, judges according to filename, when browsing record order from back to front according to user, current page it The URL of n-th front page and the URL of current page, the part before filename are identical, and filename some is identical When, determine that n-th page is identical with the pattern of current page.
For example:Record order from back to front is browsed according to user, the URL of n-th page before current page is:
http://www.*****.com/****/******-p2.shtml;
The URL of current page is:
http://www.*****.com/****/******-p3.shtml;
" http " is agreement, and " www.*****.com " is server name, and " * * * * * *-p2 " is the text of n-th page Part name, " * * * * * *-p3 " for current page filename, the URL of two pages except filename in "-p2 " and "-p3 " difference, Part all same before filename, illustrates that two pages belong to the subpage frame of the same page, "-p2 " and "-p3 " generation respectively Table page 2 and the page number of page 3.
The second way, according to parameter decision, when browsing record order from back to front according to user, before current page The n-th page URL and URL of current page comprising the part before identical parameter, and identical parameter identical when, determine N-th page before current page is identical with the pattern of current page.
For example:Record order from back to front is browsed according to user, the URL of n-th page before current page is:
http://www.*****.com/s?Wd=%E6%B1%BD%E8%BD%A6&pn=10&oq=%E6% B1%BD%E8%BD%A6;
The URL of current page is:
http://www.*****.com/s?Wd=%E6%B1%BD%E8%BD%A6&pn=12&oq=%E6% B1%BD%E8%BD%A6;
" http " is agreement, and " www.*****.com " is server name, the URL of n-th page and current page Include identical parameter " pn " in URL, the numerical value of two page parameters is different, the part all same before parameter " pn ", explanation Two pages belong to the subpage frame of the same page, and " pn=10 " and " pn=12 " represents the page of page 10 and page 12 respectively Code.
The third mode, judges according to path, when browsing record order from back to front according to user, before current page The n-th page URL and URL of current page path comprising identical part, determine the mould of n-th page and current page Formula is identical.
Certainly, it is merely illustrative herein and how judges whether two page-modes are identical, does not represent disclosure limitation In this.
In a step 102, redirect and shows target pages.
During user browses webpage, when selecting to retreat, page up can only be backed to, browser is utilized with user As a example by reading a news, news package contains the contents of page 10, is all a page per one page of content, and the lower one page of user's needs click is Can browse, it is impossible to intactly browse entire chapter news in a page, if the user sees that the 10th page browsing is finished, now, think The initial page for selecting this news is returned to, if selecting back spacer, needs adopting consecutive click chemical reaction just can return to initial page 10 times, And the scheme that the embodiment of the present disclosure is provided, when depth fallback function is activated, detect this 10 page mode that user browses news Identical, initial page is different from the pattern of this 10 pages, jumps directly to initial page, and aspect user operation improves use Experience at family.
Based on the webpage jump method that the corresponding embodiments of above-mentioned Fig. 1 are provided, Fig. 2 is illustrated according to an exemplary embodiment A kind of webpage jump method flow chart, with reference to shown in Fig. 2, the webpage jump method that the present embodiment is provided includes step 201- 206:
In step 201, during user's browsing pages, store user browses record.
In one embodiment, the record that browses of user includes the URL of the browsed page of user.
Step 201 can be persistently carried out during user's browsing pages, do not have clear and definite time order and function with subsequent step Sequentially.
In step 202., when detecting current page that user browses and being identical with the pattern of a upper page, generate simultaneously The option that display depth is retreated.
It should be noted that by taking smart mobile phone as an example, depth is retreated and can be shown in the form of touch button on screen Out, it is also possible to set prompt operation, not display depth back option, step 202 is a kind of implementation, does not represent this public affairs Beginning is limited to this.
In step 203, when detecting depth fallback function and being activated, n-th page before determining current page Whether identical with the pattern of current page.
N-th page before current page is to browse record order from back to front according to user to determine, that is, From the beginning of the page up of current page, record order from back to front is browsed according to user and detected forward.Wherein, n be [1, K] it Between integer, K is the integer more than 1.
In step 204, when n-th page is identical with the pattern of current page, (n+1)th before determining current page Whether the individual page is identical with the pattern of current page.
In step 205, when the k-th page before determining current page is different from the pattern of current page, will The k-th page is used as target pages.
In step 206, redirect and shows target pages.
The webpage jump method that the embodiment of the present disclosure is provided, when detecting depth fallback function and being activated, according to current The page determine target pages, target pages be current page before the page, and target pages are different from the pattern of current page; Redirect and shows target pages.The article or atlas for currently browsing can be jumped out, is returned to when depth fallback function is activated The initial page, user-friendly, improve experience of the user using browser.
Following for disclosure device embodiment, can be used for executing method of disclosure embodiment.
Fig. 3 is the block diagram that a kind of webpage according to an exemplary embodiment redirects device, and the equipment can pass through soft Part, hardware or both be implemented in combination with become webpage and redirect some or all of of device, the webpage redirects device for holding Webpage jump method described in the corresponding embodiments of the above-mentioned Fig. 1 and Fig. 2 of row.As shown in figure 3, the webpage redirects device 30 wrapping Include:Depth fallback block 301 and jump module 302.
Wherein, depth fallback block 301, for when detecting depth fallback function and being activated, true according to current page Set the goal the page, target pages be current page before the page, and target pages are different from the pattern of current page;
Jump module 302, for redirecting simultaneously shows target pages.
In one embodiment, as shown in figure 4, depth fallback block 301 includes cyclic submodule block 3011;
Cyclic submodule block 3011, for the pattern whether phase of n-th page before determining current page and current page With;When n-th page is identical with the pattern of current page, (n+1)th before the determining current page page and current page Pattern whether identical, n be [1, K] between integer, K is the integer more than 1;Until determining the k-th before current page When the page is different from the pattern of current page, using the k-th page as target pages.
In one embodiment, as shown in figure 5, depth fallback block 301 includes the first decision sub-module 3012;
First decision sub-module 3012, for the uniform resource position mark URL in n-th page and the URL of current page, Part before filename is identical, and filename some identical when, determine the pattern phase of n-th page and current page With.
In one embodiment, as shown in fig. 6, depth fallback block 301 includes the second decision sub-module 3013;
Second decision sub-module 3013, includes identical parameter for the URL in n-th page with the URL of current page, And the part before identical parameter identical when, n-th page before determining current page is identical with the pattern of current page.
In one embodiment, as shown in fig. 7, webpage redirects device 30 also includes memory module 303;
Memory module 303, for storing the record that browses of user, the record that browses of user includes the browsed page of user URL.
The webpage that the embodiment of the present disclosure is provided redirects device, when detecting depth fallback function and being activated, according to current The page determine target pages, target pages be current page before the page, and target pages are different from the pattern of current page; Redirect and shows target pages.The article or atlas for currently browsing can be jumped out, is returned to when depth fallback function is activated The initial page, user-friendly, improve experience of the user using browser.
Fig. 8 is the block diagram that a kind of webpage according to an exemplary embodiment redirects device, and the equipment can pass through soft Part, hardware or both be implemented in combination with become webpage and redirect some or all of of device, the webpage redirects device for holding Webpage jump method described in the corresponding embodiments of the above-mentioned Fig. 1 and Fig. 2 of row.As shown in figure 8, the webpage redirects device 80 wrapping Include:
Processor 801;
For storing the memorizer 802 of 801 executable instruction of processor;
Wherein, processor 801 is configured to:
When detecting depth fallback function and being activated, target pages are determined according to current page, target pages are current The page before the page, and target pages are different from the pattern of current page;
Redirect and shows target pages.
In one embodiment, processor 801 can be additionally configured to:
Whether n-th page before determining current page be identical with the pattern of current page;
When n-th page is identical with the pattern of current page, (n+1)th before the determining current page page with current Whether the pattern of the page is identical, and n is the integer between [1, K], and K is the integer more than 1;
Until determine current page before the k-th page different from the pattern of current page when, using the k-th page as Target pages.
In one embodiment, processor 801 can be additionally configured to:
As uniform resource position mark URL and the URL of current page of n-th page, the part before filename is identical, and Filename some identical when, determine that n-th page is identical with the pattern of current page.
In one embodiment, processor 801 can be additionally configured to:
When the URL of n-th page includes the part before identical parameter, and identical parameter with the URL of current page When identical, n-th page before determining current page is identical with the pattern of current page.
In one embodiment, processor 801 can be additionally configured to:
Storage user browses record, and the record that browses of user includes the URL of the browsed page of user.
The webpage that the embodiment of the present disclosure is provided redirects device, when detecting depth fallback function and being activated, according to current The page determine target pages, target pages be current page before the page, and target pages are different from the pattern of current page; Redirect and shows target pages.The article or atlas for currently browsing can be jumped out, is returned to when depth fallback function is activated The initial page, user-friendly, improve experience of the user using browser.
Fig. 9 is a kind of block diagram of the terminal unit according to an exemplary embodiment, the net that the embodiment of the present disclosure is proposed It can be terminal unit 90 as shown in Figure 9 that page redirects device, for example:Smart mobile phone, panel computer etc., the terminal unit 90 are used In the webpage jump method described in the corresponding embodiments of the above-mentioned Fig. 1 and Fig. 2 of execution.
Terminal unit 90 can include following one or more assemblies:Process assembly 901, memorizer 902, power supply module 903, multimedia groupware 904, audio-frequency assembly 905, the interface 906 of input/output (I/O), sensor cluster 907, and communication Component 908.
The integrated operation of 901 usual control terminal equipment 90 of process assembly, such as with display, call, data communication, The associated operation of camera operation and record operation.Process assembly 901 can include one or more processors 9011 to execute Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 901 can include one or more modules, The interaction being easy between process assembly 901 and other assemblies.For example, process assembly 901 can include multi-media module, with convenient Interaction between multimedia groupware 904 and process assembly 901.
Memorizer 902 is configured to store various types of data to support the operation in terminal unit 90.These data Example include on terminal unit 90 operate any application program or method instruction, contact data, telephone directory Data, message, picture, video etc..Memorizer 902 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static RAM (English:Static Random Access Memory, SRAM), electricity can Erasable programmable read-only memory (EPROM) (English:Electrically Erasable Programmable Read Only Memory, EEPROM), Erasable Programmable Read Only Memory EPROM (English:Erasable Programmable Read Only Memory, EPROM), programmable read only memory (English:Programmable Read Only Memory, PROM), read-only Memorizer (English:Read Only Memory, ROM), magnetic memory, flash memory, disk or CD.
Power supply module 903 provides electric power for the various assemblies of terminal unit 90.Power supply module 903 can include power management System, one or more power supplys, and other generate, manage and distribute the component that electric power is associated with for terminal unit 90.
Multimedia groupware 904 is included in the screen of one output interface of offer between terminal unit 90 and user.One In a little embodiments, screen can include liquid crystal display (English:Liquid Crystal Display, LCD) and touch panel (English:Touch Panel, TP).If screen includes that touch panel, screen may be implemented as touch screen, with receive from The input signal of user.Touch panel includes one or more touch sensors with sensing touch, slip and touch panel Gesture.Touch sensor can not only sensing touch or sliding action border, but also detect and touch or slide phase The persistent period of pass and pressure.In certain embodiments, multimedia groupware 904 includes a front-facing camera and/or rearmounted takes the photograph As head.When terminal unit 90 is in operator scheme, such as screening-mode or during video mode, front-facing camera and/or rearmounted shooting Head can receive the multi-medium data of outside.Each front-facing camera and post-positioned pick-up head can be fixed optical lenses System has focusing and optical zoom capabilities.
Audio-frequency assembly 905 is configured to output and/or input audio signal.For example, audio-frequency assembly 905 includes a Mike Wind (English:Microphone, MIC), when terminal unit 90 is in operator scheme, such as call model, logging mode and voice is known During other pattern, mike is configured to receive external audio signal.The audio signal for being received can be further stored is depositing Reservoir 902 is sent via communication component 908.In certain embodiments, audio-frequency assembly 905 also includes a speaker, is used for Exports audio signal.
I/O interfaces 906 are to provide interface between process assembly 901 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor cluster 907 includes one or more sensors, for providing the state of various aspects for terminal unit 90 Assessment.For example, sensor cluster 907 can detect the opening/closed mode of terminal unit 90, the relative localization of component, example If the component is the display and keypad of terminal unit 90, sensor cluster 907 can be with detection terminal equipment 90 or whole The position change of 90 1 components of end equipment, user are presence or absence of with what terminal unit 90 was contacted, 90 orientation of terminal unit Or the temperature change of acceleration/deceleration and terminal unit 90.Sensor cluster 907 can include proximity transducer, be configured to The presence of object near detecting when without any physical contact.Sensor cluster 907 can also include optical sensor, such as mutually Mend metal-oxide semiconductor (MOS) (English:Complementary Metal Oxide Semiconductor, CMOS) or electric charge coupling Close element (English:Charge Coupled Device, CCD) imageing sensor, for used in imaging applications.At some In embodiment, the sensor cluster 907 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensing Device or temperature sensor.
Communication component 908 is configured to facilitate the communication of wired or wireless way between terminal unit 90 and other equipment. Terminal unit 90 can access the wireless network based on communication standard, such as Wireless Fidelity (English:Wireless-Fidelity, WiFi), 2G or 3G, or combinations thereof.In one exemplary embodiment, communication component 908 receives to come via broadcast channel Broadcast singal or broadcast related information from external broadcasting management system.In one exemplary embodiment, communication component 908 is gone back Including near-field communication (English:Near Field Communication, NFC) module, to promote junction service.For example, in NFC Module can be based on RF identification (English:Radio Frequency Identification, RFID) technology, Infrared Data Association (English:Infrared Data Association, IrDA) technology, ultra broadband (English:Ultra Wideband, UWB) skill Art, bluetooth (English:Bluetooth, BT) technology and other technologies to be realizing.
In the exemplary embodiment, terminal unit 90 can be by one or more application specific integrated circuits (English: Application Specific Integrated Circuit, ASIC), digital signal processor (English:Digital Signal Processing, DSP), digital signal processing appts (English:Digital Signal Processing Device, DSPD), PLD (English:Programmable Logic Device, PLD), field programmable gate Array (English:Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor or other Electronic component is realized, for executing the webpage jump method described in the corresponding embodiments of above-mentioned Fig. 1 and Fig. 2.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include that the memorizer 902 for instructing, above-mentioned instruction can be executed by the process assembly 901 of terminal unit 90 to complete said method. For example, non-transitorycomputer readable storage medium can be ROM, random access memory (English:Random Access Memory, RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..When the instruction in the storage medium is set by terminal When standby 90 process assembly 901 is executed so that terminal unit 90 is able to carry out being retouched in the corresponding embodiments of above-mentioned Fig. 1 and Fig. 2 The webpage jump method that states, the method include:
When detecting depth fallback function and being activated, target pages are determined according to current page, target pages are current The page before the page, and target pages are different from the pattern of current page;
Redirect and shows target pages.
In one embodiment, target pages are determined according to current page, including:
Whether n-th page before determining current page be identical with the pattern of current page;
When n-th page is identical with the pattern of current page, (n+1)th before the determining current page page with current Whether the pattern of the page is identical, and n is the integer between [1, K], and K is the integer more than 1;
Until determine current page before the k-th page different from the pattern of current page when, using the k-th page as Target pages.
In one embodiment, whether n-th page before determining current page be identical with the pattern of current page, bag Include:
URL (English when n-th page:Uniform Resource Locator, URL) with current The URL of the page, the part before filename are identical, and filename some identical when, determine n-th page and current page Pattern identical.
In one embodiment, whether n-th page before determining current page be identical with the pattern of current page, bag Include:
When the URL of n-th page includes the part before identical parameter, and identical parameter with the URL of current page When identical, n-th page before determining current page is identical with the pattern of current page.
In one embodiment, the method also includes:
Storage user browses record, and the record that browses of user includes the URL of the browsed page of user.
The webpage that the embodiment of the present disclosure is provided redirects device, when detecting depth fallback function and being activated, according to current The page determine target pages, target pages be current page before the page, and target pages are different from the pattern of current page; Redirect and shows target pages.The article or atlas for currently browsing can be jumped out, is returned to when depth fallback function is activated The initial page, user-friendly, improve experience of the user using browser.
Those skilled in the art will readily occur to its of the disclosure after considering description and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to the precision architecture for being described above and being shown in the drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a kind of webpage jump method, it is characterised in that methods described includes:
When detecting depth fallback function and being activated, target pages are determined according to current page, the target pages are described The page before current page, and the target pages are different from the pattern of the current page;
Redirect and show the target pages.
2. method according to claim 1, it is characterised in that target pages are determined according to current page, including:
Determine whether n-th page before the current page be identical with the pattern of the current page;
When n-th page is identical with the pattern of the current page, (n+1)th page before the current page is determined Whether face is identical with the pattern of the current page, and n is the integer between [1, K], and K is the integer more than 1;
When the k-th page before determining the current page is different from the pattern of the current page, by the k-th The page is used as the target pages.
3. method according to claim 2, it is characterised in that n-th page before the determination current page Whether identical with the pattern of the current page, including:
When the URL of uniform resource position mark URL and the current page of n-th page, the part phase before filename With, and filename some identical when, determine that n-th page is identical with the pattern of the current page.
4. method according to claim 2, it is characterised in that n-th page before the determination current page Whether identical with the pattern of the current page, including:
When n-th page URL and the current page URL include identical parameter, and the identical parameter it When front part is identical, determine that n-th page before the current page is identical with the pattern of the current page.
5. the method according to claim 3 or 4, it is characterised in that methods described also includes:
The record that browses of the user is stored, the record that browses of the user includes the URL of the browsed page of the user.
6. a kind of webpage redirects device, it is characterised in that include:Depth fallback block and jump module;
The depth fallback block, for when detecting depth fallback function and being activated, determining page object according to current page Face, the target pages are the pages before the current page, and the pattern of the target pages and the current page is not With;
The jump module, for redirecting and showing the target pages.
7. device according to claim 6, it is characterised in that the depth fallback block includes cyclic submodule block;
The cyclic submodule block, for determining that n-th page before the current page and the pattern of the current page be No identical;When n-th page is identical with the pattern of the current page, (n+1)th before the current page is determined Whether the individual page is identical with the pattern of the current page, and n is the integer between [1, K], and K is the integer more than 1;Until determining When the k-th page before the current page is different from the pattern of the current page, using the k-th page as described Target pages.
8. device according to claim 7, it is characterised in that the depth fallback block includes the first decision sub-module;
First decision sub-module, for the uniform resource position mark URL in n-th page and the current page URL, the part before filename are identical, and filename some identical when, determine n-th page and the current page The pattern in face is identical.
9. device according to claim 7, it is characterised in that the depth fallback block includes the second decision sub-module;
Second decision sub-module, includes identical for the URL in n-th page with the URL of the current page When part before parameter, and the identical parameter is identical, determine that n-th page before the current page is worked as with described The pattern of the front page is identical.
10. device according to claim 8 or claim 9, it is characterised in that the webpage redirects device also includes memory module;
The memory module, for storing the record that browses of the user, the record that browses of the user includes that the user is clear The URL of the page that look at.
A kind of 11. webpages redirect device, it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, the processor is configured to:
When detecting depth fallback function and being activated, target pages are determined according to current page, the target pages are described The page before current page, and the target pages are different from the pattern of the current page;
Show the target pages.
CN201610899878.2A 2016-10-14 2016-10-14 Webpage jump method and device Pending CN106503099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610899878.2A CN106503099A (en) 2016-10-14 2016-10-14 Webpage jump method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610899878.2A CN106503099A (en) 2016-10-14 2016-10-14 Webpage jump method and device

Publications (1)

Publication Number Publication Date
CN106503099A true CN106503099A (en) 2017-03-15

Family

ID=58295082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610899878.2A Pending CN106503099A (en) 2016-10-14 2016-10-14 Webpage jump method and device

Country Status (1)

Country Link
CN (1) CN106503099A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163143A (en) * 2020-10-29 2021-01-01 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105224579A (en) * 2014-07-02 2016-01-06 腾讯科技(深圳)有限公司 A kind of history page air navigation aid and device
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105302811A (en) * 2014-06-13 2016-02-03 腾讯科技(深圳)有限公司 Browser page skipping method and apparatus
CN105224579A (en) * 2014-07-02 2016-01-06 腾讯科技(深圳)有限公司 A kind of history page air navigation aid and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163143A (en) * 2020-10-29 2021-01-01 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium
CN112163143B (en) * 2020-10-29 2024-02-27 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN105512909A (en) Commodity recommendation method apparatus
CN103914523A (en) Page rollback controlling method and page rollback controlling device
CN105955618A (en) Information display method and device
CN104793846A (en) Displaying method and device for interface of application program
CN106789551B (en) Conversation message methods of exhibiting and device
CN105159524A (en) Interface display method and apparatus
CN106202223A (en) Content collection method, device and for collecting the device of content in application program
CN104778405A (en) Method and device for blocking advertisements
CN106126018A (en) Desktop icons sort method and device
CN104778226A (en) Webpage content item shielding method and webpage content item shielding device
CN104461348A (en) Method and device for selecting information
CN106293961A (en) Text message processing method and device
CN104049864A (en) Object control method and device
CN104636170A (en) Application acquiring method and device and electronic device
CN106354878A (en) Page management method and device
CN106919334A (en) Application program access method and device
CN106970897A (en) The method to set up and equipment of text formatting
CN105786944A (en) Method and device for automatically turning pages of browser
CN105843486A (en) Method and apparatus for interface display
CN105242837A (en) Application page acquisition method and terminal
CN105187671A (en) Recording method and device
CN108154416A (en) Website browsing optimization method and device
KR101787918B1 (en) Search method, apparatus, program and recording medium
CN106775708A (en) The page layout switch control method and device of mobile terminal
CN105430194A (en) Method for making calls, device and terminal

Legal Events

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

Application publication date: 20170315

RJ01 Rejection of invention patent application after publication