Object recommendation method and device, equipment and medium
By obtaining the user's order query request and information, it obtains the target order and objects to be recommended, displays relevant information to meet the user's immediate needs, solves the problem of inaccurate traditional recommendation methods, and improves the user experience.
Patent Information
- Application Number
- CN202410733365.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-10-01
AI Technical Summary
Traditional online shopping product recommendation methods cannot meet users' immediate needs, resulting in inaccurate recommendations and affecting user experience.
By obtaining the user's order query request, obtain the target order information and objects to be recommended, and display the target order information and objects to be recommended to meet the user's immediate interests and needs.
It improves the accuracy of object recommendation, improves the user experience, and meets the user's immediate needs.
Smart Images

Figure CN118735627A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, and in particular, to an object recommendation method, apparatus, device and medium. Background Art
[0002] With the development of the Internet, online shopping is faster, more convenient and less expensive than traditional offline shopping, and has become an important form of shopping. At present, when shopping online, e-commerce platforms usually recommend products to users based on user behavior data, especially when users make order inquiries, they recommend products based on the products that users have purchased. However, the products recommended to users by traditional product recommendation methods cannot meet the users' immediate needs, resulting in inaccurate recommendations and affecting the user experience. Summary of the invention
[0003] The embodiments of the present application provide an object recommendation method, apparatus, device and medium, which can achieve targeted object recommendation to users based on the users' immediate needs, thereby improving the accuracy of object recommendation and enhancing the user experience.
[0004] In a first aspect, an embodiment of the present application provides an object recommendation method, comprising:
[0005] Acquire an order query request sent by a user, wherein the order query request includes: order query information;
[0006] According to the order query information, target order information and a first object to be recommended are acquired, wherein the target order information is any historical order information of the user;
[0007] Acquire a second object to be recommended according to the target order information;
[0008] The target order information, the first object to be recommended and the second object to be recommended are displayed to recommend objects to the user.
[0009] In a second aspect, an embodiment of the present application provides an object recommendation device, including:
[0010] A request acquisition module is used to acquire an order query request sent by a user, wherein the order query request includes: order query information;
[0011] An information acquisition module, used to acquire target order information and a first object to be recommended according to the order query information, wherein the target order information is any historical order information of the user;
[0012] An object acquisition module, used for acquiring a second object to be recommended according to the target order information;
[0013] An object recommendation module is used to display the target order information, the first object to be recommended and the second object to be recommended, so as to recommend objects to the user.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0015] A processor and a memory, wherein the memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the object recommendation method as described in the embodiment of the first aspect.
[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute the object recommendation method as described in the embodiment of the first aspect.
[0017] In a fifth aspect, an embodiment of the present application provides a computer program product comprising program instructions, which, when executed on an electronic device, enables the electronic device to execute the object recommendation method as described in the embodiment of the first aspect above.
[0018] The technical solution disclosed in the embodiment of the present application obtains the order query request sent by the user, obtains the target order information and the first object to be recommended according to the order query information in the order query request, then obtains the second object to be recommended according to the target order information, and then displays the target order information, the first object to be recommended and the second object to be recommended to recommend objects to the user. The present application represents the user's immediate interests by using the order query information sent by the user to obtain objects to be recommended that meet the user's immediate needs according to the user's immediate interests and the target order information corresponding to the order query information, and displays the obtained objects to be recommended and the target order information to the user, thereby achieving targeted object recommendations to the user according to the user's immediate needs, thereby improving the accuracy of object recommendations and enhancing the user's experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 creative work.
[0020] Figure 1 A flowchart of an object recommendation method provided in an embodiment of the present application;
[0021] Figure 2a A schematic diagram of different display areas in an order query page provided in an embodiment of the present application;
[0022] Figure 2b A schematic diagram of displaying target order information and objects to be recommended in different display areas provided in an embodiment of the present application;
[0023] Figure 2c Another schematic diagram of displaying target order information and objects to be recommended in different display areas provided in an embodiment of the present application;
[0024] Figure 3 A flowchart of another object recommendation method provided in an embodiment of the present application;
[0025] Figure 4 A flowchart of another object recommendation method provided in an embodiment of the present application;
[0026] Figure 5 A schematic block diagram of an object recommendation device provided in an embodiment of the present application;
[0027] Figure 6 A schematic block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. According to the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0030] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or scheme described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or schemes. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0031] In the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more than two, that is, at least two. "at least one" means one or more than one. "Any" means any one or any several.
[0032] In order to facilitate understanding of the embodiments of the present application, before describing each embodiment of the present application, some concepts involved in all embodiments of the present application are first appropriately explained, as follows:
[0033] Order: In an e-commerce platform, every transaction made by a user will be recorded in the backend system (such as a transaction database, etc.). This transaction is an order, and each order has a unique number. The number here can be understood as the order number, etc.
[0034] Order query (order search): A type of search system. The search information is generally text information, and the search content is the user’s own historical order information.
[0035] Immediate interest: refers to the topics or fields that users are interested in at the current moment. It is a manifestation of users' short-term interests and is usually triggered by the user's current situation, needs or behaviors. For example, when a user enters a keyword in a search engine, the user's immediate interest is the content related to the keyword; when a user browses each specific topic on social media, the user's immediate interest is the content related to the specific topic.
[0036] Long-term interests: refers to topics or areas that users continue to pay attention to and are interested in for a long time. These interests may be related to the user's occupation, hobbies, lifestyle, etc., and usually do not change significantly in a short period of time.
[0037] Short-term interests: refers to topics or areas that users are interested in for a short period of time. Unlike long-term interests, short-term interests are usually caused by specific events, situations or needs and may change in a short period of time. For example, in the field of tourism, a user's short-term interest may be a destination or activity with a certain feature; in the field of news, a user's short-term interest may be a sudden event or hot topic, etc.
[0038] At present, when users shop online, e-commerce platforms usually recommend products to users based on their user behavior data. However, such products recommended based on user behavior data cannot meet the immediate needs of users, resulting in inaccurate recommendations and affecting the user experience.
[0039] In order to solve the above technical problems, the present application provides an object recommendation method, device, equipment and medium to solve the problem that the products recommended based on user behavior data cannot meet the user's immediate needs, resulting in inaccurate recommendations and affecting the user's usage experience.
[0040] The technical solution of the present application is described in detail below through some embodiments. The embodiments described below can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.
[0041] Figure 1 A flowchart of an object recommendation method provided in an embodiment of the present application. The object recommendation method in the embodiment of the present application can be performed by an object recommendation device, which can be composed of hardware and / or software and can be integrated into an electronic device installed with an e-commerce platform. In the present application, the electronic device can be, but is not limited to, a smart phone, a tablet computer, a desktop computer, and a computer device, etc., and there is no specific restriction on the type of electronic device.
[0042] like Figure 1 As shown, the method may include the following steps:
[0043] S101, obtaining an order query request sent by a user, where the order query request includes: order query information.
[0044] Among them, an order query request refers to a request by a user to query his or her order information on an e-commerce platform.
[0045] In addition, the order query request usually carries order query information, where the order query information refers to the order search information input by the user, such as order name, order logistics number or object name.
[0046] It should be understood that the above objects can be e-commerce search results of different genres, such as goods (items), video goods, e-commerce live broadcasts, e-commerce live broadcast slices and playbacks, etc. This application does not specifically limit the categories of the above objects. The above e-commerce search results of different genres can be represented as (Document, abbreviated as Doc).
[0047] In some optional embodiments, users may generate various orders when performing purchase operations on an e-commerce platform, and for these orders, users may have order query needs. When a user needs to query any order, the user may enter order query information in the search bar provided on the order query page of the e-commerce platform, so that the e-commerce platform can obtain the order query request sent by the user, and perform operations such as order query based on the order query request. The order query information may be represented as query.
[0048] The above-mentioned various orders may include ongoing orders, completed orders, and closed orders. Among them, ongoing orders may include: orders to be shipped, orders to be paid, shipped orders, and refund / after-sales orders, etc. Among them, closed orders may include: unpaid orders and refund cost orders, etc.
[0049] S102, acquiring target order information and a first object to be recommended according to the order query information, where the target order information is any historical order information of the user.
[0050] It should be understood that the above-mentioned historical order information can be understood as any order information of various orders generated on the e-commerce platform.
[0051] The above order information may include: object identification information, store identification information, purchase quantity, object pictures or videos, order status, object price, etc. Among them, the object identification information can be understood as the unique information of the object, such as the object name, etc. Similarly, the store identification information can be understood as the unique information of the store, such as the store name, etc., which is not specifically limited here.
[0052] In some optional embodiments, the present application may first parse the acquired order query request to obtain the order query information carried in the order query request. Then, according to the order query information, the target order information is obtained from the order database, and also according to the order query information, the first object to be recommended is obtained from the object database. The number of the target order information and the first object to be recommended is at least one.
[0053] In the present application, the order database can be understood as a database that stores various orders, and each order stored in the order database corresponds to an order identification information, so that the identity of the order can be uniquely identified through the order identification information.
[0054] The object database can be understood as a database that stores various genres of e-commerce search results, and the object database is used to provide object information data.
[0055] In some optional embodiments, the present application obtains target order information from an order database based on order query information, and optionally queries the order database for orders including the order query information based on the order query information; or, the order database may be queried for orders related to the order query information. Then, all queried orders are determined as target order information.
[0056] In some optional embodiments, the present application obtains the first object to be recommended from the object database based on the order query information, and optionally queries the object including the order query information from the object database, and uses the queried object as the first object to be recommended; or, it is also possible to query the object database for objects related to the order query information, and use the queried object as the first object to be recommended.
[0057] Considering that the order query information can be a query statement with a certain character length, in order to accurately obtain the target order information and the first object to be recommended corresponding to the order query information, the present application may optionally first perform word segmentation and stop word removal on the order query information to obtain at least one query keyword. Among them, the query keyword can be understood as the key information in the order query information. Then, the orders related to each query keyword are queried from the order database, and the queried orders are used as the target order information. In addition, the objects related to each query keyword are queried from the object database, and the queried objects are used as the first object to be recommended.
[0058] That is, the present application can extract at least one query keyword from the order query information, and then obtain the target order information from the order database according to the query keyword, and obtain the first object to be recommended from the object database.
[0059] Considering that at least one query keyword extracted from the order query information has a different expression from the object in the object database, the first recommended object obtained from the object database according to each query keyword is missed, which affects the effect of recommending objects to users.
[0060] To this end, the present application may rewrite each query keyword to obtain synonyms, near synonyms and / or intended words corresponding to each query keyword. Further, according to each query keyword and the synonyms, near synonyms and / or intended words corresponding to each query keyword, the first object to be recommended is obtained from the object database. Rewriting each query keyword may also be referred to as expanding each query keyword.
[0061] For example, assuming that any query keyword is "cherry", then by rewriting the query keyword "cherry", a synonym may be "big cherry".
[0062] For another example, assuming that any query keyword is "clothes", then by rewriting the query keyword "clothes", synonyms such as "clothes", "clothing" and "apparel" may be obtained.
[0063] That is, the present application expands each query keyword into a rewritten word that is highly correlated with the user's query requirements, and performs object retrieval processing in the object database based on the rewritten word and each query keyword to obtain more first recommended objects that meet the user's query requirements.
[0064] It should be understood that the synonyms, near synonyms and / or intended words corresponding to each query keyword mentioned above refer to at least one of the synonyms, near synonyms and intended words corresponding to each query keyword. For example, the synonyms corresponding to each query keyword; or, the near synonyms corresponding to each query keyword; or, the intended words corresponding to each query keyword; or, the synonyms and near synonyms corresponding to each query keyword; or, the near synonyms and intended words corresponding to each query keyword; or, the synonyms and near synonyms corresponding to each query keyword; or, the synonyms, near synonyms and intended words corresponding to each query keyword, and this application does not make specific restrictions on this.
[0065] S103: Obtain a second object to be recommended according to the target order information.
[0066] Considering that an order may include various information, such as object identification information, store identification information, object pictures or videos, and object prices, etc. Therefore, the present application can obtain the object information from the target order information, and then obtain the second object to be recommended from the object database according to the object information. The number of the second object to be recommended is at least one.
[0067] The above object information may be at least one of object identification information and object picture / video.
[0068] In some optional embodiments, the second object to be recommended is obtained from the object database according to the object information, and objects related to the object information are optionally queried from the object database, and the queried objects are used as the second object to be recommended.
[0069] Exemplarily, assuming that the object information is an object name, and the object name is "cherry", all objects related to "cherry" are queried from the object database, and all objects are used as the second objects to be recommended.
[0070] For another example, assuming that the object information is an object picture, and the object picture is a trousers picture, then the trousers picture can be identified to obtain the trousers information in the picture, and then based on the trousers information, all objects related to the trousers are queried from the object database, and all objects are used as the second objects to be recommended.
[0071] S104, displaying the target order information, the first object to be recommended and the second object to be recommended to recommend the object to the user.
[0072] After obtaining the target order information, the first object to be recommended and the second object to be recommended corresponding to the order query information, the present application can display the target order information, the first object to be recommended and the second object to be recommended on the order query page, so that when the user queries the historical order information, multiple objects to be recommended associated with the order query information and the target order information can be recommended to the user, thereby using the order query information input by the user as the user's immediate interest to obtain recommended objects related to the user's immediate interest, thereby recommending recommended objects that meet the user's immediate needs to the user, thereby improving the accuracy of object recommendation.
[0073] In some optional embodiments, the order query page may include multiple display areas, such as an order query result display area and a recommended object display area. Figure 2a Then, when the present application displays the target order information, the first object to be recommended, and the second object to be recommended, the target order information may be displayed in the order query result display area, and the first object to be recommended and the second object to be recommended may be displayed in the recommended object display area, for example Figure 2b shown.
[0074] Among them, when displaying the first object to be recommended and the second object to be recommended in the recommended object display area, they can be displayed in a manner of displaying the first object to be recommended first and then the second object to be recommended, or they can be displayed in a manner of displaying the second object to be recommended first and then the first object to be recommended; alternatively, the first object to be recommended and the second object to be recommended can be displayed in a mixed display manner, and this application does not impose any restrictions on this.
[0075] The technical solution disclosed in the embodiment of the present application obtains the order query request sent by the user, obtains the target order information and the first object to be recommended according to the order query information in the order query request, then obtains the second object to be recommended according to the target order information, and then displays the target order information, the first object to be recommended and the second object to be recommended to recommend objects to the user. The present application represents the user's immediate interests by using the order query information sent by the user to obtain objects to be recommended that meet the user's immediate needs according to the user's immediate interests and the target order information corresponding to the order query information, and displays the obtained objects to be recommended and the target order information to the user, thereby achieving targeted object recommendations to the user according to the user's immediate needs, thereby improving the accuracy of object recommendations and enhancing the user's experience.
[0076] In some optional embodiments, the order query request sent by the user may also include user identification information, so the present application may also obtain the object to be recommended based on the user identification information. Figure 3 , further explaining and illustrating obtaining the object to be recommended.
[0077] like Figure 3 As shown, the method may include the following steps:
[0078] S201, obtaining an order query request sent by a user, where the order query request includes: order query information and user identification information.
[0079] S202, acquiring target order information and a first object to be recommended according to the order query information, where the target order information is any historical order information of the user.
[0080] S203: Obtain a second object to be recommended according to the target order information.
[0081] S204, obtaining the user's historical behavior data authorized by the user according to the user identification information.
[0082] In this application, user identification information can be understood as unique information of the user.
[0083] In some optional embodiments, after parsing the order query request, order query information and user identification information can be obtained from the order query request. Furthermore, the present application can obtain the user's historical behavior data corresponding to the user identification information and authorized by the user from the behavior log database based on the user identification information.
[0084] The above-mentioned user historical behavior data authorized by the user refers to all interactive behavior data of the user on the e-commerce receipt, such as purchase behavior data, click behavior data, browsing behavior data, collection behavior data and sharing behavior data.
[0085] Among them, the behavior log database is used to store all interactive behavior data of each user on the e-commerce platform, such as purchase behavior data.
[0086] It should be understood that before using the technical solutions disclosed in the embodiments of the present application, the type, scope of use, and usage scenarios of the personal information involved in the present application should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations. For example, in response to receiving an active request from the user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require the acquisition and use of the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present application based on the prompt message.
[0087] As an optional but non-limiting implementation method, in response to receiving an active request from the user, the method of sending a prompt message to the user can be, for example, a pop-up window, and the prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device. It is understandable that the above notification and the process of obtaining user authorization are only illustrative and do not constitute a limitation on the implementation method of this application. Other methods that meet relevant laws and regulations can also be applied to the implementation method of this application. It is understandable that the user personal information data involved in this technical solution (including but not limited to the data itself, the acquisition, storage and use of the data) shall comply with the requirements of relevant laws and regulations and relevant provisions, and shall not violate public order and good morals.
[0088] S205: Acquire a third object to be recommended from the object database according to the user's historical behavior data authorized by the user.
[0089] Considering that the user's preferences or preferences, such as long-term interests and short-term interests, can be understood based on the user's historical behavior data authorized by the user. Therefore, the present application can determine the user's long-term interests and / or short-term interests based on the user's historical behavior data authorized by the user. Then, based on the user's long-term interests and / or short-term interests, the third object to be recommended is obtained from the object database. The number of the third object to be recommended is at least one.
[0090] In some optional embodiments, when determining a user's long-term interests and / or short-term interests, the user's historical behavior data authorized by the user can be analyzed to determine the user's long-term interests, such as objects that the user has continuously paid attention to and been interested in for a long period of time, and short-term interests, such as objects that the user has been interested in for a short period of time.
[0091] Furthermore, all objects related to the user's long-term interests and / or short-term interests are obtained from the object database, and all objects are used as third objects to be recommended.
[0092] It should be noted that the execution order of obtaining the first object to be recommended and the third object to be recommended may be to first obtain the first object to be recommended and then obtain the third object to be recommended; or, it may be to first obtain the third object to be recommended and then obtain the first object to be recommended; or, it may be to obtain the first object to be recommended and the third object to be recommended in parallel, and the present application does not impose any restrictions on this.
[0093] S206, display the target order information, the first object to be recommended, the second object to be recommended and the third object to be recommended to recommend objects to the user.
[0094] Optionally, the present application may display the target order information, the first object to be recommended, the second object to be recommended and the third object to be recommended on the order query page.
[0095] In some optional embodiments, the order query page may include multiple display areas, such as an order query result display area and a recommended object display area. Figure 2a Then, when the present application displays the target order information, the first object to be recommended, the second object to be recommended, and the third object to be recommended, the target order information may be displayed in the order query result display area, and the first object to be recommended, the second object to be recommended, and the third object to be recommended may be displayed in the recommended object display area, for example Figure 2c shown.
[0096] Among them, when displaying the first object to be recommended, the second object to be recommended and the third object to be recommended in the recommended object display area, they can be displayed in a manner of first displaying the first object to be recommended, then displaying the second object to be recommended, and finally displaying the third object to be recommended, or they can be displayed in a manner of first displaying the second object to be recommended, then displaying the first object to be recommended, and finally displaying the first object to be recommended; or the first object to be recommended, the second object to be recommended and the third object to be recommended can be displayed in a mixed display manner, and so on, the present application does not impose any restrictions on this.
[0097] The technical solution disclosed in the embodiment of the present application obtains the order query request sent by the user, obtains the target order information and the first object to be recommended according to the order query information in the order query request, then obtains the second object to be recommended according to the target order information, and then displays the target order information, the first object to be recommended and the second object to be recommended to recommend objects to the user. The present application represents the user's immediate interests by using the order query information sent by the user to obtain objects to be recommended that meet the user's immediate needs according to the user's immediate interests and the target order information corresponding to the order query information, and displays the obtained objects to be recommended and the target order information to the user, thereby achieving targeted object recommendations to the user according to the user's immediate needs, thereby improving the accuracy of object recommendations and enhancing the user's experience. In addition, the present application also obtains user historical behavior data authorized by the user based on user identification information, so as to determine the user's long-term interests and / or short-term interests based on the user's historical behavior data authorized by the user, and then recommends more objects to the user based on the user's long-term interests and / or short-term interests on the basis of order query information and target order information, so as to provide the user with more recommended objects that meet the user's demands based on the user's preferences, thereby improving the user's shopping experience and providing favorable conditions for improving the object conversion rate.
[0098] In some optional embodiments, in order to place the recommended object most relevant to the user's immediate needs at the front position to improve the object recommendation effect, after obtaining the recommended object, the present application can also determine the ranking score of each recommended object, and then sort the obtained multiple recommended objects according to the ranking score to obtain the ranking result, and then recommend the object to the user according to the ranking result. Figure 4 The above-mentioned solution provided in the embodiment of the present application is described in detail.
[0099] like Figure 4 As shown, the method may include the following steps:
[0100] S301, obtaining an order query request sent by a user, where the order query request includes: order query information and user identification information.
[0101] S302, acquiring target order information and a first object to be recommended according to the order query information, where the target order information is any historical order information of the user.
[0102] S303: Obtain a second object to be recommended according to the target order information.
[0103] S304: Determine the ranking score of each object to be recommended.
[0104] In the present application, in addition to obtaining the first object to be recommended and the second object to be recommended, a third object to be recommended may also be obtained. The specific implementation method of obtaining the third object to be recommended may refer to the aforementioned embodiment, which will not be described in detail here.
[0105] That is, the objects to be recommended in this application are the first object to be recommended and the second object to be recommended, or the first object to be recommended, the second object to be recommended and the third object to be recommended.
[0106] In some optional embodiments, determining the ranking score of each object to be recommended may include the following steps:
[0107] Step 11: determine a first correlation score between each to-be-recommended object and the order query information.
[0108] Optionally, the semantic similarity between each object to be recommended and the order query information may be calculated, and the semantic similarity may be used as the first correlation score between each object to be recommended and the order query information.
[0109] That is, the first relevance score is a semantic relevance score.
[0110] In some optional embodiments, determining the semantic relevance score between each to-be-recommended object and the order query information may include the following methods:
[0111] Method 1: Input each object to be recommended and order query information as input data into the semantic relevance model, so as to process each object to be recommended and order query information through the semantic relevance model to output the semantic relevance score between each object to be recommended and order query information.
[0112] The semantic relevance model can be any model that can determine the semantic relevance between the recommended object and the order query information, and the present application does not impose any specific restrictions on the network structure of the semantic relevance model. That is, the semantic relevance model can be an existing trained model or a specially trained model.
[0113] Method 2: Calculate the similarity between each object to be recommended and the order query information according to a similarity algorithm, and use the similarity as the first relevance score.
[0114] The similarity algorithm may be, but is not limited to, a cosine similarity algorithm and an edit distance similarity algorithm.
[0115] Step 12: Determine a second correlation score between each to-be-recommended object and the target order information.
[0116] Optionally, the style similarity between each object to be recommended and the target order information may be calculated, and the style similarity may be used as the second correlation score between each object to be recommended and the order query information.
[0117] That is, the second relevance score is a style relevance score.
[0118] In some optional embodiments, determining the style relevance score between each to-be-recommended object and the target order information may include the following methods:
[0119] Method 1: Input each object to be recommended and target order information as input data into the style correlation model, so as to process each object to be recommended and target order information through the style correlation model to output the style correlation score between each object to be recommended and target order information.
[0120] The style correlation model may be any model that can determine the style correlation between the recommended object and the target order information, and the present application does not impose any specific restrictions on the network structure of the style correlation model. In other words, the style correlation model may be an existing trained model or a specially trained model.
[0121] Method 2: Calculate the similarity between each object to be recommended and the target order information according to the similarity algorithm, and use the similarity as the second relevance score.
[0122] The similarity algorithm may be, but is not limited to, a cosine similarity algorithm and an edit distance similarity algorithm.
[0123] Step 13: Determine the conversion score, quality score, and price score of each recommended object.
[0124] In this application, the conversion score includes: click rate and conversion rate.
[0125] In some optional embodiments, each object to be recommended, order query information, target order information, and user historical behavior data authorized by the user can be used as input data and input into a conversion prediction model, so that each object to be recommended, order query information, target order information, and user historical behavior data authorized by the user can be processed and analyzed by the conversion prediction model to output a conversion score for each object to be recommended.
[0126] The conversion score of each recommended object is calculated based on the click-through rate and the conversion rate. As an optional implementation, the conversion score can be the product of the click-through rate and the conversion rate.
[0127] It should be noted that the above-mentioned conversion prediction model can be any model that can determine the conversion score of the object to be recommended, and the present application does not impose any specific restrictions on the network structure of the conversion prediction model.
[0128] In some optional embodiments, the quality score of each object to be recommended is determined, optionally by obtaining evaluation information, return status, sales status, store evaluation information and other data of each object to be recommended, and inputting these data into the quality prediction model, so as to output the quality score of each object to be recommended through the quality prediction model. The quality prediction model can be any network model that can predict the quality of the object to be recommended, and this application does not impose any restrictions on this.
[0129] In some optional embodiments, the price score of each object to be recommended can be determined by determining similar objects of each object to be recommended, and then determining the price information of each object to be recommended among the similar objects. Then, the price information of each object to be recommended is used as the price score of each object to be recommended.
[0130] Among them, the same type of objects can be understood as products of the same type as the object to be recommended, or products of a similar type to the object to be recommended. That is, the same type of objects include the same objects or similar objects.
[0131] Step 14: Determine the ranking score of each object to be recommended according to the first relevance score, the second relevance score, the conversion score, the quality score, and the price score.
[0132] In some optional embodiments, the present application may integrate the first relevance score, the second relevance score, the conversion score, the quality score and the price score of each object to be recommended to obtain a comprehensive score corresponding to each object to be recommended, and use the comprehensive score as the ranking score of each object to be recommended.
[0133] As an optional implementation, the present application may add the first relevance score, the second relevance score, the conversion score, the quality score and the price score of each object to be recommended, and use the sum as the ranking score of each object to be recommended. Alternatively, the first relevance score, the second relevance score, the conversion score, the quality score and the price score of each object to be recommended may be multiplied, and the product may be used as the ranking score of each object to be recommended.
[0134] Considering that the first relevance score, the second relevance score, the conversion score, the quality score and the price score of each object to be recommended are directly integrated, it is easy for the ranking score to have extreme values when calculating the ranking score of each object to be recommended, resulting in poor stability of object recommendation.
[0135] To this end, before determining the ranking score of each object to be recommended, the present application may first convert the first relevance score, second relevance score, conversion score, quality score and price score of each object to be recommended, so that the first relevance score, second relevance score, conversion score, quality score and price score of each object to be recommended are all in a fixed score range. Afterwards, the converted first relevance score, second relevance score, conversion score, quality score and price score of each object to be recommended are merged to obtain the ranking score of each object to be recommended, thereby improving the stability of object recommendation.
[0136] In some optional embodiments, the ranking score of each object to be recommended may be determined by the following formula:
[0137]
[0138] Among them, score i is the ranking score of the i-th object to be recommended, is the first relevance score of the i-th object to be recommended, is the second relevance score of the i-th object to be recommended, is the conversion score of the i-th object to be recommended, is the quality score of the i-th object to be recommended, is the price score of the i-th object to be recommended, β rel_1 and β rei_y are two adjustable parameters corresponding to the first correlation score, β rel_f and αrei_f are two adjustable parameters corresponding to the second correlation score, β h and α h are two adjustable parameters corresponding to the conversion score, β z and α z are two adjustable parameters corresponding to the quality score, β j and α j These are two adjustable parameters corresponding to the price score. The above adjustable parameters are flexibly set according to actual application requirements and are not specifically limited here.
[0139] It should be noted that the above represents the implementation method of converting the first correlation score. represents the implementation method of converting the second correlation score. Indicates the implementation method of converting the conversion score. Indicates the implementation method of converting the quality score, as well as the above Indicates how to implement the price score conversion process.
[0140] S305: Sort the multiple objects to be recommended according to the sorting scores to obtain a sorting result.
[0141] In some optional embodiments, the plurality of objects to be recommended are sorted to obtain a sorting result, and optionally, the plurality of objects to be recommended are sorted in descending order of the sorting scores to obtain a sorting result.
[0142] It should be understood that when the objects to be recommended are the first object to be recommended and the second object to be recommended, the present application sorts the first object to be recommended and the second object to be recommended in descending order of the sorting scores to obtain the sorting result. When the objects to be recommended are the first object to be recommended, the second object to be recommended and the third object to be recommended, the present application sorts the first object to be recommended, the second object to be recommended and the third object to be recommended in descending order of the sorting scores to obtain the sorting result.
[0143] S306, displaying target order information and ranking results to recommend objects to the user.
[0144] In the embodiment of the present application, the ranking result may be displayed in the recommended object display area.
[0145] The technical solution disclosed in the embodiment of the present application obtains the order query request sent by the user, obtains the target order information and the first object to be recommended according to the order query information in the order query request, then obtains the second object to be recommended according to the target order information, and then displays the target order information, the first object to be recommended and the second object to be recommended to recommend the object to the user. The present application characterizes the user's immediate interest by using the order query information sent by the user to obtain the object to be recommended that meets the user's immediate needs according to the user's immediate interest and the target order information corresponding to the order query information, and displays the obtained object to be recommended and the target order information to the user, thereby realizing targeted object recommendation to the user according to the user's immediate needs, thereby improving the accuracy of object recommendation and enhancing the user's experience. In addition, the present application determines the ranking score of each object to be recommended, and sorts all objects to be recommended according to the ranking score data to obtain the ranking result, and then displays the ranking result of the object to be recommended to the user, so that the recommended object most relevant to the user's immediate needs can be sorted to the front, so that the user can obtain the object he wants to buy from the recommended object, thereby further improving the object recommendation effect.
[0146] Please refer to the attached Figure 5 , an object recommendation device proposed in an embodiment of the present application is described. Figure 5 As shown, the object recommendation device 400 includes: a request acquisition module 410 , an information acquisition module 420 , an object acquisition module 430 and an object recommendation module 440 .
[0147] The request acquisition module 410 is used to acquire an order query request sent by a user, wherein the order query request includes: order query information;
[0148] An information acquisition module 420 is used to acquire target order information and a first object to be recommended according to the order query information, wherein the target order information is any historical order information of the user;
[0149] The object acquisition module 430 is used to acquire a second object to be recommended according to the target order information;
[0150] The object recommendation module 440 is used to display the target order information, the first object to be recommended and the second object to be recommended, so as to recommend objects to the user.
[0151] In an optional implementation of the embodiment of the present application, the information acquisition module 420 is specifically used to:
[0152] Extracting at least one query keyword from the order query information;
[0153] According to each of the query keywords, target order information is obtained from the order database, and a first object to be recommended is obtained from the object database.
[0154] In an optional implementation of the embodiment of the present application, the information acquisition module 420 is further used to rewrite each of the query keywords to obtain synonyms, near synonyms and / or intended words corresponding to each of the query keywords;
[0155] According to each of the query keywords and the synonyms, near-synonyms and / or intended words corresponding to each of the query keywords, a first object to be recommended is obtained from the object database.
[0156] In an optional implementation of the embodiment of the present application, the object acquisition module 430 is specifically used to:
[0157] Acquire object information from the target order information;
[0158] According to the object information, a second object to be recommended is obtained from the object database.
[0159] In an optional implementation of the embodiment of the present application, the order query request further includes: user identification information, and an object acquisition module 430, which is specifically used to:
[0160] Acquire user historical behavior data authorized by the user according to the user identification information;
[0161] According to the user's historical behavior data authorized by the user, a third object to be recommended is obtained from the object database.
[0162] In an optional implementation of the embodiment of the present application, the object acquisition module 430 is further used to determine the long-term interests and / or short-term interests of the user; and obtain a third object to be recommended from the object database based on the long-term interests and / or short-term interests of the user.
[0163] In an optional implementation of the embodiment of the present application, the object recommendation module 440 is specifically configured to:
[0164] The target order information, the first object to be recommended, the second object to be recommended and the third object to be recommended are displayed to recommend objects to the user.
[0165] In an optional implementation of the embodiment of the present application, the apparatus 400 further includes:
[0166] A score determination module, used to determine the ranking score of each object to be recommended;
[0167] A sorting module is used to sort multiple objects to be recommended according to the sorting scores to obtain a sorting result;
[0168] The objects to be recommended are the first object to be recommended and the second object to be recommended, or the first object to be recommended, the second object to be recommended and the third object to be recommended.
[0169] In an optional implementation of the embodiment of the present application, the score determination module is specifically used to:
[0170] Determine a first correlation score between each to-be-recommended object and the order query information;
[0171] Determine a second correlation score between each to-be-recommended object and the target order information;
[0172] Determine the conversion score, quality score, and price score of each recommended object;
[0173] A ranking score of each to-be-recommended object is determined according to the first relevance score, the second relevance score, the conversion score, the quality score, and the price score.
[0174] In an optional implementation of the embodiment of the present application, the object recommendation module 440 is specifically configured to:
[0175] The target order information and the ranking result are displayed to recommend objects to the user.
[0176] It should be understood that the device embodiment and the aforementioned method embodiment may correspond to each other, and similar descriptions may refer to the method embodiment. To avoid repetition, they will not be described here. Specifically, Figure 5 The apparatus 400 shown may perform Figure 1 The corresponding method embodiments, and the aforementioned and other operations and / or functions of each module in the device 400 are respectively to implement Figure 1 For the sake of brevity, the corresponding processes in each method are not repeated here.
[0177] The above describes the device 400 of the embodiment of the present application from the perspective of the functional module in conjunction with the accompanying drawings. It should be understood that the functional module can be implemented in hardware form, can be implemented by instructions in software form, and can also be implemented by a combination of hardware and software modules. Specifically, the steps of the first aspect method embodiment in the embodiment of the present application can be completed by the hardware integrated logic circuit and / or software form instructions in the processor, and the steps of the first aspect method disclosed in conjunction with the embodiment of the present application can be directly embodied as a hardware decoding processor to perform, or a combination of hardware and software modules in the decoding processor to perform. Optionally, the software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, an electrically erasable programmable memory, a register, etc. The storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps in the above-mentioned first aspect method embodiment in conjunction with its hardware.
[0178] Figure 6 A schematic block diagram of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device 500 may include: a memory 510 and a processor 520, wherein the memory 510 is used to store a computer program and transmit the program code to the processor 520. In other words, the processor 520 may call and run the computer program from the memory 510 to implement the object recommendation method described in the first aspect of the embodiment of the present application.
[0179] For example, the processor 520 may be configured to execute the object recommendation method according to instructions in the computer program.
[0180] In some embodiments of the present application, the processor 520 may include but is not limited to:
[0181] General-purpose processor, digital signal processor (DSP), application-specific integrated circuit (ASIC), field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc.
[0182] In some embodiments of the present application, the memory 510 includes but is not limited to:
[0183] Volatile memory and / or non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DR RAM).
[0184] In some embodiments of the present application, the computer program may be divided into one or more modules, which are stored in the memory 510 and executed by the processor 520 to complete the object recommendation method provided by the present application. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0185] like Figure 6 As shown, the electronic device 500 may further include:
[0186] The transceiver 530 may be connected to the processor 520 or the memory 510 .
[0187] The processor 520 may control the transceiver 530 to communicate with other devices, specifically, to send information or data to other devices, or to receive information or data sent by other devices. The transceiver 530 may include a transmitter and a receiver. The transceiver 530 may further include an antenna, and the number of antennas may be one or more.
[0188] It should be understood that the various components in the electronic device are connected via a bus system, wherein the bus system includes not only a data bus but also a power bus, a control bus and a status signal bus.
[0189] The present application also provides a computer storage medium on which a computer program is stored. When the computer program is executed by a computer, the computer is enabled to execute the object recommendation method described in the first aspect above.
[0190] When software is used for implementation, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website site, a computer, a server, or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server, or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or a data center that includes one or more available media integrations. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a digital video disc (digital video disc, DVD)), or a semiconductor medium (e.g., a solid state disk (solid state disk, SSD)), etc.
[0191] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0192] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the module is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0193] The modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. For example, each functional module in each embodiment of the present application may be integrated into a processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0194] In the embodiments of the present application, the term "module" or "unit" refers to a computer program or a part of a computer program with a predetermined function, and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.
[0195] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. An object recommendation method, characterized in that: include: Acquire an order query request sent by a user, wherein the order query request includes: order query information; According to the order query information, target order information and a first object to be recommended are acquired, wherein the target order information is any historical order information of the user; Acquire a second object to be recommended according to the target order information; The target order information, the first object to be recommended and the second object to be recommended are displayed to recommend objects to the user.
2. The method according to claim 1, characterized in that The step of acquiring target order information and a first object to be recommended according to the order query information includes: Extracting at least one query keyword from the order query information; According to each of the query keywords, target order information is obtained from the order database, and a first object to be recommended is obtained from the object database.
3. The method according to claim 2, characterized in that The method further comprises: Rewrite each of the query keywords to obtain synonyms, near synonyms and / or intended words corresponding to each of the query keywords; According to each of the query keywords and the synonyms, near-synonyms and / or intended words corresponding to each of the query keywords, a first object to be recommended is obtained from the object database.
4. The method according to claim 1, characterized in that: The acquiring a second object to be recommended according to the target order information includes: Acquire object information from the target order information; According to the object information, a second object to be recommended is obtained from an object database.
5. The method according to claim 1, characterized in that The order query request further includes: user identification information, and the method further includes: Acquire user historical behavior data according to the user identification information; According to the user historical behavior data, a third object to be recommended is obtained from the object database.
6. The method according to claim 5, characterized in that The acquiring a third object to be recommended from an object database according to the user historical behavior data includes: determining the user's long-term interests and / or short-term interests; According to the long-term interests and / or short-term interests of the user, a third object to be recommended is obtained from the object database.
7. The method according to claim 5, characterized in that The method further comprises: The target order information, the first object to be recommended, the second object to be recommended and the third object to be recommended are displayed to recommend objects to the user.
8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Determine the ranking score of each object to be recommended; According to the ranking scores, multiple objects to be recommended are ranked to obtain a ranking result; The objects to be recommended are the first object to be recommended and the second object to be recommended, or the first object to be recommended, the second object to be recommended and the third object to be recommended.
9. The method according to claim 8, characterized in that Determining the ranking score of each object to be recommended includes: Determine a first correlation score between each to-be-recommended object and the order query information; Determine a second correlation score between each to-be-recommended object and the target order information; Determine the conversion score, quality score, and price score of each recommended object; A ranking score of each to-be-recommended object is determined according to the first relevance score, the second relevance score, the conversion score, the quality score, and the price score.
10. The method according to claim 8, characterized in that The recommending an object to the user comprises: The target order information and the ranking result are displayed to recommend objects to the user.
11. An object recommendation device, characterized in that: include: A request acquisition module is used to acquire an order query request sent by a user, wherein the order query request includes: order query information; An information acquisition module, used to acquire target order information and a first object to be recommended according to the order query information, wherein the target order information is any historical order information of the user; An object acquisition module, used for acquiring a second object to be recommended according to the target order information; An object recommendation module is used to display the target order information, the first object to be recommended and the second object to be recommended, so as to recommend objects to the user.
12. An electronic device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, and the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: Used to store a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 10.
14. A computer program product comprising program instructions, characterized in that When the program instructions are executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 10.
Citation Information
Cited By
Object recommendation method and apparatus, device, and medium
WO2025251739A1
