Web page display control method and client
By setting a threshold for the number of web pages and a grouping display method in the browser, the problems of unclear display of multiple web pages and high resource consumption in the browser are solved, and the web page information is displayed in an organized manner and can be operated conveniently.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING REYUAN NETWORK CULTURE MEDIA CO LTD
- Filing Date
- 2025-08-28
- Publication Date
- 2026-04-10
AI Technical Summary
When multiple web pages are displayed, existing browsers have limited toolbar information, making it difficult to clearly display web page information. They also lack the function of closing web pages in batches, resulting in high resource consumption, heavy system load, and inconvenience for users.
By setting a threshold for the number of web pages to display, the web pages are grouped and displayed according to their domain names and content relevance. Different group information is displayed using the browser's top and bottom toolbars, and the groups are dynamically updated based on user click behavior. It also supports partial display of web page information and batch closing.
It improves the clarity of web page information display and browsing efficiency, reduces resource consumption, and enhances user operation convenience and system response speed.
Smart Images

Figure CN120744258B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of visual control technology, in particular to a webpage display control method and a client. BACKGROUND
[0002] The existing browser displays the content of the currently opened webpage in the browser window when displaying the webpage, specifically, the theme and other information of the webpage are displayed in the toolbar at the top of the browser in the order of the opening of the webpage, so as to realize the display management of the webpage.
[0003] However, when the user searches information intensively, a large number of webpages need to be opened, and the position for displaying the information of each webpage in the toolbar at the top of the browser is limited, so the webpage information cannot be displayed clearly, and when the number of opened webpages reaches a certain number, only "http: / / " can be displayed in the toolbar, and the information after that cannot be displayed, so the display function of the toolbar is useless.
[0004] In addition, in the existing browser display method, if the user closes the webpages in batches, the browser window needs to be closed directly, so that all the webpages are closed; if a certain type of webpage needs to be closed, when the toolbar cannot display effective and complete webpage information, the opened webpages need to be checked one by one, the content of the webpage is displayed in the window of the browser, and then it is decided whether to close the webpage. The existing browser does not have the function of closing part of the webpages in batches.
[0005] Finally, in the process of intensive information search, the user usually opens the same webpage due to the search habit and the guidance of the search purpose, especially when the same domain name is searched for the required second-level domain name, third-level domain name, etc. If the first search does not find the required domain name, the webpage clicking path in the second search process often intersects with the first search, so that the same webpage is opened repeatedly in the multiple query work, and in the case of too many webpages, the user cannot realize that the currently opened webpage has been clicked, which leads to large consumption of browser resources, heavy system burden and slow response. SUMMARY
[0006] To solve the problems in the prior art, the present application provides a webpage display control method, which comprises the following steps:
[0007] Step S1: setting a webpage number display threshold n;
[0008] Step S2: continuously receiving the opened webpage of the user, and displaying the webpage information in the toolbar at the top of the browser;
[0009] Step S3: when the number of opened webpages reaches n+1, the webpages are grouped,
[0010] the webpages with the same domain name, or with the same level domain name or content-related are grouped into at least one first group;
[0011] the webpages with neither the same domain name nor the same level domain name nor content-related are grouped into at least one second group;
[0012] the number of webpages in each group is no more than n;
[0013] Step S4: the grouping information of all the first groups and the second groups is displayed in the lower toolbar of the browser;
[0014] the webpage content of the currently opened webpage of the user is displayed in the middle window of the browser;
[0015] based on the currently opened webpage of the user and the clicking behavior of the user on the first group or the second group, part of the webpage information is displayed in the upper toolbar of the browser.
[0016] In the first group, any one webpage and at least one of the other webpages in the group have the same domain name, or have the same level domain name, or are content-related.
[0017] In the step S4, based on the currently opened webpage of the user and the clicking behavior of the user on the first group or the second group, part of the webpage information is displayed in the upper toolbar of the browser.
[0018] If the user does not perform the clicking operation on the first group or the second group, the group to which the currently opened webpage of the user belongs is obtained, and the webpage information of all the webpages in the group to which the currently opened webpage of the user belongs is displayed in the upper toolbar of the browser;
[0019] If the user performs the clicking operation on the first group or the second group, the clicked first group or second group is obtained, and the webpage information of all the webpages in the clicked first group or second group and the webpage information of the currently opened webpage of the user are displayed in the upper toolbar of the browser.
[0020] Further comprising step S5: when the user continues to open the webpage, the current first group and the second group are updated.
[0021] The step S5 comprises:
[0022] Step S51: the newly opened webpage of the user is determined as the current webpage;
[0023] Step S52, sequentially take out a first group as a current group, if the first group has been traversed, then jump to step S55;
[0024] Step S53, judge whether the current webpage can be grouped into the current group: if yes, then execute step S54, if no, then jump to step S52;
[0025] Step S54, judge whether the number of webpages in the current group is less than n: if yes, then divide the current webpage into the current group, and end; if no, then judge whether there is a removable webpage in the current group: if yes, then remove the removable webpage from the current group, divide the current webpage into the current group, and end; if no, then jump to step S52;
[0026] Step S55, sequentially take out a second group as a current group, if the second group has been traversed, then jump to step S57;
[0027] Step S56, judge whether there is a target webpage in the current group:
[0028] If yes, then newly create a first group, divide the current webpage and the target webpage into the newly created first group, and end;
[0029] If no, then jump to step S55;
[0030] Step S57: judge whether there is a second group with the number of webpages less than n: if yes, then divide the current webpage into one of the second groups with the number of webpages less than n, and end; if no, then newly create a second group, divide the current webpage into the newly created second group, and end.
[0031] In the step S53, the method for judging whether the current webpage can be grouped into the current group is: judging whether there is a webpage with the same domain name as the current webpage, or with the same level domain name or content related webpage in the current group, if yes, then the current webpage can be grouped into the current group, if no, then the current webpage cannot be grouped into the current group;
[0032] In the step S56, the method for judging whether there is a target webpage in the current group is: judging whether there is a webpage with the same domain name as the current webpage, or with the same level domain name or content related webpage in the current group, if yes, then there is a target webpage in the current group, if no, then there is no target webpage in the current group.
[0033] In the step S54, the method for judging whether there is a removable webpage in the current group includes:
[0034] If there is a webpage with the same domain name as the current webpage in the current group, then judge {x | x ∈ BUC, and x A is empty, if not empty, there is a removable web page; if empty, there is no removable web page;
[0035] If there is a web page with the same level domain name as the current web page in the current group, then judge {x | x ∈ C, and x B is empty, if not empty, there is a removable web page; if empty, there is no removable web page;
[0036] If there is only a web page related to the content of the current web page in the current group, there is no removable web page;
[0037] Wherein, A is the set of web pages with the same domain name in the current group, B is the set of web pages with the same level domain name in the current group, and C is the set of web pages related to the content of the current group.
[0038] Wherein, in step S54, after removing the removable web page from the current group, it is taken as the next current web page, and steps S51 to S57 are executed to redivide the group.
[0039] Wherein, when the user drags the cursor from the first position in the upper toolbar of the browser to the second position in the lower toolbar of the browser, the grouping of the corresponding web page is updated according to the user's drag behavior by the following method:
[0040] The web page corresponding to the web page information displayed at the first position is determined as the web page to be updated;
[0041] The group corresponding to the group information displayed at the second position is determined as the group to be updated;
[0042] The web page to be updated is removed from the group to which it belongs, and is divided into the group to be updated.
[0043] The application further provides a client for implementing the web page display control method of any one of the above.
[0044] The application groups the web pages according to the domain name and content of the web pages, and updates the group in real time based on the web pages continuously opened by the user, at the same time, by constructing the set of web pages with the same domain name, the set of web pages with the same level domain name and the set of web pages related to the content of the web pages, the grouping is updated with a purpose and pertinence, on the basis of considering the relevance of the web pages in the existing group, the web pages with high relevance are divided into the same group as far as possible, which is beneficial to the user to review the web page information and provides a logical guidance for the information retrieval work of the user. BRIEF DESCRIPTION OF DRAWINGS
[0045] Figure 1 The web page grouping browser display interface of embodiment 1 of the application.
[0046] Figure 2 The web page grouping after browsing browser display interface of the embodiment 2 of the present application.
[0047] Figure 3 The logic flow chart of the present application based on the newly opened web page of the user for grouping update.
[0048] Figure 4 The web page grouping update after browsing browser display interface of the embodiment 3 of the present application.
[0049] Figure 5 The display interaction after browsing browser display interface of the embodiment 4 of the present application.
[0050] Figure 6a The grouping interaction before browsing browser display interface of the embodiment 5 of the present application.
[0051] Figure 6b The grouping interaction after browsing browser display interface of the embodiment 5 of the present application.
[0052] Figure 7a The batch closing interaction before browsing browser display interface of the embodiment 6 of the present application.
[0053] Figure 7b The batch closing interaction after browsing browser display interface of the embodiment 6 of the present application.
[0054] Figure 8a The batch closing interaction before browsing browser display interface of the embodiment 7 of the present application.
[0055] Figure 8b The batch closing interaction after browsing browser display interface of the embodiment 7 of the present application. DETAILED DESCRIPTION
[0056] In order to have further understanding of the technical solutions and beneficial effects of the present application, the technical solutions and the beneficial effects thereof will be described in detail below with reference to the drawings.
[0057] In order to solve the situation that the display information is not complete, the points are wrong, and the query is difficult due to the user opening multiple web pages in the prior art, the present application provides a web page display control method, and the core technical concept thereof is that when the number of opened web pages exceeds a certain number, the web pages are grouped, and the grouping information is displayed in the lower toolbar of the browser; in the upper toolbar of the browser, based on the currently opened web pages of the user and the selection behavior of the user for the web page grouping, only part of the web page information is displayed, so that the display of the web page information is targeted, and the user is helped to logically browse the web pages and search information.
[0058] I. Determination of initial grouping
[0059] In the present application, assuming that the set web page number display threshold is 5, when the user opens the first 5 web pages, the web page information is displayed in the upper toolbar of the browser, and when the user opens the 6th web page, the grouping operation of the web page is performed. The grouping principle is: web pages with the same domain name, or with the same level domain name or content related are divided into at least one first group; web pages that do not have the same domain name, nor have the same level domain name, and the content is not related to any other web page are divided into at least one second group; the number of web pages in each group does not exceed 5.
[0060] In the present application, the so-called "web pages with the same domain name, with the same level domain name or content related are divided into at least one first group" means that in the first group, any one web page and at least one of the other web pages in the group it belongs to have the same domain name, or have the same level domain name, or have content related.
[0061] In the present application, the so-called "have the same domain name" means that the web page URL addresses are completely the same, which is equivalent to the user opening two completely same web pages in succession and placing them in the same group, which is also conducive to reminding the user to close the duplicate web pages in time and release resources.
[0062] In the present application, the so-called "have the same level domain name" means that the web page URL addresses are different but the fields left of the first "." are completely the same, that is, the first level domain names corresponding to the same level domain name web pages are the same, in which case the same level domain name web pages are most likely to point to the same kind or the same information needed by the user, and placing them in the same group is also conducive to the user's management of the web pages.
[0063] In the present application, the so-called "content related" is determined comprehensively by the keyword set and the tag set of the web page, which will be described in detail later; in addition, under the premise that the web pages have the same domain name or have the same level domain name, the content related judgment is not performed; that is, when two web pages have the same domain name or have the same level domain name, the contents of the two web pages are not related. Embodiment 1
[0064] Suppose the user opens 6 web pages in succession-web page 1, web page 2, web page 3, web page 4, web page 5 and web page 6, wherein the domain names of web page 1 and web page 6 are the same, web page 1 has the same level domain name with web page 2 and web page 3, web page 3 has content related with web page 4, and web page 5 does not have the same domain name or the same level domain name or content related with all other web pages, therefore, web page 1-web page 4 and web page 6 are divided into a first group a, and web page 5 is divided into a second group a; as Figure 1As shown, the group information of the first group a and the second group a is displayed in the lower toolbar of the browser, and the webpage information of all the webpages in the first group a to which the webpage 6 belongs is displayed in the upper toolbar of the browser, because the webpage 6 is the webpage currently opened by the user. Figure 1 In the middle JWP6, the webpage content of the webpage 6 currently opened is represented.
[0065] In the present application, the webpage information displayed in the upper toolbar of the browser refers to the webpage title, which is replaced by the webpage number (webpage 1, webpage 2, …) in the figure.
[0066] In the present application, the group information displayed in the lower toolbar of the browser can be generated by a text generation model by integrating the webpage titles of all the webpages in the group, which is represented by the group number (the first group a, the second group a, …) in the figure.
[0067] It is not difficult to understand that, when the initial groups are determined, the display order of the first group a and the second group b, and the display order of the webpages in the first group a and the second group b are determined according to the opening time of the webpages in the first group a and the second group b: in the first group a in the present embodiment 1, the display order of the webpages in the upper toolbar of the browser is webpage 1, webpage 2, webpage 3, webpage 4 and webpage 6; and correspondingly, the first group a is displayed in the lower toolbar of the browser before the second group a. Embodiment 2
[0068] Suppose that the user opens the 6 webpages in turn-webpage 1', webpage 2', webpage 3', webpage 4', webpage 5' and webpage 6', wherein webpage 1' and webpage 2' and webpage 6' have the same level domain name; webpage 3' and webpage 4' are content-related, and webpage 3' and webpage 4' and other webpages do not have the same domain name or the same level domain name or content-related, in addition, webpage 5' and other webpages do not have the same domain name or the same level domain name or content-related, therefore, webpage 1', webpage 2' and webpage 6' are classified into a first group a', webpage 3' and webpage 4' are classified into a first group b', and webpage 5' is classified into a second group a'; as shown, Figure 2 As shown, the group information of the first group a', the first group b' and the second group a' is displayed in the lower toolbar of the browser, and the webpage information of all the webpages in the first group a' to which the webpage 6' belongs is displayed in the upper toolbar of the browser, because the webpage 6' is the webpage currently opened by the user. Figure 2 In the middle JWP6', the webpage content of the webpage 6' currently opened is represented.
[0069] II. Update of webpage groups when opening a webpage
[0070] As the user continues to open new web pages, it is necessary to continuously group the newly opened web pages. First, for the existing web page group, the following concepts are agreed upon: A is a set of web pages in the current group that have the same domain name, B is a set of web pages in the current group that have the same level domain name, and C is a set of web pages in the current group that have content-related web pages.
[0071] In addition, when determining the group, the principle followed is that any one web page and at least one other web page in the group it belongs to have the same domain name, or have the same level domain name, or have content-related web pages, and can be classified into the same group. Therefore, in actual implementation, there may be some web pages that have the same level domain name as some other web pages, and are content-related to another other web page. Therefore, there may be overlapping between sets A, B, and C. When updating the web page group, in order not to break the existing stable group state, the following concepts are additionally agreed upon:
[0072] (BUC-A) represents the set {x | x ∈ BUC, and x A}, which means the set of web pages that belong to set B or C but not to set A;
[0073] (B-A) represents the set {x | x ∈ B, and x A}, which means the set of web pages that belong to set B but not to set A;
[0074] (C-B) represents the set {x | x ∈ C, and x B}, which means the set of web pages that belong to set C but not to set B;
[0075] (C-B-A) represents the set {x | x ∈ C, and x B, and x A}, which means the set of web pages that belong to set C but not to set B or set A.
[0076] Finally, as shown in Figure 3 , according to the above agreements, the method for updating the group based on the newly opened web page of the user is as follows:
[0077] 1. Determine the newly opened web page of the user as the current web page;
[0078] 2. Traverse the first group. If the first group has been traversed, go to step 7. If the first group has not been traversed, take one first group in order from it as the current group;
[0079] 3. Determine whether the current web page can be grouped into the current group (i.e., whether there is a web page in the current group that has the same domain name as the current web page, or has the same level domain name, or is content-related): if yes, go to step 4; if no, go to step 2.
[0080] 4. Determine whether the number of web pages in the current group is less than n. If yes, divide the current web page into the current group and end the process. If no, execute step 5.
[0081] 5. Determine whether there is a web page with the same domain name as the current web page in the current group.
[0082] If not, execute step 6.
[0083] If yes, determine whether {x | x e BUC and x A} is empty: if empty, jump to step 2; if not empty, randomly take a web page from the set {x | x e C and x B and x A} as a removable web page, or randomly take a web page from the set {x | x e B and x A} as a removable web page, and divide the current web page into the current group and end the process.
[0084] Note:
[0085] (1) The case that {x | x e BUC and x A} is empty is equivalent to the web page set in the current group all belongs to set A, that is, all web pages in this group have the same domain name. In actual operation, this case is almost impossible to occur, but in order to avoid system response to the corresponding logic in extreme cases, this judgment logic is added.
[0086] (2) If {x | x e BUC and x A} is not empty, preferentially take a removable web page from the set {x | x e C and x B and x A}, that is, take a web page from the content-related web page set, and when taking, do not destroy the web page set with the same level domain name and the web page set with the same domain name. Only in the case that {x | x e C and x B} is empty (this case is similar to the case that there is no content-related web page in the current group), take a removable web page from the set {x | x e B and x A}, that is, when there is no content-related web page in the current group, take a web page from the web page set with the same level domain name and remove it, and when taking, do not destroy the web page set with the same domain name.
[0087] In summary, the technical connotation of the step is that when the current opened webpage is the same as a webpage in the current group, the current webpage is preferentially divided into the current group, and the webpage with the same level domain name or the content-related webpage in the current group can give way to the current webpage, so that the current webpage is divided into the group with the greatest correlation as possible, and the orderliness of the group is ensured.
[0088] 6. judging whether there is a webpage with the same level domain name as the current webpage in the current group,
[0089] (1) if not, it indicates that the current webpage only has content-related relationship with the webpage in the current group, in which case, the layout of the current group is not destroyed, and step 2 is jumped to, the next first group is traversed, and the suitable group for the current webpage is continued to be found;
[0090] (2) if yes, it is judged whether the set {x | x e C, and x B} is empty:
[0091] if empty, it indicates that the content-related webpage set in the current group is empty (i.e. the webpages in the current group at least have the same level domain name or even the same domain name), and it is unnecessary to destroy the state of the current group for a newly opened webpage with the same level domain name as the webpage in the current group, so step 2 is jumped to, the next first group is traversed, and the suitable group for the current webpage is continued to be found;
[0092] if not empty, a webpage is randomly taken out from the set {x | x e C, and x B, and x A} as a removable webpage, and the current webpage is divided into the current group and the process is ended;
[0093] 7. the second group is traversed, if the second group has been traversed, step 9 is jumped to, if not, a second group is taken out from the second group in order as the current group;
[0094] 8. judging whether there is a target webpage in the current group (i.e. whether there is a webpage with the same domain name, or with the same level domain name or content-related webpage in the current group):
[0095] if yes, a first group is newly built, the current webpage and the target webpage are divided into the newly built first group, and the process is ended;
[0096] if not, step 7 is jumped to;
[0097] 9. judging whether there is a second group with less than n web pages, if there is, the current web page is divided into one of the second groups with less than n web pages, if not, a new second group is created, the current web page is divided into the new second group, and the process ends.
[0098] Finally, in step 5 or step 6, if there is a removable web page, the removed web page is taken as the next current web page, and steps 1-9 are repeated to re-divide the groups.
[0099] Therefore, the present application divides web pages according to the domain names and contents of the web pages, and updates the groups in real time based on the web pages that are continuously opened by the user, while at the same time, by constructing web page sets with the same domain names, web page sets with the same level domain names, and web page sets related to the contents of the web pages, the groups are updated with a purpose and pertinence, on the basis of considering the relevance of the web pages in the existing groups, the web pages with high relevance are divided into the same group as much as possible, which is beneficial to the user to review the web page information, and provides a logical guidance for the information retrieval work of the user. Embodiment 3:
[0100] On the basis of embodiment 1, first, it is determined that in embodiment 1, set A=(web page 1, web page 6), set B=(web page 1, web page 2, web page 3), and set C=(web page 3, web page 4).
[0101] Then, it is assumed that the user opens web page 7, and web page 7 has the same level domain name as web page 3, and the above-mentioned web page grouping update method is executed as follows:
[0102] 1. web page 7 is determined as the current web page;
[0103] 2. the first group a is traversed, and the first group a is taken as the current group;
[0104] 3. web page 7 has the same level domain name as web page 3 in the current group, therefore, web page 7 can be grouped into the first group a, and step 4 is executed;
[0105] 4. the number of web pages in the first group a is 5, which does not satisfy the condition of being less than the threshold 5, and step 5 is executed;
[0106] 5. there is no web page in the first group a that has the same domain name as web page 7, and step 6 is executed;
[0107] 6. there is a web page in the first group a that has the same level domain name as web page 7, at this time, it is judged whether {x | x e C, and x B} is empty:
[0108] Set (C-B) = (webpage 4), not empty, randomly take webpage 4 from set (C-B-A) to remove webpage 4 from the first group a, divide webpage 7 into the first group a and end the process, Figure 4 The browser display interface is updated for webpage grouping, Figure 4 JWP7 in the middle represents the webpage content of the currently opened webpage 7.
[0109] For webpage 4 removed from the first group a, it is taken as the next current webpage, and steps 1-9 are re-executed thereon to re-divide the group as follows:
[0110] At this time, the set A of the first group a = (webpage 1, webpage 6), the set B = (webpage 1, webpage 2, webpage 3, webpage 7), and the set C = (empty);
[0111] 1. Determine webpage 4 as the current webpage;
[0112] 2. Traverse the first group a, and take the first group a as the current group;
[0113] 3. Webpage 4 is related to the content of webpage 3 in the current group, satisfying the grouping condition, and step 4 is executed;
[0114] 4. The number of webpages in the first group a is 5, which does not satisfy the condition of being less than the threshold 5, and step 5 is executed;
[0115] 5. There is no webpage in the first group a that has the same domain name as webpage 4, and step 6 is executed;
[0116] 6. There is no webpage in the first group a that has the same level domain name as webpage 4, and step 2 is jumped to;
[0117] 7. The first group has been traversed, and the second group is traversed, taking the second group a as the current group;
[0118] 8. Webpage 5 in the second group a does not have the same domain name as webpage 4, does not have the same level domain name, and the content is not related, the number of webpages in the second group a is 1, which is less than the threshold 5, webpage 4 is divided into the second group a, and the process is ended.
[0119] In the present application, without special limitation, when the current webpage is divided into the relevant first group or the second group, it is divided in the corresponding position of the group according to the order in which the current webpage is opened. In addition, without special limitation, the newly created webpage group is divided at the end position of the existing webpage group.
[0120] III. Update of webpage grouping when closing the webpage
[0121] As described above, generally, the first group or the second group is built in sequence, and when the number of web pages in the group reaches the upper limit number 5, the next group is automatically created. In actual operation, the user can also close the web pages in the web page group whose number of web pages meets the upper limit number 5, resulting in the dispersion of the web page group. In this case, the first group or the second group needs to be combined to ensure that the number of web pages that can be displayed in each group reaches the upper limit number n as much as possible, avoid the dispersion of the web page group, and ensure that the group continues to play a role.
[0122] 1. Set a merging threshold r, which is obtained by dividing the web page display threshold n by 2 and taking the integer part downward. In this embodiment, it is 2.
[0123] 2. When it is monitored that the number of web pages in two or more first groups is less than the merging threshold r, in sequence, two first groups whose number of web pages is less than the merging threshold r are taken according to the building order of the first group, and the two taken first groups are determined as a prior first group and a subsequent first group according to their building order: when any one web page in the prior first group and any one web page in the subsequent first group have the same domain name, or have the same level domain name or content related, all web pages in the subsequent first group are merged into the prior first group according to the opening order, and the resources in the subsequent first group are released.
[0124] 3. When it is monitored that the number of web pages in two or more second groups is less than the merging threshold r, in sequence, two second groups are taken according to the building order of the second group, and the two taken second groups are determined as a prior second group and a subsequent second group according to their building order, and all web pages in the subsequent second group are directly merged into the prior second group according to the opening order, and the resources in the subsequent second group are released.
[0125] Four, interaction of web page groups
[0126] (I) display interaction Embodiment 4:
[0127] In the present application, as shown in embodiment 2, when the user only opens the web page 6', the web page information of all web pages (web page 1', web page 2' and web page 6') in the first group a' to which the web page 6' belongs is displayed in the upper toolbar of the browser; then, if the user wants to check the web page information in the first group b' and performs a click operation on the display position of the group information of the first group b', the current web page (i.e. the web page 6') and the web page information of all web pages (web page 3' and web page 4') in the first group b' are displayed in the upper toolbar of the browser.
[0128] Specifically, the browser displays the information of the currently opened webpage and all webpages within the first clicked group b' in the order they were opened in the browser's top toolbar. The final browser interface looks like this. Figure 5 As shown.
[0129] In this invention, normally, the webpage most recently opened by the user is the currently opened webpage. Only when the user clicks on a display location of webpage information is the webpage corresponding to the clicked display location determined as the currently opened webpage: for example... Figure 5 If the user clicks on the display position of webpage 4', then webpage 4' will be designated as the currently opened webpage. At this time, the webpage information of webpages 3' and 4' will be displayed in the upper toolbar of the browser, and the webpage content of webpage 4' will be displayed in the middle window of the browser.
[0130] (ii) Group interaction Example 5:
[0131] In this invention, if a user needs to adjust the webpage groups according to their actual needs, they can do so by dragging the webpage information or group information with the cursor, as in Example 4. Figure 6a As shown, if a user needs to move webpage 4' to the second group a', they can click the cursor at the webpage information display position of webpage 4' and drag the cursor to the group information display position of the second group a'. Then, releasing the cursor, the browser server will move webpage 4' to the second group a'. After webpage 4' is moved to the second group a', only webpage 3' remains in the first group b'. The webpage information of the current webpage (i.e., webpage 6') and the webpage information of all webpages (webpage 3') in the first group b' will be displayed in the browser's top toolbar in the order they were opened. The final browser display interface is as follows: Figure 6b As shown.
[0132] Similarly, if a user needs to move all web pages in the first group b' to the second group a' in batches, they can click the cursor at the group information display position of the first group b', drag the cursor to the group information display position of the second group a', and then release the cursor. The browser server will then move all web pages in the first group b' to the second group a' and release the resources of the first group b'.
[0133] It should be noted that in this case, since the user groups the web pages according to their own needs, in order to facilitate the user's operation, the number of web pages in the second group a' to which the web pages need to be divided does not need to be limited to the threshold of 5.
[0134] (iii) Other
[0135] In actual web page search and browsing, after users have learned about a certain type of information, they need to close the relevant web pages one by one. The purpose of this invention in grouping and displaying web pages should not only be limited to making it easier for users to browse web pages in an organized manner, but also to further realize the function of batch management.
[0136] If the closed operation targets a webpage whose content is displayed in the browser's middle window, then after the closed operation, the most recently opened webpage will be selected from the remaining webpages and its content will be displayed in the browser's middle window as the currently opened webpage.
[0137] Obviously, after the close operation is performed, the web page information displayed in the browser's top toolbar should also be adjusted. The adjustment principle is as described above: based on the web page currently opened by the user and the user's click behavior on the group, display part of the web page information. Example 6:
[0138] As shown in Example 3, Figure 7a and Figure 7b As shown, when a user clicks "close" at the group information display location of the first group a, the browser server retrieves all webpage links within the first group a (webpage links of webpage 1, webpage 2, webpage 3, webpage 4, and webpage 7) and releases all webpage link resources within the first group a to achieve the purpose of closing similar webpages in batches.
[0139] At this point, webpage 7, which displays webpage content in the browser's middle window, is also closed. Therefore, from the remaining webpages 5 and 4, the most recently opened webpage 5 is selected, and its content is displayed in the browser's middle window as the currently opened webpage. Furthermore, the webpage information of webpages 5 and 4, belonging to the second group a to which the currently opened webpage 5 belongs, is displayed in the browser's top toolbar. The final browser display interface is as follows: Figure 7b As shown, Figure 7b JWP5 represents the content of the currently opened webpage 5. Example 7:
[0140] As shown in Example 4, Figure 8a and Figure 8b As shown, when a user clicks "close" at the group information display position of the first group a', the browser server retrieves all webpage links (webpage links of webpage 1', webpage 2', and webpage 6') within the first group a' and releases all webpage link resources within the first group a' to achieve the purpose of closing similar webpages in batches.
[0141] At this time, the web page 6' displaying the web page content in the middle window of the browser is also closed, then the web page 5' opened by the user last time is selected from the remaining web pages 3', 4' and 5', and the web page 5' is displayed as the currently opened web page in the middle window of the browser, Figure 8b The middle JWP5' represents the web page content of the currently opened web page 5'.
[0142] In the embodiment 4, the user selects the first group b', the web page information of the currently opened web page 5' and the information of all the web pages in the first group b' selected by the user (i.e. the web pages 3' and 4') should be displayed in the upper toolbar of the browser, finally the web page information of the web pages 3', 4' and 5' is displayed in the upper toolbar of the browser, and the display interface of the browser is as shown in Figure 8b
[0143] In the present application, the interaction between the first and third parts and the user is realized by monitoring the clicking event of the user cursor in the specific position by the browser server, and the monitoring of the interaction event is performed when the browser server monitors the clicking operation of the user cursor in the specific position of the upper toolbar or the lower toolbar of the browser.
[0144] In the present application, a chain table about the web page groups is maintained, the chain table maintains the attribute information of all the first groups and the second groups in turn according to the construction order of the web page groups, the attribute information is the construction order of the first group or the second group, and the link and the group entry order of all the web pages in the first group and the second group; at the same time, a chain table of the web page display information is maintained, the chain table maintains the attribute information of the web pages displayed in the upper toolbar of the browser in turn according to the order, the attribute information includes the display order of the web page link and the web page information. Based on the chain table of the web page groups and the chain table of the web page display information, the web page group information displayed in the lower toolbar of the browser and the position interval of each web page group information, and the web page information displayed in the upper toolbar of the browser and the position interval of each web page information can be determined, and the specific web page or web page group pointed by the clicking behavior of the user can be determined through the position interval, so as to respond to the interactive operation of the user on the web page groups.
[0145] Thus, the grouping interaction method provided by the application improves the implementation flexibility by allowing the user to set the grouping according to his / her own needs on the premise that the browser automatically groups the web pages for the user. Meanwhile, the user can perform batch deletion operation, group merging operation, etc. on the opened web pages by grouping the web pages. Since the web pages in the group are related to the web pages of the same level domain name or the content-related web pages, the user usually needs to batch close the web pages related to the same level domain name or the content-related web pages after obtaining a certain type of information. Therefore, the setting of batch deletion or batch group merging according to the grouping greatly improves the operation convenience of the user and avoids the user from mistakenly closing other unnecessary web pages due to habitual operation when deleting a type of web pages, thereby providing guidance for the user to perform systematic and targeted search work.
[0146] V. Determination of content-related web pages
[0147] In the application, the method for determining whether the contents of two web pages are related is as follows:
[0148] 1. Determine two web pages as a first web page and a second web page respectively.
[0149] 2. Obtain a first keyword vector set and a first label vector set of the first web page.
[0150] The first keyword vector set is represented as follows: {α1 A 1, α2 A 2, … α m A m};
[0151] The first label vector set is represented as follows: {β1 B 1, β2 B 2, … β o B o};
[0152] Wherein, A 1, A 2, … A m represents a keyword vector in the first web page, and the keyword vector is obtained based on the keywords in the first web page theme; α1, α2, … α m respectively represent the appearance frequency of the keywords corresponding to the keyword vectors, which is directly represented as the number of appearances in the application; and subscript m represents the number of keyword vectors. A 1, A 2, … A m
[0153] B 1,B 2、… B o denotes a label vector in the first webpage, the label vector being obtained based on labels set by a historical user in a collection operation of the first webpage; β1, β2, … β o respectively denote label vectors B 1、 B 2、… B o the frequency of occurrence of the corresponding label, which is directly represented as the number of occurrences in the present application; the subscript o represents the number of label vectors.
[0154] 3, obtaining a second keyword vector set and a second label vector set of a second webpage;
[0155] The second keyword vector set is represented as follows: {γ1 C 1, γ2 C 2, … γ p C p};
[0156] The second label vector set is represented as follows: {δ1 D 1, δ2 D 2, … δ q D q};
[0157] wherein, C 1、 C 2、… C p denotes a keyword vector in the second webpage, the keyword vector being obtained based on keywords in a theme of the second webpage; γ1, γ2, … γ p respectively denote keyword vectors C 1、 C 2、… C p the frequency of occurrence of the corresponding keyword, which is directly represented as the number of occurrences in the present application; the subscript p represents the number of keyword vectors;
[0158] D 1、 D 2、… D q denotes a label vector in the second webpage, the label vector being obtained based on labels set by a historical user in a collection operation of the second webpage; δ1, δ2, … δ q respectively denote label vectors D 1、 D 2、… D qThe frequency of occurrence of the corresponding label is directly represented as the number of occurrences in the present application; the subscript q represents the number of label vectors.
[0159] 4. A first keyword vector is obtained based on the first keyword vector set, and a first label vector is obtained based on the first label vector set. Specifically, the first keyword vector is obtained by the following formula:
[0160] A = ;
[0161] B = ;
[0162] wherein, A and B respectively represent the first keyword vector and the first label vector. That is, the first keyword vector is obtained by multiplying all keyword vectors in the first keyword vector set by the corresponding frequency values and then performing a bitwise summation. Similarly, the first label vector is obtained by multiplying all label vectors in the first label vector set by the corresponding frequency values and then performing a bitwise summation.
[0163] 5. A second keyword vector is obtained based on the second keyword vector set, and a second label vector is obtained based on the second label vector set. Specifically, the second keyword vector is obtained by the following formula:
[0164] C = ;
[0165] D = ;
[0166] wherein, C and D respectively represent the second keyword vector and the second label vector. That is, the second keyword vector is obtained by multiplying all keyword vectors in the second keyword vector set by the corresponding frequency values and then performing a bitwise summation. Similarly, the second label vector is obtained by multiplying all label vectors in the second label vector set by the corresponding frequency values and then performing a bitwise summation.
[0167] 6. The cosine similarity value of the first keyword vector and the second keyword vector is calculated as a first cosine similarity value, and the cosine similarity value of the first label vector and the second label vector is calculated as a second cosine similarity value. Based on the first cosine similarity value and the second cosine similarity value, the cosine similarity value of the first web page and the second web page is determined by the following formula. When the value is greater than a predetermined threshold, it is determined that the first web page and the second web page are content-related:
[0168] E = + ;
[0169] wherein, respectively represent the first cosine similarity value and the second cosine similarity value, E is the cosine similarity value of the first webpage and the second webpage.
[0170] Therefore, since the word vector information in the webpage theme and the webpage label is significantly less than the webpage content itself, the application can quickly determine the vector related to the webpage content through the acquisition of the keywords in the webpage theme and the webpage label in the historical user collection operation, and perform webpage content relevance calculation based on the vector; at the same time, when determining the final cosine similarity value, the weight ratio of the keyword vector and the label vector in determining the final cosine similarity is calculated by the sum of the keyword frequency and the sum of the label frequency in the two webpages, so that the cosine similarity value calculation result is closer to the actual information of the webpage; in addition, the keyword frequency remains unchanged in the case of determining the webpage theme, while the label frequency continuously increases as the webpage is collected by more and more users, so the introduction of the label vector is equivalent to providing a calibration correction mechanism, which makes the calculated cosine similarity value more and more accurate through the historical user operation behavior.
[0171] Six, display background rendering
[0172] As known from the above description, the application displays the webpages in groups, so that the actual display cannot ensure that the webpages are displayed in the order of opening. In order to facilitate the user to determine the opening time of the webpage, the application also provides a method for rendering the webpage information display background, as follows:
[0173] determining whether there is a webpage with the same domain name as the webpage that has been opened last time in the opened webpages:
[0174] if there is, obtaining the RGB channel value of the webpage with the same domain name as the webpage that has been opened last time, determining the RGB channel value as the RGB channel value of the webpage that has been opened last time, and rendering the webpage information rendering background of the webpage that has been opened last time based on the RGB channel value;
[0175] if there is not, determining the RGB channel value of the webpage that has been opened last time based on the following method:
[0176] 1. obtaining the opening time of the webpage that has been opened last time: T1 hours and T2 minutes, wherein T1 hours adopts 24-hour time system;
[0177] 2. determining the RGB channel value of the webpage that has been opened last time based on the formula (60 T1+T2) 256 / (24 60)=0.186 (60 T1+T2) determines a channel brightness value, and determines the channel brightness value as the brightness value of the three RGB channels, determines the background color of the webpage information of the webpage opened last time based on the determined RGB channel value, and performs background rendering on the webpage information of the webpage opened last time.
[0178] The above technology is characterized in that: the background when rendering the webpage information display is based on the 24-hour time system, the RGB channel value corresponding to the time of the last moment of a day (24:00) is set as the brightest, and the channel values of the rest of the time are determined according to the proportional relationship between the webpage opening time and the time of the last moment, in this way, as the webpage is gradually opened, the background of the webpage information display gradually brightens, and the user can intuitively determine the opening order of the webpage; in addition, if there is a webpage that is repeatedly opened, the background is directly rendered according to the RGB channel value of the webpage that has been opened before and repeated, in this way, when the background rendering of a webpage that is just opened is not brighter than the previous webpage, it is known that the webpage that is repeated is opened at this time, and the effect of timely reminding the user is also achieved, avoiding the repeated opening of the webpage in the process of mass information retrieval, and the burden on the browser is reduced.
[0179] Although the present application has been described by using the above preferred embodiments, it is not intended to limit the protection scope of the present application, and any person skilled in the art can make various changes and modifications to the above embodiments without departing from the spirit and scope of the present application, which are still within the protection scope of the present application, therefore, the protection scope of the present application is defined by the claims.
Claims
1. A method of controlling display of a web page, characterized by, The method comprises the following steps: Step S1: setting a webpage number display threshold n; Step S2: continuously receiving the webpages opened by the user and displaying the webpage information in the upper toolbar of the browser; Step S3: when the number of the webpages opened by the user reaches n+1, grouping the webpages, grouping the webpages with the same domain name or the same level domain name or the content-related webpages into at least one first group; grouping the webpages which do not have the same domain name or the same level domain name or the content-related webpages into at least one second group; the number of the webpages in each group is not more than n; Step S4: displaying the grouping information of all the first groups and the second groups in the lower toolbar of the browser; displaying the webpage content of the currently opened webpage in the middle window of the browser; displaying the webpage information of the currently opened webpage and all the webpages in the first group or the second group clicked by the user in the upper toolbar of the browser; Step S5: when the user continues to open the webpages, updating the current first group and the second group, comprising: Step S51: determining the newly opened webpage of the user as the current webpage; Step S52: sequentially taking out a first group as the current group, and if the first group has been traversed, jumping to step S55; Step S53: judging whether the current webpage can be grouped into the current group: if yes, executing step S54, and if no, jumping to step S52; Step S54: judging whether the number of the webpages in the current group is less than n: if yes, grouping the current webpage into the current group and ending; if no, judging whether there is a removable webpage in the current group: if yes, removing the removable webpage from the current group, grouping the current webpage into the current group and ending; if no, jumping to step S52; the method for judging whether there is a removable webpage in the current group comprises: If there is a web page with the same domain name as the current web page in the current group, then determine whether {x | x e BUC and x A} is empty. If not, there is a removable web page. If empty, there is no removable web page. If there is a web page with the same level domain name as the current web page in the current group, then determine whether {x | x e C and x B} is empty. If not, there is a removable web page. If empty, there is no removable web page. if there is only a webpage related to the content of the current webpage in the current group, there is no removable webpage; wherein A is the set of the webpages with the same domain name in the current group, B is the set of the webpages with the same level domain name in the current group, and C is the set of the webpages related to the content in the current group; Step S55: sequentially taking out a second group as the current group, and if the second group has been traversed, jumping to step S57; Step S56: judging whether there is a target webpage in the current group: if yes, creating a first group, grouping the current webpage and the target webpage into the created first group, and ending; if no, jumping to step S55; Step S57: judging whether there is a second group with the number of the webpages less than n: if yes, grouping the current webpage into one of the second groups with the number of the webpages less than n, and ending; if no, creating a second group, grouping the current webpage into the created second group, and ending; when the user drags the cursor from the first position in the upper toolbar of the browser to the second position in the lower toolbar of the browser, the grouping of the corresponding webpage is updated according to the dragging behavior of the user by the following method: determining the webpage corresponding to the webpage information displayed at the first position as the webpage to be updated; determining the group corresponding to the group information displayed at the second position as the group to be updated; removing the webpage to be updated from the group to which it belongs and dividing it into the group to be updated.
2. The Web page display control method of claim 1, wherein: In the first group, any webpage has at least one of the same domain name, or the same level domain name, or content-related with other webpages in the group to which it belongs.
3. The Web page display control method of claim 1, wherein: In the step S53, the method for determining whether the current webpage can be grouped into the current group is: determining whether there is a webpage in the current group having the same domain name, or the same level domain name, or content-related with the current webpage, if yes, the current webpage can be grouped into the current group, if not, the current webpage cannot be grouped into the current group. In the step S56, the method for determining whether there is the target webpage in the current group is: determining whether there is a webpage in the current group having the same domain name, or the same level domain name, or content-related with the current webpage, if yes, there is the target webpage in the current group, if not, there is no target webpage in the current group.
4. The webpage display control method of claim 1, wherein: In the step S54, after removing the removable webpage from the current group, the removable webpage is taken as the next current webpage, and steps S51 to S57 are executed for the removable webpage to re-divide the group for the removable webpage.
5. A client, characterized by: A webpage display control method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Browser web page window display control method and device
CN104809121A
Display device, server and browser label classification method
CN118467864A