WO2022127423A1 - Webpage display method and apparatus, and storage medium and electronic device - Google Patents
Webpage display method and apparatus, and storage medium and electronic device Download PDFInfo
- Publication number
- WO2022127423A1 WO2022127423A1 PCT/CN2021/128626 CN2021128626W WO2022127423A1 WO 2022127423 A1 WO2022127423 A1 WO 2022127423A1 CN 2021128626 W CN2021128626 W CN 2021128626W WO 2022127423 A1 WO2022127423 A1 WO 2022127423A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- portal
- webpage
- window
- web page
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 77
- 238000004590 computer program Methods 0.000 claims description 8
- 230000000694 effects Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 22
- 230000008569 process Effects 0.000 description 15
- 238000012545 processing Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 7
- 238000004891 communication Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000017105 transposition Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
Definitions
- the present application relates to the field of computer technology, and in particular, to a web page display method, apparatus, storage medium and electronic device.
- Web browsers can help people search for all kinds of information on the Internet, which makes people's lives more convenient. Many times people need to search for different information at the same time, and each time they need to open a new web browser. window, so today's web browsers can display different search information simultaneously in the same browser window by setting tabs.
- an embodiment of the present application provides a web page display method, the method includes:
- an embodiment of the present application provides a web page display device, the device comprising:
- a portal label matching module for obtaining portal label information that matches the webpage identification information of the target webpage
- an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
- FIG. 2 is a schematic flowchart of a web page display method provided by an embodiment of the present application.
- FIG. 4a is an example schematic diagram of adding portal label information provided by an embodiment of the present application.
- 4b is an exemplary schematic diagram of a portal bar display provided by an embodiment of the present application.
- 4c is an exemplary schematic diagram of a target webpage displayed in a portal window provided by an embodiment of the present application.
- FIG. 4d is an exemplary schematic diagram of obtaining a historical browsing webpage of a target number according to an embodiment of the present application.
- FIG. 4e is an exemplary schematic diagram of a portal window switching provided by an embodiment of the present application.
- FIG. 6 is a schematic structural diagram of a web page display device provided by an embodiment of the present application.
- FIG. 7 is a schematic structural diagram of a window switching module provided by an embodiment of the present application.
- FIG. 8 is a schematic structural diagram of a historical webpage adding module provided by an embodiment of the present application.
- FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
- a plurality means two or more.
- “And/or”, which describes the association relationship of the associated objects means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone.
- the character “/” generally indicates that the associated objects are an "or" relationship.
- the web browser in the prior art can display different search information simultaneously in the same browser window by setting tab pages, but when the user opens multiple tab pages at the same time, it is easy to cause the title or icon on the tab pages to be displayed incorrectly. Completely, if a user wants to find a certain tab page, he can only click on all the tab pages in turn or search for the content of the tab page again, which wastes time and affects the use effect of the web browser.
- the browser window and the portal window in the embodiments of the present application are both windows opened from a web browser, and the web browser is software that communicates between a terminal device and the Internet, and can display files in a web server or a file system , and allow users to interact with these files, web browsers are used to display text, images and other information in the Internet or local area network, such as IE browser (Internet Explorer), the browser window is the network
- IE browser Internet Explorer
- the main page of the browser also known as the home page, is generally the first window displayed when the web browser is opened.
- the main page can be a medium used by users to access other modules of the website, and can provide important pages of the website and links to new articles, and may have a search box for users to search for relevant information.
- Both the portal window and the browser window can display web pages.
- FIG. 1 An example diagram of a form with multiple tabs.
- the form in Figure 1 shows the webpage of webpage A, and the labels of other webpages are in the tab bar of the form. Users can click "Webpage B" or "Webpage C". " to switch the web page displayed in the form to web page B or web page C.
- This embodiment discloses a web page display method, including:
- the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- the web page display method when an opening operation for a target web page is detected in the browser window, before acquiring the web page identification information of the target web page, the web page display method provided by this embodiment further includes the following process: Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
- control the display interface When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
- the historical browsing webpage in the portal webpage collection is added to the portal window, and the webpage identification information of the historical browsing webpage matches the portal label information.
- the historical browsing web pages of the target number are displayed in the portal window.
- the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
- the web page display method provided by this embodiment further includes the following processes:
- the display interface is controlled to switch from the portal window to the browser window.
- the web page display method provided by this embodiment It also includes the following processes:
- the display interface is controlled to display a selection window.
- the web page display method provided in this embodiment further includes the following process:
- the portal window is transferred to the background to run.
- FIG. 2 is a schematic flowchart of a method for displaying a webpage according to an embodiment of the present application. As shown in FIG. 2 , the method in this embodiment of the present application may include the following steps S101-S103.
- the way the user opens the target web page includes, but is not limited to, searching through the search box of the browser, selecting the target web page in the browser's historical browsing records, or sending voice commands, etc.
- the webpage display device can detect the opening operation of the browser window for the target webpage. At this time, the webpage display device will obtain the webpage identification information of the target webpage, and the webpage identification information is information that can represent the characteristics of the target webpage, including but not It is limited to the main domain name of the target web page, the keywords entered by the user when searching the target web page, etc.
- the portal label information is information that can represent the characteristics of the portal window, or information that represents the characteristics of the webpage displayed in the portal window.
- the portal label information and the webpage identification information are in a corresponding relationship.
- the webpage display device can confirm that the portal label information and the webpage identification information match.
- the webpage display apparatus obtains the webpage identification information of the target webpage, the webpage display apparatus searches for the portal tag information that matches the webpage identification information in the portal tag information set saved locally by the terminal device, the web browser or the webpage display apparatus. .
- the portal tag information set can also be bound with the user's login information on the web browser and stored in the cloud. When the user logs in to the browser with the login information, the cloud sends the portal tag information set to the web browser.
- control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- the webpage display device controls the display interface to switch from the browser window to the portal window corresponding to the portal tab information.
- the portal window corresponding to the portal tab information may not have been created, and the webpage display device will create all
- the portal form and the control display interface are switched from the browser form to the portal form.
- the portal form can be created and run in the background before, and the web page display device will display the portal form.
- the body adjusts to the foreground and controls the display interface to be switched from the browser window to the portal window.
- a target web page is displayed in the portal window, and similarly, a label of the target web page can be added to the label bar of the portal window.
- the webpage identification information of the target webpage is obtained, and the portal label information matching the webpage identification information of the target webpage is obtained.
- the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- FIG. 3 is a schematic flowchart of a method for displaying a webpage according to an embodiment of the present application. As shown in FIG. 3 , the method in this embodiment of the present application may include the following steps S201-S208.
- the portal label information can be added by the user or relevant management personnel, and the web page display device will display an input box for adding portal label information on the web browser, and the user or relevant management personnel can input a portal label in the input box Information web address information.
- FIG. 4a provides an example schematic diagram of adding portal label information to this embodiment of the present application.
- the user can click the setting option in the browser window, select it with the mouse in the setting option list, and click "" Add "Portal Tag” option, the web page display device can control the browser window to pop up an input box for the user to input the web page address containing the portal tag information.
- the webpage display device can obtain the portal label information corresponding to the webpage address information in the webpage address information.
- the portal label information includes but is not limited to the main domain name of the target webpage, the keywords entered by the user when searching the target webpage, etc., which can be displayed on the webpage.
- the webpage display device After the webpage display device acquires the portal label information, it will display the portal label information in the portal bar of the browser window, and the portal bar can be at the top, bottom or other specified positions of the browser window, or can be combined with
- the web page labels in the browser window are displayed side by side, and can also be distinguished from the web page labels in color, size or font.
- the display position and style of the portal bar and the name of the portal label information in the portal bar can be the initial settings of the web page display device. It can also be set and saved by the user or related staff in the web page display transposition or in the web browser, or the user's login information on the web browser is bound and saved in the cloud. When the user uses the login information When logging in to the browser, the cloud sends the settings to the web browser.
- the portal label information includes, but is not limited to, the main domain name of the target web page, the keyword entered by the user when searching the target web page, etc.
- the portal label information is the keyword input by the user when searching the target web page, the user or related work
- personnel can enter keywords in the input box.
- the entered keywords can be one or more, which can be separated by commas, semicolons and other punctuation marks.
- the webpage display device will display the keywords according to the punctuation marks. The symbol distinguishes the input keywords into multiple ones, and displays the target web page satisfying any one of the keywords in the portal window corresponding to the portal label information.
- S203 Determine whether portal label information matching the webpage identification information of the target webpage is obtained.
- the webpage display device searches the portal label information set for portal label information that matches the webpage identification information of the target webpage, and the portal label information set can be saved in the local storage of the web browser or the webpage display device. can also be bound with the user's login information on the web browser and stored in the cloud.
- the cloud will send the portal tag information set to the web browser, and the portal tag information set will be sent to the web browser.
- Including all portal tag information displayed in the browser window that is, users or related staff can change the portal tag information collection by adding portal tag information in the browser window and synchronize it to the cloud, or users or related staff can change the set of portal tag information by adding portal tag information in the browser window.
- the portal label information set saved on the cloud is changed on the cloud, where the cloud is a cloud server corresponding to the web browser and stores a large number of user data of the web browser.
- the webpage display device obtains the portal label information matching the webpage identification information of the target webpage, that is, the webpage display device finds the portal label information matching the webpage identification information in the portal label information set, then execute S205 .
- the webpage display device fails to find portal label information matching the webpage identification information in the portal label information set, the target webpage cannot be opened in the portal bar, so the webpage display device displays the target webpage It is displayed in the browser window, and the webpage tag of the target webpage is displayed in the browser window.
- the webpage identification device will determine whether the number of webpages of the webpage displayed in the browser window at this time is not Less than the quantity threshold, the displayed webpage is the webpage currently being displayed in the browser window, or it may be a webpage with a webpage tag in the browser window, and the quantity threshold may be the webpage display device.
- the initial settings can also be set by the user or related personnel in the web page display device or web browser and saved in the web page display device, or can be bound with the user's login information on the web browser and saved in the cloud. When logging into the browser with the login information, the cloud sends the quantity threshold to the web browser or the web page display device.
- the target webpage is displayed based on the browser window.
- the webpage display device when the number of displayed webpages in the browser window is less than the number threshold, the webpage display device will display the target webpage in the browser window, and display the target webpage in the browser window.
- the page label of the target page is displayed in the label bar.
- the web page display device can display all the pages in the browser window.
- the webpage with the same webpage identification information as the target webpage, or the webpage identification information and the webpage identification information of the target webpage with the same matching portal identification information are switched to be displayed in the portal window, and these webpages are deleted.
- the webpage tab in the tab bar of the browser window displays the webpage tab in the tab bar of the portal tab. Please refer to FIG. 4c , which provides an example schematic diagram of displaying a target webpage in a portal window for an embodiment of the application.
- the web page display device may obtain a portal page set corresponding to the portal label information, where the portal page set is the web page identifier information and
- the collection of historically browsed webpages that match the portal label information the webpage display device will be based on the priority of each historically browsed webpage in the portal webpage set, for example, the webpage display device can be based on the historical browsing webpages in the web browser.
- the number of times of opening and the total opening time are used to determine the priority of each historically browsed webpage. The more times or the longer the total time, the higher the priority.
- the priority can also be determined according to the most recent opening time of the historically browsed webpage. The closer the most recent opening time is.
- the target number of historically browsed web pages are obtained in the portal web page set according to the priority from high to low, and then the target number of historically browsed web pages are displayed in the portal window.
- the target number may be the initial setting of the web page display device, or may be set and saved by the user or related staff in the web page display device or the web browser.
- FIG. 4d provides an example schematic diagram of obtaining a historically browsed web page of a target number according to an embodiment of the application.
- the web page display device determines the priority based on the number of times the historically browsed web page is opened, and the target number is 3.
- the webpage display device When the webpage "XXXX F" is opened in the portal window corresponding to the label information "XXXX", the webpage display device will select the webpage "XXXX A", the webpage "XXXX B" and the webpage "XXXX C" with the top three priorities before switching to the selected webpage. When the portal window is displayed, it will be displayed together with the webpage "XXXX F”.
- the portal window can be switched, in the embodiment shown in FIG. 3, before any of the steps S202-S208 is executed
- the webpage display device can receive the switching instruction for the portal window, which can be that the user switches to the portal window by clicking the portal label information in the portal bar of the browser window with the mouse, or it can be opened
- the switching instruction for the portal window can be that the user switches to the portal window by clicking the portal label information in the portal bar of the browser window with the mouse, or it can be opened
- the current portal window when switching from the current portal window to the portal window, the current portal window can be adjusted to the background, or the current portal window can be closed.
- the portal window may have a link button for switching the portal window, please refer to FIG. 4e, FIG.
- FIG. 4e provides a schematic diagram of an example of switching the portal window in the embodiment of the present application, and the current portal window in FIG. 4e is the portal label information "YYYY"
- the user can close the portal window by clicking the close button on the portal window with the mouse, issuing a voice command, etc., when the webpage display device receives such a closing command for the portal window, it can The browser window in the background is transferred to the foreground and the portal window is closed, so that the display interface is switched from the portal window to the browser window.
- the web page display device can pop up a selection window, prompting the user to choose to close the portal form or transfer the portal form to the background, if the user chooses to transfer the portal form to the background , then when the portal form needs to be opened next time, the web page display device can directly transfer the portal form in the background to the foreground without re-creating and opening the portal form, so as to save the running memory and reduce the need for switching the form. time and improve the use of the web browser.
- the portal label information can be added and displayed in the portal bar of the browser window, which can be easily used for searching.
- the Describe the webpage identification information of the target webpage and judge whether the portal label information matching the webpage identification information can be obtained. If it cannot be obtained, the target webpage is displayed in the browser window. Whether the number of displayed web pages is less than the number threshold, if it is less, the target web page is still displayed in the browser form, so that the user can still quickly find the target web page while reducing the number of form switching and reducing the burden of running memory.
- the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information.
- the purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers.
- the target number of historical browsing webpages can also be displayed, and the portal form can also be switched to another portal form, which improves the intelligence of the web browser and further improves the web browser's functionality. Effect.
- FIG. 5 to FIG. 8 The web page display device provided by the embodiment of the present application will be described in detail below with reference to FIG. 5 to FIG. 8 . It should be noted that the webpage display devices in FIG. 5 to FIG. 8 are used to execute the methods of the embodiments shown in FIG. 2 and FIG. 3 of the present application. For the convenience of description, only those related to the embodiments of the present application are shown. For some, specific technical details are not disclosed, please refer to the embodiments shown in FIG. 2 and FIG. 3 of the present application.
- FIG. 5 shows a schematic structural diagram of a webpage display apparatus provided by an exemplary embodiment of the present application.
- the webpage display device can be implemented as a whole or a part of the device through software, hardware or a combination of the two.
- the device 1 includes a webpage identification acquisition module 11 , a portal label matching module 12 and a window switching module 13 .
- the webpage identification obtaining module 11 is used for obtaining webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;
- a portal label matching module 12 configured to obtain portal label information that matches the webpage identification information of the target webpage
- the window switching module 13 is configured to control the display interface to be switched from the browser window to the portal window corresponding to the portal label information, and display the target web page based on the portal window.
- FIG. 6 shows a schematic structural diagram of a webpage display apparatus provided by an exemplary embodiment of the present application.
- the webpage display device can be implemented as a whole or a part of the device through software, hardware or a combination of the two.
- the device 1 includes a webpage identification acquisition module 11 , a portal label matching module 12 , a window switching module 13 , a portal label adding module 14 , a browser webpage displaying module 15 , a historical webpage adding module 16 and a closing module 17 .
- the webpage identification obtaining module 11 is used for obtaining webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;
- a portal label matching module 12 configured to obtain portal label information that matches the webpage identification information of the target webpage
- the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
- control the display interface When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
- the processor 1001 specifically performs the following operations when adding the historical browsing webpage in the portal webpage set to the portal window:
- the display interface is controlled to switch from the portal window to the browser window.
- the display interface is controlled to display a selection window.
- the processor 1001 after executing the controlling the display interface to display the selection window, the processor 1001 further executes the following operations:
- the portal window is transferred to the background to run.
- the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information.
- the purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers.
- the target number of historical browsing webpages can also be displayed, and the portal form can also be switched to another portal form, which improves the intelligence of the web browser and further improves the web browser's functionality. Effect.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A webpage display method and apparatus, and a storage medium and an electronic device. The method comprises: when an opening operation for a target webpage is detected in a browser window, acquiring webpage identification information of the target webpage; acquiring portal tag information which matches the webpage identification information of the target webpage; and controlling a display interface to switch from the browser window to a portal window corresponding to the portal tag information, and then displaying the target webpage. The effect of using a network browser is thus improved.
Description
本申请要求了2020年12月16日提交的、申请号为202011488204.6、发明名称为“一种网页显示方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on December 16, 2020, with the application number of 202011488204.6 and the invention titled "A web page display method, device, storage medium and electronic device", the entire contents of which are incorporated by reference in this application.
本申请涉及计算机技术领域,尤其涉及一种网页显示方法、装置、存储介质及电子设备。The present application relates to the field of computer technology, and in particular, to a web page display method, apparatus, storage medium and electronic device.
网络浏览器可以帮助人们在网络上搜索到各式各样的信息,从而使人们的生活更加便捷,很多时候人们都需要同时搜索不同的信息,而每次搜索时都需要打开新的网络浏览器窗口,所以现如今的网络浏览器可以通过设置标签页来在同一个浏览器窗口中同时显示不同的搜索信息。Web browsers can help people search for all kinds of information on the Internet, which makes people's lives more convenient. Many times people need to search for different information at the same time, and each time they need to open a new web browser. window, so today's web browsers can display different search information simultaneously in the same browser window by setting tabs.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种网页显示方法、装置、存储介质及电子设备:Embodiments of the present application provide a web page display method, device, storage medium, and electronic device:
第一方面,本申请实施例提供了一种网页显示方法,所述方法包括:In a first aspect, an embodiment of the present application provides a web page display method, the method includes:
当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;When an opening operation for a target web page is detected in the browser window, acquiring web page identification information of the target web page;
获取与所述目标网页的网页标识信息相匹配的门户标签信息;obtaining portal label information that matches the webpage identification information of the target webpage;
控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
第二方面,本申请实施例提供了一种网页显示装置,所述装置包括:In a second aspect, an embodiment of the present application provides a web page display device, the device comprising:
网页标识获取模块,用于当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;a webpage identification obtaining module, configured to obtain webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;
门户标签匹配模块,用于获取与所述目标网页的网页标识信息相匹配的门户标签信息;a portal label matching module for obtaining portal label information that matches the webpage identification information of the target webpage;
窗体切换模块,用于控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。A window switching module is configured to control the display interface to be switched from the browser window to the portal window corresponding to the portal label information, and display the target web page based on the portal window.
第三方面,本申请实施例提供一种计算机存储介质,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行上述的方法步骤。In a third aspect, an embodiment of the present application provides a computer storage medium, where the computer storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above method steps.
第四方面,本申请实施例提供一种电子设备,可包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行上述的方法步骤。In a fourth aspect, an embodiment of the present application provides an electronic device, which may include: a processor and a memory; wherein, the memory stores a computer program, and the computer program is adapted to be loaded by the processor and execute the above method steps .
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的一种有多个标签页的窗体的举例示意图;FIG. 1 is an exemplary schematic diagram of a form with multiple tab pages provided by an embodiment of the present application;
图2是本申请实施例提供的一种网页显示方法的流程示意图;2 is a schematic flowchart of a web page display method provided by an embodiment of the present application;
图3是本申请实施例提供的一种网页显示方法的流程示意图;3 is a schematic flowchart of a web page display method provided by an embodiment of the present application;
图4a是本申请实施例提供的一种门户标签信息添加的举例示意图;4a is an example schematic diagram of adding portal label information provided by an embodiment of the present application;
图4b是本申请实施例提供的一种门户栏显示的举例示意图;4b is an exemplary schematic diagram of a portal bar display provided by an embodiment of the present application;
图4c是本申请实施例提供的一种目标网页在门户窗口显示的举例示意图;4c is an exemplary schematic diagram of a target webpage displayed in a portal window provided by an embodiment of the present application;
图4d是本申请实施例提供的一种目标数量的历史浏览网页获取的举例示意图;FIG. 4d is an exemplary schematic diagram of obtaining a historical browsing webpage of a target number according to an embodiment of the present application;
图4e是本申请实施例提供的一种门户窗口切换的举例示意图;FIG. 4e is an exemplary schematic diagram of a portal window switching provided by an embodiment of the present application;
图5是本申请实施例提供的一种网页显示装置的结构示意图;FIG. 5 is a schematic structural diagram of a webpage display device provided by an embodiment of the present application;
图6是本申请实施例提供的一种网页显示装置的结构示意图;FIG. 6 is a schematic structural diagram of a web page display device provided by an embodiment of the present application;
图7是本申请实施例提供的一种窗体切换模块的结构示意图;7 is a schematic structural diagram of a window switching module provided by an embodiment of the present application;
图8是本申请实施例提供的一种历史网页添加模块的结构示意图;8 is a schematic structural diagram of a historical webpage adding module provided by an embodiment of the present application;
图9是本申请实施例提供的一种电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the present application, it should be understood that the terms "first", "second" and the like are used for descriptive purposes only, and should not be construed as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise expressly specified and defined, "including" and "having" and any modifications thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood in specific situations. Also, in the description of the present application, unless otherwise specified, "a plurality" means two or more. "And/or", which describes the association relationship of the associated objects, means that there can be three kinds of relationships, for example, A and/or B, which can mean that A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects are an "or" relationship.
本申请实施例提供的网页显示方法可依赖于计算机程序实现,可运行于基于冯诺依曼体系的网页显示装置上。该计算机程序可集成在应用中,也可作为独立的工具类应用运行。本申请实施例中的网页显示装置可以为拥有互联网通信功能的终端设备,所述终端设备包 括但不限于:手机、个人电脑、平板电脑、手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备等,所述网页显示装置也可以为一种网络浏览器。现有技术中的网络浏览器可以通过设置标签页来在同一个浏览器窗口中同时显示不同的搜索信息,但是当用户同时打开了多个标签页时容易导致标签页上的标题或图标显示不完全,用户若想要查找某一个标签页只能依次点开所有的标签页或重新搜索该标签页的内容,浪费时间且影响网络浏览器的使用效果。本申请实施例中的浏览器窗体和门户窗体都是从网络浏览器中打开的窗体,所述网络浏览器为终端设备和互联网通信的软件,可以显示网页服务器或档案系统内的文件,并让用户与此些文件互动,网络浏览器用来显示在互联网或局部局域网络等内的文字、影像及其他资讯,例如IE浏览器(Internet Explorer),所述浏览器窗体为所述网络浏览器的主页面,也可以称为首页,一般为打开所述网络浏览器时所展示的第一个窗体,主页面可以是用户用于访问网站其他模块的媒介,可以提供网站的重要页面及新文章的链接,且可以有一个搜索框供用户搜索相关信息。所述门户窗体和所述浏览器窗体中都可以显示网页页面,若需要显示多个网页页面时会通过标签页的形式进行展示,请参见图1,为本申请实施例提供了一种有多个标签页的窗体的举例示意图,图1中的窗体展示着网页A的网页页面,其余网页的标签在窗体的标签栏中,用户可以通过点击“网页B”或“网页C”来将窗体中正在展示的网页页面切换为网页B或网页C。The web page display method provided by the embodiments of the present application can be implemented by relying on a computer program, and can be run on a web page display device based on the von Neumann system. The computer program can be integrated into an application or run as a stand-alone utility application. The webpage display device in the embodiment of the present application may be a terminal device with an Internet communication function, and the terminal device includes but is not limited to: a mobile phone, a personal computer, a tablet computer, a handheld device, a vehicle-mounted device, a wearable device, a computing device or a connection To other processing devices of the wireless modem, etc., the web page display device may also be a web browser. The web browser in the prior art can display different search information simultaneously in the same browser window by setting tab pages, but when the user opens multiple tab pages at the same time, it is easy to cause the title or icon on the tab pages to be displayed incorrectly. Completely, if a user wants to find a certain tab page, he can only click on all the tab pages in turn or search for the content of the tab page again, which wastes time and affects the use effect of the web browser. The browser window and the portal window in the embodiments of the present application are both windows opened from a web browser, and the web browser is software that communicates between a terminal device and the Internet, and can display files in a web server or a file system , and allow users to interact with these files, web browsers are used to display text, images and other information in the Internet or local area network, such as IE browser (Internet Explorer), the browser window is the network The main page of the browser, also known as the home page, is generally the first window displayed when the web browser is opened. The main page can be a medium used by users to access other modules of the website, and can provide important pages of the website and links to new articles, and may have a search box for users to search for relevant information. Both the portal window and the browser window can display web pages. If multiple web pages need to be displayed, they will be displayed in the form of tabs. Please refer to FIG. An example diagram of a form with multiple tabs. The form in Figure 1 shows the webpage of webpage A, and the labels of other webpages are in the tab bar of the form. Users can click "Webpage B" or "Webpage C". " to switch the web page displayed in the form to web page B or web page C.
本申请实施例中的目标网页为用户在网络浏览器的浏览器窗口中通过关键字搜索、网址搜索等方式打开的网页,本申请实施例中的网页标识信息为可以代表目标网页的特征的信息,包括但不限于目标网页的主域名、搜索目标网页时用户输入的关键字等,所述门户标签信息是可以代表门户窗体的特征的信息,也可以是代表在门户窗体中显示的网页的特征的信息,门户标签信息和网页标识信息是相互对应的关系,门户标签信息可以为主域名、搜索目标网页时用户输入的关键字等。门户标签信息的种类与网页标志信息的种类相同,例如门户标签信息为主域名时网页标志信息也为主域名。The target web page in the embodiment of the present application is a web page opened by a user in the browser window of the web browser through keyword search, website search, etc., and the web page identification information in the embodiment of the present application is information that can represent the characteristics of the target web page , including but not limited to the main domain name of the target web page, the keywords entered by the user when searching for the target web page, etc. The portal label information is information that can represent the characteristics of the portal form, or can represent the web page displayed in the portal form. The portal label information and the webpage identification information are in a corresponding relationship, and the portal label information can be the main domain name, the keyword input by the user when searching the target webpage, and so on. The type of portal label information is the same as the type of webpage logo information, for example, when the portal label information is the main domain name, the webpage logo information is also the main domain name.
本实施例公开了一种网页显示方法,包括:This embodiment discloses a web page display method, including:
当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;When an opening operation for a target web page is detected in the browser window, acquiring web page identification information of the target web page;
获取与所述目标网页的网页标识信息相匹配的门户标签信息;obtaining portal label information that matches the webpage identification information of the target webpage;
控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
在一种实施方式中,当在所述浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息之前,本实施例提供的网页显示方法还包括如下流程:获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中。In one embodiment, when an opening operation for a target web page is detected in the browser window, before acquiring the web page identification information of the target web page, the web page display method provided by this embodiment further includes the following process: Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
在一种实施方式中,本实施例提供的网页显示方法还包括如下流程:当未获取到与所述目标网页的网页标识信息相匹配的门户标签信息时,基于所述浏览器窗体对所述目标网 页的网页页面进行显示,并将所述目标网页的网页标签显示于所述浏览器窗体的标签栏中。In one embodiment, the web page display method provided by this embodiment further includes the following process: when the portal label information matching the web page identification information of the target web page is not obtained, perform a search on the selected web page based on the browser window. The webpage page of the target webpage is displayed, and the webpage label of the target webpage is displayed in the label bar of the browser window.
在一种实施方式中,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示时,本实施例提供的网页显示方法包括如下流程:In one embodiment, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and when the target webpage is displayed based on the portal window, the The web page display method includes the following processes:
当所述浏览器窗体中已显示网页的网页数量小于数量阈值时,基于所述浏览器窗体对所述目标网页进行显示;When the number of web pages of the displayed web pages in the browser window is less than the number threshold, display the target web page based on the browser window;
当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
在一种实施方式中,其中,本实施例提供的网页显示方法还包括如下流程:In an implementation manner, the web page display method provided in this embodiment further includes the following processes:
当切换至所述门户窗体时,获取所述门户标签信息对应的门户网页集合;When switching to the portal window, obtain the portal page set corresponding to the portal label information;
在所述门户窗体中添加所述门户网页集合中的历史浏览网页,所述历史浏览网页的网页标识信息与所述门户标签信息相匹配。The historical browsing webpage in the portal webpage collection is added to the portal window, and the webpage identification information of the historical browsing webpage matches the portal label information.
在一种实施方式中,在所述门户窗体中添加所述门户网页集合中的历史浏览网页时,本实施例提供的网页显示方法包括如下流程:In an implementation manner, when a historical browsing webpage in the portal webpage collection is added to the portal window, the webpage display method provided by this embodiment includes the following processes:
基于所述门户网页集合中各历史浏览网页的优先级,在所述门户网页集合中获取目标数量的历史浏览网页;Acquiring a target number of historically browsed webpages in the portal webpage set based on the priority of each historically browsed webpage in the portal webpage set;
在所述门户窗体中显示所述目标数量的历史浏览网页。The historical browsing web pages of the target number are displayed in the portal window.
在一种实施方式中,所述各历史浏览网页的优先级基于所述各历史浏览网页在所述浏览器窗体中的打开次数、打开总时长确定。In an implementation manner, the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
在一种实施方式中,所述各历史浏览网页的优先级基于所述各历史浏览网页的最近打开时间确定。In one embodiment, the priority of each historically browsed web page is determined based on the most recent opening time of each historically browsed web page.
在一种实施方式中,本实施例提供的网页显示方法还包括如下流程:In an implementation manner, the web page display method provided by this embodiment further includes the following processes:
当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体。When a closing instruction for the portal window is received, the display interface is controlled to switch from the portal window to the browser window.
在一种实施方式中,当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体之后,本实施例提供的网页显示方法还包括如下流程:In an implementation manner, when a closing instruction for the portal window is received, after controlling the display interface to switch from the portal window to the browser window, the web page display method provided by this embodiment It also includes the following processes:
控制所述显示界面显示选择窗口。The display interface is controlled to display a selection window.
在一种实施方式中控制所述显示界面显示选择窗口之后,本实施例提供的网页显示方法还包括如下流程:In one embodiment, after the display interface is controlled to display the selection window, the web page display method provided in this embodiment further includes the following process:
当接收到针对所述选择窗口的第一选择指令时,关闭所述门户窗体;When receiving the first selection instruction for the selection window, close the portal window;
当接收到针对所述选择窗口的第二选择指令时,将所述门户窗体调至后台运行。When a second selection instruction for the selection window is received, the portal window is transferred to the background to run.
下面结合具体的实施例对本申请提供的网页显示方法进行详细说明。The web page display method provided by the present application will be described in detail below with reference to specific embodiments.
请参见图2,为本申请实施例提供了一种网页显示方法的流程示意图。如图2所示,本申请实施例的所述方法可以包括以下步骤S101-S103。Please refer to FIG. 2 , which is a schematic flowchart of a method for displaying a webpage according to an embodiment of the present application. As shown in FIG. 2 , the method in this embodiment of the present application may include the following steps S101-S103.
S101,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息。S101, when an opening operation for a target web page is detected in a browser window, acquire web page identification information of the target web page.
具体的,当用户通过浏览器窗体打开目标网页时,用户打开目标网页的方式包括但不限于通过浏览器的搜索框搜索、在浏览器的历史浏览记录中选中目标网页或发送语音指令等,网页显示装置可以检测到浏览器窗口针对目标网页的打开操作,此时网页显示装置会获取所述目标网页的网页标识信息,所述网页标识信息为可以代表目标网页的特征的信息,包括但不限于目标网页的主域名、搜索目标网页时用户输入的关键字等。Specifically, when a user opens a target web page through a browser window, the way the user opens the target web page includes, but is not limited to, searching through the search box of the browser, selecting the target web page in the browser's historical browsing records, or sending voice commands, etc. The webpage display device can detect the opening operation of the browser window for the target webpage. At this time, the webpage display device will obtain the webpage identification information of the target webpage, and the webpage identification information is information that can represent the characteristics of the target webpage, including but not It is limited to the main domain name of the target web page, the keywords entered by the user when searching the target web page, etc.
S102,获取与所述目标网页的网页标识信息相匹配的门户标签信息。S102: Obtain portal label information matching the webpage identification information of the target webpage.
具体的,所述门户标签信息是可以代表门户窗体的特征的信息,也可以是代表在门户窗体中显示的网页的特征的信息,门户标签信息和网页标识信息是相互对应的关系,当门户标签信息和网页标识信息相同、相似或门户标签信息包含网页标识信息时,网页显示装置可以确认门户标签信息和网页标识信息相匹配。当网页显示装置获取到目标网页的网页标识信息时,网页显示装置会在终端设备、网络浏览器或网页显示装置本地保存的门户标签信息集合中查找与所述网页标识信息相匹配的门户标签信息。同样的,门户标签信息集合也可以与用户在网络浏览器上的登录信息绑定并保存在云端,当用户用所述登录信息登录浏览器时由云端将门户标签信息集合发送至网络浏览器。Specifically, the portal label information is information that can represent the characteristics of the portal window, or information that represents the characteristics of the webpage displayed in the portal window. The portal label information and the webpage identification information are in a corresponding relationship. When the portal label information and the webpage identification information are the same or similar, or when the portal label information includes the webpage identification information, the webpage display device can confirm that the portal label information and the webpage identification information match. When the webpage display apparatus obtains the webpage identification information of the target webpage, the webpage display apparatus searches for the portal tag information that matches the webpage identification information in the portal tag information set saved locally by the terminal device, the web browser or the webpage display apparatus. . Similarly, the portal tag information set can also be bound with the user's login information on the web browser and stored in the cloud. When the user logs in to the browser with the login information, the cloud sends the portal tag information set to the web browser.
S103,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。S103, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
具体的,网页显示装置控制显示界面由浏览器窗体切换至所述门户标签页信息对应的门户窗体,此前所述门户标签信息对应的门户窗体可以未被创建,网页显示装置会创建所述门户窗体并控制显示界面由所述浏览器窗体切换至所述门户窗体,同样的,此前所述门户窗体可以已被创建并在后台运行,网页显示装置会将所述门户窗体调至前台并控制显示界面由所述浏览器窗体切换至所述门户窗体。网页显示装置控制显示界面切换至所述门户窗体后,在所述门户窗体中显示目标网页,同样的,可以在所述门户窗体的标签栏中添加所述目标网页的标签。Specifically, the webpage display device controls the display interface to switch from the browser window to the portal window corresponding to the portal tab information. Previously, the portal window corresponding to the portal tab information may not have been created, and the webpage display device will create all The portal form and the control display interface are switched from the browser form to the portal form. Similarly, the portal form can be created and run in the background before, and the web page display device will display the portal form. The body adjusts to the foreground and controls the display interface to be switched from the browser window to the portal window. After the web page display device controls the display interface to switch to the portal window, a target web page is displayed in the portal window, and similarly, a label of the target web page can be added to the label bar of the portal window.
在本申请实施例中,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息,获取与所述目标网页的网页标识信息相匹配的门户标签信息,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。通过在将相同网页标识信息与门户标签信息相匹配的网页在对应的门户窗体中打开,实现将拥有相同网页标识信息的网页在同一个窗体中打开,达到了将网页按照网页标识信息进行归类整理的目的,便于根据门户标签信息查找网页,节省了查找网页所需的时间,提高了网络浏览器的使用效果。In the embodiment of the present application, when an opening operation for a target webpage is detected in the browser window, the webpage identification information of the target webpage is obtained, and the portal label information matching the webpage identification information of the target webpage is obtained. , the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window. By opening the webpage with the same webpage identification information and the portal label information in the corresponding portal form, the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information. The purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers.
请参见图3,为本申请实施例提供了一种网页显示方法的流程示意图。如图3所示,本申请实施例的所述方法可以包括以下步骤S201-S208。Please refer to FIG. 3 , which is a schematic flowchart of a method for displaying a webpage according to an embodiment of the present application. As shown in FIG. 3 , the method in this embodiment of the present application may include the following steps S201-S208.
S201,获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将 所述门户标签信息显示于浏览器窗体的门户栏中。S201, obtain the input webpage address information, obtain the portal label information corresponding to the webpage address information, and display the portal label information in the portal column of the browser window.
具体的,门户标签信息是可以由用户或者相关管理人员增加的,网页显示装置会在网络浏览器上显示添加门户标签信息的输入框,用户或者相关管理人员可以在该输入框输入包含有门户标签信息的网页地址信息。请参见图4a,图4a为本申请实施例提供了一种门户标签信息添加的举例示意图,用户可以点击浏览器窗体中的设置选项,并在设置选项列表中用鼠标选中并点击其中的“门户标签添加”选项,网页显示装置可以控制浏览器窗口弹出可供用户输入包含门户标签信息的网页地址的输入框。Specifically, the portal label information can be added by the user or relevant management personnel, and the web page display device will display an input box for adding portal label information on the web browser, and the user or relevant management personnel can input a portal label in the input box Information web address information. Please refer to FIG. 4a. FIG. 4a provides an example schematic diagram of adding portal label information to this embodiment of the present application. The user can click the setting option in the browser window, select it with the mouse in the setting option list, and click "" Add "Portal Tag" option, the web page display device can control the browser window to pop up an input box for the user to input the web page address containing the portal tag information.
网页显示装置可以在所述网页地址信息中获取所述网页地址信息对应的门户标签信息,门户标签信息包括但不限于目标网页的主域名、搜索目标网页时用户输入的关键字等,可以在网页显示装置上设置或在网络浏览器中设置选择门户标签信息的形式。请参见图4a,若使用网页地址的主域名作为门户标签信息,则用户在添加门户标签信息的输入窗口中输入网页地址“https://www.XXXX.com/s?cl=3&tn=xxxxt2&rsv_dl=fyb_n_homepage&hisfilter=1”,网页显示装置可以从所述网页地址中获取主域名“XXXX.com”,并将该主域名作为新添加的门户标签信息。The webpage display device can obtain the portal label information corresponding to the webpage address information in the webpage address information. The portal label information includes but is not limited to the main domain name of the target webpage, the keywords entered by the user when searching the target webpage, etc., which can be displayed on the webpage. Set on the display device or set in the web browser to select the form of the portal tab information. Referring to Fig. 4a, if the main domain name of the webpage address is used as the portal label information, the user enters the webpage address "https://www.XXXX.com/s?cl=3&tn=xxxxt2&rsv_dl= in the input window for adding the portal label information. fyb_n_homepage&hisfilter=1", the webpage display device can obtain the main domain name "XXXX.com" from the webpage address, and use the main domain name as the newly added portal label information.
网页显示装置获取了门户标签信息后会将所述门户标签信息显示与所述浏览器窗体的门户栏中,所述门户栏可以在浏览器窗口顶部、底部或其他的指定位置,也可以和浏览器窗口中的网页标签并排显示,也可以在颜色、大小或字体上与网页标签做区分,门户栏的显示位置、样式和门户栏中门户标签信息的名称可以为网页显示装置的初始设置,也可以由用户或相关工作人员在网页显示转置或网络浏览器中设置并保存,也可以是用户在网络浏览器上的登录信息绑定并保存在云端的设置,当用户用所述登录信息登录浏览器时由云端将该设置发送至网络浏览器,所述云端为与网络浏览器对应的云端服务器,保存着大量网络浏览器的用户资料等。请参见图4b,图4b为本申请实施例提供了一种门户栏显示的举例示意图,按照如图4a中用户添加的门户标签信息在浏览器窗口中显示,在图4b的浏览器窗口的顶部创建了名称为“XXXX”的标签,并且在颜色上与其他网页的标签有区分,用户可以通过鼠标点击“XXXX”标签来打开主域名为“XXXX.com”的门户窗口。After the webpage display device acquires the portal label information, it will display the portal label information in the portal bar of the browser window, and the portal bar can be at the top, bottom or other specified positions of the browser window, or can be combined with The web page labels in the browser window are displayed side by side, and can also be distinguished from the web page labels in color, size or font. The display position and style of the portal bar and the name of the portal label information in the portal bar can be the initial settings of the web page display device. It can also be set and saved by the user or related staff in the web page display transposition or in the web browser, or the user's login information on the web browser is bound and saved in the cloud. When the user uses the login information When logging in to the browser, the cloud sends the settings to the web browser. The cloud is a cloud server corresponding to the web browser, and stores a large number of user data of the web browser. Please refer to FIG. 4b. FIG. 4b provides a schematic diagram of an example of portal bar display according to the embodiment of the present application. According to the portal label information added by the user as shown in FIG. 4a, it is displayed in the browser window, at the top of the browser window in FIG. 4b. A label named "XXXX" is created, and the color is distinguished from the labels of other web pages. Users can click the "XXXX" label to open the portal window whose main domain name is "XXXX.com".
可以理解的是,门户标签信息包括但不限于为目标网页的主域名、搜索目标网页时用户输入的关键字等,当门户标签信息为搜索目标网页时用户输入的关键字是,用户或相关工作人员添加新的门户标签信息时可以在输入框中输入关键字,输入的关键字可以为一个也可以为多个,中间可以用逗号、分号等标点符号分隔开,网页显示装置会根据标点符号将输入的关键字区分为多个,并将满足其中任一关键字的目标网页在所述门户标签信息对应的门户窗口中显示。It can be understood that the portal label information includes, but is not limited to, the main domain name of the target web page, the keyword entered by the user when searching the target web page, etc. When the portal label information is the keyword input by the user when searching the target web page, the user or related work When adding new portal label information, personnel can enter keywords in the input box. The entered keywords can be one or more, which can be separated by commas, semicolons and other punctuation marks. The webpage display device will display the keywords according to the punctuation marks. The symbol distinguishes the input keywords into multiple ones, and displays the target web page satisfying any one of the keywords in the portal window corresponding to the portal label information.
S202,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息。S202, when an opening operation for a target webpage is detected in the browser window, acquire webpage identification information of the target webpage.
具体的,请参见S101此处不再赘述。For details, please refer to S101 and will not be repeated here.
S203,判断是否获取到与所述目标网页的网页标识信息相匹配的门户标签信息。S203: Determine whether portal label information matching the webpage identification information of the target webpage is obtained.
具体的,网页显示装置在门户标签信息集合中查找是否与所述目标网页的网页标识信 息相匹配的门户标签信息,所述门户标签信息集合可以保存在网络浏览器或网页显示装置的本地存储中,也可以与用户在网络浏览器上的登录信息绑定并保存在云端,当用户用所述登录信息登录浏览器时由云端将门户标签信息集合发送至网络浏览器,所述门户标签信息集合包括浏览器窗口中所显示的所有门户标签信息,即用户或相关工作人员可以通过在浏览器窗口中添加门户标签信息更改所述门户标签信息集合并同步到云端,也可以由用户或相关工作人员在云端上对保存在云端上保存的门户标签信息集合进行更改,所述云端为与网络浏览器对应的云端服务器,保存着大量网络浏览器的用户资料等。Specifically, the webpage display device searches the portal label information set for portal label information that matches the webpage identification information of the target webpage, and the portal label information set can be saved in the local storage of the web browser or the webpage display device. can also be bound with the user's login information on the web browser and stored in the cloud. When the user logs in to the browser with the login information, the cloud will send the portal tag information set to the web browser, and the portal tag information set will be sent to the web browser. Including all portal tag information displayed in the browser window, that is, users or related staff can change the portal tag information collection by adding portal tag information in the browser window and synchronize it to the cloud, or users or related staff can change the set of portal tag information by adding portal tag information in the browser window. The portal label information set saved on the cloud is changed on the cloud, where the cloud is a cloud server corresponding to the web browser and stores a large number of user data of the web browser.
若网页显示装置不能够获取到与所述目标网页的网页标识信息相匹配的门户标签信息,即网页显示装置在门户标签信息集合中没有找到与所述网页标识信息相匹配的门户标签信息,则执行S204;If the webpage display device cannot obtain the portal label information matching the webpage identification information of the target webpage, that is, the webpage display device does not find the portal label information matching the webpage identification information in the portal label information set, then Execute S204;
若网页显示装置获取到了与所述目标网页的网页标识信息相匹配的门户标签信息,即网页显示装置在门户标签信息集合中找到了与所述网页标识信息相匹配的门户标签信息,则执行S205。If the webpage display device obtains the portal label information matching the webpage identification information of the target webpage, that is, the webpage display device finds the portal label information matching the webpage identification information in the portal label information set, then execute S205 .
S204,基于所述浏览器窗体对所述目标网页的网页页面进行显示,并将所述目标网页的网页标签显示于所述浏览器窗体的标签栏中。S204, displaying the webpage page of the target webpage based on the browser window, and displaying the webpage label of the target webpage in the label bar of the browser window.
具体的,当网页显示装置在门户标签信息集合中未能找到所述网页标识信息相匹配的门户标签信息时,则所述目标网页不能在门户栏中打开,于是网页显示装置将所述目标网页在所述浏览器窗体中进行显示,并且将所述目标网页的网页标签在浏览器窗体中进行显示。Specifically, when the webpage display device fails to find portal label information matching the webpage identification information in the portal label information set, the target webpage cannot be opened in the portal bar, so the webpage display device displays the target webpage It is displayed in the browser window, and the webpage tag of the target webpage is displayed in the browser window.
S205,当获取到与所述目标网页的网页标识信息相匹配的门户标签信息时,判断所述浏览器窗体中已显示网页的网页数量是否小于数量阈值。S205, when the portal label information matching the webpage identification information of the target webpage is obtained, determine whether the number of webpages displayed in the browser window is less than a quantity threshold.
具体的,当网页显示装置在门户标签信息集合中找到了所述网页标识信息相匹配的门户标签信息时,则网页标识装置会判断此时所述浏览器窗体中已显示网页的网页数量是否小于数量阈值,所述已显示网页即此时正在所述浏览器窗体中显示的网页,也可以是所述浏览器窗体中存在网页标签的网页,所述数量阈值可以是网页显示装置的初始设置,也可以由用户或相关人员在网页显示装置或网络浏览器中进行设置并保存在网页显示装置中,也可以与用户在网络浏览器上的登录信息绑定并保存在云端,当用户用所述登录信息登录浏览器时由云端将数量阈值发送至网络浏览器或网页显示装置。当浏览器窗体中的已显示网页不多,即浏览器窗体中的网页标签数量不多,用户通过网页标签上的信息也能够找到想要打开的网址时,可以依旧在浏览器窗体中打开所述目标网页,减少窗口的切换,减少运行内存的负担。Specifically, when the webpage display device finds the portal label information matching the webpage identification information in the portal label information set, the webpage identification device will determine whether the number of webpages of the webpage displayed in the browser window at this time is not Less than the quantity threshold, the displayed webpage is the webpage currently being displayed in the browser window, or it may be a webpage with a webpage tag in the browser window, and the quantity threshold may be the webpage display device. The initial settings can also be set by the user or related personnel in the web page display device or web browser and saved in the web page display device, or can be bound with the user's login information on the web browser and saved in the cloud. When logging into the browser with the login information, the cloud sends the quantity threshold to the web browser or the web page display device. When there are not many webpages displayed in the browser form, that is, the number of webpage labels in the browser form is not large, and the user can find the URL they want to open through the information on the webpage label, they can still open the webpage in the browser form. The target web page is opened in , reducing the switching of windows and reducing the burden of running memory.
若所述浏览器窗体中已显示网页的页面数量小于数量阈值,则执行S206;若所述浏览器窗体中已显示网页的网页数量大于或等于数量阈值,则执行S207。If the number of the displayed webpages in the browser window is less than the quantity threshold, execute S206; if the number of the displayed webpages in the browser window is greater than or equal to the quantity threshold, execute S207.
S206,基于所述浏览器窗体对所述目标网页进行显示。S206, the target webpage is displayed based on the browser window.
具体的,当所述浏览器窗体中已显示网页的网页数量小于所述数量阈值时,网页显示装置会在浏览器窗体中对所述目标网页进行显示,并在所述浏览器窗体的标签栏中显示所 述目标网页的网页标签。Specifically, when the number of displayed webpages in the browser window is less than the number threshold, the webpage display device will display the target webpage in the browser window, and display the target webpage in the browser window. The page label of the target page is displayed in the label bar.
S207,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。S207, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
具体的,当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,可参见S103。Specifically, when the number of web pages of the displayed web pages in the browser window is greater than or equal to the number threshold, reference may be made to S103.
可选的,当浏览器窗体中已显示的网页数量大于或等于所述数量阈值,所述目标网页需要在门户窗体中进行显示时,网页显示装置可以将在浏览器窗体中的所有与所述目标网页的网页标识信息相同的网页,或者网页标识信息和所述目标网页的网页标识信息拥有同样相匹配的门户标识信息的网页切换到所述门户窗体中显示,并删除这些网页在浏览器窗体的标签栏中的网页标签,在所述门户标签的标签栏中显示网页标签。请参见图4c,为本申请实施例提供了一种目标网页在门户窗口显示的举例示意图,若此时数量阈值为4,在打开目标网页之前浏览器窗口中已显示网页中的网页“XXXX A”和网页“XXXX B”的网页标识信息均与门户标签信息“XXXX”相匹配,但打开网页“XXXX A”和网页“XXXX B”时浏览器窗体中的已显示网页的网页数量小于3,故网页“XXXX A”和网页“XXXX B”在浏览器窗体中打开,当打开网页标识信息与门户标签信息“XXXX”相匹配的目标网页“XXXX D”时,浏览器窗体中的已打开网页的网页数量为3等于数量阈值,所以网页“XXXX D”需要在门户窗体“XXXX”中打开,且将在浏览器窗体中的网页“XXXX A”和网页“XXXX B”也切换到门户窗体中显示。Optionally, when the number of web pages displayed in the browser window is greater than or equal to the number threshold, and the target web page needs to be displayed in the portal window, the web page display device can display all the pages in the browser window. The webpage with the same webpage identification information as the target webpage, or the webpage identification information and the webpage identification information of the target webpage with the same matching portal identification information are switched to be displayed in the portal window, and these webpages are deleted. The webpage tab in the tab bar of the browser window displays the webpage tab in the tab bar of the portal tab. Please refer to FIG. 4c , which provides an example schematic diagram of displaying a target webpage in a portal window for an embodiment of the application. If the number threshold is 4 at this time, the webpage “XXXX A” in the webpage has been displayed in the browser window before the target webpage is opened. ” and the webpage identification information of webpage “XXXX B” match the portal label information “XXXX”, but the number of displayed webpages in the browser window is less than 3 when opening webpage “XXXX A” and webpage “XXXX B” , so the webpage "XXXX A" and the webpage "XXXX B" are opened in the browser form, when the target webpage "XXXX D" whose webpage identification information matches the portal label information "XXXX" is opened, the The number of web pages that have been opened is 3, which is equal to the number threshold, so the web page "XXXX D" needs to be opened in the portal form "XXXX", and the web page "XXXX A" and the web page "XXXX B" in the browser form will also be opened. Switch to the portal form displayed.
可选的,当切换至所述门户窗体时,网页显示装置可以获取所述门户标签信息对应的门户网页集合,所述门户网页集合为在浏览器的所有历史浏览网页中,网页标识信息与所述门户标签信息相匹配的历史浏览网页的集合,网页显示装置会基于所述门户网页集合中各历史浏览网页的优先级,例如可以网页显示装置可以根据各历史浏览网页在网络浏览器中的打开次数、打开总时长来确定各历史浏览网页的优先级,次数越多或总时长越长则优先级越高,也可以根据历史浏览网页的最近打开时间来确定优先级,最近打开时间越接近当前时间则优先级越高,在所述门户网页集合中根据优先级从高到低获取目标数量的历史浏览网页,然后在所述门户窗体中显示所述目标数量的历史浏览网页,所述目标数量可以为网页显示装置的初始设置,也可以由用户或者相关工作人员在网页显示装置或网络浏览器中设置并保存。请参见图4d,为本申请实施例提供了一种目标数量的历史浏览网页获取的举例示意图,网页显示装置以历史浏览网页的打开次数来判断优先级,且目标数量为3,当需要在门户标签信息“XXXX”对应的门户窗口中打开网页“XXXX F”时,网页显示装置将选取优先级前三位的网页“XXXX A”、网页“XXXX B”和网页“XXXX C”在切换至所述门户窗口时与网页“XXXX F”一并显示。Optionally, when switching to the portal window, the web page display device may obtain a portal page set corresponding to the portal label information, where the portal page set is the web page identifier information and The collection of historically browsed webpages that match the portal label information, the webpage display device will be based on the priority of each historically browsed webpage in the portal webpage set, for example, the webpage display device can be based on the historical browsing webpages in the web browser. The number of times of opening and the total opening time are used to determine the priority of each historically browsed webpage. The more times or the longer the total time, the higher the priority. The priority can also be determined according to the most recent opening time of the historically browsed webpage. The closer the most recent opening time is. The higher the priority at the current time, the target number of historically browsed web pages are obtained in the portal web page set according to the priority from high to low, and then the target number of historically browsed web pages are displayed in the portal window. The target number may be the initial setting of the web page display device, or may be set and saved by the user or related staff in the web page display device or the web browser. Please refer to FIG. 4d , which provides an example schematic diagram of obtaining a historically browsed web page of a target number according to an embodiment of the application. The web page display device determines the priority based on the number of times the historically browsed web page is opened, and the target number is 3. When the webpage "XXXX F" is opened in the portal window corresponding to the label information "XXXX", the webpage display device will select the webpage "XXXX A", the webpage "XXXX B" and the webpage "XXXX C" with the top three priorities before switching to the selected webpage. When the portal window is displayed, it will be displayed together with the webpage "XXXX F".
可以理解的是,除了当打开的目标网页的网页标识信息与门户标签信息相匹配时可以切换至所述门户窗体,在图3所示的实施例中,S202-S208中任一执行步骤之前或之后,网页显示装置都可以接收到针对所述门户窗体的切换指令,可以是用户通过鼠标点击浏览器窗口的门户栏中的门户标签信息来切换至所述门户窗口,也可以是在打开其他门户窗口 时切换至所述门户窗口,当从当前的门户窗口切换到所述门户窗口时,可以将当前的门户窗口调至后台,也可以关闭当前的门户窗口。门户窗口中可以有用于切换门户窗口的链接按钮,请参见图4e,图4e为本申请实施例提供了一种门户窗口切换的举例示意图,图4e中当前的门户窗口为门户标签信息“YYYY”对应的门户窗口,可以通过鼠标点击“切换门户”项,可以打开门户标签信息的列表,选择想门户标签信息即可切换到门户标签信息对应的门户窗口。It can be understood that, except that when the webpage identification information of the opened target webpage matches the portal label information, the portal window can be switched, in the embodiment shown in FIG. 3, before any of the steps S202-S208 is executed Or after that, the webpage display device can receive the switching instruction for the portal window, which can be that the user switches to the portal window by clicking the portal label information in the portal bar of the browser window with the mouse, or it can be opened When switching to the portal window from other portal windows, when switching from the current portal window to the portal window, the current portal window can be adjusted to the background, or the current portal window can be closed. The portal window may have a link button for switching the portal window, please refer to FIG. 4e, FIG. 4e provides a schematic diagram of an example of switching the portal window in the embodiment of the present application, and the current portal window in FIG. 4e is the portal label information "YYYY" For the corresponding portal window, you can click the "Switch Portal" item with the mouse to open the list of portal label information, and select the desired portal label information to switch to the portal window corresponding to the portal label information.
S208,当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体。S208, when a closing instruction for the portal window is received, control the display interface to switch from the portal window to the browser window.
具体的,用户可以通过用鼠标点击门户窗口上的关闭按钮、发出语音指令等方式来关闭门户窗口,当网页显示装置接收到此类的针对所述门户窗体的关闭指令时,可以将之前调至后台的浏览器窗体调至前台并将所述门户窗体关闭,使所述显示界面由所述门户窗体切换至所述浏览器窗体。Specifically, the user can close the portal window by clicking the close button on the portal window with the mouse, issuing a voice command, etc., when the webpage display device receives such a closing command for the portal window, it can The browser window in the background is transferred to the foreground and the portal window is closed, so that the display interface is switched from the portal window to the browser window.
可选的,在用户选择关闭所述门户窗体时,网页显示装置可以弹出一个选择窗口,提示用户选择关闭门户窗体或将门户窗体调至后台,若用户选择将门户窗体调至后台,则在下次需要打开门户窗体时网页显示装置可以直接将后台的门户窗体调至前台而不用重新创建并打开门户窗体,达到节省运行内存的目的,也减少的了切换窗体所需的时间,提高了网络浏览器的使用效果。Optionally, when the user chooses to close the portal form, the web page display device can pop up a selection window, prompting the user to choose to close the portal form or transfer the portal form to the background, if the user chooses to transfer the portal form to the background , then when the portal form needs to be opened next time, the web page display device can directly transfer the portal form in the background to the foreground without re-creating and opening the portal form, so as to save the running memory and reduce the need for switching the form. time and improve the use of the web browser.
在本申请实施例中,可以添加门户标签信息并显示与浏览器窗体的门户栏中,可以便于用于进行查找,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息,判断是否能获取到与网页标识信息相匹配的门户标签信息,若无法获取就在浏览器窗体中显示目标网页,若可以获取则判断是否浏览器窗体中已显示网页的数量是否小于数量阈值,若小于则仍然在浏览器窗体中显示目标网页,使得用户在仍然可以快速查找到目标网页的同时减少窗体切换的次数,减轻了运行内存的负担,若大于或等于则控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。通过在将相同网页标识信息与门户标签信息相匹配的网页在对应的门户窗体中打开,实现将拥有相同网页标识信息的网页在同一个窗体中打开,达到了将网页按照网页标识信息进行归类整理的目的,便于根据门户标签信息查找网页,节省了查找网页所需的时间,提高了网络浏览器的使用效果。在切换至所述门户窗体时还可以显示目标数量的历史浏览网页,也可以在门户窗体中切换至另一个门户窗体,提高了网络浏览器的智能性,进一步提升了网络浏览器的使用效果。In the embodiment of the present application, the portal label information can be added and displayed in the portal bar of the browser window, which can be easily used for searching. When the opening operation for the target webpage is detected in the browser window, the Describe the webpage identification information of the target webpage, and judge whether the portal label information matching the webpage identification information can be obtained. If it cannot be obtained, the target webpage is displayed in the browser window. Whether the number of displayed web pages is less than the number threshold, if it is less, the target web page is still displayed in the browser form, so that the user can still quickly find the target web page while reducing the number of form switching and reducing the burden of running memory. If it is greater than or equal to, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window. By opening the webpage with the same webpage identification information and the portal label information in the corresponding portal form, the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information. The purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers. When switching to the portal form, the target number of historical browsing webpages can also be displayed, and the portal form can also be switched to another portal form, which improves the intelligence of the web browser and further improves the web browser's functionality. Effect.
下面将结合附图5-附图8,对本申请实施例提供的网页显示装置进行详细介绍。需要说明的是,附图5-附图8中的网页显示装置,用于执行本申请图2和图3所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图2和图3所示的实施例。The web page display device provided by the embodiment of the present application will be described in detail below with reference to FIG. 5 to FIG. 8 . It should be noted that the webpage display devices in FIG. 5 to FIG. 8 are used to execute the methods of the embodiments shown in FIG. 2 and FIG. 3 of the present application. For the convenience of description, only those related to the embodiments of the present application are shown. For some, specific technical details are not disclosed, please refer to the embodiments shown in FIG. 2 and FIG. 3 of the present application.
请参见图5,其示出了本申请一个示例性实施例提供的网页显示装置的结构示意图。 该网页显示装置可以通过软件、硬件或者两者的结合实现成为装置的全部或一部分。该装置1包括网页标识获取模块11、门户标签匹配模块12和窗体切换模块13。Please refer to FIG. 5 , which shows a schematic structural diagram of a webpage display apparatus provided by an exemplary embodiment of the present application. The webpage display device can be implemented as a whole or a part of the device through software, hardware or a combination of the two. The device 1 includes a webpage identification acquisition module 11 , a portal label matching module 12 and a window switching module 13 .
网页标识获取模块11,用于当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;The webpage identification obtaining module 11 is used for obtaining webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;
门户标签匹配模块12,用于获取与所述目标网页的网页标识信息相匹配的门户标签信息;a portal label matching module 12, configured to obtain portal label information that matches the webpage identification information of the target webpage;
窗体切换模块13,用于控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The window switching module 13 is configured to control the display interface to be switched from the browser window to the portal window corresponding to the portal label information, and display the target web page based on the portal window.
在本实施例中,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息,获取与所述目标网页的网页标识信息相匹配的门户标签信息,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。通过在将相同网页标识信息与门户标签信息相匹配的网页在对应的门户窗体中打开,实现将拥有相同网页标识信息的网页在同一个窗体中打开,达到了将网页按照网页标识信息进行归类整理的目的,便于根据门户标签信息查找网页,节省了查找网页所需的时间,提高了网络浏览器的使用效果。In this embodiment, when an opening operation for a target webpage is detected in the browser window, the webpage identification information of the target webpage is obtained, and the portal label information matching the webpage identification information of the target webpage is obtained, The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window. By opening the webpage with the same webpage identification information and the portal label information in the corresponding portal form, the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information. The purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers.
请参见图6,其示出了本申请一个示例性实施例提供的网页显示装置的结构示意图。该网页显示装置可以通过软件、硬件或者两者的结合实现成为装置的全部或一部分。该装置1包括网页标识获取模块11、门户标签匹配模块12、窗体切换模块13、门户标签添加模块14、浏览器网页显示模块15、历史网页添加模块16和关闭模块17。Please refer to FIG. 6 , which shows a schematic structural diagram of a webpage display apparatus provided by an exemplary embodiment of the present application. The webpage display device can be implemented as a whole or a part of the device through software, hardware or a combination of the two. The device 1 includes a webpage identification acquisition module 11 , a portal label matching module 12 , a window switching module 13 , a portal label adding module 14 , a browser webpage displaying module 15 , a historical webpage adding module 16 and a closing module 17 .
网页标识获取模块11,用于当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;The webpage identification obtaining module 11 is used for obtaining webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;
门户标签匹配模块12,用于获取与所述目标网页的网页标识信息相匹配的门户标签信息;a portal label matching module 12, configured to obtain portal label information that matches the webpage identification information of the target webpage;
窗体切换模块13,用于控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示;A window switching module 13, configured to control the display interface to be switched from the browser window to the portal window corresponding to the portal label information, and display the target web page based on the portal window;
具体的,请一并参见图7,为本申请实施例提供了一种窗体切换模块的结构示意图。如图7所示,所述窗体切换模块13可以包括:Specifically, please refer to FIG. 7 together, which provides a schematic structural diagram of a window switching module according to an embodiment of the present application. As shown in FIG. 7 , the window switching module 13 may include:
浏览器网页显示单元131,用于当所述浏览器窗体中已显示网页的网页数量小于数量阈值时,基于所述浏览器窗体对所述目标网页进行显示;A browser webpage display unit 131, configured to display the target webpage based on the browser window when the number of displayed webpages in the browser window is less than the number threshold;
窗体网页显示单元132,用于当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The form webpage display unit 132 is configured to control the display interface to switch from the browser form to the corresponding portal label information when the number of webpages displayed in the browser form is greater than or equal to the quantity threshold The portal form, the target web page is displayed based on the portal form.
门户标签添加模块14,用于获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中;The portal label adding module 14 is used to obtain the inputted webpage address information, obtain the portal label information corresponding to the webpage address information, and display the portal label information in the portal column of the browser window;
浏览器网页显示模块15,用于当未获取到与所述目标网页的网页标识信息相匹配的 门户标签信息时,基于所述浏览器窗体对所述目标网页的网页页面进行显示,并将所述目标网页的网页标签显示于所述浏览器窗体的标签栏中。The browser web page display module 15 is used to display the web page of the target web page based on the browser window when the portal tag information matching the web page identification information of the target web page is not obtained, and display the web page of the target web page. The webpage label of the target webpage is displayed in the label bar of the browser window.
历史网页添加模块16,用于当切换至所述门户窗体时,获取所述门户标签信息对应的门户网页集合;A historical webpage adding module 16, configured to acquire the portal webpage set corresponding to the portal label information when switching to the portal window;
在所述门户窗体中添加所述门户网页集合中的历史浏览网页,所述历史浏览网页的网页标识信息与所述门户标签信息相匹配;adding the historical browsing webpage in the portal webpage collection in the portal window, the webpage identification information of the historical browsing webpage matches the portal label information;
具体的,请一并参见图8,为本申请实施例提供了一种历史网页添加模块的结构示意图。如图8所示,所述历史网页添加模块16可以包括:Specifically, please refer to FIG. 8 together, which provides a schematic structural diagram of a history webpage adding module according to an embodiment of the present application. As shown in FIG. 8 , the historical webpage adding module 16 may include:
优先级单元161,用于基于所述门户网页集合中各历史浏览网页的优先级,在所述门户网页集合中获取目标数量的历史浏览网页;a priority unit 161, configured to acquire a target number of historically browsed webpages in the portal webpage set based on the priority of each historically browsed webpage in the portal webpage set;
历史网页显示单元162,用于在所述门户窗体中显示所述目标数量的历史浏览网页。The historical webpage display unit 162 is configured to display the historical browsing webpages of the target quantity in the portal window.
可选的,所述各历史浏览网页的优先级基于所述各历史浏览网页在所述浏览器窗体中的打开次数、打开总时长确定。Optionally, the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
可选的,所述各历史浏览网页的优先级基于所述各历史浏览网页的最近打开时间确定。Optionally, the priority of each historically browsed webpage is determined based on the most recent opening time of each historically browsed webpage.
关闭模块17,用于当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体。The closing module 17 is configured to control the display interface to switch from the portal window to the browser window when receiving a closing instruction for the portal window.
可选的,所述关闭模块17还用于控制所述显示界面显示选择窗口。Optionally, the closing module 17 is further configured to control the display interface to display a selection window.
可选的,所述关闭模块17还用于当接收到针对所述选择窗口的第一选择指令时,关闭所述门户窗体;Optionally, the closing module 17 is further configured to close the portal window when receiving the first selection instruction for the selection window;
当接收到针对所述选择窗口的第二选择指令时,将所述门户窗体调至后台运行。When a second selection instruction for the selection window is received, the portal window is transferred to the background to run.
在本实施例中,可以添加门户标签信息并显示与浏览器窗体的门户栏中,可以便于用于进行查找,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息,判断是否能获取到与网页标识信息相匹配的门户标签信息,若无法获取就在浏览器窗体中显示目标网页,若可以获取则判断是否浏览器窗体中已显示网页的数量是否小于数量阈值,若小于则仍然在浏览器窗体中显示目标网页,使得用户在仍然可以快速查找到目标网页的同时减少窗体切换的次数,减轻了运行内存的负担,若大于或等于则控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。通过在将相同网页标识信息与门户标签信息相匹配的网页在对应的门户窗体中打开,实现将拥有相同网页标识信息的网页在同一个窗体中打开,达到了将网页按照网页标识信息进行归类整理的目的,便于用户根据门户标签信息查找网页,节省了查找网页所需的时间,提高了网络浏览器的使用效果。在切换至所述门户窗体时还可以显示目标数量的历史浏览网页,也可以在门户窗体中切换至另一个门户窗体,提高了网络浏览器的智能性,进一步提升了网络浏览器的使用效果。In this embodiment, the portal label information can be added and displayed in the portal bar of the browser window, which can be easily used for searching. When the opening operation for the target webpage is detected in the browser window, the The webpage identification information of the target webpage is used to determine whether the portal label information matching the webpage identification information can be obtained. If it cannot be obtained, the target webpage is displayed in the browser form. Whether the number of web pages is less than the number threshold, if it is less, the target web page is still displayed in the browser form, so that the user can still quickly find the target web page while reducing the number of window switching and reducing the burden of running memory. or equal to, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window. By opening the webpage with the same webpage identification information and the portal label information in the corresponding portal form, the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information. The purpose of sorting and sorting is to facilitate users to find web pages according to the portal label information, save the time required for finding web pages, and improve the use effect of web browsers. When switching to the portal form, the target number of historical browsing webpages can also be displayed, and the portal form can also be switched to another portal form, which improves the intelligence of the web browser and further improves the web browser's functionality. Effect.
需要说明的是,上述实施例提供的网页显示装置在执行网页显示方法时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功 能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的网页显示装置与网页显示方法实施例属于同一构思,其体现实现过程详见方法实施例,这里不再赘述。It should be noted that, when the webpage display device provided in the above embodiment executes the webpage display method, only the division of the above functional modules is used as an example for illustration. , that is, dividing the internal structure of the device into different functional modules to complete all or part of the functions described above. In addition, the webpage display device and webpage display method embodiments provided by the above embodiments belong to the same concept, and the embodiment and implementation process thereof are detailed in the method embodiments, which will not be repeated here.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages or disadvantages of the embodiments.
本申请实施例还提供了一种计算机存储介质,所述计算机存储介质可以存储有多条指令,所述指令适于由处理器加载并执行如上述图1-图4e所示实施例的所述网页显示方法,具体执行过程可以参见图1-图4e所示实施例的具体说明,在此不进行赘述。An embodiment of the present application further provides a computer storage medium, where the computer storage medium can store a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing the above-described embodiments shown in FIG. 1 to FIG. 4e. For the web page display method, the specific execution process can be referred to the specific description of the embodiment shown in FIG. 1-FIG. 4e, which will not be repeated here.
本申请还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行如上述图1-图4e所示实施例的所述网页显示方法,具体执行过程可以参见图1-图4e所示实施例的具体说明,在此不进行赘述。The present application also provides a computer program product, the computer program product stores at least one instruction, and the at least one instruction is loaded by the processor and executes the webpage display in the embodiment shown in the above-mentioned FIG. 1 to FIG. 4e For the specific execution process, reference may be made to the specific descriptions of the embodiments shown in FIG. 1 to FIG. 4e , which will not be repeated here.
请参见图9,为本申请实施例提供了一种电子设备的结构示意图。如图9所示,所述电子设备1000可以包括:至少一个处理器1001,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。Referring to FIG. 9 , a schematic structural diagram of an electronic device is provided in an embodiment of the present application. As shown in FIG. 9 , the electronic device 1000 may include: at least one processor 1001 , at least one network interface 1004 , user interface 1003 , memory 1005 , and at least one communication bus 1002 .
其中,通信总线1002用于实现这些组件之间的连接通信。Among them, the communication bus 1002 is used to realize the connection and communication between these components.
其中,用户接口1003可以包括显示屏(Display)、摄像头(Camera),可选用户接口1003还可以包括标准的有线接口、无线接口。The user interface 1003 may include a display screen (Display) and a camera (Camera), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
其中,网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Wherein, the network interface 1004 may optionally include a standard wired interface and a wireless interface (eg, a WI-FI interface).
其中,处理器1001可以包括一个或者多个处理核心。处理器1001利用各种借口和线路连接整个服务器1000内的各个部分,通过运行或执行存储在存储器1005内的指令、程序、代码集或指令集,以及调用存储在存储器1005内的数据,执行服务器1000的各种功能和处理数据。可选的,处理器1001可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1001可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1001中,单独通过一块芯片进行实现。The processor 1001 may include one or more processing cores. The processor 1001 uses various excuses and lines to connect various parts of the entire server 1000, and executes the server by running or executing the instructions, programs, code sets or instruction sets stored in the memory 1005, and calling the data stored in the memory 1005. 1000s of various functions and processing data. Optionally, the processor 1001 may adopt at least one of digital signal processing (Digital Signal Processing, DSP), field-programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). implemented in a hardware form. The processor 1001 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU), a modem, and the like. Among them, the CPU mainly handles the operating system, user interface, and application programs; the GPU is used for rendering and drawing of the content that needs to be displayed on the display screen; the modem is used to handle wireless communication. It can be understood that, the above-mentioned modem may not be integrated into the processor 1001, and is implemented by a single chip.
其中,存储器1005可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1005包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1005可用于存储指令、程序、代码、代码集或指令集。存储器1005可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声 音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。如图9所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及网页显示应用程序。The memory 1005 may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable storage medium. Memory 1005 may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions and the like used to implement the above method embodiments; the storage data area may store the data and the like involved in the above method embodiments. Optionally, the memory 1005 may also be at least one storage device located away from the aforementioned processor 1001 . As shown in FIG. 9 , the memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module and a web page display application.
在图9所示的电子设备1000中,用户接口1003主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1001可以用于调用存储器1005中存储的网页显示应用程序,并具体执行以下操作:In the electronic device 1000 shown in FIG. 9 , the user interface 1003 is mainly used to provide an input interface for the user and obtain the data input by the user; and the processor 1001 can be used to call the web page display application stored in the memory 1005, and specifically Do the following:
当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;When an opening operation for a target web page is detected in the browser window, acquiring web page identification information of the target web page;
获取与所述目标网页的网页标识信息相匹配的门户标签信息;obtaining portal label information that matches the webpage identification information of the target webpage;
控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
在一个实施例中,所述处理器1001在执行当在所述浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息之前,还执行以下操作:In one embodiment, the processor 1001 further performs the following operations before acquiring the webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window:
获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中。Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中。Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
在一个实施例中,所述处理器1001在执行所述网页显示方法时,还执行以下操作:In one embodiment, when executing the webpage display method, the processor 1001 further executes the following operations:
当未获取到与所述目标网页的网页标识信息相匹配的门户标签信息时,基于所述浏览器窗体对所述目标网页的网页页面进行显示,并将所述目标网页的网页标签显示于所述浏览器窗体的标签栏中。When the portal tag information matching the web page identification information of the target web page is not obtained, the web page of the target web page is displayed based on the browser window, and the web page tag of the target web page is displayed on the the tab bar of the browser window.
在一个实施例中,所述处理器1001在执行控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示时,具体执行以下操作:In one embodiment, when the processor 1001 switches the control display interface from the browser window to the portal window corresponding to the portal label information, and displays the target webpage based on the portal window , do the following:
当所述浏览器窗体中已显示网页的网页数量小于数量阈值时,基于所述浏览器窗体对所述目标网页进行显示;When the number of web pages of the displayed web pages in the browser window is less than the number threshold, display the target web page based on the browser window;
当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
在一个实施例中,所述处理器1001在执行所述网页显示方法时,还执行以下操作:In one embodiment, when executing the webpage display method, the processor 1001 further executes the following operations:
当切换至所述门户窗体时,获取所述门户标签信息对应的门户网页集合;When switching to the portal window, obtain the portal page set corresponding to the portal label information;
在所述门户窗体中添加所述门户网页集合中的历史浏览网页,所述历史浏览网页的网页标识信息与所述门户标签信息相匹配。The historical browsing webpage in the portal webpage collection is added to the portal window, and the webpage identification information of the historical browsing webpage matches the portal label information.
在一个实施例中,所述处理器1001在执行在所述门户窗体中添加所述门户网页集合中的历史浏览网页时,具体执行以下操作:In one embodiment, the processor 1001 specifically performs the following operations when adding the historical browsing webpage in the portal webpage set to the portal window:
基于所述门户网页集合中各历史浏览网页的优先级,在所述门户网页集合中获取目标数量的历史浏览网页;Acquiring a target number of historically browsed webpages in the portal webpage set based on the priority of each historically browsed webpage in the portal webpage set;
在所述门户窗体中显示所述目标数量的历史浏览网页。The historical browsing web pages of the target number are displayed in the portal window.
在一个实施例中,所述各历史浏览网页的优先级基于所述各历史浏览网页在所述浏览器窗体中的打开次数、打开总时长确定:In one embodiment, the priority of each historically browsed web page is determined based on the number of times and the total opening time of each historically browsed web page in the browser window:
在一个实施例中,所述各历史浏览网页的优先级基于所述各历史浏览网页的最近打开时间确定。In one embodiment, the priority of each historically browsed webpage is determined based on the most recent opening time of each historically browsed webpage.
在一个实施例中,所述处理器1001在执行所述网页显示方法时,还执行以下操作:In one embodiment, when executing the webpage display method, the processor 1001 further executes the following operations:
当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体。When a closing instruction for the portal window is received, the display interface is controlled to switch from the portal window to the browser window.
在一个实施例中,所述处理器1001在执行所述当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体之后,还执行以下操作:In one embodiment, after the processor 1001 controls the display interface to switch from the portal window to the browser window when a closing instruction for the portal window is received, Also do the following:
控制所述显示界面显示选择窗口。The display interface is controlled to display a selection window.
在一个实施例中,所述处理器1001在执行所述控制所述显示界面显示选择窗口之后,还执行以下操作:In one embodiment, after executing the controlling the display interface to display the selection window, the processor 1001 further executes the following operations:
当接收到针对所述选择窗口的第一选择指令时,关闭所述门户窗体;When receiving the first selection instruction for the selection window, close the portal window;
当接收到针对所述选择窗口的第二选择指令时,将所述门户窗体调至后台运行。When a second selection instruction for the selection window is received, the portal window is transferred to the background to run.
在本申请实施例中,可以添加门户标签信息并显示与浏览器窗体的门户栏中,可以便于用于进行查找,当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息,判断是否能获取到与网页标识信息相匹配的门户标签信息,若无法获取就在浏览器窗体中显示目标网页,若可以获取则判断是否浏览器窗体中已显示网页的数量是否小于数量阈值,若小于则仍然在浏览器窗体中显示目标网页,使得用户在仍然可以快速查找到目标网页的同时减少窗体切换的次数,减轻了运行内存的负担,若大于或等于则控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。通过在将相同网页标识信息与门户标签信息相匹配的网页在对应的门户窗体中打开,实现将拥有相同网页标识信息的网页在同一个窗体中打开,达到了将网页按照网页标识信息进行归类整理的目的,便于根据门户标签信息查找网页,节省了查找网页所需的时间,提高了网络浏览器的使用效果。在切换至所述门户窗体时还可以显示目标数量的历史浏览网页,也可以在门户窗体中切换至另一个门户窗体,提高了网络浏览器的智能性,进一步提升了网络浏览器的使用效果。In the embodiment of the present application, the portal label information can be added and displayed in the portal bar of the browser window, which can be easily used for searching. When the opening operation for the target webpage is detected in the browser window, the Describe the webpage identification information of the target webpage, and judge whether the portal label information matching the webpage identification information can be obtained. If it cannot be obtained, the target webpage is displayed in the browser window. Whether the number of displayed web pages is less than the number threshold, if less, the target web page is still displayed in the browser form, so that the user can still quickly find the target web page while reducing the number of form switching and reducing the burden of running memory. If it is greater than or equal to, the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window. By opening the webpage with the same webpage identification information and the portal label information in the corresponding portal form, the webpage with the same webpage identification information can be opened in the same form, so that the webpage can be processed according to the webpage identification information. The purpose of sorting and sorting is to facilitate searching for web pages according to portal label information, save time required for searching web pages, and improve the use effect of web browsers. When switching to the portal form, the target number of historical browsing webpages can also be displayed, and the portal form can also be switched to another portal form, which improves the intelligence of the web browser and further improves the web browser's functionality. Effect.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体或随机存储记忆体等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. During execution, the processes of the embodiments of the above-mentioned methods may be included. Wherein, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, or a random storage memory, and the like.
以上所揭露的仅为本申请较佳实施例而已,当然不能以此来限定本申请之权利范围, 因此依本申请权利要求所作的等同变化,仍属本申请所涵盖的范围。The above disclosures are only preferred embodiments of the present application, and of course, the scope of the rights of the present application cannot be limited by this. Therefore, equivalent changes made according to the claims of the present application are still within the scope of the present application.
Claims (20)
- 一种网页显示方法,其中,所述方法包括:A web page display method, wherein the method comprises:当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;When an opening operation for a target web page is detected in the browser window, acquiring web page identification information of the target web page;获取与所述目标网页的网页标识信息相匹配的门户标签信息;obtaining portal label information that matches the webpage identification information of the target webpage;控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- 根据权利1所述的方法,其中,所述当在所述浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息之前,还包括:The method according to claim 1, wherein, before acquiring the webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window, the method further comprises:获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中。Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:当未获取到与所述目标网页的网页标识信息相匹配的门户标签信息时,基于所述浏览器窗体对所述目标网页的网页页面进行显示,并将所述目标网页的网页标签显示于所述浏览器窗体的标签栏中。When the portal tag information matching the web page identification information of the target web page is not obtained, the web page of the target web page is displayed based on the browser window, and the web page tag of the target web page is displayed in the the tab bar of the browser window.
- 根据权利要求1所述的方法,其中,所述控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示,包括:The method according to claim 1, wherein the control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window, include:当所述浏览器窗体中已显示网页的网页数量小于数量阈值时,基于所述浏览器窗体对所述目标网页进行显示;When the number of web pages of the displayed web pages in the browser window is less than the number threshold, display the target web page based on the browser window;当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
- 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, wherein the method further comprises:当切换至所述门户窗体时,获取所述门户标签信息对应的门户网页集合;When switching to the portal window, obtain the portal page set corresponding to the portal label information;在所述门户窗体中添加所述门户网页集合中的历史浏览网页,所述历史浏览网页的网页标识信息与所述门户标签信息相匹配。The historical browsing webpage in the portal webpage collection is added to the portal window, and the webpage identification information of the historical browsing webpage matches the portal label information.
- 根据权利要求5所述的方法,其中,所述在所述门户窗体中添加所述门户网页集合中的历史浏览网页,包括:The method according to claim 5, wherein the adding the historical browsing webpages in the portal webpage collection in the portal window comprises:基于所述门户网页集合中各历史浏览网页的优先级,在所述门户网页集合中获取目标数量的历史浏览网页;Acquiring a target number of historically browsed webpages in the portal webpage set based on the priority of each historically browsed webpage in the portal webpage set;在所述门户窗体中显示所述目标数量的历史浏览网页。The historical browsing web pages of the target number are displayed in the portal window.
- 根据权利要求6所述的方法,其中,所述各历史浏览网页的优先级基于所述各历史浏览网页在所述浏览器窗体中的打开次数、打开总时长确定。The method according to claim 6, wherein the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
- 根据权利要求6所述的方法,其中,所述各历史浏览网页的优先级基于所述各历史浏览网页的最近打开时间确定。The method of claim 6, wherein the priority of each historically browsed web page is determined based on the most recent opening time of the each historically browsed web page.
- 根据权利要求1-8任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1-8, wherein the method further comprises:当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体。When a closing instruction for the portal window is received, the display interface is controlled to switch from the portal window to the browser window.
- 根据权利要求9所述的方法,其中,所述当接收到针对所述门户窗体的关闭指令时,控制所述显示界面由所述门户窗体切换至所述浏览器窗体之后,还包括:The method according to claim 9, wherein after the control of the display interface to switch from the portal window to the browser window when a closing instruction for the portal window is received, the method further comprises: :控制所述显示界面显示选择窗口。The display interface is controlled to display a selection window.
- 根据权利要求10所述的方法,其中,所述控制所述显示界面显示选择窗口之后,还包括:The method according to claim 10, wherein after the controlling the display interface to display the selection window, the method further comprises:当接收到针对所述选择窗口的第一选择指令时,关闭所述门户窗体;When receiving the first selection instruction for the selection window, close the portal window;当接收到针对所述选择窗口的第二选择指令时,将所述门户窗体调至后台运行。When a second selection instruction for the selection window is received, the portal window is transferred to the background to run.
- 一种网页显示装置,其中,所述装置包括:A webpage display device, wherein the device comprises:网页标识获取模块,用于当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;a webpage identification obtaining module, configured to obtain webpage identification information of the target webpage when an opening operation for the target webpage is detected in the browser window;门户标签匹配模块,用于获取与所述目标网页的网页标识信息相匹配的门户标签信息;a portal label matching module for obtaining portal label information that matches the webpage identification information of the target webpage;窗体切换模块,用于控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。A window switching module is configured to control the display interface to be switched from the browser window to the portal window corresponding to the portal label information, and display the target web page based on the portal window.
- 一种计算机存储介质,其中,所述计算机存储介质存储有多条指令,所述指令适于由处理器加载并执行如权利要求1~11任意一项的方法步骤。A computer storage medium, wherein the computer storage medium stores a plurality of instructions, the instructions are adapted to be loaded by a processor and perform the method steps of any one of claims 1-11.
- 一种电子设备,其中,包括:处理器和存储器;其中,所述存储器存储有计算机程序,所述计算机程序适于由所述处理器加载并执行:An electronic device, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded and executed by the processor:当在浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息;When an opening operation for a target web page is detected in the browser window, acquiring web page identification information of the target web page;获取与所述目标网页的网页标识信息相匹配的门户标签信息;obtaining portal label information that matches the webpage identification information of the target webpage;控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。The control display interface is switched from the browser window to the portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window.
- 根据权利要求14所述的电子设备,其中,所述当在所述浏览器窗体中检测到针对目标网页的打开操作时,获取所述目标网页的网页标识信息之前,还执行:The electronic device according to claim 14, wherein when an opening operation for a target webpage is detected in the browser window, before acquiring the webpage identification information of the target webpage, the method further executes:获取所输入网页地址信息,获取所述网页地址信息对应的门户标签信息,将所述门户标签信息显示于浏览器窗体的门户栏中。Acquiring the input web page address information, acquiring the portal label information corresponding to the web page address information, and displaying the portal label information in the portal bar of the browser window.
- 根据权利要求14所述的电子设备,其中,所述控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示,具体执行:The electronic device according to claim 14, wherein the control display interface is switched from the browser window to a portal window corresponding to the portal label information, and the target webpage is displayed based on the portal window , the specific implementation:当所述浏览器窗体中已显示网页的网页数量小于数量阈值时,基于所述浏览器窗体对所述目标网页进行显示;When the number of web pages of the displayed web pages in the browser window is less than the number threshold, display the target web page based on the browser window;当所述浏览器窗体中已显示网页的网页数量大于或等于所述数量阈值时,控制显示界面由所述浏览器窗体切换至所述门户标签信息对应的门户窗体,基于所述门户窗体对所述目标网页进行显示。When the number of displayed web pages in the browser window is greater than or equal to the number threshold, control the display interface to switch from the browser window to the portal window corresponding to the portal label information, based on the portal The window displays the target web page.
- 根据权利要求14所述的电子设备,其中,还执行:The electronic device of claim 14, wherein further:当切换至所述门户窗体时,获取所述门户标签信息对应的门户网页集合;When switching to the portal window, obtain the portal page set corresponding to the portal label information;在所述门户窗体中添加所述门户网页集合中的历史浏览网页,所述历史浏览网页的网页标识信息与所述门户标签信息相匹配。The historical browsing webpage in the portal webpage collection is added to the portal window, and the webpage identification information of the historical browsing webpage matches the portal label information.
- 根据权利要求14所述的电子设备,其中,所述在所述门户窗体中添加所述门户网页集合中的历史浏览网页,具体执行:The electronic device according to claim 14, wherein the adding the historical browsing webpage in the portal webpage collection in the portal window specifically executes:基于所述门户网页集合中各历史浏览网页的优先级,在所述门户网页集合中获取目标数量的历史浏览网页;Acquiring a target number of historically browsed webpages in the portal webpage set based on the priority of each historically browsed webpage in the portal webpage set;在所述门户窗体中显示所述目标数量的历史浏览网页。The historical browsing web pages of the target number are displayed in the portal window.
- 根据权利要求14所述的电子设备,其中,所述各历史浏览网页的优先级基于所述各历史浏览网页在所述浏览器窗体中的打开次数、打开总时长确定。The electronic device according to claim 14, wherein the priority of each historically browsed webpage is determined based on the number of times and the total opening time of each historically browsed webpage in the browser window.
- 根据权利要求14所述的电子设备,其中,所述各历史浏览网页的优先级基于所述各历史浏览网页的最近打开时间确定。15. The electronic device of claim 14, wherein the priority of each historically browsed web page is determined based on the most recent opening time of the each historically browsed web page.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011488204.6 | 2020-12-16 | ||
CN202011488204.6A CN112541142B (en) | 2020-12-16 | 2020-12-16 | Webpage display method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022127423A1 true WO2022127423A1 (en) | 2022-06-23 |
Family
ID=75018258
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/128626 WO2022127423A1 (en) | 2020-12-16 | 2021-11-04 | Webpage display method and apparatus, and storage medium and electronic device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112541142B (en) |
WO (1) | WO2022127423A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112541142B (en) * | 2020-12-16 | 2024-07-09 | 深圳市欢太科技有限公司 | Webpage display method and device, storage medium and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102597994A (en) * | 2009-10-29 | 2012-07-18 | 国际商业机器公司 | User-defined profile tags, rules, and recommendations for portal |
CN109308337A (en) * | 2018-08-02 | 2019-02-05 | 北京天元创新科技有限公司 | Page sharing method and device |
CN111611502A (en) * | 2019-02-25 | 2020-09-01 | 阿里巴巴集团控股有限公司 | Label page display method and device |
CN112541142A (en) * | 2020-12-16 | 2021-03-23 | 深圳市欢太科技有限公司 | Webpage display method and device, storage medium and electronic equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407937B (en) * | 2014-11-19 | 2018-07-03 | 北京奇虎科技有限公司 | The method and browser of data are loaded in browser |
CN107220094B (en) * | 2017-06-27 | 2019-06-28 | 北京金山安全软件有限公司 | Page loading method and device and electronic equipment |
-
2020
- 2020-12-16 CN CN202011488204.6A patent/CN112541142B/en active Active
-
2021
- 2021-11-04 WO PCT/CN2021/128626 patent/WO2022127423A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102597994A (en) * | 2009-10-29 | 2012-07-18 | 国际商业机器公司 | User-defined profile tags, rules, and recommendations for portal |
CN109308337A (en) * | 2018-08-02 | 2019-02-05 | 北京天元创新科技有限公司 | Page sharing method and device |
CN111611502A (en) * | 2019-02-25 | 2020-09-01 | 阿里巴巴集团控股有限公司 | Label page display method and device |
CN112541142A (en) * | 2020-12-16 | 2021-03-23 | 深圳市欢太科技有限公司 | Webpage display method and device, storage medium and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN112541142A (en) | 2021-03-23 |
CN112541142B (en) | 2024-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11200293B2 (en) | Method and system for controlling presentation of web resources in a browser window | |
CN106874390B (en) | Browser history record viewing method and terminal | |
US10261650B2 (en) | Window grouping and management across applications and devices | |
US20140289597A1 (en) | Method and device for displaying preview screen of hyperlink | |
KR20180099813A (en) | User interface | |
EP3392787A1 (en) | User terminal device and control method thereof | |
US8589781B2 (en) | Information processing device, information processing method, program, and information processing system | |
US20100235750A1 (en) | System, method and program product for a graphical interface | |
CN108108377A (en) | Browser page jump method, device and terminal device | |
US11157576B2 (en) | Method, system and terminal for performing search in a browser | |
US9607095B2 (en) | Browser collection method, system and terminal device, and computer-readable storage medium | |
WO2022233276A1 (en) | Display method and apparatus, and electronic device | |
EP4404037A1 (en) | Content sharing method and apparatus, and electronic device | |
CN103902736A (en) | System and method for finger click word-capturing search of words displayed on mobile information equipment screen | |
WO2022127423A1 (en) | Webpage display method and apparatus, and storage medium and electronic device | |
KR20160001250A (en) | Method for providing contents in electronic device and apparatus applying the same | |
KR102044614B1 (en) | Input method based website information providing method and device | |
US20130282686A1 (en) | Methods, systems and computer program product for dynamic content search on mobile internet devices | |
CN107870721A (en) | Search result shows method, apparatus and the device showed for search result | |
US10628493B2 (en) | Method and system for generating search query suggestions | |
CN111506838A (en) | Method and device for displaying tab in browser, medium and equipment | |
EP2786240A1 (en) | Method and device for multi-window browsing | |
CN113268184A (en) | Browser tab switching method and device, electronic equipment and readable medium | |
US20160373554A1 (en) | Computer-readable recording medium, web access method, and web access device | |
US12022035B2 (en) | Display control method and display control apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21905352 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21905352 Country of ref document: EP Kind code of ref document: A1 |