CN106855885B - Page processing method of browser and terminal - Google Patents

Page processing method of browser and terminal Download PDF

Info

Publication number
CN106855885B
CN106855885B CN201611207927.8A CN201611207927A CN106855885B CN 106855885 B CN106855885 B CN 106855885B CN 201611207927 A CN201611207927 A CN 201611207927A CN 106855885 B CN106855885 B CN 106855885B
Authority
CN
China
Prior art keywords
page
opened
browser
content
content page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611207927.8A
Other languages
Chinese (zh)
Other versions
CN106855885A (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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201611207927.8A priority Critical patent/CN106855885B/en
Publication of CN106855885A publication Critical patent/CN106855885A/en
Application granted granted Critical
Publication of CN106855885B publication Critical patent/CN106855885B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the application provides a page processing method and a terminal of a browser, and relates to the technical field of communication. The page processing method of the browser comprises the following steps: when triggering operation on a preset element in a browser interface is detected, acquiring characteristic information of an opened content page in a browser, and closing the opened content page; and displaying the characteristic information of the content page in the folding label page. According to the method and the device, the characteristic information of the opened content page is displayed in the folded tab page, the opened content page is closed, the occupation of system resources can be reduced, the characteristic information of the opened content page cannot be lost, and the problem that the opened page of the browser is lost due to the fact that the terminal system closes the browser process is solved.

Description

Page processing method of browser and terminal
Technical Field
The present application relates to the field of communications technologies, and in particular, to a page processing method for a browser and a terminal.
Background
With the development of internet technology, terminals such as mobile phones and tablet computers are more and more popular, and great convenience is brought to life, study and work of people.
These terminals are typically equipped with browsers that display the contents of hypertext markup Language (HTML) files of a web server or file system so that users can interact with the files. Currently, browsers have become important traffic access points for terminals.
Specifically, the terminal can complete various transactions through the browser, and service requirements of users are met. For example, according to the user requirement, the browser of the terminal may open pages of multiple tabs at the same time, so that the user may view the pages of multiple tabs at the same time. Wherein each tagged page opens multiple processes. When a user needs to open pages with a plurality of labels, a large amount of system resources of the terminal are occupied, and software is blocked. After a user opens a page with multiple tabs, the user often needs to switch to another application. Limited to the processing power of the terminal, the system of the terminal typically kills applications that are not used for a long time. If the browser process is just killed, all pages opened by the user are lost, and the use of the user is influenced.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present application provide a method for processing a page of a browser and a corresponding terminal, so as to solve the problem that a page opened by the browser is lost when an existing terminal system closes a browser process.
In order to solve the above problem, an embodiment of the present application discloses a page processing method for a browser, including:
when triggering operation on a preset element in a browser interface is detected, acquiring characteristic information of an opened content page in a browser, and closing the opened content page;
and displaying the characteristic information of the content page in the folding label page.
Correspondingly, the embodiment of the present application further provides a terminal, including:
the browser comprises a triggering operation module, a content page generation module and a content page closing module, wherein the triggering operation module is used for acquiring the characteristic information of an opened content page in a browser and closing the opened content page when the triggering operation of a preset element in a browser interface is detected;
and the tab page display module is used for displaying the characteristic information of the content page acquired by the trigger operation module in the folded tab page.
The embodiment of the application has the following advantages:
according to the embodiment of the application, a folding label page is newly added in the browser; and when the triggering operation of the preset element in the browser interface is detected, the characteristic information of the opened content page in the browser is acquired, the opened content page is closed, and the characteristic information of the closed content page can be displayed in the folded tab page, so that the occupation of system resources can be reduced, the characteristic information of the opened content page cannot be lost, the problem that the opened page of the browser is lost due to the fact that the terminal system mistakenly kills the browser process is solved, the problem that the opened page of the browser is lost due to the fact that the terminal system closes the browser process is solved, and the webpage browsing of a user can be facilitated.
Drawings
FIG. 1 is a flowchart illustrating steps of an embodiment of a method for processing a page in a browser according to the present application;
FIG. 2 is a flowchart illustrating steps of an alternative embodiment of a browser page processing method of the present application;
FIG. 3 is a diagram illustrating the addition of a collapse button on the bottom toolbar of a browser tab management page in a specific example of the present application;
FIG. 4 is a block diagram of a terminal of an embodiment of the present application;
FIG. 5 is a block diagram of an alternative embodiment of a terminal of the present application;
fig. 6 is a block diagram of a terminal according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of a terminal according to another embodiment of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a method for processing a page of a browser according to the present application is shown, which may specifically include the following steps:
step 101, when detecting a trigger operation on a preset element in a browser interface, acquiring feature information of an opened content page in a browser, and closing the opened content page.
In the embodiment of the application, a special Local Tab (Local Tab) page may be added to the Tab management page of the browser in advance. The special local tab page can be used for recording the opened web pages in the browser, so as to prevent the opened web pages from being lost due to the mistaken killing of the browser process. The embodiment of the present application may refer to the special local tab page as a folder tab page, and may refer to a web page element for opening the folder tab page as a preset element. The preset element may specifically include, but is not limited to, any one of the following: a button for opening the tab sheet, a display icon of the tab sheet, a thumbnail of the tab sheet, and the like, which are not particularly limited in the embodiment of the present application.
The characteristic information can be used for representing information of page content recorded in the folded label page, such as a website icon, a webpage name, a website address and the like; and when the content page corresponding to the characteristic information is opened again, the characteristic information can be automatically deleted from the folded tab page. For example, when a content page recorded in the tab sheet is opened again, the terminal may automatically delete the record corresponding to the content page from the tab sheet, that is, may delete the feature information of the page content that has been opened again from the tab sheet.
As a specific example of the application, after entering a browser tab management page, a user may perform an operation on a display position corresponding to the preset element to send a corresponding trigger operation to a terminal. The triggering operation may be used to trigger the terminal to acquire feature information of a content page that has been opened in the browser, to record the acquired feature information in the folded tab page, and to close the content page that has been currently opened in the browser, to release system resources. Specifically, when detecting the trigger operation, the terminal may fold the content page currently opened by the browser, that is, close the content page opened by the browser, so as to release the system resources occupied by the closed content page; and recording the characteristic information of the closed page content in the folded tab page, thereby preventing the situation that the content page is closed and lost.
It should be noted that the triggering operation in the embodiment of the present application may specifically include various operations that are input by a user and meet a preset operation rule, such as a click operation, a double-click operation, a press operation, a slide operation, and the like, which is not specifically limited in the embodiment of the present application. As another specific example of the application, when the user inputs an operation meeting the preset operation rule and the system of the trigger terminal checks and kills the currently running application program process, if the browser process is checked and killed, the operation meeting the preset operation rule may be determined as the trigger operation. For example, when detecting that a sliding track of a sliding operation input by a user meets a preset operation rule, the terminal may determine the sliding operation as a trigger operation, and may further acquire feature information of an opened content page in a browser based on the trigger operation, and may close the opened content page.
And 102, displaying the characteristic information of the content page in the folded tab page.
After the characteristic information of the content page is recorded in the folding tag, the terminal can display the recorded characteristic information of the page content in the folding tag, so that a user can conveniently open the content page recorded in the folding tag. Specifically, when the feature information of the content page is recorded in the folded tab page, the user may perform an operation on the folded tab page to select the content page to be opened, and then may trigger the terminal to extract the feature information of the selected content page from the folded tab page, and may open the content page selected by the user according to the obtained feature information, for example, obtain a website of the selected content page to open the content page selected by the user.
In summary, in the embodiment of the application, a folding tab page is newly added in the browser; and when the trigger operation of the preset element in the browser interface can be detected, acquiring the characteristic information of the opened content page in the browser, closing the opened content page, and displaying the characteristic information of the closed content page in the folded tab page, so that the occupation of system resources can be reduced, the characteristic information of the opened content page cannot be lost, the problem that the opened page of the browser is lost due to the fact that a terminal system mistakenly kills the browser process is solved, and the problem that the opened page of the browser is lost due to the fact that the terminal system closes the browser process is solved.
Referring to fig. 2, a flowchart illustrating steps of an alternative embodiment of a page processing method of a browser according to the present application is shown, which may specifically include the following steps:
step 201, when detecting a trigger operation on a preset element in a browser interface, acquiring feature information of an opened content page in a browser, and closing the opened content page.
As a specific example of the present application, a corresponding folding button may be configured in the browser page in advance for folding a tab page, and the folding button may be used as the preset element. In an alternative embodiment, a button may be added to the browser tab management page, and may be named as a "fold button", that is, a fold button is added to the browser; meanwhile, a local tab page named as a 'folding tab' can be defined, namely, the folding tab page is added in a tab management page of the browser; and the newly added button can be configured as a folding button corresponding to the folding label page by constructing the association between the folding button and the folding label page. The browser tab management page may also be referred to as a tab management window of the browser. For example, when a browser opens multiple web pages, the user may click a button on the toolbar to enter a window for quickly switching, closing, and adding web pages, which may be referred to as a "tab management page" or a "tab management window" of the browser. Wherein the collapse button may be disposed on the bottom toolbar of the browser tab management page, as shown in fig. 3.
The triggering operation in the embodiment of the present application may include a click operation on the fold button. Specifically, when a user needs to fold a content page opened by a browser, for example, when a page of an application program displayed on a terminal is jammed, the user may trigger the terminal to close a webpage that meets a preset webpage folding rule by inputting a click operation on a folding button, so as to release system resources occupied by the closed webpage, for example, release a terminal memory occupied by the closed webpage. It should be noted that opening each content page requires occupying certain resources of the terminal, such as occupying system resources like memory and CPU. For example, after entering a browser tab management page, a user may click a fold button to trigger the browser to close a currently opened content page, release resources, and record feature information corresponding to the closed content page in a fold tab page.
In the embodiment of the application, the operation of clicking the folding button by a user can be used as the clicking operation of the folding button; and a process of closing a page that the browser has opened and recording the closed page in the folder tab page may be defined as "the page of the browser is folded".
Optionally, the terminal may monitor the folding button, and when the click operation on the folding button is monitored, the click operation is used as the detected trigger operation. For example, the terminal may monitor a folding button, so that when the user clicks the folding button, a corresponding click operation may be monitored, and the click operation may be determined as a trigger operation for folding a page currently opened by the browser. After detecting the trigger operation, the terminal may detect whether the content page currently opened by the browser meets a preset webpage folding rule based on the trigger operation. If the content page which is opened currently by the browser is detected to accord with a preset webpage folding rule, the content page which accords with the webpage folding rule can be folded, and the characteristic information corresponding to the folded content page is recorded in the folded label page. If the content page opened currently by the browser is detected to be not in accordance with the preset webpage folding rule, the content page which is not in accordance with the webpage folding rule can be directly closed; or, the trigger operation may be omitted, and the task that needs to be executed currently is continuously executed, for example, the content page that is currently displayed is continuously displayed, and the like.
It should be noted that, when a page opened by a browser is folded, a part of content pages currently opened by the browser may be closed, or all content pages currently opened by the browser may be closed, which is not specifically limited in the embodiment of the present application.
In an optional embodiment of the present application, when detecting a trigger operation of a preset element, the closing, by the terminal, a content page opened by a browser may specifically include: all content pages that have been opened; or, a content page that has been opened but never viewed; or, a page that is opened but not browsed within a preset time length; or, a page that has been opened and browsed; or other opened content pages in addition to the most recently viewed content page. Specifically, the embodiment of the present application may select a specific rule by a user, for example, close all content pages, close content pages that have never been browsed or have not been browsed for a preset time duration, close browsed content pages, and only retain the last browsed content page, which is not limited in this embodiment of the present application. The terminal can set a corresponding webpage folding rule based on the specific rule selected by the user.
For example, when the specific closing rule selected by the user is to close a page whose preset duration is not browsed, the terminal may set the web page folding rule of the browser to be "a duration threshold value corresponding to the page waiting to be browsed", and may further determine that the content page conforms to the web page folding rule when the waiting duration of the content page waiting to be browsed reaches the duration threshold value; or, when the specific closing rule selected by the user is to only reserve the last browsed content page, the terminal may set the web page folding rule of the browser to "not the content page currently operated by the user" or "not the currently displayed content page", and further may determine that the last browsed web page is not the content page conforming to the web page folding rule; or, when the specific closing rule selected by the user is to close the browsed content page, the terminal may set the web page folding rule of the browser to "close the browsed web page", and further may determine, after the user browses the web page, the web page browsed by the user as the content page meeting the web page folding rule.
When closing the webpage according with the webpage folding rule, the terminal can take the information of the closed webpage as the characteristic information and record the characteristic information in the folding label page. Specifically, the terminal may fold the web page that meets the web page folding rule, that is, close the web page that meets the web page folding rule, identify the closed web page as a folded web page, and record information of the folded web page as feature information in the folded tab page. For example, the terminal may open a folder tab page of the browser to record information of a currently folded content page in the folder tab page.
Step 202, displaying the characteristic information of the content page in the folded tab page.
In an optional embodiment, the record of the folded tab page is not empty, and the folded tab page may be displayed in a page displayed by the browser, for example, on a toolbar of the browser; if the record of the folded tab page is empty, the folded tab page can be automatically hidden, so that the displayed page is concise and attractive. For example, if the record of the folded tab page is not empty, the folded tab page always exists, so that the user can switch to the content page recorded by the folded tab page when the multi-tab web page is switched, that is, the user can open the content page recorded by the folded tab page conveniently.
In another alternative embodiment, if the folding button added to the toolbar can call or close the folding tab page at any time, the user can enter the folding tab page through the folding button. When the user clicks the folder button, the terminal may directly record the closed page in the folder tab page without opening the folder tab page. For example, as shown in fig. 3, a folding button is added to the bottom toolbar of the browser tab management page, and when the user clicks the folding button, the terminal can record a webpage meeting the rule into the folding tab page. For the feature web page, the information recorded in the folded tab page may include, but is not limited to, any one or more of the following items: a website icon, a web page name, a website address, etc., which are not specifically limited in this application. For example, a website icon and a website name of a website where the feature webpage is located, and a website name and a website address of the feature webpage may be recorded. Optionally, part of the recorded information may be hidden, that is, the hidden information may not be directly displayed in the folding label page, so that the folding label page is simple and beautiful, and if specific website information may be hidden and not displayed to the user, the embodiment of the present application does not limit this.
And step 203, recording the characteristic information and closing the browser when the closing operation of the browser is detected.
Specifically, when detecting a closing operation of the browser, if detecting an operation of closing the browser by a user, the terminal device may obtain feature information of a content page opened in the browser according to a preset webpage folding rule, and may record the obtained feature information in a folded tab page, so that the user may conveniently reopen the content page opened by the browser due to closing of the browser according to the feature information recorded in the folded tab page. After recording the feature information, the browser may be closed, i.e., in response to a closing operation of the browser.
And step 204, after the browser is started again, opening the folded tab page, and displaying the characteristic information of the content page in the folded tab page.
Specifically, when the terminal starts the browser, it may be detected whether the characteristic page is recorded in the folded tab page. If the characteristic page is recorded in the folded tab page, opening the folded tab page to display the characteristic page recorded in the folded tab page, so that a user can browse the characteristic page recorded in the folded tab page. For example, when a browser is opened, if the record of the tab page is not empty, the tab page may be opened, so that the user may see the web page that has not been browsed last time, which is convenient for the user to continue browsing before.
Step 205, when detecting a trigger operation on first feature information in the folded tab page, opening a content page corresponding to the first feature information, and deleting the first feature information from the folded tab page.
In the embodiment of the application, after the terminal displays the feature information of the content page in the folded tab page, the terminal can detect the operation received in the folded tab page, and then can open the content page corresponding to the first feature information when the triggering operation of the first feature information in the folded tab page is detected, and delete the first feature information from the folded tab page. The first feature information may include feature information selected by a user input operation, for example, when a user clicks a certain feature information displayed in the tab page, the feature information clicked by the user may be determined as the first feature information.
In an optional implementation manner of the present application, after a browser is started, a terminal may display a folded tab page in the browser, so that a user may input a trigger operation on first feature information in the folded tab page, for example, click feature information of a certain content page recorded in the folded tab page, and then the terminal may receive the trigger operation on the first feature information input in the folded tab page by the user for a content page that the user needs to open. The triggering operation on the first feature information may be used to characterize an operation submitted by a user for a content page that the user needs to open, and specifically may include, but is not limited to, any of the following: click operation, press operation, slide operation, touch operation, and the like. As a specific example of the application, after receiving a trigger operation on the first feature information, the terminal may determine, based on the trigger operation, a content page that a user needs to open as a selected feature page; and the information corresponding to the record of the selected feature page can be obtained from the folded tab page, that is, the first feature information, such as the website of the content page, is obtained, the content page selected by the user is opened, and meanwhile, the first feature information can be deleted from the folded tab page, that is, the information corresponding to the record of the opened content page, such as the website name and the website of the feature page, is deleted from the folded tab page.
Optionally, the terminal or the browser may automatically acquire, according to a preset webpage selection rule, a content page meeting the preset webpage selection rule from the folded tab page after the browser is started, and use feature information corresponding to the acquired content page as the selected first feature information. Specifically, after the browser is started, the terminal may obtain first feature information corresponding to a content page meeting a preset webpage selection rule from the folded tab page, open the content page meeting the preset webpage selection rule according to the obtained first feature information, and delete the first feature information corresponding to the opened content page from the folded tab page, so that a user can open a page to be used by the user conveniently, for example, the user can conveniently continue to browse a previously closed webpage. The preset page selection rule can be configured according to user input information, for example, the preset page selection rule can be configured according to historical behaviors or personal habits of users for opening characteristic webpages in the folded label pages; the configuration may also be performed according to configuration information input by a user according to the rule selected by the page, which is not specifically limited in the embodiment of the present application.
Therefore, the terminal in the embodiment of the application can open the content page corresponding to the selected first characteristic information through the browser, so as to display the content page on the display screen. After the content page corresponding to the first characteristic information is opened, the corresponding record of the content page can be invalidated. Therefore, the terminal can delete the first feature information corresponding to the opened content page from the folded tab page of the browser, namely delete the invalid record from the folded tab page, so that only effective feature information is recorded in the folded tab page, a user can open a page required to be used conveniently, and user experience is improved.
In an optional embodiment of an application of the present application, the method for processing a page of a browser, after closing the opened content page, may further include: and releasing the system resource corresponding to the opened content page. For example, users often work on only a few web pages, but need to open multiple web pages simultaneously for the time needed. Based on the embodiment of the application, the terminal or the browser can fold the page which is not used temporarily, release the system resource of the terminal and avoid the limit of the upper limit of the number of the browser pages; in addition, the folded characteristic web page can be recorded in a semi-permanent manner, so that the problem of page loss caused by data loss after the browser process is killed by mistake is solved.
Through the embodiment of the application, a user can select to record the feature information corresponding to the opened content page in the folded tab page of the browser, and simultaneously can close the content page corresponding to the feature information recorded in the folded tab page and the content pages of other application programs so as to release system resources of the terminal and prevent the situation that the opened page of the browser is lost due to mistaken killing of the progress of the browser.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the embodiments are not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the embodiments. Further, those skilled in the art will also appreciate that the embodiments described in the specification are presently preferred and that no particular act is required of the embodiments of the application.
Referring to fig. 4, a block diagram of a terminal embodiment of the present application is shown. The terminal 400 may specifically include the following modules:
the trigger operation module 401 is configured to, when a trigger operation on a preset element in a browser interface is detected, acquire feature information of an opened content page in a browser, and close the opened content page;
a tab page display module 402, configured to display, in a folded tab page, the feature information of the content page obtained by the trigger operation module 401.
On the basis of fig. 4, optionally, the terminal 400 may further include: button configuration module 405, as shown in FIG. 5.
A closing operation module 403, configured to record, when a closing operation on the browser is detected, the feature information acquired by the triggering operation module 401, and close the browser;
and a tab page opening module 404, configured to open a folded tab page after the browser is restarted, and trigger the tab page display module 402 to display the feature information of the content page in the folded tab page.
In an optional embodiment of the present application, the terminal 400 may further include an open delete module 405. The opening and deleting module 405 is configured to, when a trigger operation on first feature information in a folded tab page is detected, open a content page corresponding to the first feature information, and delete the first feature information from the folded tab page displayed by the tab page displaying module 402.
In an optional embodiment of the present application, the closed opened content page in the embodiment of the present application may specifically include: all content pages that have been opened; or, a content page that has been opened but never viewed; or, a page that is opened but not browsed within a preset time length; or, a page that has been opened and browsed; or other opened content pages besides the content page that has been browsed last time, and the like, which is not specifically limited by the embodiments of the present application.
In an optional embodiment of the present application, the terminal 400 may further include: a resource release module 406. The resource releasing module 406 may be configured to release the system resource corresponding to the opened content page after the trigger operation module 401 closes the opened content page.
The terminal 400 can implement each process implemented by the terminal in the method embodiments of fig. 1 to fig. 3, and is not described herein again to avoid repetition. According to the application, the folding label page is newly added in the browser, the terminal 400 can take the information of the closed content page as the characteristic information according to the triggering operation, and can display the characteristic information in the folding label page, so that the occupation of system resources can be reduced, the characteristic information of the opened content page cannot be lost, the problem that the opened page of the browser is lost due to the fact that the terminal system closes the browser process is solved, and a user can conveniently continue to browse the previously closed webpage.
Fig. 6 is a block diagram of a terminal according to another embodiment of the present application. The terminal 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and other user interfaces 603. The various components in terminal 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in the subject embodiment can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 602 of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory. For example, the memory 602 may store preset data, such as preset web page folding rules, and the embodiment of the present application does not limit the specific content of the memory.
In some embodiments, memory 602 stores the following elements, executable modules or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, and is used to implement various application services. A program that implements the methods of the embodiments of the present application can be included in the application program 6022.
In this embodiment of the application, by calling a program or an instruction stored in the memory 602, specifically, a program or an instruction stored in the application program 6022, the processor 601 is configured to, when a trigger operation on a preset element in a browser interface is detected, acquire feature information of an already opened content page in a browser, and close the already opened content page; and displaying the characteristic information of the content page in the folding label page.
The method disclosed in the embodiments of the present application may be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The processor 601 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented with modules (e.g., procedures, functions, and so on) that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
Optionally, after displaying the feature information of the content page in the folder tab page, the processor 601 is further configured to: when closing operation of the browser is detected, recording the characteristic information, and closing the browser; and after the browser is started again, opening the folding tab page and displaying the characteristic information of the content page in the folding tab page.
Optionally, after displaying the feature information of the content page in the folder tab page, the processor 601 is further configured to: when the triggering operation of the first characteristic information in the folded tab page is detected, opening a content page corresponding to the first characteristic information, and deleting the first characteristic information from the folded tab page.
Optionally, the content page opened in the embodiment of the present application may specifically include: all content pages that have been opened; or, a content page that has been opened but never viewed; or, a page that is opened but not browsed within a preset time length; or, a page that has been opened and browsed; or other opened content pages in addition to the most recently viewed content page.
Optionally, after the processor 601 closes the opened content page, the processor is further configured to: and releasing the system resource corresponding to the opened content page.
The terminal 600 can implement each process implemented by the terminal in the foregoing embodiments, and is not described here again to avoid repetition. The terminal 600 may use the information of the closed content page as the feature information according to the trigger operation, and may display the feature information in the folded tab page, so that occupation of system resources may be reduced, the feature information of the opened content page may not be lost, and the problem that the page opened by the browser is lost due to closing of the browser process by the terminal system is solved, for example, a user may conveniently continue browsing the previously closed web page.
Fig. 7 is a schematic structural diagram of a terminal according to another embodiment of the present application. Specifically, the terminal 700 in fig. 7 may be a mobile phone, a tablet computer, a desktop computer, a Personal Digital Assistant (PDA), a personal computer, or a vehicle-mounted computer.
The terminal 700 in fig. 7 includes a Radio Frequency (RF) circuit 710, a memory 720, an input unit 730, a display unit 740, a processor 760, an audio circuit 770, a wifi (wireless fidelity) module 780, and a power supply 790.
The input unit 730 may be used, among other things, to receive numeric or character information input by a user and to generate signal inputs related to user settings and function control of the terminal 700. Specifically, in the embodiment of the present application, the input unit 730 can include a touch panel 731. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on the touch panel 731 by using a finger, a stylus pen, or any other suitable object or accessory) thereon or nearby, and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 760, and can receive and execute commands sent from the processor 760. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 731, the input unit 730 may include other input devices 732, and the other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
Among them, the display unit 740 may be used to display information input by the user or information provided to the user and various menu interfaces of the terminal 700. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of an LCD or an organic light-emitting diode (OLED).
It should be noted that the touch panel 731 can cover the display panel 741 to form a touch display screen, and when the touch display screen detects a touch operation on or near the touch display screen, the touch display screen is transmitted to the processor 760 to determine the type of the touch event, and then the processor 760 provides a corresponding visual output on the touch display screen according to the type of the touch event.
The touch display screen comprises an application program interface display area and a common control display area. The arrangement modes of the application program interface display area and the common control display area are not limited, and can be an arrangement mode which can distinguish two display areas, such as vertical arrangement, left-right arrangement and the like. The application interface display area may be used to display an interface of an application. Each interface may contain at least one interface element such as an icon and/or widget desktop control for an application. The application interface display area may also be an empty interface that does not contain any content. The common control display area is used for displaying controls with high utilization rate, such as application icons like setting buttons, interface numbers, scroll bars, phone book icons and the like.
The processor 760 is a control center of the terminal 700, connects various parts of the entire handset using various interfaces and lines, and performs various functions of the terminal 700 and processes data by operating or executing software programs and/or modules stored in the first memory 721 and calling data stored in the second memory 722, thereby integrally monitoring the terminal 700. Alternatively, processor 760 may include one or more processing units.
In this embodiment, the processor 760 is configured to, by calling a software program and/or a module stored in the first memory 721 and/or data stored in the second memory 722, obtain feature information of an opened content page in a browser when a trigger operation on a preset element in a browser interface is detected, and close the opened content page; and displaying the characteristic information of the content page in the folding label page.
Optionally, after displaying the characteristic information of the content page in the folder tab page, the processor 760 is further configured to: when closing operation of the browser is detected, recording the characteristic information, and closing the browser; and after the browser is started again, opening the folding tab page and displaying the characteristic information of the content page in the folding tab page.
Optionally, after displaying the characteristic information of the content page in the folder tab page, the processor 760 is further configured to: when the triggering operation of the first characteristic information in the folded tab page is detected, opening a content page corresponding to the first characteristic information, and deleting the first characteristic information from the folded tab page.
Optionally, the content page opened in the embodiment of the present application may specifically include: all content pages that have been opened; or, a content page that has been opened but never viewed; or, a page that is opened but not browsed within a preset time length; or, a page that has been opened and browsed; or other opened content pages in addition to the most recently viewed content page.
Optionally, after the processor 760 closes the opened content page, the processor is further configured to: and releasing the system resource corresponding to the opened content page.
It can be seen that the terminal 700 uses the information of the closed content page as the feature information according to the trigger operation, and can display the feature information in the folded tab page, so that the occupation of system resources can be reduced, the feature information of the opened content page cannot be lost, and the problem that the page opened by the browser is lost due to the closing of the browser process by the terminal system is solved, for example, the user can conveniently continue to browse the previously closed web page.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical 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 functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including 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 according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (8)

