A web page resource search method and device for heterogeneous technology resources

By matching the search identification information input by the user in the preset address database, determining the target search address and screening heterogeneous scientific and technological resources with high similarity, the problem of low efficiency in searching heterogeneous scientific and technological resources in the existing technology is solved, and more efficient search result display is achieved.

CN119397079BActive Publication Date: 2025-10-10PEKING UNIV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411395674.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-10-08
Publication Date
2025-10-10
Estimated Expiration
2044-10-08

AI Technical Summary

Technical Problem

Since most of the existing heterogeneous scientific and technological resource search methods are expressed in natural language, it is difficult for users to accurately search for the required resources, and the search efficiency is low.

Method used

Based on the search identification information input by the user, the target search address is determined in the preset address database, and the heterogeneous scientific and technological resources corresponding to the search identification information are matched in the web page corresponding to the target search address. The search results are obtained and displayed using resource identification or similarity threshold screening.

Benefits of technology

It improves the matching degree and efficiency of heterogeneous scientific and technological resource searches, avoids search bias caused by natural language matching, and improves the accuracy and coverage of search results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119397079B_ABST
    Figure CN119397079B_ABST
Patent Text Reader

Abstract

The application provides a webpage resource search method and device for heterogeneous technology resources, comprising the following steps: determining a target search address in a preset address database based on search identifier information input by a first user; matching heterogeneous technology resources corresponding to the search identifier information in a first webpage corresponding to the target search address based on the search identifier information, obtaining a first heterogeneous technology resource search result; and displaying the first heterogeneous technology resource search result. The heterogeneous technology resources corresponding to the search identifier information can be matched in the target search address corresponding to the search identifier information according to the search identifier information input by the user, the first heterogeneous technology resource search result is obtained and displayed, search deviation caused by matching search using natural language is avoided, the matching degree between the first heterogeneous technology resource search result and the search identifier information is improved, and the search efficiency of the heterogeneous technology resources 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 a web resource search method and device for heterogeneous scientific and technological resources. Background Art

[0002] Among related technologies, heterogeneous scientific and technological resources can be managed through the scientific data search engine Findata. Findata currently includes 79 data sources, covering more than 37 million open datasets from home and abroad. The included data covers core data repositories in scientific research fields such as geography, biology, physics, and ecological environment, including ScienceDB, Gscloud, FigShare, NOMAD, Zenodo, Springer Nature, GBIF, etc., as well as scientific data center platforms and resource libraries in various fields, which can provide users with heterogeneous scientific and technological resources in multiple disciplines.

[0003] However, in the above method, since most heterogeneous scientific and technological resources are expressed in natural language, users often cannot accurately search for the desired heterogeneous scientific and technological resources when searching for heterogeneous scientific and technological resources, resulting in low efficiency in searching for heterogeneous scientific and technological resources. Summary of the Invention

[0004] In view of the above problems, embodiments of the present application provide a web resource search method, device, electronic device and readable storage medium for heterogeneous scientific and technological resources, so as to overcome the above problems or at least partially solve the above problems.

[0005] A first aspect of an embodiment of the present application provides a web resource search method for heterogeneous scientific and technological resources, the method comprising:

[0006] Determining a target search address in a preset address database based on the search identification information input by the first user;

[0007] Based on the search identification information, matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address to obtain a first heterogeneous technology resource search result; wherein the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located;

[0008] The search results of the first heterogeneous scientific and technological resources are displayed.

[0009] Optionally, the step of matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information to obtain a first heterogeneous technology resource search result includes:

[0010] Based on the search identification information, matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address to obtain the first heterogeneous technology resource;

[0011] determining a second heterogeneous scientific and technological resource included in a second webpage having a first similarity with the first webpage that is greater than or equal to a first threshold;

[0012] Determining a second similarity between the first heterogeneous scientific and technological resource and the second heterogeneous scientific and technological resource;

[0013] The second heterogeneous scientific and technological resource whose second similarity is greater than or equal to the second threshold and the first heterogeneous scientific and technological resource are jointly determined as the first heterogeneous scientific and technological resource search result.

[0014] Optionally, determining the target search address in a preset address database based on the search identification information input by the first user includes:

[0015] In a case where the search identification information input by the first user includes a first digital object identifier, determining, in a preset address database, a search address where the digital object corresponding to the first digital object identifier is located as a target search address;

[0016] When the search identification information includes a first scientific and technological resource identifier, in a preset address database, the search address where the heterogeneous scientific and technological resource corresponding to the first scientific and technological resource identifier is located is determined as the target search address; wherein, the data format of the scientific and technological resource identifier is different from that of the digital object identifier.

[0017] Optionally, the method further includes:

[0018] In a case where the search identification information includes a first search address, the first search address is determined as a target search address.

[0019] Optionally, the method further includes:

[0020] Obtaining a first webpage corresponding to a first tab in a focused state in a first browser;

[0021] Searching the first webpage for heterogeneous scientific and technological resources contained in the first webpage to obtain a second heterogeneous scientific and technological resource search result;

[0022] Display the search results of the second heterogeneous scientific and technological resources.

[0023] Optionally, searching the first webpage for heterogeneous scientific and technological resources contained in the first webpage to obtain a second heterogeneous scientific and technological resource search result includes:

