Page display method and device, equipment, storage medium and product

By integrating artificial intelligence models in the browser and generating and integrating event contexts, the problem of the inability to enrich display content with context relationships in the existing technology is solved, and richer and more orderly display content is achieved, and user experience is improved.

CN119917760APending Publication Date: 2025-05-02BEIJING QIHOOD TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510006080.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-02
Publication Date
2025-05-02

AI Technical Summary

Technical Problem

The prior art cannot effectively enrich the display content with context, resulting in the lack of correlation between causes and consequences when browsing.

Method used

By integrating artificial intelligence models in the browser, responding to page browsing instructions, obtaining page content, extracting keywords, searching for related network content, generating event contexts, and integrating them into the page to be displayed.

Benefits of technology

It realizes the event context with contextual relationships for users, enriches the display content, and improves the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119917760A_ABST
    Figure CN119917760A_ABST
Patent Text Reader

Abstract

The invention discloses a page display method and device, equipment, a storage medium and a product, and relates to the technical field of data processing, and the method comprises the following steps: in response to a page browsing instruction triggered in a browser, obtaining page content of a to-be-displayed page corresponding to the page browsing instruction; carrying out keyword extraction on the page content; searching network content associated with the keyword through an artificial intelligence model integrated on a browser; generating an event context based on the page content and the network content; integrating the event venation into the to-be-displayed page, and displaying the to-be-displayed page after the event venation is integrated; through the above mode, the network content associated with the keyword is searched by using the artificial intelligence model integrated on the browser, and after the event venation is generated, the to-be-displayed page integrated with the event venation is displayed together, so that the display content with a venation relationship can be effectively enriched, and the user experience is improved. The event venation with the predecessor-consequence relationship is displayed for the user, and the experience feeling of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to page display methods, devices, equipment, storage media and products. Background Art

[0002] As computers become more and more popular, people are more and more fond of browsing news and looking up materials on computers. However, when users click on a link to jump to a specific display page, the display page only displays a single content. Some pages may also be accompanied by advertisements, but these advertisements are for promotion purposes and have a low relevance to the display content itself. They are fragmented and have no contextual relationship. Based on this, the above method cannot enrich the display content with a contextual relationship.

[0003] The above contents are only used to assist in understanding the technical solution of the present application and do not constitute an admission that the above contents are prior art. Summary of the invention

[0004] The main purpose of this application is to provide a page display method, device, equipment, storage medium and product, aiming to solve the technical problem that the existing technology cannot enrich the display content with contextual relationship.

[0005] To achieve the above purpose, the present application proposes a page display method, which includes:

[0006] In response to a page browsing instruction triggered in a browser, obtaining the page content of a page to be displayed corresponding to the page browsing instruction;

[0007] Extract keywords from the page content to obtain keywords;

[0008] Searching for network content associated with the keyword by using an artificial intelligence model integrated on the browser;

[0009] generating an event context based on the page content and the network content;

[0010] The event context is integrated into the page to be displayed, and the page to be displayed after the event context is integrated is displayed.

[0011] In one embodiment, the step of extracting keywords from the page content to obtain keywords includes:

[0012] Perform text parsing on the page content to obtain current text content;

[0013] Performing word meaning analysis on the current text content;

[0014] Evaluate the results of content word meaning analysis based on the target importance evaluation algorithm to obtain the important feature value of each word;

[0015] Keywords are extracted from the page content according to the important feature values ​​of each word to obtain keywords.

[0016] In one embodiment, the step of generating an event context based on the page content and the network content includes:

[0017] Calculating the correlation characteristic values ​​of the network content and the page content respectively;

[0018] Filtering the network content according to the correlation degree characteristic value;

[0019] Determining page summary content according to the page content by using a content summary model integrated in the browser;

[0020] An event context is generated based on the filtered network content and the page summary content.

[0021] In one embodiment, the step of generating an event context based on the filtered network content and the page summary content includes:

[0022] Extract keywords based on the time dimension;

[0023] When the time extraction result is not empty, the occurrence time of the filtered network content is obtained;

[0024] An event context is generated according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0025] In one embodiment, the step of generating an event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content, and the page summary content includes:

[0026] Generate a page event node according to the extracted time keywords and the page summary content;

[0027] Generate a network event node according to the occurrence time of the filtered network content and the filtered network content;

[0028] sorting the page event nodes and the network event nodes respectively according to the extracted time keywords and the occurrence time of the filtered network content;

[0029] Generate event context based on the event node sorting results.

[0030] In one embodiment, the step of generating an event context based on the filtered network content and the page summary content includes:

[0031] Extract keywords based on logical relationship dimensions;

[0032] When the logical relationship extraction result is not empty, determining the logical relationship between the filtered network content and the page summary content;

