Search

EP-4738147-A1 - INTERNAL LINK GENERATION METHOD, DATA PROCESSING METHOD, SEARCH METHOD AND COMPUTING DEVICE

EP4738147A1EP 4738147 A1EP4738147 A1EP 4738147A1EP-4738147-A1

Abstract

Embodiments of the present application provide an internal link generating method, a data processing method, a search method, and a computing device. Here, multiple sets of matching pairs are determined; the matching pair is composed of an object and key information having a matching relationship with the object; the matching pair is identified and obtained from a key information database and an object database; at least one page link relationship corresponding to a list page and a detail page is determined; and association conversion is performed on the multiple sets of matching pairs according to the at least one page link relationship, to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages. The technical solutions provided by the embodiments of the present application generate internal links by combining the matching relationship between objects and key information, which ensures the relevance between pages corresponding to different page link relationships, helps to improve website weight and website indexing rate, thereby ensuring the rationality of the generated internal links.

Inventors

  • LU, ZHIHONG

Assignees

  • Hangzhou Alibaba International Internet Industry Co., Ltd.

Dates

Publication Date
20260506
Application Date
20240718

Claims (15)

  1. An internal link generating method, characterized in that it comprises: determining multiple sets of matching pairs; wherein each of the matching pairs is composed of an object and key information having a matching relationship with the object; and each of the matching pairs is identified and obtained from a key information database and an object database; determining at least one page link relationship corresponding to a list page or a detail page; performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship, to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages.
  2. The method of claim 1, further comprising: clustering multiple pieces of key information in the key information database according to key information features, to obtain multiple information groups; matching objects in the object database respectively with the multiple information groups according to object features, to determine at least one matched target information group; matching the object respectively with key information in the at least one target information group to determine at least one piece of key information matching the object, and forming at least one matching pair from the object and the at least one piece of key information.
  3. The method of claim 2, further comprising: extracting key information features respectively corresponding to multiple pieces of key information in the key information database by using a matching model; extracting object features respectively corresponding to multiple objects in the object database by using the matching model; wherein the matching model is obtained by training based on multiple sets of sample matching pairs using a contrastive learning manner; and the sample matching pair comprises sample key information and a sample object.
  4. The method of claim 1, wherein the at least one page link relationship comprises a list page linking to a detail page; the performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages comprises: determining, from the multiple sets of matching pairs, multiple pieces of key information having a matching relationship with a same object; determining first key information and second key information according to matching degrees of the multiple pieces of key information with the object respectively; determining a first list page pointed to by the first key information and a first detail page of the object based on a correspondence relationship between key information and list pages, and using the second key information as an internal link in the first list page.
  5. The method of claim 4, wherein the determining first key information and second key information according to matching degrees of the multiple pieces of key information with the object respectively comprises: determining first key information whose matching degree satisfies a first matching requirement and determining second key information whose matching degree satisfies a second matching requirement according to the matching degrees of the multiple pieces of key information with the object respectively.
  6. The method of claim 1, wherein the at least one page link relationship comprises a detail page linking to a list page; the performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages comprises: searching for a target matching pair from the multiple sets of matching pairs according to a matching degree between key information and an object; determining a target list page pointed to by target key information in the target matching pair and a target detail page of a target object based on a correspondence relationship between key information and list pages, and using the target key information as an internal link in the target detail page.
  7. The method of claim 1, wherein the at least one page link relationship comprises a detail page linking to a detail page; the performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages comprises: determining a first object and a second object satisfying a relevance requirement; searching for first key information matching the first object from the multiple sets of matching pairs; determining a first detail page of the first object and a second detail page of the second object, and using the first key information as an internal link in the second detail page.
  8. The method of claim 1, wherein the at least one page link relationship comprises a list page linking to a list page; the performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages comprises: searching for first key information and second key information having a matching relationship with a same object from the multiple sets of matching pairs; determining a first list page pointed to by the first key information and a second list page pointed to by the second key information based on a correspondence relationship between key information and list pages, and using the first key information as an internal link in the second list page.
  9. The method of claim 8, wherein the searching for first key information and second key information having a matching relationship with a same object from the multiple sets of matching pairs comprises: searching for multiple pieces of key information having a matching relationship with a same object from the multiple sets of matching pairs; determining first key information whose matching degree satisfies a third matching requirement and determining second key information whose matching degree satisfies a fourth matching requirement according to matching degrees of the multiple pieces of key information with the object respectively.
  10. The method of claim 1, further comprising: performing page configuration according to association conversion results respectively corresponding to the at least one page link relationship, to update an internal link structure of a website; or, sending an association conversion result respectively corresponding to the at least one page link relationship to a target person; wherein the association conversion result is used to generate page configuration information, and the page configuration information is used to update an internal link structure of the website.
  11. The method of claim 1, further comprising: determining key information in search records and a list page pointed to by the key information according to the search records generated inside a website and/or outside the website; establishing a correspondence relationship between the key information and the list page, and constructing a key information database according to the key information.
  12. A data processing method, comprising: obtaining multiple sets of sample matching pairs; inputting the multiple sets of sample matching pairs as training data of a current training batch into a matching model; training the matching model by adopting a contrastive learning manner, using any one of the sample matching pairs as a positive sample, and using sample key information in any one of the sample matching pairs and a sample object in at least one other of the sample matching pairs as negative samples; wherein the matching model is used to identify an object and key information having a matching relationship in a key information database and an object database, to obtain multiple sets of matching pairs; and the multiple sets of matching pairs are used to perform association conversion to obtain any two pages respectively corresponding to at least one page link relationship and key information used as an internal link between the two pages.
  13. A search method, comprising: obtaining search information; crawling a first page matching the search information and a second page pointed to by an internal link in the first page based on the search information; wherein the first page and the second page are list pages or detail pages; wherein the internal link is determined by performing association conversion on multiple sets of matching pairs according to at least one page link relationship; and the matching pair is composed of an object and key information having a matching relationship with the object; indexing the first page and the second page into search results; determining a display result from the search results.
  14. A computing device, comprising a processing component and a storage component; the storage component stores one or more computer instructions; the one or more computer instructions are used to be called and executed by the processing component to implement the internal link generation method of any one of claims 1 to 11 or the data processing method of claim 12 or the search method of claim 13.
  15. A computer-readable storage medium, storing a computer program, where the computer program, when executed by a computer, implements the internal link generation method of any one of claims 1 to 11 or the data processing method of claim 12 or the search method of claim 13.