[0024] In the case where the second digital object identifier exists in the first webpage, the heterogeneous scientific and technological resources contained in the first webpage are searched based on the second digital object identifier to obtain a second heterogeneous scientific and technological resource search result.

[0025] In the case that the second scientific and technological resource identifier exists in the first webpage, the heterogeneous scientific and technological resources contained in the first webpage are searched based on the second scientific and technological resource identifier to obtain a second heterogeneous scientific and technological resource search result.

[0026] Optionally, the method further includes:

[0027] The preset address database is determined based on the site search authority of a first webpage plug-in installed in the first browser; wherein the first webpage plug-in is used to receive the search identification information.

[0028] Optionally, the method further includes:

[0029] When the first webpage plug-in is in an activated state, a communication connection is established between the first webpage plug-in and the preset address database.

[0030] Optionally, the method further includes:

[0031] When the file address access function of the first webpage plug-in is enabled, the storage address of the local file is added to the preset address database to obtain an updated preset address database.

[0032] In a second aspect, an embodiment of the present application provides a web resource search device for heterogeneous scientific and technological resources, the device comprising:

[0033] A first determining module, configured to determine a target search address in a preset address database based on search identification information input by a first user;

[0034] a matching module configured to match the heterogeneous technology resource corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, thereby obtaining a first heterogeneous technology resource search result; wherein the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located;

[0035] The first display module is used to display the search results of the first heterogeneous scientific and technological resources.

[0036] Optionally, the matching module includes:

[0037] A matching submodule, configured to match the heterogeneous technology resource corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, to obtain a first heterogeneous technology resource;

[0038] A first determining submodule, configured to determine a second heterogeneous scientific and technological resource included in a second webpage whose first similarity to the first webpage is greater than or equal to a first threshold;

[0039] A second determining submodule, configured to determine a second similarity between the first heterogeneous scientific and technological resources and the second heterogeneous scientific and technological resources;

[0040] The third determining submodule is configured to jointly determine the second heterogeneous scientific and technological resource whose second similarity is greater than or equal to a second threshold and the first heterogeneous scientific and technological resource as a first heterogeneous scientific and technological resource search result.

[0041] Optionally, the first determining module includes:

[0042] a fourth determining submodule, configured to determine, in a preset address database, a search address where a digital object corresponding to the first digital object identifier is located as a target search address when the search identification information input by the first user includes the first digital object identifier;

[0043] The fifth determination submodule is used to determine the search address of the heterogeneous scientific and technological resources corresponding to the first scientific and technological resource identifier as the target search address in the preset address database when the search identification information includes the first scientific and technological resource identifier; wherein the data format of the scientific and technological resource identifier is different from that of the digital object identifier.

[0044] Optionally, the device further comprises:

[0045] The second determining module is configured to determine a first search address as a target search address when the search identification information includes the first search address.

[0046] Optionally, the device further comprises:

[0047] An acquisition module, configured to acquire a first webpage corresponding to a first tab in a focused state in a first browser;

[0048] A search module, configured to search the first webpage for heterogeneous scientific and technological resources contained in the first webpage, and obtain a search result of a second heterogeneous scientific and technological resource;

[0049] The second display module is used to display the search results of the second heterogeneous scientific and technological resources.

[0050] Optionally, the search module includes:

[0051] The first search submodule is used to search for heterogeneous scientific and technological resources contained in the first webpage based on the second digital object identifier when the second digital object identifier exists in the first webpage, and obtain second heterogeneous scientific and technological resource search results.

[0052] The second search submodule is used to search the heterogeneous scientific and technological resources contained in the first webpage based on the second scientific and technological resource identifier when the second scientific and technological resource identifier exists in the first webpage, and obtain the second heterogeneous scientific and technological resource search results.

[0053] Optionally, the device further comprises:

[0054] The third determining module is configured to determine the preset address database based on the site search authority of a first web page plug-in installed in the first browser; wherein the first web page plug-in is configured to receive the search identification information.

[0055] Optionally, the device further comprises:

[0056] The creation module is configured to create a communication connection between the first web page plug-in and the preset address database when the first web page plug-in is in an activated state.

[0057] Optionally, the device further comprises:

[0058] The adding module is used to add the storage address of the local file into the preset address database when the file address access function of the first web page plug-in is enabled, so as to obtain an updated preset address database.

[0059] In a third aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored on the memory, wherein the processor executes the computer program to implement a web resource search method for heterogeneous scientific and technological resources as described in any one of the above items.

[0060] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the web resource search method for heterogeneous scientific and technological resources as described in any one of the above items is implemented.

[0061] The specific beneficial effects are:

[0062] The embodiment of the present application determines a target search address in a preset address database based on search identification information input by a first user, and matches the heterogeneous technology resources corresponding to the search identification information in the first web page corresponding to the target search address based on the search identification information to obtain a first heterogeneous technology resource search result; wherein, the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located, and the first heterogeneous technology resource search result is displayed. The search identification information input by the user can be used to match the heterogeneous technology resources corresponding to the search identification information in the target search address corresponding to the search identification information to obtain and display the first heterogeneous technology resource search result, thereby avoiding search deviation caused by using natural language for matching search, improving the matching degree between the first heterogeneous technology resource search result and the search identification information, and improving the search efficiency of heterogeneous technology resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0064] Figure 1 This is a flow chart of a web resource search method for heterogeneous scientific and technological resources provided by an embodiment of the present application;