1. A page processing method of a browser is characterized by comprising the following steps:
when triggering operation on a preset element in a browser interface is detected, acquiring characteristic information of an opened content page in a browser, and closing the opened content page;
displaying the characteristic information of the content page in a folding label page;
wherein, after displaying the characteristic information of the content page in the folded tab page, the method further comprises:
when the triggering operation of the first characteristic information in the folded tab page is detected, opening a content page corresponding to the first characteristic information, and deleting the first characteristic information from the folded tab page.
2. The method of claim 1, wherein after displaying the characteristic information of the content page in the folder tab page, further comprising:
when closing operation of the browser is detected, recording the characteristic information, and closing the browser;
and after the browser is started again, opening the folding tab page and displaying the characteristic information of the content page in the folding tab page.
3. The method of claim 1, wherein the opened content page comprises:
all content pages that have been opened;
or, a content page that has been opened but never viewed;
or, a page that is opened but not browsed within a preset time length;
or, a page that has been opened and browsed;
or other opened content pages in addition to the most recently viewed content page.
4. The method of claim 1, wherein after closing the opened content page, further comprising:
and releasing the system resource corresponding to the opened content page.
5. A terminal, comprising:
the browser comprises a triggering operation module, a content page generation module and a content page closing module, wherein the triggering operation module is used for acquiring the characteristic information of an opened content page in a browser and closing the opened content page when the triggering operation of a preset element in a browser interface is detected;
the tab page display module is used for displaying the characteristic information of the content page acquired by the trigger operation module in the folded tab page;
the terminal further comprises:
and the opening and deleting module is used for opening a content page corresponding to the first characteristic information when the triggering operation of the first characteristic information in the folded tab page is detected, and deleting the first characteristic information from the folded tab page displayed by the tab page display module.
6. The terminal of claim 5, further comprising:
the closing operation module is used for recording the characteristic information acquired by the triggering operation module and closing the browser when the closing operation of the browser is detected;
and the tab page opening module is used for opening the folded tab page after the browser is restarted, and triggering the tab page display module to display the characteristic information of the content page in the folded tab page.
7. The terminal according to claim 5 or 6, wherein the opened content page comprises:
all content pages that have been opened;
or, a content page that has been opened but never viewed;
or, a page that is opened but not browsed within a preset time length;
or, a page that has been opened and browsed;
or other opened content pages in addition to the most recently viewed content page.
8. The terminal of claim 7, further comprising:
and the resource releasing module is used for releasing the system resources corresponding to the opened content page after the triggering operation module closes the opened content page.
CN201611207927.8A 2016-12-23 2016-12-23 Page processing method of browser and terminal Active CN106855885B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611207927.8A CN106855885B (en) 2016-12-23 2016-12-23 Page processing method of browser and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611207927.8A CN106855885B (en) 2016-12-23 2016-12-23 Page processing method of browser and terminal