Description

CROSS -REFERENCE TO RELATED APPLICATION This application claims priority to Chinese Patent Application No. 202311137718.0, filed with the China National Intellectual Property Administration on September 4, 2023, and entitled "Internal Link Generation Method, Data Processing Method, Search Method, and Computing Device", the entire contents of which are incorporated herein by reference. TECHNICAL FIELD Embodiments of the present application relate to the technical field of network, and in particular, to an internal link generation method, data processing method, search method, and computing device. BACKGROUND An internal link refers to an internal link of a website, that is, a mutual link between internal pages under the same website domain name. Internal links are usually placed in internal pages of a website in the form of key information, and a user can click the key information in a page to enter another internal page of the website pointed to by the key information, or a search engine can crawl the internal page of the website pointed to by the internal link. In search engine optimization (Search Engine Optimization, SEO), a reasonable internal link structure enables a search engine to perform fast crawling and indexing, improves website weight, and increases user click-through rate. Therefore, how to reasonably determine internal links has become a technical problem to be solved by those skilled in the art, especially in websites that provide objects such as commodities and allow users to perform purchasing, browsing, or other interaction behaviors with the objects, where page types are mainly divided into list pages and detail pages of objects, and involved page link relationships usually include a list page linking to a detail page, a list page linking to a list page, a detail page linking to a detail page, and a detail page linking to an object page, etc., while a reasonable internal link structure can recommend valuable list pages or detail pages to a search engine, improve page ranking, and thereby introduce more traffic to the website, so the above technical problem needs to be solved urgently. SUMMARY Embodiments of the present application provide an internal link generation method, data processing method, search method, and computing device, for solving the technical problem of unreasonable internal links in the prior art. In a first aspect, an embodiment of the present application provides an internal link generation method, comprising: determining multiple sets of matching pairs; wherein the matching pair is composed of an object and key information having a matching relationship with the object; and the matching pair is identified and obtained from a key information database and an object database;determining at least one page link relationship corresponding to a list page and a detail page;performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship, to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages. Optionally, the method further comprises: clustering multiple pieces of key information in the key information database according to key information features, to obtain multiple information groups;matching objects in the object database respectively with the multiple information groups according to object features, to determine at least one matched target information group;matching the object respectively with key information in the at least one target information group, to determine at least one piece of key information matching the object, and constituting at least one matching pair by the object and the at least one piece of key information. Optionally, the method further comprises: extracting key information features respectively corresponding to multiple pieces of key information in the key information database by using a matching model;extracting object features respectively corresponding to multiple objects in the object database by using the matching model;wherein the matching model is obtained by training based on multiple sets of sample matching pairs using a contrastive learning manner; and the sample matching pair comprises sample key information and a sample object. Optionally, the at least one page link relationship comprises a list page linking to a detail page; the performing association conversion on the multiple sets of matching pairs according to the at least one page link relationship to obtain two pages respectively corresponding to the at least one page link relationship and key information used as an internal link between the two pages comprises: determining, from the multiple sets of matching pairs, multiple pieces of key information having a matching relationship with a same object;determining first key information and second key information according to matching degrees of the multiple pieces of key i