[0065] Figure 2 A flowchart of another web resource search method for heterogeneous scientific and technological resources provided in an embodiment of the present application;

[0066] Figure 3 This is a coding diagram of a scientific and technological resource identifier provided in an embodiment of the present application;

[0067] Figure 4 This is a user interface diagram of a first web page plug-in provided in an embodiment of the present application;

[0068] Figure 5 This is a logic block diagram of a web resource search device for heterogeneous scientific and technological resources provided by an embodiment of the present application;

[0069] Figure 6 This is a schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0070] The exemplary embodiments of this application will be described in greater detail below with reference to the accompanying drawings so as to be more thoroughly understood. Although exemplary embodiments of this application are shown in the drawings, it is understood that the present application can be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that this application will be thoroughly and completely understood, and will fully convey the scope of the application to those skilled in the art.

[0071] With reference to Figure 1 , Figure 1 A flowchart of a web page resource search method for heterogeneous technology resources provided by an embodiment of the present application is shown in FIG. 1. The method includes the following steps:

[0072] In step 101, a target search address is determined in a preset address database based on search identification information input by a first user.

[0073] In an embodiment of the present application, the search identification information can be identification information of a heterogeneous technology resource in a web page, and the corresponding heterogeneous technology resource can be matched in the web page based on the search identification information. Generally, a browser or other software with data input and output functions can be used as a search carrier, and the user can input the search identification information in the search carrier. Thus, after the first user inputs the search identification information, the target search address can be determined in the preset address database based on the search identification information input by the first user. The preset address database contains a plurality of web page addresses, and each web page address can contain a heterogeneous technology resource. The target search address can be a web page address associated with the search identification information, for example, the technology field of the target search address can be the same as or similar to the technology field corresponding to the search identification information.

[0074] In step 102, a heterogeneous technology resource corresponding to the search identification information is matched in a first web page corresponding to the target search address based on the search identification information, and a first heterogeneous technology resource search result is obtained. The first heterogeneous technology resource search result includes a first heterogeneous technology resource and a page address where the first heterogeneous technology resource is located.

[0075] In the embodiments of the present application, the heterogeneous technology resource can refer to a digital object or a data set composed of data resources of different scientific fields. The heterogeneous technology resource in the webpage can generally have a corresponding resource identifier. First, a first webpage corresponding to a target search address can be determined, then a resource identifier same as the search identifier information can be matched in the first webpage according to the search identifier information, and finally a first heterogeneous technology resource corresponding to the resource identifier and a page address where the first heterogeneous technology resource is located are determined as the first heterogeneous technology resource search result. If the heterogeneous technology resource in the webpage does not have a corresponding resource identifier, a similarity between the search identifier information and the heterogeneous technology resource in the first webpage can be calculated, and the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located with a similarity greater than or equal to a threshold value are determined as the first heterogeneous technology resource search result.

[0076] In step 103, the first heterogeneous technology resource search result is displayed.

[0077] In the embodiments of the present application, after obtaining the first heterogeneous technology resource search result, the first heterogeneous technology resource search result can be displayed, for example, displayed in a search carrier or displayed in other display devices connected to the processor.

[0078] In the embodiments of the present application, by determining a target search address in a preset address database based on the search identifier information input by the first user, matching a heterogeneous technology resource corresponding to the search identifier information in a first webpage corresponding to the target search address based on the search identifier information, obtaining a first heterogeneous technology resource search result, wherein the first heterogeneous technology resource search result includes a first heterogeneous technology resource and a page address where the first heterogeneous technology resource is located, and displaying the first heterogeneous technology resource search result, the heterogeneous technology resource corresponding to the search identifier information in the target search address corresponding to the search identifier information can be matched according to the search identifier information input by the user, the first heterogeneous technology resource search result is obtained and displayed, the search deviation caused by the matching search using natural language is avoided, the matching degree between the first heterogeneous technology resource search result and the search identifier information is improved, and the search efficiency of the heterogeneous technology resource is improved.

[0079] Reference Figure 2 , Figure 2 A flowchart of another webpage resource search method for heterogeneous technology resources provided by the embodiments of the present application can include:

[0080] In step 201, a preset address database is determined based on a site search permission of a first webpage plug-in installed in the first browser, wherein the first webpage plug-in is used to receive the search identifier information.

[0081] In an embodiment of the present application, a first browser can serve as a search medium, and a first web plug-in can also be installed in the first browser. The first web plug-in is a browser plug-in that receives search identification information input by a user and queries a connected preset address database for a target search address corresponding to the search identification information. Furthermore, the first web plug-in can also have a site search permission function, which limits the preset address databases that the first web plug-in can access. For example, site search permissions can include "all sites," "whitelisted sites," and "local sites." Accordingly, the preset address databases can include an initial address database, a designated address database, and a local address database. Thus, the preset address database can be determined based on the site search permissions of the first web plug-in. Site search permissions can be selected using a drop-down menu. When a user clicks the site search permission display area, a drop-down menu pops up. After the user clicks an option in the drop-down menu, the selected option is displayed in the display area, indicating that the current site search permissions are those displayed in the display area.