[0033] An event context is generated according to the logical relationship, the filtered network content and the page summary content.

[0034] In one embodiment, the step of integrating the event context into the page to be displayed includes:

[0035] Get the page display area of ​​the browser;

[0036] Dividing the content area according to the event context and the page content to obtain an integrated area of ​​the event context;

[0037] The event context is integrated into the page to be displayed according to the integration area.

[0038] In one embodiment, after the step of displaying the page to be displayed after integrating the event context, the method further includes:

[0039] Detect the hovering position of the target object in real time;

[0040] When the hover position is a keyword position, tracking network content matching the keyword in the event context;

[0041] The matching network content and the page content at the hovering position are displayed synchronously.

[0042] In one embodiment, after the step of displaying the page to be displayed after integrating the event context, the method further includes:

[0043] In response to a user dragging operation on a side boundary of the integration area;

[0044] Get the width of the integrated area after the drag operation;

[0045] When the width is less than a first threshold, switching the integrated area to a floating context button;

[0046] When the width is greater than a second threshold, the display area of ​​the page content is switched to a floating page button.

[0047] In one embodiment, before the step of integrating the artificial intelligence model on the browser, the method further includes:

[0048] Select a target artificial intelligence model from the artificial intelligence model set according to current demand information;

[0049] When the target artificial intelligence model does not meet the integration conditions, performing data conversion on the target artificial intelligence model through a target integration framework;

[0050] Integrate the converted AI model on the browser.

[0051] In addition, to achieve the above-mentioned purpose, the present application also proposes a page display device, which includes:

[0052] An acquisition module, configured to, in response to a page browsing instruction triggered in a browser, acquire the page content of a page to be displayed corresponding to the page browsing instruction;

[0053] An extraction module, used to extract keywords from the page content to obtain keywords;

[0054] A search module, for searching for network content associated with the keyword through an artificial intelligence model integrated on the browser;

[0055] A generation module, used for generating an event context based on the page content and the network content;

[0056] The display module is used to integrate the event context into the page to be displayed, and display the page to be displayed after integrating the event context.

[0057] In one embodiment, the extraction module is also used to perform text analysis on the page content to obtain the current text content; perform word meaning analysis on the current text content; evaluate the content word meaning analysis results based on the target importance evaluation algorithm to obtain important feature values ​​of each word; and perform keyword extraction on the page content based on the important feature values ​​of each word to obtain keywords.

[0058] In one embodiment, the generation module is further used to respectively calculate the correlation characteristic values ​​between the network content and the page content; filter the network content according to the correlation characteristic values; determine the page summary content according to the page content through a content summary model integrated in the browser; and generate an event context according to the filtered network content and the page summary content.

[0059] In one embodiment, the generation module is also used to perform vocabulary extraction on keywords according to the time dimension; when the time extraction result is not empty, obtain the occurrence time of the filtered network content; generate an event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0060] In one embodiment, the generation module is also used to generate page event nodes based on the extracted time keywords and the page summary content; generate network event nodes based on the occurrence time of the filtered network content and the filtered network content; sort the page event nodes and the network event nodes according to the extracted time keywords and the occurrence time of the filtered network content respectively; and generate event context according to the event node sorting results.

[0061] In one embodiment, the display module is further used to obtain the page display area of ​​the browser; divide the content area according to the event context and the page content to obtain the integrated area of ​​the event context; and integrate the event context into the page to be displayed according to the integrated area.

[0062] In one embodiment, the display module is also used to detect the hover position of the target object in real time; when the hover position is a keyword position, track the network content matching the keyword in the event context; and synchronously display the matching network content and the page content of the hover position.

[0063] In addition, to achieve the above objectives, the present application also proposes a page display device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the page display method described above.

[0064] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the page display method described above are implemented.

[0065] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the page display method described above are implemented.

[0066] One or more technical solutions proposed in the present application have at least the following technical effects: by responding to a page browsing instruction triggered in a browser, the page content of the page to be displayed corresponding to the page browsing instruction is obtained; keywords are extracted from the page content to obtain keywords; through an artificial intelligence model integrated on the browser, network content associated with the keywords is searched; an event context is generated based on the page content and the network content; the event context is integrated into the page to be displayed, and the page to be displayed after the event context is integrated is displayed; through the above method, after obtaining the keywords of the page content of the page to be displayed, the artificial intelligence model integrated on the browser is used to search for network content associated with the keywords to enrich the display content, and after the event context is generated, the page to be displayed integrated with the event context is displayed together, thereby effectively enriching the display content, that is, displaying the event context with a cause-and-effect relationship to the user, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] The accompanying drawings herein are incorporated in and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the description, are used to explain the principles of the present application.