Publications (2)

Publication Number Publication Date
CN106855885A CN106855885A (en) 2017-06-16
CN106855885B true CN106855885B (en) 2020-02-21

Family

ID=59126449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611207927.8A Active CN106855885B (en) 2016-12-23 2016-12-23 Page processing method of browser and terminal

Country Status (1)

Country Link
CN (1) CN106855885B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110837396A (en) * 2018-08-17 2020-02-25 青岛海尔多媒体有限公司 Voice awakening method and device and computer storage medium
CN109558229A (en) * 2018-11-23 2019-04-02 北京小米移动软件有限公司 Browser control method and device
CN110110262B (en) * 2019-05-07 2021-06-29 海信电子科技(深圳)有限公司 Browser memory management method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968802A (en) * 2010-09-30 2011-02-09 百度在线网络技术(北京)有限公司 Method and equipment for recommending content of Internet based on user browse behavior
CN103198113A (en) * 2013-03-29 2013-07-10 华为技术有限公司 Processing method and processing device of web pages
CN103577032A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Method and device for processing tab page
CN104239502A (en) * 2014-09-11 2014-12-24 可牛网络技术(北京)有限公司 Browser label page display control method, device and equipment
CN104572950A (en) * 2014-12-30 2015-04-29 乐视致新电子科技(天津)有限公司 Memory release method for browser client and browser client
CN105893584A (en) * 2016-04-03 2016-08-24 北京设集约科技有限公司 Method, client and system for displaying website label of favorites

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101968802A (en) * 2010-09-30 2011-02-09 百度在线网络技术(北京)有限公司 Method and equipment for recommending content of Internet based on user browse behavior
CN103577032A (en) * 2012-08-07 2014-02-12 腾讯科技(深圳)有限公司 Method and device for processing tab page
CN103198113A (en) * 2013-03-29 2013-07-10 华为技术有限公司 Processing method and processing device of web pages
CN104239502A (en) * 2014-09-11 2014-12-24 可牛网络技术(北京)有限公司 Browser label page display control method, device and equipment
CN104572950A (en) * 2014-12-30 2015-04-29 乐视致新电子科技(天津)有限公司 Memory release method for browser client and browser client
CN105893584A (en) * 2016-04-03 2016-08-24 北京设集约科技有限公司 Method, client and system for displaying website label of favorites