[0082] In an embodiment of the present application, a preset address database is determined based on the site search permission of a first web page plug-in installed in a first browser; wherein the first web page plug-in is used to receive search identification information, and the preset address database can be obtained through the site search permission in the first web page plug-in. The user can determine the desired preset address database by setting the site search permission, which can reduce useless address data in the preset address database, improve the accuracy of the preset address database, and improve the efficiency of obtaining the target search address.

[0083] Step 202: When the first webpage plug-in is in an activated state, establish a communication connection between the first webpage plug-in and the preset address database.

[0084] In an embodiment of the present application, the first web page plug-in can be in an activated state or a dormant state, which can be selected through the activation component of the first web page plug-in. When the first web page plug-in is in an activated state, a communication connection can be established between the first web page plug-in and the preset address database. For example, one implementation method can be that a communication connection between the first web page plug-in and the preset address database can be established through an application programming interface (API) interface in the first web page plug-in, wherein the API interface can be pre-set or created after the first web page plug-in is activated. It should be noted that when the first web page plug-in is in a dormant state, if there is a communication connection between the first web page plug-in and the preset address database, the communication connection can be disconnected.

[0085] In an embodiment of the present application, by creating a communication connection between the first web page plug-in and the preset address database when the first web page plug-in is in an activated state, a communication connection between the first web page plug-in and the preset address database can be established when the first web page plug-in is in an activated state, which can avoid unnecessary communication activities between the preset address database and the outside world, and to a certain extent improve the data security of the preset address database.

[0086] Step 203: When the file address access function of the first webpage plug-in is enabled, the storage address of the local file is added to the preset address database to obtain an updated preset address database.

[0087] In an embodiment of the present application, the first web page plug-in may also have a file address access function, and the function of enabling or disabling the function may be selected. When the file address access function of the first web page plug-in is enabled, the storage address of the local file may be added to the preset address database to obtain an updated preset address database. One implementation method may be to operate the preset address database to add the storage address of the local file to the preset address database. Another implementation method may be to directly define the storage address of the local file as a web page address in the preset address database, which is equivalent to expanding the scope of the preset address database.

[0088] In an embodiment of the present application, by adding the storage address of the local file into the preset address database when the file address access function of the first web page plug-in is enabled, an updated preset address database is obtained, and the scope of the preset address database can be expanded, thereby improving the practicality of the preset address database to a certain extent.

[0089] Step 204: Determine a target search address in a preset address database based on the search identification information input by the first user.

[0090] In the embodiment of the present application, the preset address database can be an unupdated preset address database or an updated preset address database. For other implementation details of this step, please refer to the embodiment details of step 101 and will not be described in detail here.

[0091] Optionally, step 204 may include the following sub-steps:

[0092] Sub-step 2041: When the search identification information input by the first user includes a first digital object identifier, the search address where the digital object corresponding to the first digital object identifier is located is determined as a target search address in a preset address database.

[0093] In an embodiment of the present application, the search identification information may include an identification category of a Digital Object Identifier (DOI). When the search identification information input by the first user includes a first DOI, the search address of the digital object corresponding to the first DOI may be first determined in a preset address database, and then the search address may be determined as the target search address. The digital object may be a data storage format for heterogeneous scientific and technological resources.

[0094] For example, the DIO syntax should include a DIO prefix and a DIO suffix, separated by a slash. There are no specific length restrictions for the DIO symbol, DIO prefix, or DIO suffix. The DIO prefix should consist of a directory indicator followed by a registrant code, separated by a period. The directory indicator should be "10" and identifies the DIO within the resolution system as a complete string. The second part of the DIO prefix is ​​the registrant code, a unique string assigned to the registrant. For ease of management, the registrant code can be further divided into subparts as needed. Each subpart of the registrant code is separated by a period. The DIO suffix is ​​a string selected by the registrant and is of any length. Each suffix should be unique with respect to the preceding prefix. A unique suffix can be a series of digits or contain an identifier generated using or based on another system, such as the International Standard Book Number (ISBN) or International Standard Serial Number (ISSN). For example, the specific content of the digital object identifier can be "10.1000 / 123456", "10.1038 / issn.1476-4687", etc.

[0095] Sub-step 2042, when the search identification information includes a first scientific and technological resource identifier, the search address where the heterogeneous scientific and technological resource corresponding to the first scientific and technological resource identifier is located is determined as the target search address in the preset address database; wherein the data format of the scientific and technological resource identifier is different from that of the digital object identifier.

[0096] In an embodiment of the present application, the search identification information may include an identification category of a scientific and technological resource identifier (CSTR), and the data format of the scientific and technological resource identifier may be different from the digital object identifier. If the search identification information includes a first scientific and technological resource identifier, the search address of the heterogeneous scientific and technological resource corresponding to the first scientific and technological resource identifier may be first found in a preset address database, and then the search address may be determined as the target search address.

[0097] For example, Figure 3 As shown, Figure 3 A coding diagram of a scientific and technological resource identification provided for an embodiment of the present application. In the figure, the scientific and technological resource identification consists of four parts: the Chinese scientific and technological resource code, the registration agency code, the type code and the internal identifier. One of the identifiers should correspond to a unique scientific and technological resource entity. The Chinese scientific and technological resource code and the scientific and technological resource identification registration agency code are separated by a half-width symbol ":", and the remaining parts are separated by a half-width symbol ".". The separators should uniformly use half-width characters and are case-insensitive. The identification code is a unified code for all scientific and technological resources included in the identification system, and is represented by the English abbreviation "CSTR" for Chinese scientific and technological resources; the registration agency code is a unique code assigned by the identification authority to the approved identification registration agency, with a length of 5 half-width characters; the type code is identified by the classification of scientific and technological resources, and is a two-digit code; the internal code is represented by a variable-length combination of letters, numbers, and separators, and generally the maximum length does not exceed 50 characters. It can be as brief and clear as possible.