[0068] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0069] Figure 1 A flowchart of the first embodiment of the method for displaying a page in this application;

[0070] Figure 2 A flow chart of the second embodiment of the method for displaying a page in this application;

[0071] Figure 3 This is a schematic diagram of the module structure of the page display device of the embodiment of the present application;

[0072] Figure 4 This is a schematic diagram of the device structure of the hardware operating environment involved in the page display method in the embodiment of the present application.

[0073] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0074] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a page display device, etc. The following takes a page display device as an example to illustrate this embodiment and the following embodiments.

[0075] Based on this, the present application embodiment provides a page display method, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the page display method of this application.

[0076] In this embodiment, the page display method includes steps S10 to S50:

[0077] Step S10, in response to a page browsing instruction triggered in the browser, obtaining the page content of the page to be displayed corresponding to the page browsing instruction.

[0078] It should be understood that the page browsing instruction refers to the instruction that the user needs to browse the page in the browser. The page browsing instruction can be triggered when the user clicks on the page link. The page to be displayed refers to the display page corresponding to the page browsing instruction. The display content of the page to be displayed includes text, pictures and other jump links.

[0079] Step S20, extracting keywords from the page content to obtain keywords.

[0080] It is understandable that a keyword refers to a key word in the page content, and the keyword may be a noun, a verb, and a modifier, such as a person's name. Different types of keywords may be extracted from the page content.

[0081] Furthermore, in order to effectively improve the accuracy of keyword extraction, step S20 includes: performing text parsing on the page content to obtain the current text content; performing word meaning analysis on the current text content; evaluating the content word meaning analysis result based on the target importance evaluation algorithm to obtain the important feature value of each word; and performing keyword extraction on the page content according to the important feature value of each word to obtain keywords.

[0082] It should be noted that the target importance evaluation algorithm refers to an algorithm used to evaluate the importance of a word in a sentence, and the target importance evaluation algorithm may be a TF-IDF (Term Frequency-Inverse Document Frequency) evaluation algorithm. After the current text content is analyzed for word meaning, the important feature value of each word is evaluated based on the target importance evaluation algorithm. The larger the important feature value, the more important the word is and the more likely it is to become a key.

[0083] It should be understood that after obtaining the important feature value of each word, it is necessary to pre-set the important threshold, and then compare the important feature value of each word with the important threshold, extract the words with important feature values ​​greater than the important threshold, and use the words as keywords.

[0084] Step S30, searching for network content associated with the keyword through the artificial intelligence model integrated in the browser.

[0085] It should be understood that network content refers to content associated with keywords, and the network content can be searched through an artificial intelligence model integrated in the browser, and the artificial intelligence model can be a target artificial intelligence search model.

[0086] Furthermore, in order to ensure that the artificial intelligence model can be integrated on the browser. Before step S30, it also includes: selecting a target artificial intelligence model from the artificial intelligence model set according to current demand information; when the target artificial intelligence model does not meet the integration conditions, performing data conversion on the target artificial intelligence model through a target integration framework; and integrating the converted artificial intelligence model on the browser.

[0087] It can be understood that the artificial intelligence model set includes different types of artificial intelligence models, for example, search-type artificial intelligence models, translation-type artificial intelligence models, content summarization-type artificial intelligence models, etc. When the current demand information is to search for network content, the target artificial intelligence model selected from the artificial intelligence model set can be a search-type artificial intelligence model, that is, a target artificial intelligence search model.

[0088] It should be understood that in order to ensure the use of the target artificial intelligence search model on the browser, the target artificial intelligence search model needs to be integrated on the browser. At this time, it is necessary to determine whether the target artificial intelligence model meets the integration conditions. If it meets the conditions, it will be directly integrated. If it does not meet the conditions, the target artificial intelligence model will be converted through the target integration framework. The objects of data conversion include but are not limited to interface protocols, formats, etc. The target integration framework refers to a framework that ensures that models that do not meet the integration conditions can be successfully integrated on the browser.

[0089] Step S40: generating an event context based on the page content and the network content.

[0090] It is understandable that event context refers to a context that shows the order of occurrence and / or logical relationship of multiple contents, which is used to help users better understand the development process of multiple contents, wherein the order of occurrence represents time. In this embodiment, the dimensions used to generate the time context include the time dimension and the logical relationship dimension.

[0091] Step S50, integrating the event context into the page to be displayed, and displaying the page to be displayed after integrating the event context.

[0092] It should be understood that after the event context is generated, the event context is integrated into the page to be displayed. For the content to be displayed, it contains the original page content and the newly integrated event context, and the event context is strongly associated with the page content and has a context relationship. At this time, the content of the page to be displayed is rich, and can effectively enrich the display content with a context relationship.