Also Published As

Publication number Publication date
CN106855885A (en) 2017-06-16

Similar Documents

Publication Publication Date Title
US10268658B2 (en) Page loading method and system, and computer-readable storage medium
JP5956725B2 (en) Method, device, and computer program product for providing context-aware help content
US10503255B2 (en) Haptic feedback assisted text manipulation
JP6051338B2 (en) Page rollback control method, page rollback control device, terminal, program, and recording medium
US20210168234A1 (en) Page control method and apparatus, and computer-readable storage medium
US20150029149A1 (en) Apparatus and Method for Navigating on a Touch Sensitive Screen Thereof
WO2019184490A1 (en) Method for use in displaying icons of hosted applications, and device and storage medium
CN107506130B (en) Character deleting method and mobile terminal
US10852927B2 (en) Browser function bar display method, apparatus, and processing device
CN107404576B (en) Screen-locked magazine browsing method, mobile terminal and computer-readable storage medium
US20220107712A1 (en) Systems and methods for providing tab previews via an operating system user interface
CN106250190A (en) A kind of application startup method and terminal
WO2018133615A1 (en) Method for operating application programs and mobile terminal
CN104238927A (en) Method and device for controlling intelligent terminal application program
CN105488051B (en) Webpage processing method and device
CN112130729B (en) Page processing method and device, computer equipment and storage medium
CN106855885B (en) Page processing method of browser and terminal
CN106599246B (en) Display content interception method, mobile terminal and control server
CN109240591B (en) Interface display method and device
CN107632761B (en) Display content viewing method, mobile terminal and computer readable storage medium
CN111913675A (en) Display control method and apparatus, electronic device, and computer-readable storage medium
CN107220377B (en) Search method, electronic device, and computer storage medium
KR20070040845A (en) A display module, a device, a computer software product and a method for a user interface view
WO2018196668A1 (en) Method of performing search operation for selected object content and terminal
KR100967338B1 (en) Mobile web browser interface method using gesture method

Legal Events

Date Code Title Description
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