[0098] In an embodiment of the present application, when the search identification information input by the first user includes a first digital object identifier, the search address where the digital object corresponding to the first digital object identifier is located is determined as the target search address in the preset address database; when the search identification information includes a first scientific and technological resource identifier, the search address where the heterogeneous scientific and technological resources corresponding to the first scientific and technological resource identifier are located is determined as the target search address in the preset address database; wherein, the data formats of the scientific and technological resource identifier and the digital object identifier are different, and the corresponding target search address can be obtained in the preset address database through two different search identification information, thereby improving the diversity and accuracy of the target search address.

[0099] Sub-step 2043: When the search identification information includes a first search address, determine the first search address as a target search address.

[0100] In an embodiment of the present application, the search identification information may further include a search address. When the gem search information input by the first user includes a first search address, the first search address may be directly determined as a target search address.

[0101] In an embodiment of the present application, by determining the first search address as the target search address when the first search address is included in the search identification information, the user is allowed to directly enter the first search address as the target search address, thereby improving the diversity and practicality of the scientific and technological resource search function.

[0102] Step 205: Based on the search identification information, match the heterogeneous technology resources corresponding to the search identification information in the first web page corresponding to the target search address to obtain a first heterogeneous technology resource search result; wherein, the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located.

[0103] In the embodiment of the present application, the implementation content of this step can refer to the embodiment content of step 102 and will not be repeated here.

[0104] Optionally, step 205 may include the following sub-steps:

[0105] Sub-step 2051, based on the search identification information, matching the heterogeneous technology resources corresponding to the search identification information in the first web page corresponding to the target search address to obtain the first heterogeneous technology resource.

[0106] In an embodiment of the present application, based on the search identification information input by the first user, the heterogeneous technology resources corresponding to the search identification information can be matched in the first webpage corresponding to the target search address, thereby obtaining the first heterogeneous technology resource. A specific search identification information may correspond to only one heterogeneous technology resource; when the search identification information is incomplete or contains ambiguous information, the search identification information may correspond to multiple heterogeneous technology resources.

[0107] Sub-step 2052: determining a second heterogeneous scientific and technological resource included in a second web page having a first similarity with the first web page that is greater than or equal to a first threshold.

[0108] In an embodiment of the present application, a second webpage can be first identified whose first similarity to a first webpage is greater than or equal to a first threshold, and then the second webpage can be searched to identify the second heterogeneous scientific and technological resources contained in the second webpage. The first similarity is determined based on the similarity of the scientific fields corresponding to the webpages and the relevance of the scientific and technological resources contained in the webpages; the value of the first threshold can be manually preset.

[0109] Sub-step 2053: determining a second similarity between the first heterogeneous scientific and technological resources and the second heterogeneous scientific and technological resources.

[0110] In an embodiment of the present application, a second similarity between a first heterogeneous scientific and technological resource and a second heterogeneous scientific and technological resource can be calculated and determined. The second similarity can be determined based on the similarity of the scientific fields to which the heterogeneous scientific and technological resources belong and the similarity of the content contained in the heterogeneous scientific and technological resources, and the similarity of the scientific fields and the similarity of the content contained in the heterogeneous scientific and technological resources can have different weights.

[0111] Sub-step 2054 : Determine the second heterogeneous scientific and technological resource whose second similarity is greater than or equal to the second threshold and the first heterogeneous scientific and technological resource together as the first heterogeneous scientific and technological resource search result.

[0112] In an embodiment of the present application, the second heterogeneous scientific and technological resource and the first heterogeneous scientific and technological resource whose second similarity is greater than or equal to a second threshold can be jointly determined as the first heterogeneous scientific and technological resource search result. The value of the second threshold can be manually preset.

[0113] In an embodiment of the present application, by matching the heterogeneous technology resources corresponding to the search identification information in the first web page corresponding to the target search address based on the search identification information, the first heterogeneous technology resource is obtained, the second heterogeneous technology resource contained in the second web page whose first similarity with the first web page is greater than or equal to the first threshold is determined, the second similarity between the first heterogeneous technology resource and the second heterogeneous technology resource is determined, and the second heterogeneous technology resource and the first heterogeneous technology resource whose second similarity is greater than or equal to the second threshold are jointly determined as the first heterogeneous technology resource search result. The second web page associated with the first web page can be screened according to the first similarity, and the second heterogeneous technology resource in the second web page can be screened according to the second similarity. Finally, the second heterogeneous technology resource and the first heterogeneous technology resource can be jointly used as the first heterogeneous technology resource search result, thereby improving the resource scope of the first heterogeneous technology resource search result and being able to improve the degree of compliance of the first heterogeneous technology resource search result with user needs to a certain extent.

[0114] Step 206: Display the search results of the first heterogeneous scientific and technological resources.

[0115] In the embodiment of the present application, the implementation content of this step can refer to the embodiment content of step 103 and will not be repeated here.