[0093] Furthermore, in order to effectively improve the accuracy of the integrated event context, the step of integrating the event context into the page to be displayed includes: obtaining a page display area of ​​the browser; dividing the content area according to the event context and the page content to obtain an integrated area of ​​the event context; and integrating the event context into the page to be displayed according to the integrated area.

[0094] It can be understood that the page display area refers to the area where the page is displayed in the browser. In order to quickly and accurately integrate the event context into the page to be displayed, it is necessary to first determine the integration area of ​​the event context. At this time, the content area can be divided according to the event context and the page content. For example, the integration area of ​​the event context is the right part of the content area, and the display area of ​​the page content is the left part of the content area. Then, the event context is integrated into the page to be displayed in the integration area. At this time, the event context and the page content together constitute the content of the page to be displayed.

[0095] Furthermore, in order to effectively improve the user experience. After the step of displaying the page to be displayed after integrating the event context, it also includes: detecting the hover position of the target object in real time; when the hover position is a keyword position, tracking the network content matching the keyword in the event context; synchronously displaying the matching network content and the page content at the hover position.

[0096] It should be noted that when the device on which the browser is running is a mobile device, the target object may be a touch point, and when the device on which the browser is running is a computer, the target object may be a mouse, and the hover position refers to the position where the target object is hovering at the current moment.

[0097] It should be understood that after detecting the hovering position of the target object, it is determined in real time whether the hovering position is the keyword position. If so, it indicates that the user wants to view the network content that matches the keyword in the event context. At this time, the matching network content is quickly tracked in the event context, and the matching network content is synchronously displayed with the page content of the hovering position. Specifically: if the height of the integrated area of ​​the event context is consistent with the height of the display area of ​​the page content, they are displayed in the same row from top to bottom; if the width of the integrated area of ​​the event context is consistent with the width of the display area of ​​the page content, they are displayed in the same column from left to right; if the height and width of the integrated area of ​​the event context are inconsistent with the display area of ​​the page content, they are displayed synchronously on the same page.

[0098] Furthermore, in order to effectively improve the user experience. After the step of displaying the page to be displayed after integrating the event context, it also includes: responding to the user's dragging operation on the side boundary of the integrated area; obtaining the width of the integrated area after the dragging operation; when the width is less than a first threshold, switching the integrated area to a floating context button; when the width is greater than a second threshold, switching the display area of ​​the page content to a floating page button.

[0099] It can be understood that the drag operation refers to the operation of the user dragging the side boundary of the integrated area, and the drag operation will change the size of the integrated area, for example, shrinking the integrated area, expanding the integrated area, etc. In response to the user's drag operation on the side boundary of the integrated area, the width of the integrated area after the drag operation is detected in real time. When the width is less than the first threshold, it indicates that the width of the integrated area has become smaller, and the user does not want to browse the event context. At this time, the integrated area is switched to a floating context button, that is, the event context is not displayed. When the user clicks the floating context button, the event context of the integrated area is expanded and displayed. Similarly, when the width is greater than the second threshold, it indicates that the width of the integrated area has become larger, and the user does not want to browse the page content. At this time, the display area of ​​the page content is switched to a floating page button, that is, the page content is not displayed. When the user clicks the floating context button, the page content is displayed again.

[0100] It should be noted that when the height of the integrated area after the drag operation is less than the third threshold, it indicates that the height of the integrated area has become smaller and the user does not want to browse the event context. At this time, the integrated area is switched to a floating context button, that is, the event context is not displayed. When the user clicks the floating context button, the event context of the integrated area is expanded and displayed. Similarly, when the height is greater than the fourth threshold, it indicates that the height of the integrated area has become larger and the user does not want to browse the page content. At this time, the display area of ​​the page content is switched to a floating page button, that is, the page content is not displayed. When the user clicks the floating context button, the page content is displayed again.

[0101] This embodiment obtains the page content of the page to be displayed corresponding to the page browsing instruction in response to the page browsing instruction triggered in the browser; extracts keywords from the page content to obtain keywords; searches for network content associated with the keywords through the artificial intelligence model integrated on the browser; generates an event context based on the page content and the network content; integrates the event context into the page to be displayed, and displays the page to be displayed after the event context is integrated; through the above method, after obtaining the keywords of the page content of the page to be displayed, the artificial intelligence model integrated on the browser is used to search for network content associated with the keywords to enrich the display content, and after generating the event context, the page to be displayed integrated with the event context is displayed together, so as to effectively enrich the display content with context relationship, that is, to display the event context with cause and effect relationship to the user, and improve the user experience.

[0102] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , step S40 includes steps S401 to S404:

[0103] Step S401, respectively calculating the correlation characteristic values ​​between the network content and the page content.

