CN113098859A - Webpage page backspacing method, device, terminal and storage medium - Google Patents

Webpage page backspacing method, device, terminal and storage medium Download PDF

Info

Publication number
CN113098859A
CN113098859A CN202110337741.9A CN202110337741A CN113098859A CN 113098859 A CN113098859 A CN 113098859A CN 202110337741 A CN202110337741 A CN 202110337741A CN 113098859 A CN113098859 A CN 113098859A
Authority
CN
China
Prior art keywords
address
webpage
page
terminal
similarity
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
CN202110337741.9A
Other languages
Chinese (zh)
Other versions
CN113098859B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202110337741.9A priority Critical patent/CN113098859B/en
Publication of CN113098859A publication Critical patent/CN113098859A/en
Application granted granted Critical
Publication of CN113098859B publication Critical patent/CN113098859B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic
    • H04L63/1466Active attacks involving interception, injection, modification, spoofing of data unit addresses, e.g. hijacking, packet injection or TCP sequence number attacks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1408Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic by monitoring network traffic
    • H04L63/1416Event detection, e.g. attack signature detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application belongs to the technical field of communication, and particularly relates to a webpage page rollback method, device, terminal and storage medium. The webpage page backspacing method comprises the following steps: when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack; acquiring a second webpage address of a second webpage with the first address quantity from an address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address; acquiring first address similarity of a first webpage address and a second webpage address; and when the similarity of the first address is greater than or equal to the first similarity threshold, responding to page rollback operation, and rolling back the first webpage to a third webpage corresponding to the third webpage address. By the method and the device, the convenience of webpage page rollback can be improved.

Description