[0116] Step 207: Obtain a first webpage corresponding to a first tab in a focused state in the first browser.

[0117] In an embodiment of the present application, a tab of a browser is in a focused state, which means that the content of the tab is displayed at the forefront of the browser and can be directly viewed by the user, while the content of a tab that is not in a focused state (i.e., out-of-focus state) cannot be viewed directly, and the user needs to turn the tab into a focused state before the content of the tab can be viewed (for example, the user can turn the clicked tab into a focused state by clicking on the tab in the browser).

[0118] In an embodiment of the present application, a first webpage corresponding to a first tab in a focused state in a first browser may be obtained, which may be achieved by a webpage address sniffing tool in a first webpage plug-in.

[0119] Step 208: Search the first webpage for heterogeneous scientific and technological resources contained in the first webpage to obtain a second heterogeneous scientific and technological resource search result.

[0120] In an embodiment of the present application, the first web page corresponding to the first tab page may be searched for heterogeneous scientific and technological resources contained in the first web page, thereby obtaining a second heterogeneous scientific and technological resource search result.

[0121] Optionally, step 208 may include the following sub-steps:

[0122] Sub-step 2081: When a second digital object identifier exists in the first webpage, based on the second digital object identifier, search for heterogeneous scientific and technological resources contained in the first webpage to obtain second heterogeneous scientific and technological resource search results.

[0123] In an embodiment of the present application, if a second digital object identifier exists in a first webpage, the first webpage can be searched for heterogeneous technology resources contained therein based on the second digital object identifier to obtain a second heterogeneous technology resource search result. A corresponding relationship exists between the obtained second heterogeneous technology resource search result and the second digital object identifier.

[0124] Sub-step 2082: When a second scientific and technological resource identifier exists in the first webpage, based on the second scientific and technological resource identifier, search for heterogeneous scientific and technological resources contained in the first webpage to obtain second heterogeneous scientific and technological resource search results.

[0125] In an embodiment of the present application, if a second scientific resource identifier exists in a first webpage, the heterogeneous scientific resource contained in the first webpage can be searched based on the second scientific resource identifier to obtain a second heterogeneous scientific resource search result. A corresponding relationship exists between the obtained second heterogeneous scientific resource search result and the second scientific resource identifier.

[0126] In an embodiment of the present application, when there is a second digital object identifier in the first web page, the heterogeneous scientific and technological resources contained in the first web page are searched based on the second digital object identifier to obtain the second heterogeneous scientific and technological resource search results. When there is a second scientific and technological resource identifier in the first web page, the heterogeneous scientific and technological resources contained in the first web page are searched based on the second scientific and technological resource identifier to obtain the second heterogeneous scientific and technological resource search results. The corresponding heterogeneous scientific and technological resources can be searched in the first web page according to the second digital object identifier or the second scientific and technological resource identifier contained in the first web page to obtain the second heterogeneous scientific and technological resource search results, thereby avoiding fuzzy search of heterogeneous scientific and technological resources using natural language and improving the search efficiency of the second heterogeneous scientific and technological resource search results.

[0127] Step 209: Display the search results of the second heterogeneous scientific and technological resources.

[0128] In an embodiment of the present application, after obtaining the second heterogeneous scientific and technological resource search results, the second heterogeneous scientific and technological resource search results can be displayed, for example, in the first webpage plug-in or other search carrier, or in other display devices connected to the processor.

[0129] In an embodiment of the present application, by obtaining the first web page corresponding to the first tab in the focused state in the first browser, searching the first web page for heterogeneous technology resources contained in the first web page, obtaining the search results of the second heterogeneous technology resources, and displaying the search results of the second heterogeneous technology resources, the heterogeneous technology resources contained in the first web page corresponding to the first tab in the focused state in the first browser can be searched, and the search results of the second heterogeneous technology resources can be obtained, thereby improving the diversity and practicality of the heterogeneous technology resource search function.

[0130] Reference Figure 4 , Figure 4A schematic diagram of a user interface of a first web page plug-in provided in an embodiment of the present application. In the figure, the first web page plug-in user interface may include areas such as an identification input area, search 1, an address input area, search 2, a current address display area, a current address search, and a technology resource search result display area. The identification input area is bound to search 1. After the component corresponding to search 1 is triggered, the first web page plug-in can search for a target search address in a preset address database based on the search identification information entered in the identification input area, and search for heterogeneous technology resources corresponding to the search identification information in the target search address; the address input area is bound to search 2. After the component corresponding to search 2 is triggered, the first web page plug-in can search for heterogeneous technology resources contained in the first search address based on the first search address in the address input area; the current address display area can display the web page address of the first tab currently in focus. After the component corresponding to the current address search is triggered, the first web page plug-in can search for heterogeneous technology resources contained in the current address; the heterogeneous technology resources searched by the first web page plug-in can be displayed in the technology resource search result display area.

[0131] Reference Figure 5 , Figure 5 This is a logical block diagram of a web resource search device for heterogeneous scientific and technological resources provided in an embodiment of the present application. The device 500 may include:

[0132] A first determining module 501 is configured to determine a target search address in a preset address database based on search identification information input by a first user;

[0133] A matching module 502 is configured to match the heterogeneous technology resource corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, thereby obtaining a first heterogeneous technology resource search result; wherein the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located;