[0104] It should be understood that the correlation degree characteristic value represents the correlation degree between the network content and the page content. The larger the correlation degree characteristic value, the stronger the correlation between the network content and the page content. The algorithm used to calculate the correlation degree characteristic value between the network content and the page content can be the Pearson correlation algorithm or other algorithms, which is not limited in this embodiment.

[0105] Step S402: screening the network content according to the correlation degree characteristic value.

[0106] It is understandable that in order to obtain network content that is strongly associated with a keyword, it is necessary to screen the network content according to the correlation characteristic value, that is, to screen out network content whose correlation characteristic value is less than a preset threshold.

[0107] Step S403: determining the page summary content according to the page content through the content summary model integrated in the browser.

[0108] It should be understood that the content summarization model refers to a model used to summarize complex content into concise content. After obtaining the page content of the page to be displayed, the page content is input into the content summarization model, and the page summary content output by the content summarization model is obtained.

[0109] Step S404: generating an event context according to the filtered network content and the page summary content.

[0110] It can be understood that event context refers to the context that displays the order of occurrence and / or logical relationship of multiple contents, wherein the order of occurrence represents time. After obtaining the filtered network content and page summary content, event context is generated from the time dimension and / or logical relationship dimension.

[0111] Furthermore, in order to effectively improve the accuracy of generating event context, step S404 includes: extracting keywords according to the time dimension; when the time extraction result is not empty, obtaining the occurrence time of the filtered network content; generating event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0112] It should be understood that after determining that the dimension of the event context generated this time is the time dimension, the keywords are extracted according to the time dimension. When it is determined that the time extraction result is not empty, it indicates that the keywords related to the time dimension have been extracted. At this time, the occurrence time of the filtered network content is also required. For example, the occurrence time of network content A is t1, and the occurrence time of network content B is t2. Then, the event context is generated by combining the filtered network content and the page summary content.

[0113] Furthermore, in order to effectively improve the accuracy of generating event context, the step of generating event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content includes: generating page event nodes according to the extracted time keywords and the page summary content; generating network event nodes according to the occurrence time of the filtered network content and the filtered network content; sorting the page event nodes and the network event nodes according to the extracted time keywords and the occurrence time of the filtered network content; and generating event context according to the event node sorting result.

[0114] It can be understood that the page event node refers to the event node generated based on the time dimension and the extracted time keywords and the page summary content. Similarly, the network event node refers to the event node generated based on the time dimension and the filtered network content. At this time, the event nodes include page event nodes and network event nodes, and then the page event nodes and network event nodes are sorted according to the order, that is, the event nodes that occurred first are arranged in front, and the event nodes that occurred later are arranged in the back, and so on. Finally, the event context is generated according to the event node sorting results.

[0115] Furthermore, in order to effectively improve the accuracy of generating event context, step S404 includes: extracting keywords according to the logical relationship dimension; when the logical relationship extraction result is not empty, determining the logical relationship between the screened network content and the page summary content; generating event context according to the logical relationship, the screened network content and the page summary content.

[0116] It should be understood that after determining that the dimension of the event context generated this time is the logical relationship dimension, the keywords are extracted according to the logical relationship dimension. When it is determined that the logical relationship extraction result is not empty, it indicates that the keywords related to the logical relationship have been extracted. For example, because the molecules M and N are fully formed, P can be completely neutralized. At this time, the keywords related to the logical relationship can be "because" or "so that". Then the logical relationship between the filtered network content and the page content is determined. At this time, the filtered network content with the strongest logical relationship is arranged adjacent to the page summary content, and then the logical relationship with the sorted web page content is further determined, and so on, until all the filtered network content is arranged, thereby generating an event context.

[0117] It should be noted that this embodiment also proposes a method for generating event context based on the time dimension and the logical relationship dimension, that is, after generating the page event nodes and the network event nodes, the logical relationship between the page event nodes and the network event nodes is determined, and then the page event nodes and the network event nodes are sorted according to the logical relationship, thereby generating an event context.

[0118] This embodiment calculates the correlation characteristic values ​​of the network content and the page content respectively; filters the network content according to the correlation characteristic values; determines the page summary content according to the page content through the content summary model integrated in the browser; generates an event context according to the filtered network content and the page summary content; through the above method, after respectively calculating the correlation characteristic values ​​of the network content and the page content, the correlation characteristic value is compared with a preset threshold to filter out the network content with a correlation characteristic value less than the preset threshold, and after using the content summary model to determine the page summary content corresponding to the page content, the event context is generated from different dimensions, thereby effectively improving the diversity and accuracy of the generated event context.

[0119] This application also provides a page display device, please refer to Figure 3 , the page display device comprises:

[0120] The acquisition module 10 is used to respond to a page browsing instruction triggered in the browser and acquire the page content of the page to be displayed corresponding to the page browsing instruction.

