CN106227887A - A kind of method returning the former page in browser new page - Google Patents

A kind of method returning the former page in browser new page Download PDF

Info

Publication number
CN106227887A
CN106227887A CN201610660453.6A CN201610660453A CN106227887A CN 106227887 A CN106227887 A CN 106227887A CN 201610660453 A CN201610660453 A CN 201610660453A CN 106227887 A CN106227887 A CN 106227887A
Authority
CN
China
Prior art keywords
page
former
new
new page
former page
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.)
Withdrawn
Application number
CN201610660453.6A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201610660453.6A priority Critical patent/CN106227887A/en
Publication of CN106227887A publication Critical patent/CN106227887A/en
Withdrawn 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/954Navigation, e.g. using categorised browsing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to a kind of method returning the former page in browser new page, including: detect on former page link and open new page operation;The former page and new page are associated, obtain and store related information;If new page receives back operation order, then return the former page according to related information.The present invention, by the former page and the relatedness of new page, simply, efficiently from new page can return the former page, improve the experience of user.

Description

A kind of method returning the former page in browser new page
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of method returning the former page in browser new page.
Background technology
At present, constantly universal along with Internet technology, using browser to browse webpage has become people and has obtained information One very important approach.
When user uses browser to browse webpage, many times need to open new web page browsing content.Such as work as click <a>label in webpage, and the target attribute of this label be set to _ blank time, then can open this label indication in new page To link.Existing all (or most) browser not such new page be provided with return the former page by The back of button or operation, such as browser interface.Now, if user wants to return the former page and (i.e. opens that of new page The page) it not the most facilitate very much, if former page close is even difficult to find that the former page.Particularly on the browser of mobile terminal, New page returns to former page operation and gets up comparatively laborious.
Summary of the invention
The technical problem to be solved is to provide a kind of method returning the former page in browser new page, can letter Single, efficiently from the new page former page of return.
In order to solve above-mentioned technical problem, it is provided that a kind of method returning the former page in browser new page, including:
Former page link detects and opens new page operation;
The former page and new page are associated, obtain and store related information;
If new page receives back operation order, then return the former page according to related information.
It should be noted that described former page link is generally the network address on the former page pointed by<a>label;Described new page Face is to be linked at the new Shipping Options Page of browser or the page that new window or hide window etc. are opened by described, such as works as webpage clicking In<a>label, and the target attribute of this label be set to _ blank time, then can open pointed by this label in new page Link;The operation opening described new page can't make described former page close;The described former page is that open new page The individual page.
Alternatively, described related information include described new page and the described former page mutually corresponding page iden-tity.
It should be noted that can determine that on the described former page by described mark, browser or its residing operating system The described new page opened is linked by certain;Can also determine open the described former page associated by described new page and on Link label.
Alternatively, when described new page has detected back operation, then this is detected further according to described related information Whether the former page associated by new page is closed, the most then according to the former page of former page url or caching (if Have) open and show the former page, otherwise it is directly switch to described former page window.
If the described former page is not turned off, after being switched to described former page window, it is possible to display to the user that this former page The state of face displaying last time, the anchor point etc. residing for the such as page.
It should be noted that the closed mode of the described page, including the shutoff operation to page click X button, close After this page the most unavailable the most invisible, it is impossible to by switching browser window check this page;Described retrogressing is grasped Make, the back on browser can be click on, it is also possible to for playing other operation of identical effect with click back, Such as some mobile phone browser, except browser bottom left back " < ", from the left side edge of this browser to the right Slide the most also for back operation.
Alternatively, when described new page has detected back operation, and its associated described former page is in closedown State, the operation of the former page of the most described return is to carry out in new page.
Now, new Shipping Options Page will not separately be built by browser or new window page opens the described former page, described new page institute originally Show content can be eliminated, load and show the content of the former page, the content of the described former page by former page url load or (if there is) is loaded from caching.
Alternatively, when described new page generation shutoff operation, delete and remove the described former page all of its correspondence Related information.
After described new page is closed, content disclosed in this invention is not used by all of described related information Place, deletes and removes these information and be conducive to the memory space of release device.
Alternatively, when described new page generation shutoff operation, detect the former page associated there and be the most buffered, If be buffered, then determining whether whether this related new page of former page exists, if not existing, then removing described Former page cache.
If the new page that all and described former page is associated all closes, discharge being cached with of this former page and beneficially save Spatial cache.
Alternatively, when described former page generation shutoff operation, if be detected that the described new page associated with it does not has It is closed, then caches this former content of pages.
Cache described former content of pages, be in order to next time is when its associated new page returns, directly obtain from caching Former content of pages.
Alternatively, when described former page generation shutoff operation, cancel and all new pages associated by this former page The back operation of (if there is), and the back of described new page is set to down state.
Because the described former page has been off, if described new page still has fallback function, then back operation is returned The described former page returned, or be to be loaded by the url corresponding to this former page, or be to obtain from caching.
Alternatively, when described former page generation shutoff operation, delete and remove the institute of its associated described new page Relevant information.
When, after described former page close, cancelling the related information of the described new page associated with it, be conducive to release Memory space.
The present invention at least has the advantages that
The present invention, by arranging the described former page and the relatedness of described new page, makes described new page have the described former page of return The function in face, simple in construction, take resource few.
Especially in mobile terminal, due to the particularity of mobile terminal browser, existing mobile terminal browser is in described new page On be not provided with returning the back of the described former page, user described new page return the described former page operation compare Loaded down with trivial details.Content disclosed in this invention can effectively alleviate this problem, and it is described that user uses common back operation just can return The former page, simple and easy, Consumer's Experience is good.
Accompanying drawing explanation
Fig. 1 is the flow chart of a kind of method returning the former page in browser new page of the present invention;
Fig. 2 is the flow chart of an embodiment of a kind of method returning the former page in browser new page of the present invention;
Fig. 3 is the flow chart of embodiment during new page generation shutoff operation of the present invention;
Fig. 4 is the flow chart of embodiment during former page generation shutoff operation of the present invention;
Fig. 5 is the flow chart of another embodiment during former page generation shutoff operation of the present invention.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, real with concrete below in conjunction with the accompanying drawings The present invention is further detailed explanation to execute mode.
With reference to Fig. 1, it is shown that the flow chart of a kind of method returning the former page in browser new page of the present invention, including:
Step 101, detect on former page link open new page operation;
Step 102, the former page and new page are associated, obtain and store related information;
If step 103 new page receives back operation order, then return the former page according to related information.
In order to determine the described new page associated by the described former page, and determine associated by described new page described former The page, described related information include described new page and the described former page mutually corresponding page iden-tity.
Described related information can also include the network address (i.e. page url) of the described former page;If the described former page is delayed Depositing, described related information can also include the reference address of the described former page or the access approach being buffered.Such that time former The page is closed, when described new page is reversed operation, it is also possible to address or caching by the former page return, although The content and the state in which that return display when the content shown likely is closed with the former page are different.
Each described former page, can be associated with multiple described new pages, but each new page at most can only be same The described former page is associated.
See Fig. 2, it is shown that an embodiment of a kind of method returning the former page in browser new page of the present invention Flow chart, specifically may include steps of:
Step 201, detects on former page link and opens new page operation;
Step 202, is associated the former page and new page, obtains and stores related information;
Step 203, when described new page has detected back operation;
Whether step 204, be closed according to the former page that described related information detects associated by this new page further;
Step 205, the most then open according to the former page (if there is) of former page url or caching and show the former page;
Step 206, otherwise, is directly switch to described former page window.
Above-mentioned specific embodiment, as long as described new page detects back operation, all can realize returning function.
Step 204 in the specific implementation, detects the institute whether former page associated by described new page is closed By method, both can be to check corresponding related information, this related information arranges when the former page is closed, and is set The implication of state is that the described former page is closed;Can also be for the former page that is associated described in directly detection whether at window Exist in Kou and judge.No matter which kind of mode, is required for the mark by the described former page in described related information, this mark Uniquely determine page window, even if url is identical, if the time opened and (or) window (or label) difference opened, this mark Know and also differ.
As a preferable embodiment, when described new page has detected back operation, and it is associated described The former page is closed, and the operation of the former page of the most described return is to carry out in new page.
In step 206, it is switched to described former page window, represents that the described former page is not turned off, need not during switching Reload, its display state with last time when browser window shows compared be not changed in.Now, described new page retain or Closing, when being embodied as, difference according to demand carries out different process.
Described new page can be closed due to a variety of causes, now needs to discharge related resource, and Fig. 3 is of the present invention The flow chart of embodiment during new page generation shutoff operation, comprises the following steps:
Step 301, when described new page generation shutoff operation;
Step 302, deletes and removes all related informations of the described former page of its correspondence;
Step 303, detects the former page associated there and is the most buffered, if be buffered;
Step 304, determines whether whether this related new page of former page exists, if
Do not exist;
Step 305, removes described former page cache.
Discharge useless resource, it is ensured that the operational efficiency of system and stability.
In step 205, if the page being switched to is for caching the former page, need in advance good for former page cache, such as Fig. 4 institute Show, for the flow chart of embodiment during former page generation shutoff operation of the present invention, including step:
Step 401, when described former page generation shutoff operation;
Step 402, if be detected that the described new page associated with it is not on closed mode;
Step 403, caches this former content of pages.
Step 402 in the specific implementation, can be in the way of employing be similar with step 204.
When described new page is reversed operation, reasonable return interface is can being switched to as described in step 206 Described former page window, the most both need not reload the described former page by url, and need not again cache the described former page. But having been off when the described former page, so gratifying result is difficult to reach, so, as when being embodied as, If the described former page has been off, the fallback function of its associated described new page can be canceled.Fig. 5 is institute of the present invention The flow chart of another embodiment when stating former page generation shutoff operation, including step:
Step 501, when described former page generation shutoff operation;
Step 502, cancels and the back operation of all new page (if there is) associated by this former page, and described new page The back in face is set to down state;
Step 503, deletes and removes all related informations of its associated described new page.
When being embodied as, the order of step 502 and step 503 can exchange, or perform simultaneously.
The technical scheme of above example only in order to the present invention to be described, is not intended to limit.Although with reference to foregoing embodiments The present invention has been described in detail by technical scheme, it will be understood by those within the art that: it still can be to front The technical scheme stating each embodiment is modified, or wherein portion of techniques feature is carried out equivalent;And these amendment or Person replaces, and does not make the essence of appropriate technical solution depart from the spirit and scope of the concrete technical scheme of the present invention.

Claims (9)

1. the method returning the former page in browser new page, it is characterised in that including:
Former page link detects and opens new page operation;
The former page and new page are associated, obtain and store related information;
If new page receives back operation order, then return the former page according to related information.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that described pass Connection information include described new page and the described former page mutually corresponding page iden-tity.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described When new page has detected back operation, then the former page detected further associated by this new page according to described related information is No it is closed, the most then opens and show the former page according to the former page (if there is) of former page url or caching, no Then it is directly switch to described former page window.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described When new page has detected back operation, and its associated described former page is closed, the former page of the most described return Operation be to carry out in new page.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described During new page generation shutoff operation, delete and remove all related informations of the described former page of its correspondence.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described During former page generation shutoff operation, if be detected that the described new page associated with it is not on closed mode, then cache This former content of pages.
7. according to a kind of method returning the former page in browser new page described in claim 1 and 6, it is characterised in that when During described new page generation shutoff operation, detecting the former page associated there and be the most buffered, if be buffered, then entering One step judges whether this related new page of former page exists, if not existing, then removes described former page cache.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described During former page generation shutoff operation, cancel and the back operation of all new page (if there is) associated by this former page, and The back of described new page is set to down state.
A kind of method returning the former page in browser new page the most according to claim 1, it is characterised in that when described During former page generation shutoff operation, delete and remove all related informations of its associated described new page.
CN201610660453.6A 2016-08-12 2016-08-12 A kind of method returning the former page in browser new page Withdrawn CN106227887A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610660453.6A CN106227887A (en) 2016-08-12 2016-08-12 A kind of method returning the former page in browser new page

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610660453.6A CN106227887A (en) 2016-08-12 2016-08-12 A kind of method returning the former page in browser new page