[0134] The first display module 503 is used to display the search results of the first heterogeneous scientific and technological resources.

[0135] Optionally, the matching module 502 includes:

[0136] A matching submodule, configured to match the heterogeneous technology resource corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, to obtain a first heterogeneous technology resource;

[0137] A first determining submodule, configured to determine a second heterogeneous scientific and technological resource included in a second webpage whose first similarity to the first webpage is greater than or equal to a first threshold;

[0138] A second determining submodule, configured to determine a second similarity between the first heterogeneous scientific and technological resources and the second heterogeneous scientific and technological resources;

[0139] The third determining submodule is configured to jointly determine the second heterogeneous scientific and technological resource whose second similarity is greater than or equal to a second threshold and the first heterogeneous scientific and technological resource as a first heterogeneous scientific and technological resource search result.

[0140] Optionally, the first determining module 501 includes:

[0141] a fourth determining submodule, configured to determine, in a preset address database, a search address where a digital object corresponding to the first digital object identifier is located as a target search address when the search identification information input by the first user includes the first digital object identifier;

[0142] The fifth determination submodule is used to determine the search address of the heterogeneous scientific and technological resources corresponding to the first scientific and technological resource identifier as the target search address in the preset address database when the search identification information includes the first scientific and technological resource identifier; wherein the data format of the scientific and technological resource identifier is different from that of the digital object identifier.

[0143] Optionally, the apparatus 500 further includes:

[0144] The second determining module is configured to determine a first search address as a target search address when the search identification information includes the first search address.

[0145] Optionally, the apparatus 500 further includes:

[0146] An acquisition module, configured to acquire a first webpage corresponding to a first tab in a focused state in a first browser;

[0147] A search module, configured to search the first webpage for heterogeneous scientific and technological resources contained in the first webpage, and obtain a search result of a second heterogeneous scientific and technological resource;

[0148] The second display module is used to display the search results of the second heterogeneous scientific and technological resources.

[0149] Optionally, the search module includes:

[0150] The first search submodule is used to search for heterogeneous scientific and technological resources contained in the first webpage based on the second digital object identifier when the second digital object identifier exists in the first webpage, and obtain second heterogeneous scientific and technological resource search results.

[0151] The second search submodule is used to search the heterogeneous scientific and technological resources contained in the first webpage based on the second scientific and technological resource identifier when the second scientific and technological resource identifier exists in the first webpage, and obtain the second heterogeneous scientific and technological resource search results.

[0152] Optionally, the apparatus 500 further includes:

[0153] The third determining module is configured to determine the preset address database based on the site search authority of a first web page plug-in installed in the first browser; wherein the first web page plug-in is configured to receive the search identification information.

[0154] Optionally, the apparatus 500 further includes:

[0155] The creation module is configured to create a communication connection between the first web page plug-in and the preset address database when the first web page plug-in is in an activated state.

[0156] Optionally, the apparatus 500 further includes:

[0157] The adding module is used to add the storage address of the local file into the preset address database when the file address access function of the first web page plug-in is enabled, so as to obtain an updated preset address database.

[0158] The web resource search device for heterogeneous scientific and technological resources in the embodiments of the present application can be an electronic device or a component of an electronic device, such as an integrated circuit or chip. The electronic device can be a terminal or other device other than a terminal. For example, the electronic device can be a GPU box, a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine, or a self-service machine, etc., and the embodiments of the present application are not specifically limited.

[0159] The web resource search device for heterogeneous scientific and technological resources in the embodiments of the present application can be a device having an operating system. The operating system can be an Android operating system, a Linux operating system, a Windows operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

[0160] The web resource search device for heterogeneous scientific and technological resources provided by the embodiment of the present application can achieve Figures 1 to 4 To avoid repetition, the various processes implemented in the method embodiment are not described here.

[0161] The present application embodiment provides an electronic device, see Figure 6 The electronic device 60 includes: a processor 601, a memory 602, and a computer program 6021 stored in the memory 602 and executable on the processor 601. When the processor 601 executes the program, the web resource search method for heterogeneous scientific and technological resources of the aforementioned embodiment is implemented.

[0162] The embodiment of the present application also provides a computer-readable storage medium on which a computer program / instruction is stored. When the computer program / instruction is executed by a processor, the steps in the web resource search method for heterogeneous scientific and technological resources disclosed in the embodiment of the present application are implemented.

[0163] The embodiment of the present application also provides a computer program product, which, when executed on an electronic device, enables a processor to implement the steps of the web resource search method for heterogeneous scientific and technological resources disclosed in the embodiment of the present application.

[0164] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0165] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, apparatuses, electronic devices, and computer program products according to the embodiments of the present application. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0166] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0167] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0168] Although preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they become aware of the basic inventive concepts. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0169] Finally, it should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "includes," or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or terminal device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or elements that are inherent to such process, method, article, or terminal device. In the absence of further restrictions, an element defined by the phrase "comprises a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that includes the element.