[0121] The extraction module 20 is used to extract keywords from the page content to obtain keywords.

[0122] The search module 30 is used to search for network content associated with the keyword through an artificial intelligence model integrated on the browser.

[0123] The generating module 40 is used to generate an event context based on the page content and the network content.

[0124] The display module 50 is used to integrate the event context into the page to be displayed, and display the page to be displayed after integrating the event context.

[0125] This embodiment obtains the page content of the page to be displayed corresponding to the page browsing instruction in response to the page browsing instruction triggered in the browser; extracts keywords from the page content to obtain keywords; searches for network content associated with the keywords through the artificial intelligence model integrated on the browser; generates an event context based on the page content and the network content; integrates the event context into the page to be displayed, and displays the page to be displayed after the event context is integrated; through the above method, after obtaining the keywords of the page content of the page to be displayed, the artificial intelligence model integrated on the browser is used to search for network content associated with the keywords to enrich the display content, and after generating the event context, the page to be displayed integrated with the event context is displayed together, so as to effectively enrich the display content with context relationship, that is, to display the event context with cause and effect relationship to the user, and improve the user experience.

[0126] The page display device provided by the present application adopts the page display method in the above embodiment, which can solve the technical problem that the prior art cannot enrich the display content with contextual relationship. Compared with the prior art, the beneficial effects of the page display device provided by the present application are the same as the beneficial effects of the page display method provided by the above embodiment, and the other technical features in the page display device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0127] In one embodiment, the extraction module 20 is also used to perform text analysis on the page content to obtain the current text content; perform word meaning analysis on the current text content; evaluate the content word meaning analysis results based on the target importance evaluation algorithm to obtain important feature values ​​of each word; and perform keyword extraction on the page content based on the important feature values ​​of each word to obtain keywords.

[0128] In one embodiment, the search module 30 is also used to select a target artificial intelligence model from the artificial intelligence model set based on current demand information; when the target artificial intelligence model does not meet the integration conditions, perform data conversion on the target artificial intelligence model through the target integration framework; and integrate the converted artificial intelligence model on the browser.

[0129] In one embodiment, the generation module 40 is further used to respectively calculate the correlation characteristic values ​​between the network content and the page content; filter the network content according to the correlation characteristic values; determine the page summary content according to the page content through the content summary model integrated in the browser; and generate an event context according to the filtered network content and the page summary content.

[0130] In one embodiment, the generation module 40 is also used to extract vocabulary from keywords according to the time dimension; when the time extraction result is not empty, obtain the occurrence time of the filtered network content; and generate an event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0131] In one embodiment, the generation module 40 is further used to generate page event nodes based on the extracted time keywords and the page summary content; generate network event nodes based on the occurrence time of the filtered network content and the filtered network content; sort the page event nodes and the network event nodes according to the extracted time keywords and the occurrence time of the filtered network content respectively; and generate event context according to the event node sorting results.

[0132] In one embodiment, the generation module 40 is also used to perform vocabulary extraction on keywords according to the logical relationship dimension; when the logical relationship extraction result is not empty, determine the logical relationship between the filtered network content and the page summary content; and generate an event context according to the logical relationship, the filtered network content and the page summary content.

[0133] In one embodiment, the display module 50 is further used to obtain a page display area of ​​the browser; divide the content area according to the event context and the page content to obtain an integrated area of ​​the event context; and integrate the event context into the page to be displayed according to the integrated area.

[0134] In one embodiment, the display module 50 is also used to detect the hover position of the target object in real time; when the hover position is a keyword position, track the network content matching the keyword in the event context; and synchronously display the matching network content and the page content of the hover position.

[0135] In one embodiment, the display module 50 is also used to respond to the user's drag operation on the side boundary of the integrated area; obtain the width of the integrated area after the drag operation; when the width is less than a first threshold, switch the integrated area to a floating context button; when the width is greater than a second threshold, switch the display area of ​​the page content to a floating page button.

[0136] The present application provides a page display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the page display method in the above-mentioned embodiment one.

[0137] Reference below Figure 4 , which shows a schematic diagram of the structure of a page display device suitable for implementing the embodiment of the present application. The page display device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 4 The page display device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0138] like Figure 4As shown, the page display device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the page display device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the page display device to communicate with other devices wirelessly or by wire to exchange data. Although the page display device with various systems is shown in the figure, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or have alternatively.

[0139] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0140] The page display device provided by the present application adopts the page display method in the above embodiment, which can solve the technical problem that the prior art cannot enrich the display content with contextual relationship. Compared with the prior art, the beneficial effects of the page display device provided by the present application are the same as the beneficial effects of the page display method provided by the above embodiment, and the other technical features in the page display device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0141] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0142] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0143] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the page display method in the above-mentioned embodiment.