Webpage page backspacing method, device, terminal and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a webpage page rollback method, device, terminal and storage medium.
Background
With the development of scientific technology, communication technology has also been developed rapidly, so that the popularity of terminals is higher and higher. The user can browse the information using the browser application of the terminal. When the user browses information, the user can click on a link of a webpage after opening a browser application. When the terminal detects that the user clicks a link of a web page, the terminal may load and display the corresponding web page in the browser. When the user determines that the displayed web page is a malicious web page, the user may add the web page to the blacklist. When the user accesses the webpage again, the browser of the terminal can determine that the webpage is a malicious webpage based on the blacklist and intercept the webpage so as to improve the use experience of the user.
Disclosure of Invention
The embodiment of the application provides a webpage page rollback method, a webpage page rollback device, a terminal and a storage medium, and can improve convenience of webpage page rollback. The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a method for rolling back a web page, where the method includes:
when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
acquiring a second webpage address of a second webpage with a first address quantity from the address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
acquiring first address similarity of the first webpage address and the second webpage address;
when the similarity of the first address is greater than or equal to a first similarity threshold value, responding to the page rollback operation, and rolling back the first webpage to a third webpage corresponding to a third webpage address; and the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
In a second aspect, an embodiment of the present application provides a device for rolling back a web page, where the device includes:
the address insertion unit is used for acquiring a first webpage address of a loaded first webpage when a page rollback operation is detected in a browser application, and inserting the first webpage address into an address history stack;
the address acquisition unit is used for acquiring second webpage addresses of second webpage pages with the first address quantity from the address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
a similarity obtaining unit, configured to obtain a first address similarity between the first webpage address and the second webpage address;
the page returning unit is used for responding to the page returning operation when the similarity of the first address is greater than or equal to a first similarity threshold value and returning the first webpage page to a third webpage page corresponding to a third webpage address; and the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
In a third aspect, a terminal comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method of any one of the above first aspects when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used for implementing any one of the methods described above when executed by a processor.
In a fifth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, when a page rollback operation is detected in a browser application, a first web address of a loaded first web page is obtained, the first web address is inserted into an address history stack, a second web address of a second web page with a first address number is obtained in the address history stack, and a first address similarity between the first web address and the second web address is obtained. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier, so that the terminal does not need to obtain a blacklist fed back by a user, and can directly back to the third webpage page when the similarity of the first address is greater than or equal to the first similarity threshold, the detection steps of the webpage pages can be reduced, the detection duration of the webpage pages is reduced, the back-off efficiency of the webpage pages is improved, and the convenience of the webpage page back-off can be further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a background diagram illustrating a web page rollback method applied in an embodiment of the present application;
FIG. 2 is a diagram illustrating a system architecture of a web page rollback method applied in an embodiment of the present application;
fig. 3 is a flowchart illustrating a method for rolling back a web page according to an embodiment of the present application;
fig. 4 is a flowchart illustrating a method for rolling back a web page according to an embodiment of the present application;
fig. 5 shows a flowchart of a method for rolling back a web page according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a method for rolling back a web page according to an embodiment of the present application;
fig. 9 shows a flowchart of a method for rolling back a web page according to an embodiment of the present application;
FIG. 10 is an exemplary diagram illustrating a terminal interface according to an embodiment of the disclosure;
fig. 11 is a schematic structural diagram illustrating a web page rollback apparatus according to an embodiment of the present application;
fig. 12 is a schematic structural diagram illustrating a web page rollback apparatus according to an embodiment of the present application;
fig. 13 is a schematic structural diagram illustrating a web page rollback apparatus according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a terminal according to an embodiment of the present application;
FIG. 15 is a schematic structural diagram of an operating system and a user space provided in an embodiment of the present application;
FIG. 16 is an architectural diagram of the android operating system of FIG. 14;
FIG. 17 is an architectural diagram of the IOS operating system of FIG. 14.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is noted that, unless explicitly stated or limited otherwise, "including" and "having" and any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
With the development of scientific technology, the types of terminals are more and more, and the application functions that the terminals can support are more and more. The user may browse the information using, for example, a browser application of the terminal. When a user accesses a web page using a browser application, the terminal may display the web page corresponding to an operation instruction of the user in the browser application based on the operation instruction. However, when the terminal displays the a web page, for example, a situation may occur in which the a web page is hijacked to the B web page, that is, the B web page displayed by the terminal is not a web page displayed based on an operation instruction of the user. The B web page may be, for example, a malicious nested web page. The malicious nested webpage can load a plurality of webpage pages with identical contents through JavaScript. When the user exits from the page of the B webpage and returns to the page of the A webpage, the JavaScript script can identify the exit operation of the user and add a plurality of pages with completely same page contents. Therefore, the terminal can also display the webpage with the same content as the webpage B, and the webpage can not return to the webpage A, so that the user experience is poor.
According to some embodiments, fig. 1 illustrates a background diagram of a web page rollback method applied to an embodiment of the present application. As shown in fig. 1, when a browser application of a terminal loads a malicious nested web page, the terminal may add a Uniform Resource Locator (URL) of the malicious nested web page to a blacklist corresponding to the browser application. The blacklist is a set of URLs of the web pages that are inaccessible to the browser application, that is, only when the user determines that the web pages are malicious nested web pages, the user can add the URLs of the web pages to the blacklist. When the browser application of the terminal accesses the B webpage and determines that the URL of the B webpage is in the blacklist, the terminal can determine that the B webpage is a malicious nested webpage. However, when the terminal acquires the blacklist, the blacklist is acquired from a history of user access. When the terminal cannot acquire the historical record of the user access, the terminal cannot detect the webpage, so that the detection efficiency of the webpage is low.
It is easy to understand that, when the terminal detects a web page, it needs to acquire a history of user access in advance, and manually set configuration information of a browser application, which consumes manpower and material resources and increases the detection cost of the web page. In addition, when the malicious nested webpage modifies the page domain name, the URL of the malicious nested webpage changes correspondingly, which reduces the efficiency of detecting the webpage by the terminal based on the blacklist. At this time, the terminal needs to re-acquire the blacklist, so that the step of webpage page rollback is complex.
Fig. 2 is a system architecture diagram of a web page rollback method applied to an embodiment of the present application. As shown in fig. 2, the execution subject of the embodiment of the present application is a terminal having a browser application, and the terminal includes but is not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: electronic equipment, user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5th generation mobile network or future evolution network, and the like. The terminal is provided with an operating system which can run on the terminal, is a program for managing and controlling terminal hardware and terminal application, and is an indispensable system application of the terminal. The operating system includes but is not limited to Android system, IOS system, Windows Phone (WP) system, Ubuntu mobile version operating system, and the like.
According to some embodiments, the terminal may be connected to the server through a network. The network is used to provide a communication link between the terminal and the server. The network may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. It should be understood that the number of terminals, networks, and servers in fig. 2 is merely illustrative. There may be any number of terminals, networks and servers, as desired for the reality. For example, the server may be a server cluster composed of a plurality of servers. The user can use the terminal to interact with the server through the network so as to obtain a webpage displayed by a display screen of the terminal and the like.
It is readily understood that the server may be, for example, a background service device corresponding to a browser application in the terminal. The server may obtain page information for a web page request of a browser application in the terminal. When the server acquires the page information, the server may send the page information to the terminal. The terminal may display the web page in the browser application based on the page information. The web page may be, for example, a third web page. When a page rollback operation is detected in a browser application, a first webpage address of a loaded first webpage is obtained, the first webpage address is inserted into an address history stack, a second webpage address of a second webpage with a first address quantity is obtained from the address history stack, first address similarity of the first webpage address and the second webpage address is obtained, and when the first address similarity is larger than or equal to a first similarity threshold value, a page rollback operation is responded, and the first webpage page is rolled back to a third webpage corresponding to a third webpage address. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier. The embodiment of the application provides a webpage page rollback method, which can improve the convenience of webpage page rollback.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 3, a method for rolling back a web page is proposed, which can be implemented by relying on a computer program and can be run on a terminal with an operating system. The computer program may be integrated into the application or may run as a separate tool-like application.
Specifically, the webpage page rollback method comprises the following steps:
s101, when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
according to some embodiments, the browser application refers to an application that can load a web page in the terminal, and the browser application may display the web page acquired from the server or may display the web page stored in the terminal file system. The browser application is not specific to a fixed application. For example, when a plurality of browser applications are installed in the terminal, the browser applications may be browser applications that the terminal is currently running. The browser application may also be a browser application that the terminal runs in foreground. The browser applications installed in the terminal may be, for example, an a1 browser application, an a2 browser application, an A3 browser application, an a4 browser application, and an a5 browser application. When the terminal runs the A2 browser application in the foreground mode, the browser application may refer to the A2 browser application.
It is easy to understand that the page rollback operation refers to a rollback operation received by the terminal before the first webpage is loaded in the browser of the terminal. The terminal may display a web page corresponding to the display operation in the browser application based on the display operation of the web page by the user, and the web page may be, for example, a third web page. When the third webpage displayed by the terminal is hijacked to the second webpage, the user can input a page rollback operation on the second webpage. Based on the page rollback operation, the terminal may load a first web page in a browser application. The page back operation includes, but is not limited to, a voice page back operation, a click page back operation, and the like. The page rollback operation is used for instructing the terminal to roll back from the current webpage to the previous non-malicious webpage.
Optionally, the web page refers to a page displayed in a browser application of the terminal, and the display information of the web page includes, but is not limited to, text information, voice information, image information, video information, and the like. The web page address refers to an address for uniquely representing a web page. The web page address may be, for example, a uniform resource locator, with each web page having a unique URL.
According to some embodiments, the first web page refers to a page that is loaded after a page rollback operation is detected in the browser application. The terminal loads the first webpage refers to the terminal acquiring the first webpage address of the first webpage, but the terminal does not render and display the first webpage. That is to say, when the terminal loads the first webpage, the terminal does not display the first webpage on the terminal display screen in the embodiment of the present application. The first web page does not refer to a fixed web page. For example, when the browser application changes, the first web page also changes accordingly. When the time point of loading the webpage in the browser changes, the first webpage also changes correspondingly.
According to some embodiments, the first web address refers to a web address corresponding to the first web page. The first web page address does not refer to a fixed web page address. When the first webpage changes, the first webpage address also changes correspondingly.
It is easy to understand that the address history stack refers to a stack including web page addresses corresponding to web pages loaded by the terminal in the browser application. The address history stack may further include a web page title, loading time stamp information of the web page, and the like. The terminal may add the web page addresses of the web pages to the address history stack in the order of the loading timestamps of the web pages. The order in which the timestamps are loaded includes, but is not limited to, a time order from front to back and a time order from back to front.
Optionally, when the terminal detects a page rollback operation in the browser application, the terminal may obtain the first web address of the loaded first web page. At this time, the terminal does not render and display the first webpage. When the terminal acquires the first webpage address of the loaded first webpage, the terminal can insert the first webpage address into the address history stack.
S102, acquiring second webpage addresses of second webpage pages with the first address quantity from an address history stack;
according to some embodiments, the first number of addresses refers to a number of second web addresses of the second web page. The first number of addresses does not refer to a fixed number. The first number of addresses does not refer to a fixed number of addresses. The first number of addresses may be modified, for example, based on a number of address modification instructions of the user. The address number modification instruction includes, but is not limited to, a voice address number modification instruction, a click address number modification instruction, and the like.
It is easily understood that the second web page address refers to a web page address corresponding to the second web page. The second webpage address is a webpage address which is before the first webpage address in the address history stack of the terminal and is adjacent to the first webpage address before the terminal detects the page rollback operation in the browser application. The second web page address does not include a web page address corresponding to the web page where the page rollback operation is detected.
According to some embodiments, when the terminal detects a page rollback operation in the browser application, the terminal may acquire a first web address of the loaded first web page and insert the first web address in the address history stack. When the terminal inserts the first web page address into the address history stack, the terminal may obtain the second web page address of the second web page of the first address number in the address history stack.
S103, acquiring first address similarity of the first webpage address and the second webpage address;
according to some embodiments, the address similarity of the embodiments of the present application is used to indicate the similarity between web page addresses. The first address similarity is used for indicating the similarity between the first webpage address and the second webpage address. The first address similarity does not refer to a fixed address similarity. When the first webpage address or the second webpage address changes, the similarity of the first address also changes correspondingly.
It is easy to understand that when the terminal detects a page rollback operation in the browser application, the terminal may acquire the first web address of the loaded first web page and insert the first web address in the address history stack. When the terminal inserts the first web page address into the address history stack, the terminal may obtain the second web page address of the second web page of the first address number in the address history stack. When the terminal acquires the first webpage address and the second webpage address, the terminal can acquire the first address similarity of the first webpage address and the second webpage address.
And S104, when the similarity of the first address is greater than or equal to the first similarity threshold, responding to page rollback operation, and rolling back the first webpage to a third webpage corresponding to the third webpage address.
According to some embodiments, the similarity threshold refers to a critical value corresponding to the similarity. The first similarity threshold refers to a critical value corresponding to the first similarity threshold. The first similarity threshold refers to a threshold corresponding to the first address similarity, and the first similarity threshold does not refer to a fixed threshold. For example, when the terminal receives a modification instruction for the first similarity threshold, the terminal may modify the first similarity threshold based on the modification instruction. The modification instructions include, but are not limited to, voice modification instructions, click modification instructions, and the like.
It is easy to understand that the third webpage is a webpage corresponding to the third webpage address. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier. The current time may be, for example, the time at which the third web page address was obtained.
Optionally, when the terminal detects a page rollback operation in the browser application, the terminal may obtain the first web address of the loaded first web page, and insert the first web address in the address history stack. When the terminal inserts the first web page address into the address history stack, the terminal may obtain the second web page address of the second web page of the first address number in the address history stack. When the terminal acquires the first webpage address and the second webpage address, the terminal can acquire the first address similarity of the first webpage address and the second webpage address. When the terminal obtains the first address similarity of the first webpage address and the second webpage address, the terminal can detect the size relationship between the first address similarity and the first similarity threshold value. When the terminal determines that the first address similarity is larger than the first similarity threshold, the terminal determines that the first webpage is a malicious webpage, and the terminal can acquire the third webpage address. The terminal can respond to the page backspace operation and backspace from the first webpage page to the third webpage page. Therefore, the terminal does not need to render the first webpage and display the first webpage.
In one or more embodiments of the present application, when a page rollback operation is detected in a browser application, a first web address of a loaded first web page is obtained, the first web address is inserted into an address history stack, a second web address of a second web page with a first address number is obtained in the address history stack, and a first address similarity between the first web address and the second web address is obtained. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier, so that the terminal does not need to obtain a blacklist fed back by a user, and can directly back to the third webpage page when the similarity of the first address is greater than or equal to the first similarity threshold, the detection steps of the webpage pages can be reduced, the detection duration of the webpage pages is reduced, the back-off efficiency of the webpage pages is improved, and the convenience of the webpage page back-off can be further improved. In addition, the terminal backs from the first webpage to the third webpage corresponding to the third webpage address, the safety of webpage access in the browser can be improved, the configuration information of the browser application does not need to be manually set, the consumption of manpower and material resources is reduced, and the back-back cost of the webpage is reduced.
Referring to fig. 4, a schematic flow chart of a method for rolling back a web page according to an embodiment of the present application is provided. As shown in fig. 4, the method comprises the following steps S201-S208.
S201, adding a page identifier to a second webpage address of a second webpage in an address history stack;
according to some embodiments, a token is identified that indicates a feature. The page identifier refers to a mark for indicating the address characteristics of the web page. The page identifier is used to indicate whether the web page address is similar to the next web page address. The page identifier is used for identifying that the webpage page corresponding to the webpage address is suspected to be a malicious webpage. The page identifier does not refer to a fixed identifier, for example, page identifiers in different browser applications may be different page identifiers. When the terminal receives an identifier modification instruction for the page identifier, the terminal may modify the page identifier based on the identifier modification instruction.
It is easy to understand that, when the terminal detects that the browser application loads the second webpage before the browser application detects the page rollback operation, the terminal may add the page identifier to the second webpage address in the address history stack. And the second webpage address is a webpage address corresponding to the second webpage.
According to some embodiments, when the terminal adds the page identifier to the second web address of the second web page in the address history stack, the terminal may detect whether there are at least two second web page loads in the browser application. When the terminal detects that at least two second web pages are loaded in the browser application, the terminal may acquire a fourth web address of a fourth web page and a fifth web address of a fifth web page. The fourth webpage and the fifth webpage are adjacent second webpages, and the loading timestamp of the fourth webpage is earlier than that of the fifth webpage. The loading time stamp is used for representing the loading time of the webpage.
Optionally, when the terminal acquires the fourth webpage address and the fifth webpage address, the terminal may acquire a second address similarity between the fourth webpage address of the fourth webpage page and the fifth webpage address of the fifth webpage page. The second address similarity is used for representing the address similarity of the fourth webpage address and the fifth webpage address. The second address similarity does not refer to a fixed similarity. When the fourth webpage address changes or the fifth webpage address changes, the similarity of the second address also changes correspondingly.
It is easy to understand that when the terminal obtains the second address similarity of the fourth webpage address and the fifth webpage address, the terminal may detect a magnitude relationship between the second address similarity and a second similarity threshold. When the terminal determines that the second address similarity is greater than the second similarity threshold, the terminal may add a page identifier to the fourth web page address in the address history stack.
Alternatively, the web page address stream may be a uniform resource locator. The second similarity threshold may be, for example, 95%. When the terminal adds the page identifier to the second web page address of the second web page in the address history stack, the terminal may acquire the fourth web page address Q1 web page address of the fourth web page Q1 web page in the browser application, which may be https:// xxxxxx.q 1wangyeyeman.com/doc, for example, and the fifth web page address Q2 web page address of the fifth web page Q2 web page, which may be https:// xxxx.q 2wangyeyeman.com/doc, for example. The second address similarity obtained by the terminal to the fourth webpage address and the fifth webpage address may be 98%, for example. When the terminal determines that the second address similarity 98% is greater than the second similarity threshold 95%, the terminal may add a page identifier to the fourth web page address q1 in the address history stack.
According to some embodiments, when the terminal acquires the fourth webpage address and the fifth webpage address, the terminal may acquire a time interval of a fourth loading timestamp of the fourth webpage page and a fifth loading timestamp of the fifth webpage page. The time interval does not refer to a fixed similarity. When the loading timestamp of the fourth webpage changes or the loading timestamp of the fifth webpage changes, the time interval also changes correspondingly. When the terminal acquires the time interval between the fourth loading timestamp and the fifth loading timestamp, the terminal may detect the size relationship between the time interval and the time threshold. When the terminal determines that the time interval is smaller than the time threshold, the terminal may add a page identifier to the fourth webpage address in the address history stack.
S202, when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
the specific process is as described above, and is not described herein again.
It is easy to understand that the first web page may be, for example, a web page that has been exposed by the terminal before the page back operation is detected in the browser application, and the first web page may also be, for example, a first web page that is loaded by the terminal based on the second web page when the page back operation is detected in the browser application.
S203, acquiring second webpage addresses of second webpage pages with the first address quantity from the address history stack;
the specific process is as described above, and is not described herein again.
According to some embodiments, when the terminal acquires the second web address of the second web page of the first address number in the address history stack, the terminal may first acquire the second address number of the web page address in the address history stack. The webpage address comprises a third webpage address, a second webpage address and a first webpage address. And when the terminal determines that the number of the second addresses is larger than the number threshold, acquiring the second webpage addresses of the second webpage pages with the first address number in the address history stack. Wherein the first number of addresses is less than the second number of addresses. The second webpage address is a webpage address which is before the first webpage address in the address history stack and is adjacent to the first webpage address.
It is easily understood that the first number of addresses refers to the number of addresses corresponding to the second web page address. The first number of addresses does not refer to a fixed number of addresses. The first number of addresses may be modified based on a number of user change instructions, for example. The second number of addresses refers to the number of addresses corresponding to the web page addresses in the address history stack. The second number of addresses does not refer to a fixed number of addresses. The second number of addresses is determined based on a web page loaded in a browser application of the terminal.
Alternatively, the first number of addresses may be 3, for example. The number threshold may be, for example, 3. When the terminal detects a page rollback operation in the browser application, acquires a first web address of the loaded first web page, and inserts the first web address into the address history stack, the number of second addresses of the web addresses acquired by the terminal in the address history stack may be, for example, 10. When the terminal determines that the number of the second addresses is greater than the number threshold value of 3, the terminal may obtain the second web page addresses of the 3 second web pages.
S204, acquiring first address similarity of the first webpage address and the second webpage address;
the specific process is as described above, and is not described herein again.
S205, when the first address similarity is larger than or equal to the first similarity threshold, stopping loading the first webpage;
according to some embodiments, when the terminal acquires the first address similarity between the first webpage address and the second webpage address, the terminal may detect whether the first address similarity is greater than a first similarity threshold. When the terminal determines that the first address similarity is greater than the first similarity threshold, the terminal may stop loading the first webpage, that is, the terminal may not acquire loading information of the first webpage, the terminal may not render the first webpage, and the terminal may not display the first webpage in the browser application.
It will be readily appreciated that the first similarity threshold may be, for example, 95%. The first web page address W1, at which the terminal can obtain the first web page W1 in the browser application, may be, for example, https:// xxxxxx.w 1wangyeyemi.com/doc and the second web page address W2, at which the second web page W2 web page is, for example, https:// xxxx.w 2wangyeyemi.com/doc. The similarity of the second address obtained by the terminal to the first webpage address and the second webpage address may be 98%, for example. When the terminal determines that the first address similarity 98% is greater than the first similarity threshold 95%, the terminal may stop loading the W1 webpage, that is, the terminal may not acquire the loading information of the W1 webpage, the terminal may not render the W1 webpage, and the terminal may not display the W1 webpage in the browser application.
S206, responding to page rollback operation, acquiring a loading timestamp sequence of the webpage addresses, and acquiring a third webpage address which is closest to the current time and is not added with the page identifier in an address history stack;
according to some embodiments, when the terminal determines that the first address similarity is greater than or equal to the first similarity threshold, the terminal determines that the first webpage is a malicious webpage, and the terminal may obtain a loading timestamp sequence of the webpage addresses in response to a page rollback operation. The load timestamp order includes, but is not limited to, a front-to-back order by load time and a back-to-front order by load time. The loading sequence of the embodiment of the present application may be, for example, a front-to-back sequence, that is, the web address of the web page loaded last in the terminal browser application is at the end of the loading sequence.
S207, acquiring first loading information corresponding to a third webpage based on the third webpage address;
according to some embodiments, loading information refers to information based on which a terminal may render a webpage. The loading information includes, but is not limited to, a web page address of the web page, a web page title, page information of the web page, and the like. When the terminal responds to the page rollback operation and obtains the loading timestamp sequence corresponding to the webpage addresses, the terminal can obtain a third webpage address which is closest to the current time and is not added with the page identifier in the address history stack. When the terminal acquires the third webpage address, the terminal may acquire first loading information corresponding to the third webpage based on the third webpage address.
It is easy to understand that the first loading information refers to information used by the terminal to render the third webpage. The first loading information does not refer to a fixed information, and when the third webpage changes, the first loading information also changes correspondingly. The first loading information comprises a third webpage address and page information of a third webpage.
S208, rendering the third webpage based on the first loading information, and displaying the rendered third webpage.
According to some embodiments, when the terminal responds to a page rollback operation and obtains a loading timestamp sequence corresponding to a webpage address, the terminal may obtain, in an address history stack, a third webpage address which is closest to the current time and to which a page identifier is not added. When the terminal acquires the third webpage address, the terminal may acquire first loading information corresponding to the third webpage based on the third webpage address. The terminal may render the third webpage based on the first loading information to obtain a rendered third webpage. When the terminal obtains the rendered third webpage, the terminal may display the rendered third webpage in a browser application.
According to some embodiments, the embodiments of the present application are applied to the case where no new web page is loaded after a page rollback operation is detected in a browser application, that is, no new web page address is inserted in an address history stack. Fig. 5 shows a flowchart of a page rollback method according to an embodiment of the present application. The third web page is a Q0 web page, and an exemplary diagram of the terminal interface is shown in fig. 6. When the Q0 web page is hijacked to the Q5 web page, the plurality of second web pages loaded in the terminal browser application may be, for example, Q1 web page, Q2 web page, Q3 web page, Q4 web page. And the webpage address of the page identifier is added to the webpage address of the second webpage. At this time, a Q5 webpage is displayed on the display interface of the terminal, and an example schematic diagram of the terminal interface may be as shown in fig. 7. When the terminal detects a page rollback operation on a Q5 web page in the browser application, the terminal may obtain the web page address of the loaded Q4 web page and add the web page address of the Q4 web page in the address history stack. The second web page address of the second web page with the first address number acquired by the terminal may be, for example, a web page address of a Q3 web page and a web page address of a Q2 web page. When the terminal determines that the first address similarity among the webpage address of the Q4 webpage, the webpage address of the Q3 webpage and the webpage address of the Q2 webpage is greater than a first similarity threshold value, the terminal responds to page rollback operation, can acquire the webpage address of the Q0 webpage, renders the Q0 webpage, and displays the rendered Q0 webpage in browser application.
In one or more embodiments of the present application, a page identifier is added to a second webpage address of a second webpage in an address history stack, so that when the first address similarity is greater than or equal to a first similarity threshold, a terminal may directly obtain a third webpage address which is closest to the current time and to which the page identifier is not added in the address history stack, and may respond to a page rollback operation to roll back the first webpage address to a third webpage corresponding to the third webpage address, thereby reducing the obtaining duration of the third webpage address and improving the rollback efficiency of the webpage. Secondly, when a page rollback operation is detected in the browser application, a first webpage address of a loaded first webpage is obtained, the first webpage address is inserted into the address history stack, second webpage addresses of second webpage pages with the first address quantity are obtained from the address history stack, and the second webpage addresses can be directly rolled back to a third webpage when the similarity of the first address is larger than or equal to a first similarity threshold. When the similarity of the first address is larger than or equal to a first similarity threshold value, the first webpage is stopped being loaded, a loading timestamp sequence of the webpage addresses is obtained in response to a page rollback operation, a third webpage address which is closest to the current time and is not added with a page identifier is obtained in an address history stack, first loading information corresponding to the third webpage is obtained based on the third webpage address, the third webpage is rendered based on the first loading information, the rendered third webpage is displayed, the terminal can not display the first webpage, and the safety of the webpage displayed by the application of the terminal browser is improved.
Please refer to fig. 8, which is a flowchart illustrating a method for rolling back a web page according to an embodiment of the present application. As shown in fig. 8, the method comprises the following steps S301-S308.
S301, when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
the specific process is as described above, and is not described herein again.
S302, acquiring second webpage addresses of second webpage pages with the first address quantity from the address history stack;
the specific process is as described above, and is not described herein again.
S303, acquiring the first address similarity of the first webpage address and the second webpage address;
the specific process is as described above, and is not described herein again.
S304, when the first address similarity is smaller than a first similarity threshold value, acquiring a loading timestamp of a first webpage in an address history stack, and acquiring an operation timestamp of page rollback operation;
according to some embodiments, when the terminal acquires the first address similarity between the first webpage address and the second webpage address, the terminal may detect a magnitude relationship between the first address similarity and a first similarity threshold. When the first address similarity of the first webpage address and the second webpage address is smaller than the first similarity threshold, the terminal may obtain the loading timestamp of the first webpage page in the address history stack.
It is easy to understand that, when the terminal determines that the first address similarity is smaller than the first similarity threshold, the terminal may further obtain an operation timestamp of the page rollback operation. The operation timestamp refers to a timestamp corresponding to a page back operation. When the terminal detects that the time stamp of the page rollback operation changes, the operation time stamp also changes correspondingly. The terminal may for example detect
It is easy to understand that when the terminal detects a click page back operation in the browser application, the trigger timestamp corresponding to the page back operation recorded by the terminal may be, for example, T1, and the T1 may be, for example, 0.4 s. When a page rollback operation is detected in the browser application, a first webpage address of a loaded first webpage is obtained, and the first webpage address is inserted into an address history stack. When the terminal inserts the first webpage address in the address history stack, the terminal may insert a loading timestamp of the first webpage in the address history stack. When the terminal detects the first webpage load in the browser application, the load timestamp of the first webpage inserted in the address history stack by the terminal may be, for example, T2, and the T2 may be, for example, 0.6s within the same minute as T1.
According to some embodiments, when a page rollback operation is detected in the browser application, the terminal may acquire a first web address of the loaded first web page and insert the first web address in the address history stack. When the terminal does not acquire the second web addresses of the second web pages in the first address quantity in the address history stack, the terminal may directly acquire the loading timestamp of the first web page in the address history stack and acquire the operation timestamp of the page rollback operation.
S305, acquiring a time interval between the operation time stamp and the loading time stamp;
according to some embodiments, when the first address similarity is smaller than the first similarity threshold, the terminal may obtain a loading timestamp of the first webpage in the address history stack, and obtain an operation timestamp of the page rollback operation. When the terminal acquires the loading timestamp of the first webpage and the operation timestamp of the page rollback operation, the terminal may acquire a time interval between the operation timestamp and the loading timestamp.
It is easy to understand that when the terminal detects a click page back operation in the browser application, the trigger timestamp corresponding to the page back operation recorded by the terminal may be, for example, T1, and the T1 may be, for example, 0.4 s. When the terminal detects the first webpage load in the browser application, the load timestamp of the first webpage inserted in the address history stack by the terminal may be, for example, T2, and the T2 may be, for example, 0.6s within the same minute as T1. The time interval between the operation time stamp and the loading time stamp acquired by the terminal may be, for example, 200 ms.
S306, when the time interval is smaller than the interval threshold, responding to the page returning operation, and returning the first webpage page to a third webpage page corresponding to a third webpage address;
according to some embodiments, when the terminal acquires the operation timestamp and the loading timestamp, the terminal may acquire a time interval between the operation timestamp and the loading timestamp of the first webpage. When the terminal acquires the time interval, the terminal may detect whether the time interval is smaller than an interval threshold. When the terminal detects that the time interval is smaller than the interval threshold, the terminal determines that the first webpage is a malicious webpage, and the terminal can respond to the page rollback operation and roll back the first webpage to a third webpage corresponding to a third webpage address. And the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
It will be readily appreciated that the interval threshold may be, for example, 400 ms. When the terminal detects a page back operation in the browser application, the operation timestamp corresponding to the page back operation acquired by the terminal may be, for example, T1, and the T1 may be, for example, 0.4 s. When the terminal detects the first webpage load in the browser application, the load timestamp of the first webpage inserted in the address history stack by the terminal may be, for example, T2, and the T2 may be, for example, 0.6s within the same minute as T1. The time interval between the operation time stamp and the loading time stamp acquired by the terminal may be, for example, 200 ms. And when the terminal determines that the time interval 200ms between the operation timestamp and the loading timestamp is less than the interval threshold 400ms, the terminal responds to the page rollback operation and rolls back from the first webpage to a third webpage corresponding to the third webpage address.
S307, when the first address similarity is smaller than a first similarity threshold value and the time interval is greater than or equal to an interval threshold value, second loading information corresponding to the first webpage is obtained from the address history stack;
according to some embodiments, when the terminal acquires the first address similarity between the first webpage address and the second webpage address, the terminal may detect a magnitude relationship between the first address similarity and a first similarity threshold. When the first address similarity of the first webpage address and the second webpage address is smaller than the first similarity threshold, the terminal may obtain the loading timestamp of the first webpage page in the address history stack and obtain the operation timestamp of the page rollback operation. The terminal may obtain a time interval between the operation time stamp and the loading time stamp. And when the terminal determines that the first address similarity is smaller than a first similarity threshold value and the time interval is greater than or equal to an interval threshold value, acquiring second loading information corresponding to the first webpage from the address history stack. When the terminal determines that the first address similarity is smaller than a first similarity threshold value and the time interval is larger than or equal to an interval threshold value, the terminal determines that the first webpage is not a malicious webpage.
Optionally, the second loading information refers to information used by the terminal to render the first webpage. The second loading information does not refer to a fixed information, and when the first webpage changes, the second loading information also changes correspondingly. The second loading information comprises a first webpage address and page information of the first webpage.
It will be readily appreciated that the first similarity threshold may be, for example, 95%. The interval threshold may be, for example, 400 ms. The first web page address W1, at which the terminal can obtain the first web page W1 in the browser application, may be, for example, https:// xxxxxx.w 1wangyeyemi.com/doc and the second web page address W2, at which the second web page W2 web page is, for example, https:// xxxx.w 2wangyeyemi.com/doc. The similarity of the second address obtained by the terminal to the first webpage address and the second webpage address may be 98%, for example. When the terminal determines that the first address similarity 98% is greater than the first similarity threshold 95%, the operation timestamp corresponding to the page back operation acquired by the terminal may be, for example, T1, and the T1 may be, for example, 0.4 s. The load timestamp of the first web page inserted by the terminal in the address history stack may be, for example, T2, and the T2 may be, for example, 0.6s within the same minute as T1. The time interval between the operation time stamp and the loading time stamp acquired by the terminal may be, for example, 500 ms. When the terminal determines that the time interval 500ms between the operation timestamp and the loading timestamp is greater than the interval threshold 400ms, the terminal responds to page rollback operation and acquires second loading information corresponding to the webpage of the first webpage W1 in the address history stack.
S308, rendering the first webpage based on the second loading information, and displaying the rendered first webpage.
According to some embodiments, when the first address similarity is smaller than a first similarity threshold and the time interval is greater than or equal to an interval threshold, the terminal may obtain second loading information corresponding to the first webpage from the address history stack. And when the terminal acquires second loading information corresponding to the first webpage. The terminal can render the first webpage based on the second loading information to obtain the rendered first webpage. When the terminal obtains the rendered first webpage, the terminal may display the rendered first webpage in a browser application.
According to some embodiments, the embodiments of the present application are applied to a case where a new web page is loaded after a page rollback operation is detected in a browser application, that is, a new web page address is inserted into an address history stack. Fig. 9 shows a flowchart of a page rollback method according to an embodiment of the present application. The third web page is the Q0 web page. When the Q0 web page is hijacked to the Q5 web page, the second web page loaded in the terminal browser application may be, for example, the Q1 web page, the Q3 web page. Wherein, the web address of the Q1 web page is added with the web address of the page identifier. At this time, a Q3 web page is displayed on the display interface of the terminal. When the terminal detects a page rollback operation on a Q3 web page in the browser application, the terminal may obtain the web page address of the loaded Q2 web page. Wherein the Q2 webpage is loaded based on the Q1 webpage. When the terminal determines that the address similarity among the webpage address of the Q0 webpage, the webpage address of the Q1 webpage and the webpage address of the Q2 webpage is less than the first similarity threshold, the terminal may acquire a load timestamp of the webpage address of the Q2 webpage and an operation timestamp of a page back operation on the Q3 webpage. When the terminal determines that the time interval between the operation timestamp and the loading timestamp is smaller than the interval threshold, the terminal responds to page rollback operation, the terminal can acquire the webpage address of the Q0 webpage, render the Q0 webpage, and display the rendered Q0 webpage in the browser application.
Alternatively, when the terminal determines that the address similarity between the web page address of the Q0 web page, the web page address of the Q1 web page, and the web page address of the Q2 web page is less than the first similarity threshold, the terminal may acquire a load timestamp of the web page address of the Q2 web page and an operation timestamp of a page back operation on the Q1 web page. When the terminal determines that the time interval between the operation timestamp and the loading timestamp is greater than the interval threshold, the terminal responds to the page rollback operation, the terminal may obtain the web page address of the Q2 web page, render the Q2 web page, and display the rendered Q2 web page in the browser application, where an example schematic diagram of a terminal interface is shown in fig. 10.
Optionally, the third webpage is a Q0 webpage. When the Q0 web page is hijacked to the Q5 web page, the second web page loaded in the terminal browser application may be, for example, the Q1 web page, the Q3 web page. Wherein, the web address of the Q1 web page is added with the web address of the page identifier. At this time, a Q3 web page is displayed on the display interface of the terminal. When the terminal detects a page rollback operation on a Q3 web page in the browser application, the terminal may obtain the web page address of the loaded Q1 web page. The terminal may acquire a load timestamp of the webpage address of the Q1 webpage page and an operation timestamp of a page back operation on the Q3 webpage page upon determining that the address similarity between the webpage address of the Q0 webpage and the webpage address of the Q1 webpage is less than a first similarity threshold. When the terminal determines that the time interval between the operation timestamp and the loading timestamp is greater than the interval threshold, the terminal responds to page rollback operation, the terminal can acquire the webpage address of the Q1 webpage, render the Q1 webpage, and display the rendered Q1 webpage in a browser application.
In one or more embodiments of the present application, when the first address similarity is smaller than a first similarity threshold, a loading timestamp of a first webpage is obtained in an address history stack, an operation timestamp of a page rollback operation is obtained, a time interval between the operation timestamp and the loading timestamp is obtained, when the time interval is smaller than an interval threshold, a page rollback operation is responded to, a third webpage corresponding to a third webpage is rolled back from the first webpage to the third webpage, because the third webpage is a webpage address which is closest to the current time in the address history stack and to which a page identifier is not added, a terminal does not need to obtain a blacklist fed back by a user, detection steps of the webpage can be reduced, detection duration of the webpage is reduced, rollback efficiency of the webpage is improved, and convenience of page rollback can be improved. Secondly, when the similarity of the first address is smaller than a first similarity threshold value and the time interval is greater than or equal to an interval threshold value, second loading information corresponding to the first webpage is obtained in an address history stack, the first webpage is rendered based on the second loading information, the rendered first webpage is displayed, the first webpage can be displayed when the browser application is determined not to be in the malicious webpage, and convenience of webpage display can be improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 11, which illustrates a schematic structural diagram of a web page rollback apparatus according to an embodiment of the present application. The web page rollback apparatus 1100 may be implemented as all or a part of a user terminal through software, hardware, or a combination of both. The web page rollback apparatus 1100 includes an address inserting unit 1101, an address obtaining unit 1102, a similarity obtaining unit 1103, and a page rollback unit 1104, and is specifically configured to:
an address insertion unit 1101, configured to, when a page rollback operation is detected in a browser application, acquire a first web address of a loaded first web page, and insert the first web address in an address history stack;
an address obtaining unit 1102, configured to obtain a second web page address of a second web page with the first address number in an address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
a similarity obtaining unit 1103, configured to obtain a first address similarity between the first webpage address and the second webpage address;
a page rollback unit 1104, configured to, when the first address similarity is greater than or equal to the first similarity threshold, rollback the first webpage to a third webpage corresponding to a third webpage address in response to a page rollback operation; the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
According to some embodiments, fig. 12 is a schematic structural diagram illustrating a web page rollback apparatus according to an embodiment of the present application. As shown in fig. 12, the web page rollback apparatus 1100 further includes an identifier adding unit 1105, configured to add a page identifier to a second web address of a second web page in the address history stack before acquiring the first web address of the loaded first web page when a page rollback operation is detected in the browser application.
According to some embodiments, the identifier adding unit 1105 is configured to, when adding the page identifier to the second webpage address of the second webpage in the address history stack, specifically:
when the browser application detects that at least two second webpage pages are loaded, acquiring second address similarity of a fourth webpage address of a fourth webpage page and a fifth webpage address of a fifth webpage page; the fourth webpage and the fifth webpage are adjacent second webpages, and the loading timestamp of the fourth webpage is earlier than that of the fifth webpage;
and when the similarity of the second address is greater than a second similarity threshold value, adding a page identifier to the fourth webpage address in the address history stack.
According to some embodiments, fig. 13 is a schematic structural diagram illustrating a web page rollback apparatus provided in an embodiment of the present application. As shown in fig. 13, the page rollback unit 1104 includes a stop-adding subunit 1114, an order obtaining subunit 1124, an information obtaining subunit 1134, and a page rendering subunit 1144, where the page rollback unit 1104 is configured to, when the first address similarity is greater than or equal to the first similarity threshold, rollback from the first web page to a third web page corresponding to a third web address in response to a page rollback operation, where the third web address is a web address that is closest to the current time in the address history stack and to which a page identifier is not added:
the stop loading subunit 1114 is configured to stop loading the first webpage when the first address similarity is greater than or equal to the first similarity threshold;
a sequence acquiring subunit 1124, configured to, in response to a page rollback operation, acquire a loading timestamp sequence of the web page address, and acquire, in the address history stack, a third web page address that is closest to the current time and to which the page identifier is not added;
an information obtaining subunit 1134, configured to obtain, based on the third web page address, first loading information corresponding to the third web page;
and a page rendering subunit 1144, configured to render the third webpage based on the first loading information, and display the rendered third webpage.
According to some embodiments, the page rollback unit 1104 is further configured to, after obtaining the first address similarity between the first webpage address and the second webpage address, obtain, in the address history stack, a loading timestamp of the first webpage page when the first address similarity is smaller than a first similarity threshold, and obtain an operation timestamp of a page rollback operation;
acquiring a time interval between an operation timestamp and a loading timestamp;
and when the time interval is smaller than the interval threshold, responding to page rollback operation, and rolling back the first webpage to a third webpage corresponding to a third webpage address, wherein the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
According to some embodiments, the page rollback unit 1104 is further configured to, after obtaining a time interval between the operation timestamp and the loading timestamp, obtain, in the address history stack, second loading information corresponding to the first web page when the first address similarity is smaller than a first similarity threshold and the time interval is greater than or equal to an interval threshold;
rendering the first webpage based on the second loading information, and displaying the rendered first webpage.
According to some embodiments, the address obtaining unit 1102 is configured to, when obtaining the second web page with the first address number in the address history stack, specifically:
acquiring a second address number of the webpage address in the address history stack;
when the number of the second addresses is larger than the number threshold value, acquiring second webpage addresses of second webpage pages with the first address number from the address history stack; wherein the first number of addresses is less than the second number of addresses.
It should be noted that, when the web page rollback apparatus provided in the foregoing embodiment executes the positioning method, only the division of the functional modules is illustrated, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the web page rollback device provided by the above embodiment and the web page rollback method embodiment belong to the same concept, and the detailed implementation process thereof is referred to as the method embodiment, and is not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, when a page rollback operation is detected in a browser application, a first webpage address of a loaded first webpage is obtained, the first webpage address is inserted into an address history stack, a second webpage address of a second webpage with a first address quantity is obtained from the address history stack, first address similarity of the first webpage address and the second webpage address is obtained, and when the first address similarity is larger than or equal to a first similarity threshold value, a page rollback operation is responded, and the first webpage is rolled back to a third webpage corresponding to a third webpage address. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier, so that the webpage rollback does not need to obtain a blacklist fed back by a user, the third webpage address can be directly rolled back to the third webpage page when the similarity of the first address is greater than or equal to the first similarity threshold, the detection steps of the webpage pages can be reduced, the detection time of the webpage pages is shortened, the rollback efficiency of the webpage pages is improved, and the convenience of the webpage page rollback can be further improved.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the positioning method according to the embodiments shown in fig. 3 to 10, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 3 to 10, which is not described herein again.
The present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded by the processor and executes the positioning method according to the embodiment shown in fig. 3 to 10, and a specific execution process may refer to specific descriptions of the embodiment shown in fig. 3 to 10, which is not described herein again.
Referring to fig. 14, a block diagram of a terminal according to an exemplary embodiment of the present application is shown. A terminal in the present application may include one or more of the following components: a processor 110, a memory 120, an input device 130, an output device 140, and a bus 150. The processor 110, memory 120, input device 130, and output device 140 may be connected by a bus 150.
Processor 110 may include one or more processing cores. The processor 110 connects various parts within the entire terminal using various interfaces and lines, and performs various functions of the terminal 100 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 120 and calling data stored in the memory 120. Alternatively, the processor 110 may be implemented in hardware using at least one of Digital Signal Processing (DSP), field-programmable gate Array (FPGA), and Programmable Logic Array (PLA). The processor 110 may integrate one or more of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 110, but may be implemented by a communication chip.
The Memory 120 may include a Random Access Memory (RAM) or a read-only Memory (ROM). Optionally, the memory 120 includes a non-transitory computer-readable medium. The memory 120 may be used to store instructions, programs, code sets, or instruction sets. The memory 120 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like, and the operating system may be an Android (Android) system, including a system based on Android system depth development, an IOS system developed by apple, including a system based on IOS system depth development, or other systems. The storage data area may also store data created by the terminal in use, such as a phonebook, audio-video data, chat log data, etc.
Referring to fig. 15, the memory 120 may be divided into an operating system space, where an operating system is run, and a user space, where native and third-party applications are run. In order to ensure that different third-party application programs can achieve a better operation effect, the operating system allocates corresponding system resources for the different third-party application programs. However, the requirements of different application scenarios in the same third-party application program on system resources are different, for example, in a local resource loading scenario, the third-party application program has a higher requirement on the disk reading speed; in the animation rendering scene, the third-party application program has a high requirement on the performance of the GPU. The operating system and the third-party application program are independent from each other, and the operating system cannot sense the current application scene of the third-party application program in time, so that the operating system cannot perform targeted system resource adaptation according to the specific application scene of the third-party application program.
In order to enable the operating system to distinguish a specific application scenario of the third-party application program, data communication between the third-party application program and the operating system needs to be opened, so that the operating system can acquire current scenario information of the third-party application program at any time, and further perform targeted system resource adaptation based on the current scenario.
Taking an operating system as an Android system as an example, programs and data stored in the memory 120 are as shown in fig. 16, and a Linux kernel layer 320, a system runtime library layer 340, an application framework layer 360, and an application layer 380 may be stored in the memory 120, where the Linux kernel layer 320, the system runtime library layer 340, and the application framework layer 360 belong to an operating system space, and the application layer 380 belongs to a user space. The Linux kernel layer 320 provides underlying drivers for various hardware of the terminal, such as a display driver, an audio driver, a camera driver, a bluetooth driver, a Wi-Fi driver, a power management, and the like. The system runtime library layer 340 provides a main feature support for the Android system through some C/C + + libraries. For example, the SQLite library provides support for a database, the OpenGL/ES library provides support for 3D drawing, the Webkit library provides support for a browser kernel, and the like. Also provided in the system runtime library layer 340 is an Android runtime library (Android runtime), which mainly provides some core libraries that can allow developers to write Android applications using the Java language. The application framework layer 360 provides various APIs that may be used in building an application, and developers may build their own applications by using these APIs, such as activity management, window management, view management, notification management, content provider, package management, session management, resource management, and location management. At least one application program runs in the application layer 380, and the application programs may be native application programs carried by the operating system, such as a contact program, a short message program, a clock program, a camera application, and the like; or a third-party application developed by a third-party developer, such as a game application, an instant messaging program, a photo beautification program, a positioning program, and the like.
Taking an operating system as an IOS system as an example, programs and data stored in the memory 120 are as shown in fig. 17, and the IOS system includes: a Core operating system Layer 420(Core OS Layer), a Core Services Layer 440(Core Services Layer), a Media Layer 460(Media Layer), and a touchable Layer 480(Cocoa Touch Layer). The kernel operating system layer 420 includes an operating system kernel, drivers, and underlying program frameworks that provide functionality closer to hardware for use by program frameworks located in the core services layer 440. The core services layer 440 provides system services and/or program frameworks, such as a Foundation framework, an account framework, an advertisement framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and so forth, as required by the application. The media layer 460 provides audiovisual related interfaces for applications, such as graphics image related interfaces, audio technology related interfaces, video technology related interfaces, audio video transmission technology wireless playback (AirPlay) interfaces, and the like. Touchable layer 480 provides various common interface-related frameworks for application development, and touchable layer 480 is responsible for user touch interaction operations on the terminal. Such as a local notification service, a remote push service, an advertising framework, a game tool framework, a messaging User Interface (UI) framework, a User Interface UIKit framework, a map framework, and so forth.
In the framework shown in FIG. 15, the framework associated with most applications includes, but is not limited to: a base framework in the core services layer 440 and a UIKit framework in the touchable layer 480. The base framework provides many basic object classes and data types, provides the most basic system services for all applications, and is UI independent. While the class provided by the UIKit framework is a basic library of UI classes for creating touch-based user interfaces, iOS applications can provide UIs based on the UIKit framework, so it provides an infrastructure for applications for building user interfaces, drawing, processing and user interaction events, responding to gestures, and the like.
The Android system can be referred to as a mode and a principle for realizing data communication between the third-party application program and the operating system in the IOS system, and details are not repeated herein.
The input device 130 is used for receiving input instructions or data, and the input device 130 includes, but is not limited to, a keyboard, a mouse, a camera, a microphone, or a touch device. The output device 140 is used for outputting instructions or data, and the output device 140 includes, but is not limited to, a display device, a speaker, and the like. In one example, the input device 130 and the output device 140 may be combined, and the input device 130 and the output device 140 are touch display screens for receiving touch operations of a user on or near the touch display screens by using any suitable object such as a finger, a touch pen, and the like, and displaying user interfaces of various applications. The touch display screen is generally provided at a front panel of the terminal. The touch display screen may be designed as a full-face screen, a curved screen, or a profiled screen. The touch display screen can also be designed to be a combination of a full-face screen and a curved-face screen, and a combination of a special-shaped screen and a curved-face screen, which is not limited in the embodiment of the present application.
In the terminal shown in fig. 14, the processor 110 may be configured to call the display application stored in the memory 120, and specifically perform the following operations:
when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
acquiring a second webpage address of a second webpage with the first address quantity from an address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
acquiring first address similarity of a first webpage address and a second webpage address;
when the similarity of the first address is greater than or equal to a first similarity threshold value, responding to page rollback operation, and rolling back from the first webpage to a third webpage corresponding to a third webpage address; the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
According to some embodiments, the processor 110 is configured to, before acquiring the first web address of the loaded first web page when the page rollback operation is detected in the browser application, perform the following operations:
and adding a page identifier to the second webpage address of the second webpage in the address history stack.
According to some embodiments, the processor 110 is configured to, when adding the page identifier to the second web page address of the second web page in the address history stack, specifically perform the following operations:
when the browser application detects that at least two second webpage pages are loaded, acquiring second address similarity of a fourth webpage address of a fourth webpage page and a fifth webpage address of a fifth webpage page; the fourth webpage and the fifth webpage are adjacent second webpages, and the loading timestamp of the fourth webpage is earlier than that of the fifth webpage;
and when the similarity of the second address is greater than a second similarity threshold value, adding a page identifier to the fourth webpage address in the address history stack.
According to some embodiments, the processor 110 is configured to, when the first address similarity is greater than or equal to the first similarity threshold, in response to a page rollback operation, rollback the first web page to a third web page corresponding to a third web page address that is a web page address closest to the current time in the address history stack and to which a page identifier is not added, specifically perform the following operations:
when the first address similarity is larger than or equal to a first similarity threshold value, stopping loading the first webpage;
responding to page backspacing operation, acquiring a loading timestamp sequence of the webpage address, and acquiring a third webpage address which is closest to the current time and is not added with a page identifier in an address history stack;
acquiring first loading information corresponding to a third webpage based on the third webpage address;
rendering the third webpage based on the first loading information, and displaying the rendered third webpage.
According to some embodiments, after the processor 110 is configured to obtain the first address similarity between the first webpage address and the second webpage address, the following operations are further specifically performed:
when the first address similarity is smaller than a first similarity threshold value, acquiring a loading timestamp of a first webpage in an address history stack, and acquiring an operation timestamp of page rollback operation;
acquiring a time interval between an operation timestamp and a loading timestamp;
and when the time interval is smaller than the interval threshold, responding to page rollback operation, and rolling back the first webpage to a third webpage corresponding to a third webpage address, wherein the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
According to some embodiments, the processor 110 is configured to perform the following operations after the time interval between the time stamp of the fetch operation and the time stamp of the load operation:
when the first address similarity is smaller than a first similarity threshold value and the time interval is greater than or equal to an interval threshold value, second loading information corresponding to the first webpage is obtained from the address history stack;
rendering the first webpage based on the second loading information, and displaying the rendered first webpage.
According to some embodiments, when the processor 110 is configured to obtain the second web page with the first address number in the address history stack, the following operation is specifically performed:
acquiring a second address number of the webpage address in the address history stack;
when the number of the second addresses is larger than the number threshold value, acquiring second webpage addresses of second webpage pages with the first address number from the address history stack; wherein the first number of addresses is less than the second number of addresses.
In one or more embodiments of the present application, when a page rollback operation is detected in a browser application, a first web address of a loaded first web page is obtained, the first web address is inserted into an address history stack, a second web address of a second web page with a first address number is obtained in the address history stack, and a first address similarity between the first web address and the second web address is obtained. The third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier, so that the terminal does not need to obtain a blacklist fed back by a user, and can directly back to the third webpage page when the similarity of the first address is greater than or equal to the first similarity threshold, the detection steps of the webpage pages can be reduced, the detection duration of the webpage pages is reduced, the back-off efficiency of the webpage pages is improved, and the convenience of the webpage page back-off can be further improved.
In addition, those skilled in the art will appreciate that the configurations of the terminals illustrated in the above-described figures do not constitute limitations on the terminals, as the terminals may include more or less components than those illustrated, or some components may be combined, or a different arrangement of components may be used. For example, the terminal further includes a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power supply, a bluetooth module, and other components, which are not described herein again.
In the embodiment of the present application, the main body of execution of each step may be the terminal described above. Optionally, the execution subject of each step is an operating system of the terminal. The operating system may be an android system, an IOS system, or another operating system, which is not limited in this embodiment of the present application.
The terminal of the embodiment of the application can also be provided with a display device, and the display device can be various devices capable of realizing a display function, for example: a cathode ray tube display (CR), a light-emitting diode display (LED), an electronic ink panel, a Liquid Crystal Display (LCD), a Plasma Display Panel (PDP), and the like. A user may utilize a display device on terminal 100 to view displayed text, images, video, etc. The terminal may be a smart phone, a tablet computer, a gaming device, an AR (Augmented Reality) device, an automobile, a data storage device, an audio playing device, a video playing device, a notebook, a desktop computing device, a wearable device such as an electronic watch, an electronic glasses, an electronic helmet, an electronic bracelet, an electronic necklace, an electronic garment, or the like.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A method for rolling back a webpage page, the method comprising:
when a page rollback operation is detected in a browser application, acquiring a first webpage address of a loaded first webpage, and inserting the first webpage address into an address history stack;
acquiring a second webpage address of a second webpage with a first address quantity from the address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
acquiring first address similarity of the first webpage address and the second webpage address;
when the similarity of the first address is greater than or equal to a first similarity threshold value, responding to the page rollback operation, and rolling back the first webpage to a third webpage corresponding to a third webpage address; and the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
2. The method of claim 1, wherein before obtaining the first web address of the loaded first web page when the page rollback operation is detected in the browser application, further comprising:
and adding a page identifier to the second webpage address of the second webpage in the address history stack.
3. The method of claim 2, wherein adding a page identifier to the second web page address of the second web page in the address history stack comprises:
when the browser application detects that at least two second webpage pages are loaded, acquiring second address similarity of a fourth webpage address of a fourth webpage page and a fifth webpage address of a fifth webpage page; the fourth webpage and the fifth webpage are adjacent second webpages, and the loading timestamp of the fourth webpage is earlier than that of the fifth webpage;
and when the similarity of the second address is greater than a second similarity threshold value, adding a page identifier to the fourth webpage address in an address history stack.
4. The method of claim 1, wherein when the first address similarity is greater than or equal to a first similarity threshold, in response to the page rollback operation, rolling back, by the first web page, a third web page corresponding to a third web page address that is the web page address closest to the current time in the address history stack and to which a page identifier is not added, includes:
when the first address similarity is larger than or equal to a first similarity threshold value, stopping loading the first webpage;
responding to the page backspacing operation, acquiring a loading timestamp sequence of the webpage address, and acquiring a third webpage address which is closest to the current time and is not added with the page identifier in the address history stack;
acquiring first loading information corresponding to a third webpage based on the third webpage address;
rendering the third webpage based on the first loading information, and displaying the rendered third webpage.
5. The method of claim 1, wherein after obtaining the first address similarity between the first webpage address and the second webpage address, the method further comprises:
when the first address similarity is smaller than a first similarity threshold value, acquiring a loading time stamp of the first webpage from the address history stack, and acquiring an operation time stamp of the page rollback operation;
acquiring a time interval between the operation timestamp and the loading timestamp;
and when the time interval is smaller than an interval threshold value, responding to the page returning operation, returning the first webpage page to a third webpage page corresponding to a third webpage address, wherein the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
6. The method of claim 5, wherein after the obtaining the time interval between the operation timestamp and the load timestamp, further comprising:
when the first address similarity is smaller than a first similarity threshold value and the time interval is greater than or equal to an interval threshold value, second loading information corresponding to the first webpage is obtained from the address history stack;
rendering the first webpage based on the second loading information, and displaying the rendered first webpage.
7. The method of claim 1, wherein obtaining the second web page address of the second web page of the first number of addresses in the address history stack comprises:
acquiring a second address number of the webpage address in the address history stack;
when the number of the second addresses is larger than a number threshold value, acquiring second webpage addresses of second webpage pages with the first number of addresses from the address history stack; wherein the first number of addresses is less than the second number of addresses.
8. An apparatus for web page rollback, the apparatus comprising:
the address insertion unit is used for acquiring a first webpage address of a loaded first webpage when a page rollback operation is detected in a browser application, and inserting the first webpage address into an address history stack;
the address acquisition unit is used for acquiring second webpage addresses of second webpage pages with the first address quantity from the address history stack; the second webpage address is a webpage address which is in front of the first webpage address in the address history stack and is adjacent to the first webpage address;
a similarity obtaining unit, configured to obtain a first address similarity between the first webpage address and the second webpage address;
the page returning unit is used for responding to the page returning operation when the similarity of the first address is greater than or equal to a first similarity threshold value and returning the first webpage page to a third webpage page corresponding to a third webpage address; and the third webpage address is the webpage address which is closest to the current time in the address history stack and is not added with the page identifier.
9. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of the preceding claims 1 to 7.
CN202110337741.9A 2021-03-30 2021-03-30 Webpage page rollback method, device, terminal and storage medium Active CN113098859B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110337741.9A CN113098859B (en) 2021-03-30 2021-03-30 Webpage page rollback method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110337741.9A CN113098859B (en) 2021-03-30 2021-03-30 Webpage page rollback method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN113098859A true CN113098859A (en) 2021-07-09
CN113098859B CN113098859B (en) 2023-03-31

