Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic view of a main flow of an article display method according to a first embodiment of the present invention; as shown in fig. 1, the article display method provided by the embodiment of the present invention mainly includes:
step S101, acquiring article information corresponding to a first article, and performing entity feature extraction on the article information corresponding to the first article to obtain entity feature information corresponding to the first article; wherein the item information includes an item type and an item name.
Specifically, according to the embodiment of the present invention, the item information may be obtained from description information (such as a title and an introduction) of the e-commerce platform for the item, and since there may be a plurality of different descriptions for features of the same attribute, according to a specific real-time implementation manner of the embodiment of the present invention, an entity extraction technique of a knowledge graph may be adopted to extract an entity feature of the item information corresponding to the first item, so as to obtain an entity feature vector, so as to subsequently determine the item to be displayed, and improve accuracy of the determined displayed item and efficiency of determining the displayed item.
And extracting entity features: namely named entity extraction, including detection and classification of entities, belongs to knowledge extraction, namely, knowledge extraction is carried out on data from different sources and different structures to form knowledge (structured data) and the knowledge (structured data) is stored in a knowledge graph.
Further, according to an embodiment of the present invention, the article information further includes an article picture, and before the step of extracting the entity feature of the article information corresponding to the first article, the method further includes:
and carrying out picture identification processing on the article picture to acquire corresponding text information and article attribute information.
Through the arrangement, for the goods sold in the e-commerce platform, under many conditions, the details of the goods can be displayed in an image form, and in order to fully extract the entity characteristic information of the goods, according to the embodiment of the invention, the picture can be identified and processed by adopting the existing technologies such as the convolutional neural network and the like, so that the corresponding text information and the property information of the goods are obtained, the feature information of the goods of the first goods is further perfected, the goods to be displayed can be determined according to the feature information of the goods of the first goods, and the user experience is improved.
Step S102, determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items.
Specifically, according to the embodiment of the present invention, entity feature alignment is mainly implemented by using machine learning models of supervised learning, such as a decision tree, a support vector machine, ensemble learning, and the like, in a way of matching attribute similarity. And deducing the alignment relation of different entity features according to attribute information of the entity features and attribute similarity. Different attribute similarity calculation functions need to be designed due to different types of attributes, and different attribute similarity functions need to be designed in different fields. It should be noted that the above description about the alignment of the entity features is only an example, and any existing manner of aligning the entity features may also be used.
Further, according to the embodiment of the present invention, before the step of determining the second item from the historical item set according to the entity feature information corresponding to the first item, the method further includes a step of constructing the historical item set, including:
acquiring article information of a plurality of articles, respectively extracting entity characteristics of the article information, and determining entity characteristic information corresponding to each article;
and constructing a historical item set based on entity characteristic information corresponding to a plurality of items.
Through the arrangement, based on the information of a plurality of articles (the information of the articles can be acquired from the same platform and can also be acquired across platforms), a historical article set is constructed, the range of the information of the articles is favorably expanded, the comprehensiveness of the determined articles to be displayed is further improved, the matching degree is improved, and the user experience is improved.
Preferably, according to the embodiment of the present invention, a first weight coefficient corresponding to the entity feature information is configured; the step of determining the second item from the historical item set according to the entity characteristic information corresponding to the first item includes:
and determining the second item from the historical item set according to the first weight coefficient of the entity characteristic information corresponding to the first item and the threshold value of the quantity of the second item.
Through the arrangement, the second article can be determined according to the weight coefficient corresponding to the entity characteristic information, so that the calculation amount of subsequently calculating the similarity of the articles is reduced, the calculation cost is reduced, and the efficiency of determining the articles to be displayed is improved. Wherein, the number of the second article can be one or more.
According to a specific implementation manner of the embodiment of the present invention, if the entity feature information corresponding to the first item is not matched to the corresponding second item, the item to be displayed may also be determined by subsequently calculating the item similarity according to the entity feature information of the first item and the entity feature information of each item in the historical item set.
Step S103, calculating the similarity of the articles according to the entity feature information after the entity features in the first article and the second article are aligned, determining the articles to be displayed according to the calculation result of the similarity, and displaying the articles to be displayed.
Through the arrangement, after the entity characteristic information of the first article and the entity characteristic information of the second article are aligned, the similarity of the articles is calculated, the calculation cost is reduced, the efficiency of determining the articles to be displayed is improved, and the matching accuracy of the displayed articles is improved.
The step of determining the articles to be displayed according to the similarity calculation result can be determined according to the similarity threshold and/or the number threshold of the articles to be displayed.
Further, according to an embodiment of the present invention, the step of calculating the similarity of the articles according to the information of the entity features of the first article and the second article after the entity features are aligned includes:
determining entity characteristic information after entity characteristics in the first article and the second article are aligned, and respectively calculating first similarity corresponding to each entity characteristic information;
and calculating the similarity of the articles according to the first similarity of the characteristic information of each entity after the entities are aligned.
Through the arrangement, the similarity of each entity characteristic information after the entity characteristics are aligned is calculated respectively, and then the similarity of the articles is calculated according to the similarity of each entity characteristic information, so that the articles to be displayed which are comprehensively matched with the first articles are displayed for the user, and the user experience is improved.
Preferably, according to the embodiment of the present invention, a second weight coefficient corresponding to each entity feature information after entity alignment is configured; the step of calculating the similarity of the article according to the first similarity of the entity feature information after the entity features are aligned further includes:
and calculating the similarity of the articles according to the first similarity of the entity characteristic information after the entity characteristics are aligned and the second weight coefficient corresponding to the entity characteristic information.
Through the arrangement, the corresponding second weight coefficient can be configured for each entity characteristic information according to user requirements and the like, and then the article similarity is calculated according to the first similarity of each entity characteristic information and the second weight coefficient corresponding to each entity characteristic information, so that the accuracy and the display efficiency of displaying articles are further improved, and the matching degree is improved.
According to another specific implementation manner of the embodiment of the present invention, the first weighting factor and the second weighting factor corresponding to the entity characteristic information may be the same, or may be configured separately according to actual user requirements.
According to the technical scheme of the embodiment of the invention, the article information corresponding to the first article is obtained, and the entity feature extraction is carried out on the article information corresponding to the first article to obtain the entity feature information corresponding to the first article; wherein the item information comprises an item type and an item name; determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items; according to the technical means of calculating the similarity of the articles according to the entity feature information after the entity features in the first article and the second article are aligned, determining the articles to be displayed according to the similarity calculation result, and displaying the articles to be displayed, the technical problems that in the existing article display method, the accuracy of the determined displayed articles is low, the matching degree of the displayed articles and the target articles is low, the display efficiency is low, the calculation cost is high, and the user experience is poor are solved, so that the accuracy and the display efficiency of the displayed articles are improved, the matching degree is improved, the calculation cost is reduced, and the technical effect of the user experience is improved.
Fig. 2a is a schematic view of a main flow of an article display method according to a second embodiment of the present invention; as shown in fig. 2a, the article display method provided by the embodiment of the present invention mainly includes:
step S201, acquiring article information of a plurality of articles, respectively carrying out entity feature extraction on the article information, and determining entity feature information corresponding to each article; and constructing a historical item set based on entity characteristic information corresponding to a plurality of items.
Through the arrangement, based on the information of a plurality of articles (the information of the articles can be acquired from the same platform and can also be acquired across platforms), a historical article set is constructed, the range of the information of the articles is favorably expanded, the comprehensiveness of the determined articles to be displayed is further improved, the matching degree is improved, and the user experience is improved.
Step S202, acquiring article information corresponding to a first article, wherein the article information comprises an article type, an article name and an article picture.
Specifically, according to the embodiment of the present invention, the article information may be obtained from description information (such as title and introduction) of the article by the e-commerce platform.
Step S203, the picture identification processing is carried out on the article picture to obtain corresponding text information and article attribute information.
Through the arrangement, for the goods sold in the e-commerce platform, under many conditions, the details of the goods can be displayed in an image form, and in order to fully extract the entity characteristic information of the goods, according to the embodiment of the invention, the picture can be identified and processed by adopting the existing technologies such as the convolutional neural network and the like, so that the corresponding text information and the property information of the goods are obtained, the feature information of the goods of the first goods is further perfected, the goods to be displayed can be determined according to the feature information of the goods of the first goods, and the user experience is improved.
Step S204, entity feature extraction is carried out on the article information corresponding to the first article, and entity feature information corresponding to the first article is obtained.
Since there may be a plurality of different descriptions for the features with the same attribute, according to a specific implementation manner of the embodiment of the present invention, an entity extraction technique of a knowledge graph may be adopted to perform entity feature extraction on item information corresponding to the first item, so as to obtain an entity feature vector, so as to subsequently determine an item to be displayed, and improve the accuracy of the determined displayed item and the efficiency of determining the displayed item. Specifically, as shown in fig. 2b, entity features are extracted from multi-remote heterogeneous data and multi-modal data (i.e. different item information presentation manners). The article information exists in the form of a picture, a title description, and the like, and it is necessary to acquire text information in the picture by using image recognition and mode recognition, and acquire feature information of the article (first article) by using techniques such as entity recognition, relationship extraction, multimodal information extraction, and the like.
Step S205, configuring a first weight coefficient corresponding to the entity characteristic information; and determining the second item from the historical item set according to the first weight coefficient of the entity characteristic information corresponding to the first item and the threshold value of the quantity of the second item.
Through the arrangement, the second article can be determined according to the weight coefficient corresponding to the entity characteristic information, so that the calculation amount of subsequently calculating the similarity of the articles is reduced, the calculation cost is reduced, and the efficiency of determining the articles to be displayed is improved. Wherein, the number of the second article can be one or more.
Step S206, the entity characteristic information of the first article and the second article is aligned in entity characteristic.
Specifically, according to the embodiment of the present invention, entity feature alignment is mainly implemented by using machine learning models of supervised learning, such as a decision tree, a support vector machine, ensemble learning, and the like, in a way of matching attribute similarity. And deducing the alignment relation of different entity features according to attribute information of the entity features and attribute similarity. Different attribute similarity calculation functions need to be designed due to different types of attributes, and different attribute similarity functions need to be designed in different fields. It should be noted that the above description about the alignment of the entity features is only an example, and any existing manner of aligning the entity features may also be used.
Step S207, determining entity feature information after the entity features in the first article and the second article are aligned, and calculating first similarities corresponding to the entity feature information respectively.
Through the arrangement, the similarity of each entity characteristic information after the entity characteristics are aligned is calculated respectively, and then the similarity of the articles is calculated according to the similarity of each entity characteristic information, so that the articles to be displayed which are comprehensively matched with the first articles are displayed for the user, and the user experience is improved.
Step S208, configuring a second weight coefficient corresponding to each entity characteristic information after entity alignment; and calculating the similarity of the articles according to the first similarity of the entity characteristic information after the entity characteristics are aligned and the second weight coefficient corresponding to the entity characteristic information.
Through the arrangement, the corresponding second weight coefficient can be configured for each entity characteristic information according to user requirements and the like, and then the article similarity is calculated according to the first similarity of each entity characteristic information and the second weight coefficient corresponding to each entity characteristic information, so that the accuracy and the display efficiency of displaying articles are further improved, and the matching degree is improved. Specifically, as shown in fig. 2c, after enough features (including titles, attributes, and entity feature information in pictures) are obtained, the comprehensive information of the product (article) is enough represented, then, through an entity feature alignment technique, interactive feature extraction is performed on each aligned entity feature information, the similarity of each entity feature information in the first article and the second article (article 1 and article 2 in fig. 2 c) is calculated, and further, the article similarity (i.e., the matching score) is calculated. The matching score can be obtained by calculating the average value of the similarity of the characteristic information of each entity; or configuring the weight coefficients of the attributes of the commodities of different categories by using a rule engine, and determining the final output matching score by combining the weight coefficients.
And S209, determining the article to be displayed according to the similarity calculation result, and displaying the article to be displayed.
Through the arrangement, after the entity characteristic information of the first article and the entity characteristic information of the second article are aligned, the similarity of the articles is calculated, the calculation cost is reduced, the efficiency of determining the articles to be displayed is improved, and the matching accuracy of the displayed articles is improved. The step of determining the articles to be displayed according to the similarity calculation result can be determined according to the similarity threshold and/or the number threshold of the articles to be displayed.
Specifically, as shown in fig. 2d, when the determined article to be displayed is displayed, the information of the first article and the information of the article to be displayed may be displayed in parallel, so as to provide the information of the similar/same article for the user more intuitively, so as to provide a more intuitive guidance for the selection of the user, and improve the user experience.
According to the technical scheme of the embodiment of the invention, the article information corresponding to the first article is obtained, and the entity feature extraction is carried out on the article information corresponding to the first article to obtain the entity feature information corresponding to the first article; wherein the item information comprises an item type and an item name; determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items; according to the technical means of calculating the similarity of the articles according to the entity feature information after the entity features in the first article and the second article are aligned, determining the articles to be displayed according to the similarity calculation result, and displaying the articles to be displayed, the technical problems that in the existing article display method, the accuracy of the determined displayed articles is low, the matching degree of the displayed articles and the target articles is low, the display efficiency is low, the calculation cost is high, and the user experience is poor are solved, so that the accuracy and the display efficiency of the displayed articles are improved, the matching degree is improved, the calculation cost is reduced, and the technical effect of the user experience is improved.
FIG. 3 is a schematic diagram of the main modules of an article display apparatus provided in accordance with an embodiment of the present invention; as shown in fig. 3, thearticle display apparatus 300 according to the embodiment of the present invention mainly includes:
theinformation acquisition module 301 is configured to acquire article information corresponding to a first article, and perform entity feature extraction on the article information corresponding to the first article to obtain entity feature information corresponding to the first article; wherein the item information includes an item type and an item name.
Specifically, according to the embodiment of the present invention, the item information may be obtained from description information (such as a title and an introduction) of the e-commerce platform for the item, and since there may be a plurality of different descriptions for features of the same attribute, according to a specific real-time implementation manner of the embodiment of the present invention, an entity extraction technique of a knowledge graph may be adopted to extract an entity feature of the item information corresponding to the first item, so as to obtain an entity feature vector, so as to subsequently determine the item to be displayed, and improve accuracy of the determined displayed item and efficiency of determining the displayed item.
And extracting entity features: namely named entity extraction, including detection and classification of entities, belongs to knowledge extraction, namely, knowledge extraction is carried out on data from different sources and different structures to form knowledge (structured data) and the knowledge (structured data) is stored in a knowledge graph.
Further, according to the embodiment of the present invention, the article information further includes an article picture; thearticle display apparatus 300 further includes an image recognition processing module, and before the step of extracting the physical features of the article information corresponding to the first article, the image recognition processing module is configured to:
and carrying out picture identification processing on the article picture to acquire corresponding text information and article attribute information.
Through the arrangement, for the goods sold in the e-commerce platform, under many conditions, the details of the goods can be displayed in an image form, and in order to fully extract the entity characteristic information of the goods, according to the embodiment of the invention, the picture can be identified and processed by adopting the existing technologies such as the convolutional neural network and the like, so that the corresponding text information and the property information of the goods are obtained, the feature information of the goods of the first goods is further perfected, the goods to be displayed can be determined according to the feature information of the goods of the first goods, and the user experience is improved.
An entityfeature alignment module 302, configured to determine a second item from the historical item set according to entity feature information corresponding to the first item, and perform entity feature alignment on the entity feature information of the first item and the entity feature information of the second item; the historical item set comprises entity characteristic information of a plurality of items.
Specifically, according to the embodiment of the present invention, entity feature alignment is mainly implemented by using machine learning models of supervised learning, such as a decision tree, a support vector machine, ensemble learning, and the like, in a way of matching attribute similarity. And deducing the alignment relation of different entity features according to attribute information of the entity features and attribute similarity. Different attribute similarity calculation functions need to be designed due to different types of attributes, and different attribute similarity functions need to be designed in different fields. It should be noted that the above description about the alignment of the entity features is only an example, and any existing manner of aligning the entity features may also be used.
Further, according to the embodiment of the present invention, thearticle display apparatus 300 further includes a historical article set constructing module, and before the step of determining the second article from the historical article set according to the entity feature information corresponding to the first article, the historical article set constructing module is configured to:
acquiring article information of a plurality of articles, respectively extracting entity characteristics of the article information, and determining entity characteristic information corresponding to each article;
and constructing a historical item set based on entity characteristic information corresponding to a plurality of items.
Through the arrangement, based on the information of a plurality of articles (the information of the articles can be acquired from the same platform and can also be acquired across platforms), a historical article set is constructed, the range of the information of the articles is favorably expanded, the comprehensiveness of the determined articles to be displayed is further improved, the matching degree is improved, and the user experience is improved.
Preferably, according to the embodiment of the present invention, a first weight coefficient corresponding to the entity feature information is configured; the entityfeature alignment module 302 is further configured to:
and determining the second item from the historical item set according to the first weight coefficient of the entity characteristic information corresponding to the first item and the threshold value of the quantity of the second item.
Through the arrangement, the second article can be determined according to the weight coefficient corresponding to the entity characteristic information, so that the calculation amount of subsequently calculating the similarity of the articles is reduced, the calculation cost is reduced, and the efficiency of determining the articles to be displayed is improved. Wherein, the number of the second article can be one or more.
According to a specific implementation manner of the embodiment of the present invention, if the entity feature information corresponding to the first item is not matched to the corresponding second item, the item to be displayed may also be determined by subsequently calculating the item similarity according to the entity feature information of the first item and the entity feature information of each item in the historical item set.
Thedisplay module 303 is configured to calculate similarity of the articles according to the entity feature information after the entities in the first article and the second article are aligned, determine the article to be displayed according to the calculation result of the similarity, and display the article to be displayed.
Through the arrangement, after the entity characteristic information of the first article and the entity characteristic information of the second article are aligned, the similarity of the articles is calculated, the calculation cost is reduced, the efficiency of determining the articles to be displayed is improved, and the matching accuracy of the displayed articles is improved. The step of determining the articles to be displayed according to the similarity calculation result can be determined according to the similarity threshold and/or the number threshold of the articles to be displayed.
Further, according to an embodiment of the present invention, thedisplay module 303 is further configured to:
determining entity characteristic information after entity characteristics in the first article and the second article are aligned, and respectively calculating first similarity corresponding to each entity characteristic information;
and calculating the similarity of the articles according to the first similarity of the characteristic information of each entity after the entities are aligned.
Through the arrangement, the similarity of each entity characteristic information after the entity characteristics are aligned is calculated respectively, and then the similarity of the articles is calculated according to the similarity of each entity characteristic information, so that the articles to be displayed which are comprehensively matched with the first articles are displayed for the user, and the user experience is improved.
Preferably, according to the embodiment of the present invention, a second weight coefficient corresponding to each entity feature information after entity alignment is configured; thedisplay module 303 is further configured to:
and calculating the similarity of the articles according to the first similarity of the entity characteristic information after the entity characteristics are aligned and the second weight coefficient corresponding to the entity characteristic information.
Through the arrangement, the corresponding second weight coefficient can be configured for each entity characteristic information according to user requirements and the like, and then the article similarity is calculated according to the first similarity of each entity characteristic information and the second weight coefficient corresponding to each entity characteristic information, so that the accuracy and the display efficiency of displaying articles are further improved, and the matching degree is improved.
According to the technical scheme of the embodiment of the invention, the article information corresponding to the first article is obtained, and the entity feature extraction is carried out on the article information corresponding to the first article to obtain the entity feature information corresponding to the first article; wherein the item information comprises an item type and an item name; determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items; according to the technical means of calculating the similarity of the articles according to the entity feature information after the entity features in the first article and the second article are aligned, determining the articles to be displayed according to the similarity calculation result, and displaying the articles to be displayed, the technical problems that in the existing article display method, the accuracy of the determined displayed articles is low, the matching degree of the displayed articles and the target articles is low, the display efficiency is low, the calculation cost is high, and the user experience is poor are solved, so that the accuracy and the display efficiency of the displayed articles are improved, the matching degree is improved, the calculation cost is reduced, and the technical effect of the user experience is improved.
Fig. 4 illustrates anexemplary system architecture 400 of an article display method or apparatus (tailored to a specific case) to which embodiments of the invention may be applied.
As shown in fig. 4, thesystem architecture 400 may includeterminal devices 401, 402, 403, anetwork 404, and a server 405 (this architecture is merely an example, and the components included in a particular architecture may be adapted according to application specific circumstances). Thenetwork 404 serves as a medium for providing communication links between theterminal devices 401, 402, 403 and theserver 405.Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may useterminal devices 401, 402, 403 to interact with aserver 405 over anetwork 404 to receive or send messages or the like. Theterminal devices 401, 402, 403 may have installed thereon various communication client applications, such as a shopping-type application, a web browser application, an article presentation-type application, a data processing-type application, social platform software, etc. (by way of example only).
Theterminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
Theserver 405 may be a server that provides various services, such as a server (for example only) for (performing article display/performing data processing) performed by a user using theterminal device 401, 402, 403. The server may analyze and otherwise process the received data, such as the item information, and feed back the processing result (e.g., the second item, the item to be displayed — just an example) to the terminal device.
It should be noted that the article display method provided by the embodiment of the present invention is generally executed by theserver 405, and accordingly, the article display apparatus is generally disposed in theserver 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, a block diagram of acomputer system 500 suitable for use with a terminal device or server implementing an embodiment of the invention is shown. The terminal device or the server shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, thecomputer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from astorage section 508 into a Random Access Memory (RAM) 503. In theRAM 503, various programs and data necessary for the operation of thesystem 500 are also stored. TheCPU 501,ROM 502, andRAM 503 are connected to each other via abus 504. An input/output (I/O)interface 505 is also connected tobus 504.
The following components are connected to the I/O interface 505: aninput portion 506 including a keyboard, a mouse, and the like; anoutput portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; astorage portion 508 including a hard disk and the like; and acommunication section 509 including a network interface card such as a LAN card, a modem, or the like. Thecommunication section 509 performs communication processing via a network such as the internet. Thedriver 510 is also connected to the I/O interface 505 as necessary. Aremovable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on thedrive 510 as necessary, so that a computer program read out therefrom is mounted into thestorage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through thecommunication section 509, and/or installed from theremovable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes an information acquisition module, an entity feature alignment module, and a presentation module. For example, the information obtaining module may be further described as a "module for obtaining the item information corresponding to the first item, performing entity feature extraction on the item information corresponding to the first item, and obtaining entity feature information corresponding to the first item".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: acquiring article information corresponding to a first article, and performing entity feature extraction on the article information corresponding to the first article to obtain entity feature information corresponding to the first article; wherein the item information comprises an item type and an item name; determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items; and calculating the similarity of the articles according to the entity characteristic information after the entity characteristics in the first article and the second article are aligned, determining the articles to be displayed according to the calculation result of the similarity, and displaying the articles to be displayed.
According to the technical scheme of the embodiment of the invention, the article information corresponding to the first article is obtained, and the entity feature extraction is carried out on the article information corresponding to the first article to obtain the entity feature information corresponding to the first article; wherein the item information comprises an item type and an item name; determining a second article from the historical article set according to the entity characteristic information corresponding to the first article, and aligning the entity characteristics of the first article and the entity characteristic information of the second article; the historical item set comprises entity characteristic information of a plurality of items; according to the technical means of calculating the similarity of the articles according to the entity feature information after the entity features in the first article and the second article are aligned, determining the articles to be displayed according to the similarity calculation result, and displaying the articles to be displayed, the technical problems that in the existing article display method, the accuracy of the determined displayed articles is low, the matching degree of the displayed articles and the target articles is low, the display efficiency is low, the calculation cost is high, and the user experience is poor are solved, so that the accuracy and the display efficiency of the displayed articles are improved, the matching degree is improved, the calculation cost is reduced, and the technical effect of the user experience is improved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.