[0144] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0145] The computer-readable storage medium may be included in the page display device; or may exist independently without being assembled into the page display device.

[0146] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0147] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a sequence different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0148] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0149] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned page display method, and can solve the technical problem that the prior art cannot enrich the display content with contextual relationships. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the page display method provided by the above-mentioned embodiment, and will not be repeated here.

[0150] The present application also provides a computer program product, including a computer program, which implements the steps of the page display method as described above when executed by a processor.

[0151] The computer program product provided by the present application can solve the technical problem that the prior art cannot enrich the displayed content with contextual relationships. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the page display method provided by the above embodiment, which will not be repeated here.

[0152] The present invention discloses A1. a page display method, the method comprising:

[0153] In response to a page browsing instruction triggered in a browser, obtaining the page content of a page to be displayed corresponding to the page browsing instruction;

[0154] Extract keywords from the page content to obtain keywords;

[0155] Searching for network content associated with the keyword by using an artificial intelligence model integrated on the browser;

[0156] generating an event context based on the page content and the network content;

[0157] The event context is integrated into the page to be displayed, and the page to be displayed after the event context is integrated is displayed.

[0158] A2. As described in the method of A1, the step of extracting keywords from the page content to obtain keywords includes:

[0159] Perform text parsing on the page content to obtain current text content;

[0160] Performing word meaning analysis on the current text content;

[0161] Evaluate the results of content word meaning analysis based on the target importance evaluation algorithm to obtain the important feature value of each word;

[0162] Keywords are extracted from the page content according to the important feature values ​​of each word to obtain keywords.

[0163] A3. As described in the method of A1, the step of generating an event context based on the page content and the network content comprises:

[0164] Calculating the correlation characteristic values ​​of the network content and the page content respectively;

[0165] Filtering the network content according to the correlation degree characteristic value;

[0166] Determining page summary content according to the page content by using a content summary model integrated in the browser;

[0167] An event context is generated based on the filtered network content and the page summary content.

[0168] A4. The method as described in A3, wherein the step of generating an event context based on the filtered network content and the page summary content comprises:

[0169] Extract keywords based on the time dimension;

[0170] When the time extraction result is not empty, the occurrence time of the filtered network content is obtained;

[0171] An event context is generated according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0172] A5. As described in the method of A4, the step of generating an event context based on the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content includes:

[0173] Generate a page event node according to the extracted time keywords and the page summary content;

[0174] Generate a network event node according to the occurrence time of the filtered network content and the filtered network content;

[0175] sorting the page event nodes and the network event nodes respectively according to the extracted time keywords and the occurrence time of the filtered network content;

[0176] Generate event context based on the event node sorting results.

[0177] A6. The method as described in A3, wherein the step of generating an event context based on the filtered network content and the page summary content comprises:

[0178] Extract keywords based on logical relationship dimensions;

[0179] When the logical relationship extraction result is not empty, determining the logical relationship between the filtered network content and the page summary content;

[0180] An event context is generated according to the logical relationship, the filtered network content and the page summary content.

[0181] A7. As described in the method of A1, the step of integrating the event context into the page to be displayed comprises:

[0182] Get the page display area of ​​the browser;

[0183] Dividing the content area according to the event context and the page content to obtain an integrated area of ​​the event context;

[0184] The event context is integrated into the page to be displayed according to the integration area.

[0185] A8. The method as described in any one of A1 to A7, after the step of displaying the page to be displayed after integrating the event context, further includes:

[0186] Detect the hovering position of the target object in real time;

[0187] When the hover position is a keyword position, tracking network content matching the keyword in the event context;

[0188] The matching network content and the page content at the hovering position are displayed synchronously.

[0189] A9. The method as described in any one of A1 to A7, after the step of displaying the page to be displayed after integrating the event context, further includes:

[0190] In response to a user dragging operation on a side boundary of the integration area;

[0191] Get the width of the integrated area after the drag operation;

[0192] When the width is less than a first threshold, switching the integrated area to a floating context button;

[0193] When the width is greater than a second threshold, the display area of ​​the page content is switched to a floating page button.

[0194] A10. The method as described in A1, before the step of integrating the artificial intelligence model on the browser, further includes:

[0195] Select a target artificial intelligence model from the artificial intelligence model set according to current demand information;

[0196] When the target artificial intelligence model does not meet the integration conditions, performing data conversion on the target artificial intelligence model through a target integration framework;

[0197] Integrate the converted AI model on the browser.

[0198] The present invention also discloses B11. a page display device, the device comprising:

[0199] An acquisition module, configured to, in response to a page browsing instruction triggered in a browser, acquire the page content of a page to be displayed corresponding to the page browsing instruction;