Family

ID=76671032

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110337741.9A Active CN113098859B (en) 2021-03-30 2021-03-30 Webpage page rollback method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN113098859B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036420A (en) * 2021-11-11 2022-02-11 深圳乐信软件技术有限公司 Page rollback method, device, equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778113A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Terminal and server and webpage processing method of terminal and server
WO2015058631A1 (en) * 2013-10-23 2015-04-30 Tencent Technology (Shenzhen) Company Limited Method, server and system for malicious url identification
US20170111480A1 (en) * 2014-06-30 2017-04-20 Huawei Technologies Co., Ltd. Page insertion method and device
WO2017162072A1 (en) * 2016-03-25 2017-09-28 阿里巴巴集团控股有限公司 Method and device for jumping between pages
CN108268622A (en) * 2018-01-08 2018-07-10 金行家(深圳)文化传播有限公司 Method and device for returning page and computer readable storage medium
CN108647281A (en) * 2018-05-03 2018-10-12 腾讯科技(深圳)有限公司 Web page access risk supervision, reminding method, device and computer equipment
WO2019109529A1 (en) * 2017-12-08 2019-06-13 平安科技(深圳)有限公司 Webpage identification method, device, computer apparatus, and computer storage medium
US20190334936A1 (en) * 2018-04-25 2019-10-31 Palo Alto Networks, Inc. Malicious website discovery using web analytics identifiers

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103778113A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Terminal and server and webpage processing method of terminal and server
WO2015058631A1 (en) * 2013-10-23 2015-04-30 Tencent Technology (Shenzhen) Company Limited Method, server and system for malicious url identification
US20170111480A1 (en) * 2014-06-30 2017-04-20 Huawei Technologies Co., Ltd. Page insertion method and device
WO2017162072A1 (en) * 2016-03-25 2017-09-28 阿里巴巴集团控股有限公司 Method and device for jumping between pages
WO2019109529A1 (en) * 2017-12-08 2019-06-13 平安科技(深圳)有限公司 Webpage identification method, device, computer apparatus, and computer storage medium
CN108268622A (en) * 2018-01-08 2018-07-10 金行家(深圳)文化传播有限公司 Method and device for returning page and computer readable storage medium
US20190334936A1 (en) * 2018-04-25 2019-10-31 Palo Alto Networks, Inc. Malicious website discovery using web analytics identifiers
CN108647281A (en) * 2018-05-03 2018-10-12 腾讯科技(深圳)有限公司 Web page access risk supervision, reminding method, device and computer equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114036420A (en) * 2021-11-11 2022-02-11 深圳乐信软件技术有限公司 Page rollback method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113098859B (en) 2023-03-31