Publications (1)

Publication Number Publication Date
CN106227887A true CN106227887A (en) 2016-12-14

Family

ID=57548371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610660453.6A Withdrawn CN106227887A (en) 2016-08-12 2016-08-12 A kind of method returning the former page in browser new page

Country Status (1)

Country Link
CN (1) CN106227887A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106896979A (en) * 2017-01-20 2017-06-27 浙江慧脑信息科技有限公司 A kind of method for browsing history forward-reverse
CN107066611A (en) * 2017-05-04 2017-08-18 浙江路港互通信息技术有限公司 Page return mechanism and method
CN108241688A (en) * 2016-12-26 2018-07-03 广州市动景计算机科技有限公司 A kind of page access method, apparatus and computing device
CN108345479A (en) * 2017-01-22 2018-07-31 北京优朋普乐科技有限公司 A kind of page returns and the method and system of mark stacking
CN109145585A (en) * 2018-08-23 2019-01-04 北京神州绿盟信息安全科技股份有限公司 There are the method and devices of weak passwurd for a kind of detection website
CN110222516A (en) * 2019-04-26 2019-09-10 中国软件与技术服务股份有限公司 A kind of safe reading method and system based on server side code
CN111400625A (en) * 2020-03-25 2020-07-10 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN112163143A (en) * 2020-10-29 2021-01-01 百度时代网络技术(北京)有限公司 Page switching method, device, equipment and storage medium
CN112579220A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Modal popup display method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8181116B1 (en) * 2004-09-14 2012-05-15 A9.Com, Inc. Method and apparatus for hyperlink list navigation
CN103678536A (en) * 2013-12-02 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and device for implementing page returning
CN104765802A (en) * 2015-03-30 2015-07-08 上海大唐移动通信设备有限公司 Web page display method and device
CN105528439A (en) * 2015-12-21 2016-04-27 北京奇虎科技有限公司 Switching method and device for page in browser label
CN105653585A (en) * 2015-12-21 2016-06-08 北京奇虎科技有限公司 Method and device for switching webpages in browser labels

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8181116B1 (en) * 2004-09-14 2012-05-15 A9.Com, Inc. Method and apparatus for hyperlink list navigation
CN103678536A (en) * 2013-12-02 2014-03-26 乐视网信息技术(北京)股份有限公司 Method and device for implementing page returning
CN104765802A (en) * 2015-03-30 2015-07-08 上海大唐移动通信设备有限公司 Web page display method and device
CN105528439A (en) * 2015-12-21 2016-04-27 北京奇虎科技有限公司 Switching method and device for page in browser label
CN105653585A (en) * 2015-12-21 2016-06-08 北京奇虎科技有限公司 Method and device for switching webpages in browser labels

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108241688A (en) * 2016-12-26 2018-07-03 广州市动景计算机科技有限公司 A kind of page access method, apparatus and computing device
WO2018121277A1 (en) * 2016-12-26 2018-07-05 广州市动景计算机科技有限公司 Page access method, device, computer apparatus, and computer storage medium
CN106896979B (en) * 2017-01-20 2020-02-14 浙江慧脑信息科技有限公司 Method for forward and backward browsing history
CN106896979A (en) * 2017-01-20 2017-06-27 浙江慧脑信息科技有限公司 A kind of method for browsing history forward-reverse
CN108345479A (en) * 2017-01-22 2018-07-31 北京优朋普乐科技有限公司 A kind of page returns and the method and system of mark stacking
CN107066611B (en) * 2017-05-04 2020-05-15 浙江数链科技有限公司 Page returning device and method
CN107066611A (en) * 2017-05-04 2017-08-18 浙江路港互通信息技术有限公司 Page return mechanism and method
CN109145585A (en) * 2018-08-23 2019-01-04 北京神州绿盟信息安全科技股份有限公司 There are the method and devices of weak passwurd for a kind of detection website
CN109145585B (en) * 2018-08-23 2020-09-22 北京神州绿盟信息安全科技股份有限公司 Method and device for detecting weak password of website
CN110222516A (en) * 2019-04-26 2019-09-10 中国软件与技术服务股份有限公司 A kind of safe reading method and system based on server side code
CN112579220A (en) * 2019-09-29 2021-03-30 北京国双科技有限公司 Modal popup display method and device
CN112579220B (en) * 2019-09-29 2023-10-31 北京国双科技有限公司 Modal popup window display method and device
CN111400625A (en) * 2020-03-25 2020-07-10 北京字节跳动网络技术有限公司 Page processing method and device, electronic equipment and computer readable storage medium
CN111400625B (en) * 2020-03-25 2023-03-28 抖音视界有限公司 Page processing method and device, electronic equipment and computer readable storage medium
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
CN106227887A (en) A kind of method returning the former page in browser new page
CN103559299B (en) Method, device and mobile terminal for cleaning up files
US10783211B2 (en) Page processing method and device thereof
US9418243B2 (en) Invoking a private browsing mode by selection of a visual control element within a browser tab
CN103870102B (en) Picture switching method and device
CN103678307B (en) Page display method and client
CN103095840B (en) A kind of advertisement loading method for mobile terminal
CN103106196B (en) A kind of method and apparatus recovering browsing device net page
CN104657038A (en) Method for processing content
CN103179164B (en) The method of memory page information and communication terminal thereof
CN103793932A (en) Method and device for storing image and text in mobile terminal browser
CN105868241A (en) Data loading method and apparatus
CN109298905A (en) Utilize the method and electronic equipment of the optimization picture lazyness load of front end programming language
CN104035703A (en) Client side, method and system for changing view display
CN103714069A (en) Method and device for opening pages in background
CN106855934A (en) The display methods and device of the barcode scanning page
CN102946346A (en) Method, client and system for presetting browser in instant messaging interactive interface
CN107515907B (en) The display methods and device of browser page
CN105892792A (en) Operation method of terminal equipment, and terminal equipment
CN109976627A (en) Interface collection and extracting method, device, terminal and storage medium
CN104657341A (en) Terminal
CN103176977B (en) Load the method for the page, system and browser
CN112463121B (en) Method for persisting external page state in multi-tab application system based on vue
CN106294832A (en) Browser page method for caching and processing and device
CN110020297A (en) A kind of loading method of web page contents, apparatus and system

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20161214