[0200] An extraction module, used to extract keywords from the page content to obtain keywords;

[0201] A search module, for searching for network content associated with the keyword through an artificial intelligence model integrated on the browser;

[0202] A generation module, used for generating an event context based on the page content and the network content;

[0203] The display module is used to integrate the event context into the page to be displayed, and display the page to be displayed after integrating the event context.

[0204] B12. In the device as described in B11, the extraction module is also used to perform text parsing on the page content to obtain the current text content; perform word meaning analysis on the current text content; evaluate the content word meaning analysis results based on the target importance evaluation algorithm to obtain important feature values ​​of each word; and perform keyword extraction on the page content according to the important feature values ​​of each word to obtain keywords.

[0205] B13. In the device as described in B11, the generation module is also used to respectively calculate the correlation characteristic values ​​between the network content and the page content; filter the network content according to the correlation characteristic values; determine the page summary content according to the page content through the content summary model integrated in the browser; and generate an event context according to the filtered network content and the page summary content.

[0206] B14. In the device as described in B13, the generation module is also used to extract vocabulary keywords according to the time dimension; when the time extraction result is not empty, obtain the occurrence time of the filtered network content; generate an event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

[0207] B15. In the device as described in B14, the generation module is also used to generate page event nodes according to the extracted time keywords and the page summary content; generate network event nodes according to the occurrence time of the filtered network content and the filtered network content; sort the page event nodes and the network event nodes according to the extracted time keywords and the occurrence time of the filtered network content respectively; and generate event context according to the event node sorting results.

[0208] B16. In the device as described in B11, the display module is also used to obtain the page display area of ​​the browser; divide the content area according to the event context and the page content to obtain the integrated area of ​​the event context; and integrate the event context into the page to be displayed according to the integrated area.

[0209] B17. In the device as described in B11, the display module is further used to detect the hovering position of the target object in real time; when the hovering position is a keyword position, track the network content matching the keyword in the event context; and synchronously display the matching network content and the page content of the hovering position.

[0210] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A page display method, characterized in that: The method comprises: In response to a page browsing instruction triggered in a browser, obtaining the page content of a page to be displayed corresponding to the page browsing instruction; Extract keywords from the page content to obtain keywords; Searching for network content associated with the keyword by using an artificial intelligence model integrated on the browser; generating an event context based on the page content and the network content; The event context is integrated into the page to be displayed, and the page to be displayed after the event context is integrated is displayed.

2. The method according to claim 1, characterized in that The step of extracting keywords from the page content to obtain keywords includes: Perform text parsing on the page content to obtain current text content; Performing word meaning analysis on the current text content; Evaluate the results of content word meaning analysis based on the target importance evaluation algorithm to obtain the important feature value of each word; Keywords are extracted from the page content according to the important feature values ​​of each word to obtain keywords.

3. The method according to claim 1, characterized in that The step of generating an event context based on the page content and the network content includes: Calculating the correlation characteristic values ​​of the network content and the page content respectively; Filtering the network content according to the correlation degree characteristic value; Determining page summary content according to the page content by using a content summary model integrated in the browser; An event context is generated based on the filtered network content and the page summary content.

4. The method according to claim 3, characterized in that The step of generating an event context according to the filtered network content and the page summary content includes: Extract keywords based on the time dimension; When the time extraction result is not empty, the occurrence time of the filtered network content is obtained; An event context is generated according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content.

5. The method according to claim 4, characterized in that The step of generating an event context according to the extracted time keywords, the occurrence time of the filtered network content, the filtered network content and the page summary content includes: Generate a page event node according to the extracted time keywords and the page summary content; Generate a network event node according to the occurrence time of the filtered network content and the filtered network content; sorting the page event nodes and the network event nodes respectively according to the extracted time keywords and the occurrence time of the filtered network content; Generate event context based on the event node sorting results.

6. The method according to claim 1, characterized in that The step of integrating the event context into the page to be displayed includes: Get the page display area of ​​the browser; Dividing the content area according to the event context and the page content to obtain an integrated area of ​​the event context; The event context is integrated into the page to be displayed according to the integration area.

7. A page display device, characterized in that: The device comprises: An acquisition module, configured to, in response to a page browsing instruction triggered in a browser, acquire the page content of a page to be displayed corresponding to the page browsing instruction; An extraction module, used to extract keywords from the page content to obtain keywords; A search module, for searching for network content associated with the keyword through an artificial intelligence model integrated on the browser; A generation module, used for generating an event context based on the page content and the network content; The display module is used to integrate the event context into the page to be displayed, and display the page to be displayed after integrating the event context.

8. A page display device, characterized in that: The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the page display method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the page display method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the page display method according to any one of claims 1 to 6 are implemented.