Similar Documents

Publication Publication Date Title
CN107889070B (en) Picture processing method, device, terminal and computer readable storage medium
US20230035047A1 (en) Remote assistance method, device, storage medium, and terminal
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN112653670A (en) Service logic vulnerability detection method, device, storage medium and terminal
CN111913614B (en) Multi-picture display control method and device, storage medium and display
CN111127469A (en) Thumbnail display method, device, storage medium and terminal
CN110572815A (en) Network access method, device, storage medium and terminal
CN113098859B (en) Webpage page rollback method, device, terminal and storage medium
CN113312572A (en) Resource processing method and device, storage medium and electronic equipment
CN113438614A (en) Flow package obtaining method and device, terminal and storage medium
CN117555459A (en) Application group processing method and device, storage medium and electronic equipment
CN112114965A (en) Application program running method and device, terminal and storage medium
CN112995562A (en) Camera calling method and device, storage medium and terminal
CN113286349B (en) Personal hot spot connection method, device, terminal and storage medium
CN113950043B (en) Communication method, device, storage medium and terminal
CN112541141B (en) Control showing callback method, device, terminal and storage medium
CN111274513B (en) Window display method, device, terminal and storage medium
CN111859999A (en) Message translation method, device, storage medium and electronic equipment
CN112988097A (en) Display screen control method and device, storage medium and mobile terminal
CN113419650A (en) Data moving method and device, storage medium and electronic equipment
CN115220983A (en) Electric quantity display method and device, storage medium and terminal equipment
CN112612633A (en) Inter-process communication method, device, storage medium and terminal
CN113778386B (en) Component generation method and device, storage medium and electronic equipment
CN111008006A (en) RFC file modification method and device, storage medium and terminal
CN115314588B (en) Background synchronization method, device, terminal, equipment, system and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant