9679076

Method and Device for Controlling Page Rollback

PublishedJune 13, 2017
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
13 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method for controlling page rollback, comprising: acquiring a first page content of a current page and a second page content of a last viewed page before the current page; judging whether a structural similarity between the first page content and the second page content exceeds a similarity threshold; if the structural similarity exceeds the similarity threshold, keeping a preset rollback page unchanged, the preset rollback page being one of a null page or a previously viewed page viewed before the last viewed page; if the structural similarity does not exceed the similarity threshold, updating the preset rollback page to be the last viewed page before the current page; acquiring a rollback operation; judging whether a preset rollback page corresponding to the rollback operation exists; and displaying the preset rollback page if the preset rollback page exists.

2

2. The method according to claim 1 , further comprising: parsing a first document object model (DOM) tree structure of the first page content and a second DOM tree structure of the second page content; and determining the structural similarity by comparing the first and second DOM tree structures.

3

3. The method according to claim 1 , wherein the structural similarity is a second structural similarity, and the similarity threshold is a second similarity threshold, the method further comprising: acquiring a third page content of a page to be jumped to, the page to be jumped to corresponding to a preset hyperlink on the current page; judging whether a first structural similarity between the first page content and the third page content exceeds a first similarity threshold; and if the first structural similarity exceeds the first similarity threshold, performing: acquiring the first page content of the current page and the second page content of the last viewed page before the current page; judging whether the second structural similarity between the first page content and the second page content exceeds the second similarity threshold; if the second structural similarity exceeds the second similarity threshold, keeping of the preset rollback page unchanged; and if the second structural similarity does not exceed the second similarity threshold, updating the preset rollback page to be the last viewed page before the current page.

4

4. The method according to claim 3 , wherein acquiring the third page content includes: acquiring hyperlinks on the current page; judging whether the preset hyperlink exists among the hyperlinks by determining whether one of the hyperlinks is associated with at least one of next page, next article, next chapter, next, →, or ↓; and if the preset hyperlink exists among the hyperlinks on the current page, acquiring the third page content of the page to be jumped to that corresponds to the preset hyperlink.

5

5. The method according to claim 1 , wherein acquiring the rollback operation includes: detecting whether a preset rollback widget is triggered; when the preset rollback widget is triggered, recording a time length of triggering for the rollback widget; judging whether the time length exceeds a preset time length threshold; and if the time length exceeds the preset time length threshold, determining that the rollback operation is acquired.

6

6. The method according to claim 1 , wherein judging whether the preset rollback page corresponding to the rollback operation exists includes: seeking whether a link address of the preset rollback page exists; or seeking whether a page content of the preset rollback page is stored.

7

7. A device for controlling page rollback, comprising: a processor; and a non-transitory computer-readable storage medium storing a computer program that, when executed by the processor, causes the processor to: acquire a first page content of a current page and a second page content of a last viewed page before the current page; judge whether a structural similarity between the first page content and the second page content exceeds a similarity threshold; if the structural similarity exceeds the similarity threshold, keep a preset rollback page unchanged, the preset rollback page being one of a null page or a previously viewed page viewed before the last viewed page; if the structural similarity does not exceed the similarity threshold, update the preset rollback page to be the last viewed page before the current page; acquire a rollback operation; judge whether a preset rollback page corresponding to the rollback operation exists; and display the preset rollback page if the preset rollback page exists.

8

8. The device according to claim 7 , wherein the program further causes the processor to: parse a first document object model (DOM) tree structure of the first page content and a second DOM tree structure of the second page content; and determine the structural similarity by comparing the first and second DOM tree structures.

9

9. The device according to claim 7 , wherein the structural similarity is a second structural similarity, and the similarity threshold is a second similarity threshold, and wherein the program further causes the processor to: acquire a third page content of a page to be jumped to, the page to be jumped to corresponding to a preset hyperlink on the current page; judge whether a first structural similarity between the first page content and the third page content exceeds a first similarity threshold; and if the first structural similarity exceeds the first similarity threshold: acquire the first page content of the current page and the second page content of the last viewed page before the current page; judge whether the second structural similarity between the first page content and the second page content exceeds the second similarity threshold; if the second structural similarity exceeds the second similarity threshold, keep the preset rollback page unchanged; and if the second structural similarity does not exceed the second similarity threshold, update the preset rollback page to be the last viewed page before the current page.

10

10. The device according to claim 9 , wherein the program causing the processor to acquire the third page content includes the program causing the processor to: acquire hyperlinks on the current page; judge whether a preset hyperlink exists among the hyperlinks by determining whether one of the hyperlinks is associated with at least one of next page, next article, the next chapter, next, →, or ↓; and acquire the third page content if the preset hyperlink exists among the hyperlinks on the current page.

11

11. The device according to claim 7 , wherein the program causing the processor to acquire the rollback operation includes the program causing the processor to: detect whether a preset rollback widget is triggered; record a time length of triggering for the rollback widget when the preset rollback widget is triggered; judge whether the time length exceeds a preset time length threshold; and determine that the rollback operation is acquired if the time length exceeds the preset time length threshold.

12

12. The device according to claim 7 , wherein the program causing the processor to judge whether the preset rollback page corresponding to the rollback operation exists includes the program causing the processor to: seek whether a link address of the preset rollback page exists; or seek whether a page content of the preset rollback page is stored.

13

13. A non-transitory computer-readable storage medium having stored therein instructions that, when executed by one or more processors of a terminal, cause the terminal to: acquire a first page content of a current page and a second page content of a last viewed page before the current page; judge whether a structural similarity between the first page content and the second page content exceeds a similarity threshold; if the structural similarity exceeds the similarity threshold, keep a preset rollback page unchanged, the preset rollback page being one of a null page or a previously viewed page viewed before the last viewed page; if the structural similarity does not exceed the similarity threshold, update the preset rollback page to be the last viewed page before the current page; acquire a rollback operation; judge whether a preset rollback page corresponding to the rollback operation exists; and display the preset rollback page if the preset rollback page exists.

Patent Metadata

Filing Date

Unknown

Publication Date

June 13, 2017

Inventors

Zhongyi DU
Yifei YU
Guoshi XU

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “METHOD AND DEVICE FOR CONTROLLING PAGE ROLLBACK” (9679076). https://patentable.app/patents/9679076

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.