[0170] The above is a detailed introduction to a web resource search method for heterogeneous scientific and technological resources provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technical personnel in this field, according to the ideas of the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A web resource search method for heterogeneous scientific and technological resources, characterized in that: The method comprises: Determining a preset address database based on a site search permission of a first webpage plug-in installed in the first browser; wherein the first webpage plug-in is configured to receive search identification information input by a first user; Based on the search identification information, determining a target search address in a preset address database; Based on the search identification information, matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address to obtain a first heterogeneous technology resource search result; wherein the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located; Displaying the search results of the first heterogeneous scientific and technological resources; Obtaining a first webpage corresponding to a first tab in a focused state in the first browser; Searching the first webpage for heterogeneous scientific and technological resources contained in the first webpage to obtain a second heterogeneous scientific and technological resource search result; Displaying the search results of the second heterogeneous scientific and technological resources; The step of matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information to obtain a first heterogeneous technology resource search result includes: Based on the search identification information, matching the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address to obtain the first heterogeneous technology resource; determining a second heterogeneous scientific and technological resource included in a second webpage having a first similarity with the first webpage that is greater than or equal to a first threshold; Determining a second similarity between the first heterogeneous scientific and technological resource and the second heterogeneous scientific and technological resource; Determine the second heterogeneous scientific and technological resource and the first heterogeneous scientific and technological resource together as the first heterogeneous scientific and technological resource search result; The step of determining a target search address in a preset address database based on the search identification information includes: In a case where the search identification information input by the first user includes a first digital object identifier, determining, in a preset address database, a search address where the digital object corresponding to the first digital object identifier is located as a target search address; In a case where the search identification information includes a first scientific and technological resource identifier, determining the search address of the heterogeneous scientific and technological resource corresponding to the first scientific and technological resource identifier in a preset address database as the target search address; wherein the data format of the scientific and technological resource identifier is different from that of the digital object identifier; The step of searching the first webpage for heterogeneous scientific and technological resources contained in the first webpage to obtain a second heterogeneous scientific and technological resource search result includes: In the case where the second digital object identifier exists in the first webpage, searching for heterogeneous scientific and technological resources contained in the first webpage based on the second digital object identifier to obtain a second heterogeneous scientific and technological resource search result; In the case that the second scientific and technological resource identifier exists in the first webpage, the heterogeneous scientific and technological resources contained in the first webpage are searched based on the second scientific and technological resource identifier to obtain a second heterogeneous scientific and technological resource search result.

2. The method according to claim 1, characterized in that The method further comprises: In a case where the search identification information includes a first search address, the first search address is determined as a target search address.

3. The method according to claim 1, characterized in that The method further comprises: When the first webpage plug-in is in an activated state, a communication connection is established between the first webpage plug-in and the preset address database.

4. The method according to claim 1, wherein The method further comprises: When the file address access function of the first webpage plug-in is enabled, the storage address of the local file is added to the preset address database to obtain an updated preset address database.

5. A web resource search device for heterogeneous scientific and technological resources, characterized in that: The device comprises: A third determining module is configured to determine a preset address database based on a site search permission of a first webpage plug-in installed in the first browser; wherein the first webpage plug-in is configured to receive search identification information input by the first user; A first determining module, configured to determine a target search address in a preset address database based on the search identification information; a matching module configured to match the heterogeneous technology resource corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, thereby obtaining a first heterogeneous technology resource search result; wherein the first heterogeneous technology resource search result includes the first heterogeneous technology resource and the page address where the first heterogeneous technology resource is located; A first display module, configured to display the search results of the first heterogeneous scientific and technological resources; An acquisition module, configured to acquire a first webpage corresponding to a first tab in a focused state in the first browser; A search module, configured to search the first webpage for heterogeneous scientific and technological resources contained in the first webpage, and obtain a search result of a second heterogeneous scientific and technological resource; A second display module, configured to display the search results of the second heterogeneous scientific and technological resources; The matching module includes: A matching submodule, configured to match the heterogeneous technology resources corresponding to the search identification information in the first webpage corresponding to the target search address based on the search identification information, to obtain a first heterogeneous technology resource; A first determining submodule, configured to determine a second heterogeneous scientific and technological resource included in a second webpage whose first similarity to the first webpage is greater than or equal to a first threshold; A second determining submodule, configured to determine a second similarity between the first heterogeneous scientific and technological resources and the second heterogeneous scientific and technological resources; A third determining submodule, configured to jointly determine the second heterogeneous scientific and technological resource whose second similarity is greater than or equal to a second threshold and the first heterogeneous scientific and technological resource as a first heterogeneous scientific and technological resource search result; The first determining module includes: a fourth determining submodule, configured to determine, in a preset address database, a search address where a digital object corresponding to the first digital object identifier is located as a target search address when the search identification information input by the first user includes the first digital object identifier; a fifth determining submodule, configured to, when the search identification information includes a first scientific resource identifier, determine, in a preset address database, a search address where a heterogeneous scientific resource corresponding to the first scientific resource identifier is located as a target search address; wherein the scientific resource identifier and the digital object identifier have different data formats; The search module includes: A first search submodule is configured to, when a second digital object identifier exists in the first webpage, search for heterogeneous scientific and technological resources contained in the first webpage based on the second digital object identifier to obtain a search result for a second heterogeneous scientific and technological resource; The second search submodule is used to search the heterogeneous scientific and technological resources contained in the first webpage based on the second scientific and technological resource identifier when the second scientific and technological resource identifier exists in the first webpage, and obtain the second heterogeneous scientific and technological resource search results.

Citation Information

Patent Citations

  • Local search

    CN101313300A

  • Resource searching method, device and equipment

    CN112883232A