CN104809121B - Method and device for controlling display of browser webpage window - Google Patents
Method and device for controlling display of browser webpage window Download PDFInfo
- Publication number
- CN104809121B CN104809121B CN201410036500.0A CN201410036500A CN104809121B CN 104809121 B CN104809121 B CN 104809121B CN 201410036500 A CN201410036500 A CN 201410036500A CN 104809121 B CN104809121 B CN 104809121B
- Authority
- CN
- China
- Prior art keywords
- webpage
- web page
- group
- window
- domain name
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a device for controlling the display of a browser webpage window, which are used for displaying the browser webpage window in a grouping way, and the method comprises the following steps: acquiring a webpage domain name of at least one webpage currently opened by a user; reading a first-level domain name in the domain names of the web pages, dividing the web pages into at least one group, wherein the same group comprises the web pages with the same first-level domain name; reading a next-level domain name in the webpage domain names of the webpages in the same group, and dividing the webpages in the same group into at least one sub-group, wherein the same sub-group comprises the webpages with the same next-level domain name until the webpages in the same group are all divided; and displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
Description
Technical Field
The invention relates to the technical field of internet, in particular to a method and a device for controlling the display of a browser webpage window.
Background
With the development of internet technology, users often use various terminal devices to browse web pages, and in the process of browsing web pages of users, a plurality of web page windows are usually opened. In the prior art, a method for displaying a web page window of a browser generally displays the web page window according to a sequence in which a user opens a web page, for example, a mobile phone browser may display the web page window longitudinally in a card type according to the sequence in which the web page is opened, and may display a plurality of web page windows at the same time.
However, if a user opens multiple web page windows, especially opens multiple similar web pages at the same time, the browser web page window display method in the prior art may cause difficulty for the user to find, and may further cause the user to repeatedly open multiple identical web pages, thereby occupying more system resources.
Disclosure of Invention
In view of the above, the main objective of the present invention is to provide a method and an apparatus for controlling display of a web page window of a browser, so as to solve the technical problem in the prior art that it is difficult for a user to search for a web page window.
In order to solve the above problems, the technical scheme provided by the invention is as follows:
a method of controlling display of a browser web page window, the method comprising:
acquiring a webpage domain name of at least one webpage currently opened by a user;
reading a first-level domain name in the webpage domain names of the webpages, dividing the webpages into at least one group, wherein the same group comprises the webpages with the same first-level domain name;
reading a next-level domain name in the webpage domain names of the webpages in the same group, and dividing the webpages in the same group into at least one sub-group, wherein the same sub-group comprises the webpages with the same next-level domain name until the webpages in the same group are all divided;
and displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
Correspondingly, the acquiring a domain name of at least one webpage currently opened by the user includes:
when a query instruction of an opened webpage window triggered by a user is received, acquiring a webpage domain name of at least one webpage currently opened by the user.
Correspondingly, the displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group includes:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
Correspondingly, the webpage window displays the webpage abstract and/or the webpage domain name corresponding to the webpage as the content in the webpage window, or the webpage window displays the webpage thumbnail corresponding to the webpage as the content in the webpage window.
Correspondingly, the displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group includes:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
Correspondingly, the method further comprises the following steps:
the method comprises the steps that when a user opens a webpage every time, a webpage domain name of the webpage opened by the user currently is obtained;
reading each level of domain name in the domain names of the web pages of the currently opened web page step by step, and dividing the currently opened web page into one group, or dividing the currently opened web page into one group and then dividing the currently opened web page into one sub-group.
Correspondingly, the method further comprises the following steps:
and judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
An apparatus for controlling display of a browser web page window, the apparatus comprising:
the first acquisition unit is used for acquiring a webpage domain name of at least one webpage currently opened by a user;
the first division unit is used for reading a first-level domain name in the webpage domain names of the webpages, and dividing the webpages into at least one group, wherein the same group comprises the webpages with the same first-level domain name;
the second dividing unit is used for reading the next-level domain name in the domain names of the web pages in the same group, dividing the web pages in the same group into at least one sub-group, wherein the same sub-group comprises the web pages with the same next-level domain name until the web pages in the same group are divided;
the first display unit is used for displaying the webpage window groups corresponding to the webpages belonging to different groups;
and the second display unit is used for displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group.
Correspondingly, the first obtaining unit comprises:
the receiving subunit is used for receiving a query instruction of an opened webpage window triggered by a user;
the acquiring subunit is configured to acquire a web page domain name of at least one web page currently opened by the user when receiving a query instruction of an opened web page window triggered by the user.
Correspondingly, the second display unit is specifically configured to:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
Correspondingly, the webpage window displays the webpage abstract and/or the webpage domain name corresponding to the webpage as the content in the webpage window, or the webpage window displays the webpage thumbnail corresponding to the webpage as the content in the webpage window.
Correspondingly, the second display unit is specifically configured to:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
Correspondingly, the device further comprises:
the second acquisition unit is used for acquiring the webpage domain name of the webpage opened by the user at present when the user opens the webpage each time;
and the third dividing unit is used for reading each level of domain name in the domain names of the web pages of the currently opened web pages step by step, dividing the currently opened web pages into one group, or dividing the currently opened web pages into one group and then dividing the currently opened web pages into one sub-group.
Correspondingly, the device further comprises:
and the judging unit is used for judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
Therefore, the invention has the following beneficial effects:
according to the method and the device, the webpage domain names of the multiple webpages opened by the user at present are obtained, the webpage domains are divided according to the webpage domain names, and the webpage windows corresponding to the webpages under the same domain name are collected for display, so that the display mode of the multiple webpage windows of the browser is optimized, the user can search the webpage windows more quickly according to the domain names, and the efficiency is improved; in addition, the user can be prompted when the web pages with the same web page domain name exist, so that the situation that the user repeatedly opens a plurality of same web pages and occupies more system resources is avoided.
Drawings
FIG. 1 is a flowchart illustrating a first embodiment of a method for controlling display of a web page window of a browser according to an embodiment of the present invention;
FIG. 2 is a diagram illustrating a display result for controlling a browser web window to display according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a method for controlling display of a web page window of a browser according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating an embodiment of an apparatus for controlling display of a web page window of a browser according to the present invention;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below.
The invention discloses a method and a device for controlling the display of a browser webpage window, which aim at the technical problems that in the prior art, the webpage windows are generally displayed according to the sequence of opening the webpage by a user, if the user opens a plurality of webpage windows, the user can find the webpage windows difficultly, and further the user can possibly open a plurality of same webpages repeatedly and occupy more system resources.
The embodiment of the present invention will be described from the perspective of a device for controlling display of a browser web window, where the device for controlling display of a browser web window may be specifically integrated in a client, and the client may be loaded in a terminal, where the terminal may specifically be a smart phone, a tablet computer, an electronic book reader, an MP3 (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4 (Moving Picture Experts compression standard Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a laptop portable computer, a desktop computer, and the like.
Referring to fig. 1, a first embodiment of a method for controlling display of a browser webpage window in an embodiment of the present invention may include the following steps:
step 101: and acquiring the webpage domain name of at least one webpage currently opened by the user.
A user opens several web pages in a browser using a terminal, each opened web page has a web page domain name, for example, each web page has its specific URL (Uniform Resource Locator) as a web page domain name. In order to control the display of a browser webpage window according to a webpage domain name, the webpage domain name of one or more webpages currently opened by a user needs to be acquired first.
In some embodiments of the present invention, obtaining a domain name of at least one webpage currently opened by a user includes:
when a query instruction of an opened webpage window triggered by a user is received, acquiring a webpage domain name of at least one webpage currently opened by the user.
In this embodiment, when a query instruction of an opened web page window triggered by a user is received, a process of controlling display of the web page window of the browser may be started, for example, when the user clicks a button for querying the opened web page window in the browser using a mobile browser, a web page domain name of at least one web page currently opened by the user is started to be acquired, a subsequent process is performed, and the opened web page window is displayed and fed back to the user according to the method in the embodiment of the present invention.
Step 102: reading a first-level domain name in the domain names of the web pages, and dividing the web pages into at least one group, wherein the same group comprises the web pages with the same first-level domain name.
The primary domain name means that the domain name contains only one ". and" has a content field on the left, such as "baidu.com", specifically, the content of the primary domain name can be determined by reading the content field on the left of a domain name suffix, such as, com (commercial organization),. net (network center),. edu (educational organization),. gov (government department),. mil (military organization),. org (international organization), etc., traversing the primary domain name in the domain name of the web page of each currently opened web page, and dividing the web pages having the same primary domain name into the same group, so that the currently opened web page can be divided into a plurality of groups, and one or more web pages included in each group have the same primary domain name.
Step 103: reading the next-level domain name in the domain names of the web pages in the same group, dividing the web pages in the same group into at least one sub-group, wherein the web pages with the same next-level domain name are included in the same sub-group until the web pages in the same group are divided.
The web pages in the same group all have the same first-level domain name, then the second-level domain names of the web pages in the group are traversed, the web pages with the same second-level domain name are divided into a sub-group, in one sub-group, the next-level domain name can be continuously traversed by analogy, the web pages with the same next-level domain name are divided into one sub-group, and the web pages which are opened currently in the same group are divided into one sub-group. Each group is divided into a plurality of sub-groups which can be used as the basis for displaying the webpage window groups.
For example, if the domain names of the web pages in the first group all have the same first-level domain name "qq.com", the web pages in the group may be further divided into two subgroups, for example, a web page having the same second-level domain name "news. qq.com" and a web page having the same second-level domain name "music. qq.com", and the web pages in each subgroup may also be further divided, so that the web page windows under the same domain name may be gathered together and displayed by the group.
Step 104: and displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
In some embodiments of the present invention, specific implementation of displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group may include:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
The method includes displaying webpage window groups corresponding to different groups of webpages, displaying the webpage window groups according to sub-groups in each group, specifically, displaying a first-level domain name at the forefront end of the group in each group, and displaying the webpage only including the same domain name part of the sub-group at the forefront end of the sub-group in each sub-group. In practical application, a user clicks a button for querying an opened webpage window in a browser to obtain a display interface of the opened webpage window, and referring to fig. 2, in the embodiment of the present invention, webpages under the same domain name are grouped and displayed, so that the user can conveniently search and access.
In some embodiments of the present invention, the web page window displays the web page abstract and/or the web page domain name corresponding to the web page as the content in the web page window, or the web page window displays the web page thumbnail corresponding to the web page as the content in the web page window.
The display modes of the web page window may be various, including but not limited to displaying a web page summary (e.g., Tencent network, Baidu network) corresponding to the web page, displaying a web page domain name (e.g., qq.com, baidu.com) corresponding to the web page, displaying the web page summary and the web page domain name corresponding to the web page, or displaying a web page thumbnail corresponding to the web page, and may be flexibly set according to actual requirements.
In some embodiments of the present invention, displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group includes:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
Preferably, the web pages in each group including only the first-level domain name may be displayed at the head of the group in a manner of a web page thumbnail, and other web pages only display the web page summary and/or the web page domain name, so that the user can search the web pages more quickly.
Therefore, the webpage domain names of the multiple webpages opened by the user currently are acquired and divided according to the webpage domain names, the webpage windows corresponding to the webpages under the same domain name are collected and displayed, the display mode of the multiple webpage windows of the browser is optimized, the user can search the webpage windows more quickly according to the domain names, the efficiency is improved, and the waste of the operation process to system resources is reduced.
In some embodiments of the present invention, the method for controlling display of a browser webpage window in an embodiment of the present invention may further include:
and judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
In the process of controlling the display of the browser webpage window, the user can be prompted when the webpages with the same webpage domain name exist, so that the situation that the user repeatedly opens a plurality of same webpages and occupies more system resources is further avoided.
In some embodiments of the present invention, the method for controlling display of a browser webpage window in an embodiment of the present invention may further include:
the method comprises the steps that when a user opens a webpage every time, a webpage domain name of the webpage opened by the user currently is obtained;
reading each level of domain name in the domain names of the web pages of the currently opened web pages step by step, dividing the currently opened web pages into one group, or dividing the currently opened web pages into one group and then dividing the currently opened web pages into one sub-group.
After the user performs the process of controlling the display of the web page window of the browser at least once, namely after dividing the web page into at least one group and dividing the web page in the same group into at least one sub-group, when the user triggers the query instruction of the opened web page window again, if the traversing and grouping process of the web page domain names of a plurality of currently opened web pages is performed again, the problem of low efficiency exists, therefore, based on the grouping result of the last time, when the user opens a new web page, the web page domain name of the currently newly opened web page of the user can be obtained and the web page can be divided into one group, or the web page can be divided into one group and then a sub-group, so that when the user triggers the query instruction of the opened web page window again, the web page window groups corresponding to the web pages belonging to different groups can be displayed directly according to the grouping result, the webpage window groups corresponding to the webpages belonging to different sub-groups are displayed in the same group, so that the webpage domain names of all currently opened webpages do not need to be traversed again, and the calculation speed is improved.
Referring to fig. 3, a second embodiment of a method for controlling display of a browser webpage window in an embodiment of the present invention may include the following steps:
step 301: when a query instruction of an opened webpage window triggered by a user is received, acquiring a webpage domain name of at least one webpage currently opened by the user.
Step 302: reading a first-level domain name in the domain names of the web pages, and dividing the web pages into at least one group, wherein the same group comprises the web pages with the same first-level domain name.
Step 303: and reading the next-level domain name in the domain names of the web pages in the same group, and dividing the web pages in the same group into at least one sub-group, wherein the same sub-group comprises the web pages with the same next-level domain name.
Step 304: and displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
Step 305: and when the user opens the webpage every time, acquiring the webpage domain name of the webpage opened by the user currently.
Step 306: reading each level of domain name in the domain names of the web pages of the currently opened web pages step by step, dividing the currently opened web pages into one group, or dividing the currently opened web pages into one group and then dividing the currently opened web pages into one sub-group.
Step 307: and when a query instruction of opening the webpage window triggered by a user is received, directly displaying the webpage window groups corresponding to the webpages belonging to different groups according to a new grouping result, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
Similarly, in this embodiment, in each group, the web page window corresponding to the web page that only includes the first-level domain name may be displayed at the head of the group in which the group is located, and at the same time, the web page window may display a web page summary and/or a web page domain name corresponding to the web page as the content in the web page window, or the web page window may also display a web page thumbnail corresponding to the web page as the content in the web page window.
Therefore, the webpage domain names of the multiple webpages opened by the user at present are obtained and divided according to the webpage domain names, and the webpage windows corresponding to the webpages under the same domain name are collected for display, so that the display mode of the multiple webpage windows of the browser is optimized, the user can search the webpage windows more quickly according to the domain names, and the efficiency is improved; in addition, the user can be prompted when the web pages with the same web page domain name exist, so that the situation that the user repeatedly opens a plurality of same web pages and occupies more system resources is avoided.
Referring to fig. 4, an embodiment of an apparatus for controlling display of a browser web page window in an embodiment of the present invention may include:
a first obtaining unit 401, configured to obtain a domain name of at least one webpage currently opened by a user.
A user opens several web pages in a browser using a terminal, each opened web page has a web page domain name, for example, each web page has its specific URL (Uniform Resource Locator) as a web page domain name. In order to control the display of a browser webpage window according to a webpage domain name, the webpage domain name of one or more webpages currently opened by a user needs to be acquired first.
In some embodiments of the present invention, the first obtaining unit may include:
the receiving subunit is used for receiving a query instruction of an opened webpage window triggered by a user;
the acquiring subunit is configured to acquire a web page domain name of at least one web page currently opened by the user when receiving a query instruction of an opened web page window triggered by the user.
Specifically, when a query instruction of an opened web page window triggered by a user is received, a process of controlling display of the web page window of the browser is started, for example, when the user clicks a button for querying the opened web page window in the browser by using a mobile browser, a web page domain name of at least one currently opened web page of the user is started to be acquired, a subsequent process is performed, and the opened web page window is displayed and fed back to the user according to the method in the embodiment of the present invention.
The first dividing unit 402 is configured to read a first-level domain name in domain names of web pages of a web page, and divide the web page into at least one group, where the same group includes web pages with the same first-level domain name.
And traversing the first-level domain name in the domain names of the web pages of the currently opened web pages, and dividing the web pages with the same first-level domain name into the same group, so that the currently opened web pages can be divided into a plurality of groups, and one or more web pages in each group have the same first-level domain name.
The second dividing unit 403 is configured to read a next domain name in the domain names of the web pages in the same group, and divide the web pages in the same group into at least one sub-group, where the same sub-group includes web pages with the same next domain name until the web pages in the same group are all divided.
The web pages in the same group all have the same first-level domain name, then the second-level domain names of the web pages in the group are traversed, the web pages with the same second-level domain name are divided into a sub-group, in one sub-group, the next-level domain name can be continuously traversed by analogy, the web pages with the same next-level domain name are divided into one sub-group, and the web pages which are opened currently in the same group are divided into one sub-group. Each group is divided into a plurality of sub-groups which can be used as the basis for displaying the webpage window groups.
A first display unit 404, configured to display a webpage window group corresponding to webpages belonging to different groups.
A second display unit 405, configured to display a webpage window group corresponding to webpages belonging to different sub-groups in the same group.
In some embodiments of the present invention, the second display unit may be specifically configured to: and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
In some embodiments of the present invention, the web page window may display a web page summary and/or a web page domain name corresponding to the web page as content in the web page window, or the web page window may also display a web page thumbnail corresponding to the web page as content in the web page window.
As such, in some embodiments of the invention, the second display unit may be specifically configured to: and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
That is, the web page window groups corresponding to the web pages in different groups are displayed, each group can display the web page window groups according to the sub-group, the first-level domain name can be displayed at the head end of the group in each group, and each sub-group can display the web pages only including the same domain name part of the sub-group at the head end of the group. The display modes of the web page window can be various, including but not limited to displaying a web page abstract corresponding to a web page, displaying a web page domain name corresponding to the web page, displaying a web page abstract and a web page domain name corresponding to the web page, or displaying a web page thumbnail corresponding to the web page, and can be flexibly set according to actual requirements.
Preferably, the web pages in each group including only the first-level domain name may be displayed at the head of the group in a manner of a web page thumbnail, and other web pages only display the web page summary and/or the web page domain name, so that the user can search the web pages more quickly.
In some embodiments of the present invention, the apparatus for controlling display of a browser webpage window in an embodiment of the present invention may further include:
and the judging unit is used for judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
In the process of controlling the display of the browser webpage window, the user can be prompted when the webpages with the same webpage domain name exist, so that the situation that the user repeatedly opens a plurality of same webpages and occupies more system resources is further avoided.
In some embodiments of the present invention, the apparatus for controlling display of a browser webpage window in an embodiment of the present invention may further include:
the second acquisition unit is used for acquiring the webpage domain name of the webpage opened by the user at present when the user opens the webpage each time;
and the third division unit is used for reading each level of domain name in the domain names of the web pages of the currently opened web pages step by step, and dividing the currently opened web pages into one group, or dividing the currently opened web pages into one group and then dividing the currently opened web pages into one sub-group.
After the user performs the process of controlling the display of the web page window of the browser at least once, namely after dividing the web page into at least one group and dividing the web page in the same group into at least one sub-group, when the user triggers the query instruction of the opened web page window again, if the traversing and grouping process of the web page domain names of a plurality of currently opened web pages is performed again, the problem of low efficiency exists, therefore, based on the grouping result of the last time, when the user opens a new web page, the web page domain name of the currently newly opened web page of the user can be obtained and the web page can be divided into one group, or the web page can be divided into one group and then a sub-group, so that when the user triggers the query instruction of the opened web page window again, the web page window groups corresponding to the web pages belonging to different groups can be displayed directly according to the grouping result, the webpage window groups corresponding to the webpages belonging to different sub-groups are displayed in the same group, so that the webpage domain names of all currently opened webpages do not need to be traversed again, and the calculation speed is improved.
Therefore, the webpage domain names of the multiple webpages opened by the user at present are obtained and divided according to the webpage domain names, and the webpage windows corresponding to the webpages under the same domain name are collected for display, so that the display mode of the multiple webpage windows of the browser is optimized, the user can search the webpage windows more quickly according to the domain names, and the efficiency is improved; in addition, the user can be prompted when the web pages with the same web page domain name exist, so that the situation that the user repeatedly opens a plurality of same web pages and occupies more system resources is avoided.
Accordingly, an embodiment of the present invention further provides a terminal, as shown in fig. 5, the terminal may include a Radio Frequency (RF) circuit 501, a memory 502 including one or more computer-readable storage media, an input unit 503, a display unit 504, a sensor 505, an audio circuit 506, a Wireless Fidelity (WiFi) module 507, a processor 508 including one or more processing cores, and a power supply 509. Those skilled in the art will appreciate that the terminal structure shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 501 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information of a base station and then sending the received downlink information to the one or more processors 508 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 501 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 501 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 502 may be used to store software programs and modules, and the processor 508 executes various functional applications and data processing by operating the software programs and modules stored in the memory 502. The memory 502 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 502 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 502 may also include a memory controller to provide the processor 508 and the input unit 503 access to the memory 502.
The input unit 503 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in one particular embodiment, the input unit 503 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means 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 508, and can receive and execute commands sent by the processor 508. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 503 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices 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.
The display unit 504 may be used to display information input by or provided to the user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 504 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 508 to determine the type of touch event, and then the processor 508 provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 5 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 505, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one type of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, can be used for applications for identifying the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration identification related functions (such as pedometer and knocking) and the like, and can be further configured with a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor and other sensors, which are not described herein again.
Audio circuitry 506, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 506 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into a sound signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, which is received by the audio circuit 506 and converted into audio data, which is then processed by the audio data output processor 508, and then transmitted to, for example, another terminal via the RF circuit 501, or the audio data is output to the memory 502 for further processing. The audio circuit 506 may also include an earbud jack to provide communication of peripheral headphones with the terminal.
WiFi belongs to short-distance wireless transmission technology, and the terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 507, and provides wireless broadband internet access for the user. Although fig. 5 shows the WiFi module 507, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 508 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile phone. Optionally, processor 508 may include one or more processing cores; preferably, the processor 508 may integrate an application processor, which primarily handles operating systems, user interfaces, application programs, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 508.
The terminal also includes a power supply 509 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 508 via a power management system that may be used to manage charging, discharging, and power consumption. The power supply 509 may also include any component such as one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 508 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 502 according to the following instructions, and the processor 508 runs the application programs stored in the memory 502, thereby implementing various functions:
acquiring a webpage domain name of at least one webpage currently opened by a user;
reading a first-level domain name in the webpage domain names of the webpages, dividing the webpages into at least one group, wherein the same group comprises the webpages with the same first-level domain name;
reading a next-level domain name in the webpage domain names of the webpages in the same group, and dividing the webpages in the same group into at least one sub-group, wherein the same sub-group comprises the webpages with the same next-level domain name until the webpages in the same group are all divided;
and displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
Correspondingly, the acquiring a domain name of at least one webpage currently opened by the user includes:
when a query instruction of an opened webpage window triggered by a user is received, acquiring a webpage domain name of at least one webpage currently opened by the user.
Correspondingly, the displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group includes:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
Correspondingly, the webpage window displays the webpage abstract and/or the webpage domain name corresponding to the webpage as the content in the webpage window, or the webpage window displays the webpage thumbnail corresponding to the webpage as the content in the webpage window.
Correspondingly, the displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group includes:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
Correspondingly, after dividing the web pages into at least one group and dividing the web pages in the same group into at least one sub-group, the method further comprises the following steps:
the method comprises the steps that when a user opens a webpage every time, a webpage domain name of the webpage opened by the user currently is obtained;
reading each level of domain name in the domain names of the web pages of the currently opened web page step by step, and dividing the currently opened web page into one group, or dividing the currently opened web page into one group and then dividing the currently opened web page into one sub-group.
Correspondingly, the method also comprises the following steps:
and judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
Therefore, the webpage domain names of the multiple webpages opened by the user at present are obtained and divided according to the webpage domain names, and the webpage windows corresponding to the webpages under the same domain name are collected for display, so that the display mode of the multiple webpage windows of the browser is optimized, the user can search the webpage windows more quickly according to the domain names, and the efficiency is improved; in addition, the user can be prompted when the web pages with the same web page domain name exist, so that the situation that the user repeatedly opens a plurality of same web pages and occupies more system resources is avoided.
It should be noted that, in the present specification, the embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments may be referred to each other. For the system or the device disclosed by the embodiment, the description is simple because the system or the device corresponds to the method disclosed by the embodiment, and the relevant points can be referred to the method part for description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method for controlling display of a browser web page window, the method comprising:
when a query instruction of an opened webpage window triggered by a user is received, acquiring a webpage domain name of at least one webpage currently opened by the user;
reading a first-level domain name in the webpage domain names of the webpages, dividing the webpages into at least one group, wherein the same group comprises the webpages with the same first-level domain name;
reading a next-level domain name in the webpage domain names of the webpages in the same group, and dividing the webpages in the same group into at least one sub-group, wherein the same sub-group comprises the webpages with the same next-level domain name until the webpages in the same group are all divided;
displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group;
the method comprises the steps that when a user opens a webpage every time, a webpage domain name of the webpage opened by the user currently is obtained;
reading each level of domain name in the domain names of the web pages of the currently opened web page step by step, and dividing the currently opened web page into one group, or dividing the currently opened web page into one group and then dividing the currently opened web page into one sub-group;
and when a query instruction of opening the webpage window, which is triggered by the user again, is received, directly displaying the webpage window groups corresponding to the webpages belonging to different groups, and displaying the webpage window groups corresponding to the webpages belonging to different subgroups in the same group.
2. The method according to claim 1, wherein the displaying the groups of web page windows corresponding to the web pages belonging to different subgroups in the same group comprises:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
3. The method according to claim 1 or 2, wherein the web page window displays a web page summary and/or a web page domain name corresponding to the web page as the content in the web page window, or displays a web page thumbnail corresponding to the web page as the content in the web page window.
4. The method according to claim 3, wherein the displaying the groups of web page windows corresponding to the web pages belonging to different subgroups in the same group comprises:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
5. The method of claim 1, further comprising:
and judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
6. An apparatus for controlling display of a browser web page window, the apparatus comprising:
the first acquisition unit is used for acquiring the webpage domain name of at least one webpage currently opened by a user when receiving a query instruction of an opened webpage window triggered by the user;
the first division unit is used for reading a first-level domain name in the webpage domain names of the webpages, and dividing the webpages into at least one group, wherein the same group comprises the webpages with the same first-level domain name;
the second dividing unit is used for reading the next-level domain name in the domain names of the web pages in the same group, dividing the web pages in the same group into at least one sub-group, wherein the same sub-group comprises the web pages with the same next-level domain name until the web pages in the same group are divided;
the first display unit is used for displaying the webpage window groups corresponding to the webpages belonging to different groups;
the second display unit is used for displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group;
the second acquisition unit is used for acquiring the webpage domain name of the webpage opened by the user at present when the user opens the webpage each time;
the third dividing unit is used for reading each level of domain name in the domain names of the web pages of the currently opened web pages step by step, dividing the currently opened web pages into one group, or dividing the currently opened web pages into one group and then dividing the currently opened web pages into one sub-group;
the first display unit is also used for directly displaying the webpage window groups corresponding to the webpages belonging to different groups when receiving the inquiry instruction of the opened webpage window triggered by the user again;
and the second display unit is also used for directly displaying the webpage window groups corresponding to the webpages belonging to different sub-groups in the same group when receiving the inquiry instruction of opening the webpage window triggered by the user again.
7. The apparatus according to claim 6, wherein the second display unit is specifically configured to:
and displaying the webpage window corresponding to the webpage only comprising the first-level domain name at the head of the group, and displaying the webpage window groups corresponding to other webpages belonging to different sub-groups in the group.
8. The apparatus according to claim 6 or 7, wherein the web page window displays a web page summary and/or a web page domain name corresponding to a web page as the content in the web page window, or displays a web page thumbnail corresponding to a web page as the content in the web page window.
9. The apparatus according to claim 8, wherein the second display unit is specifically configured to:
and displaying the web pages only comprising the first-level domain names by taking the web page thumbnails corresponding to the web pages as the first positions of the content in the web page window, and displaying other web pages belonging to different sub-groups in the group by taking the web page summaries corresponding to the web pages and/or the web page domain names as the content groups in the web page window.
10. The apparatus of claim 6, further comprising:
and the judging unit is used for judging whether the web pages with the same web page domain name exist or not, and if so, displaying prompt information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410036500.0A CN104809121B (en) | 2014-01-24 | 2014-01-24 | Method and device for controlling display of browser webpage window |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410036500.0A CN104809121B (en) | 2014-01-24 | 2014-01-24 | Method and device for controlling display of browser webpage window |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104809121A CN104809121A (en) | 2015-07-29 |
CN104809121B true CN104809121B (en) | 2019-12-27 |
Family
ID=53693949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410036500.0A Active CN104809121B (en) | 2014-01-24 | 2014-01-24 | Method and device for controlling display of browser webpage window |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104809121B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105354279A (en) * | 2015-10-30 | 2016-02-24 | 小米科技有限责任公司 | Webpage displaying method and apparatus |
CN111324787B (en) * | 2018-12-14 | 2023-06-23 | 北京沃东天骏信息技术有限公司 | Method and device for displaying block chain data in block chain browser |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033942A (en) * | 2010-12-21 | 2011-04-27 | 广州市动景计算机科技有限公司 | Mobile communication equipment terminal-based tag display management method and system |
CN102902784A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Web page classification storage system and method |
CN102902791A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Webpage sorted storage system and method |
CN102902788A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Automatic grouping system and method for browser webpage label |
CN102902796A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | System and method for automatically grouping web tags of browser |
CN102937996A (en) * | 2012-11-26 | 2013-02-20 | 北京奇虎科技有限公司 | Browser tab management system and method |
CN102945167A (en) * | 2012-11-26 | 2013-02-27 | 北京奇虎科技有限公司 | Method and system for managing explorer tags |
CN103020207A (en) * | 2012-12-06 | 2013-04-03 | 优视科技有限公司 | Browser label page grouping management method and device |
CN103324669A (en) * | 2013-05-20 | 2013-09-25 | 北京奇虎科技有限公司 | Method and client for processing web page bookmark |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9495453B2 (en) * | 2011-05-24 | 2016-11-15 | Microsoft Technology Licensing, Llc | Resource download policies based on user browsing statistics |
-
2014
- 2014-01-24 CN CN201410036500.0A patent/CN104809121B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102033942A (en) * | 2010-12-21 | 2011-04-27 | 广州市动景计算机科技有限公司 | Mobile communication equipment terminal-based tag display management method and system |
CN102902784A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Web page classification storage system and method |
CN102902791A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Webpage sorted storage system and method |
CN102902788A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | Automatic grouping system and method for browser webpage label |
CN102902796A (en) * | 2012-09-29 | 2013-01-30 | 北京奇虎科技有限公司 | System and method for automatically grouping web tags of browser |
CN102937996A (en) * | 2012-11-26 | 2013-02-20 | 北京奇虎科技有限公司 | Browser tab management system and method |
CN102945167A (en) * | 2012-11-26 | 2013-02-27 | 北京奇虎科技有限公司 | Method and system for managing explorer tags |
CN103020207A (en) * | 2012-12-06 | 2013-04-03 | 优视科技有限公司 | Browser label page grouping management method and device |
CN103324669A (en) * | 2013-05-20 | 2013-09-25 | 北京奇虎科技有限公司 | Method and client for processing web page bookmark |
Non-Patent Citations (1)
Title |
---|
"妙用QQ浏览器的智能分组功能";林丽华;《技巧与实践》;20100630;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104809121A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111984165B (en) | Method and device for displaying message and terminal equipment | |
US9344838B2 (en) | Data transmission method and apparatus, and terminal with touch screen | |
CN106775637B (en) | Page display method and device for application program | |
CN105786878B (en) | Display method and device of browsing object | |
CN106331213B (en) | A kind of domain name system DNS processing method and processing device | |
CN106708496B (en) | Processing method and device for label page in graphical interface | |
US10019414B2 (en) | Method and device for processing web page content | |
CN108156508B (en) | Barrage information processing method and device, mobile terminal, server and system | |
CN104123276B (en) | The hold-up interception method of pop-up, device and system in a kind of browser | |
US10956653B2 (en) | Method and apparatus for displaying page and a computer storage medium | |
CN105302452B (en) | Operation method and device based on gesture interaction | |
CN107145386B (en) | Data migration method, terminal device and computer readable storage medium | |
CN106156097B (en) | Method and device for processing browser input records | |
TW201502986A (en) | Apparatus, system and method of showing notifications of web browser application | |
WO2015003636A1 (en) | Method and device for interception of page elements | |
JP2017509051A (en) | Method and system for collecting statistics on streaming media data and associated apparatus | |
US10298590B2 (en) | Application-based service providing method, apparatus, and system | |
CN105227598B (en) | Resource sharing method, device and system based on cloud storage | |
CN103607377B (en) | Information sharing method, Apparatus and system | |
JP6915074B2 (en) | Message notification method and terminal | |
CN106682189B (en) | File name display method and device | |
CN105095161B (en) | Method and device for displaying rich text information | |
CN105631059B (en) | Data processing method, data processing device and data processing system | |
WO2015014138A1 (en) | Method, device, and equipment for displaying display frame | |
CN105094872B (en) | A kind of method and apparatus showing web application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20221206 Address after: 1402, Floor 14, Block A, Haina Baichuan Headquarters Building, No. 6, Baoxing Road, Haibin Community, Xin'an Street, Bao'an District, Shenzhen, Guangdong 518000 Patentee after: Shenzhen Yayue Technology Co.,Ltd. Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |