Object matching method, object query system, electronic equipment and storage medium
By generating images for object matching, the problem of low matching accuracy caused by inaccurate text descriptions in traditional methods is solved, achieving higher matching accuracy and user experience.
Patent Information
- Application Number
- CN202410535682.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-29
- Publication Date
- 2024-09-06
Smart Images

Figure CN118606501A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an object matching method, an object query system, an electronic device, a storage medium and a computer program product. Background Art
[0002] Traditional online object matching is usually performed based on the matching degree between the keywords entered by the user and the object description text. For example, after the user enters the keywords, the object matching system determines the object that matches the keyword entered by the user by calculating the matching degree between the keywords and the description text of each candidate object in the system. This traditional object matching method requires the object to have accurate text description information, and similarly, it also requires the merchant to accurately set the attribute information of the product, which has great limitations. For example, for product matching on e-commerce websites, users and merchants are required to accurately set product attribute information such as product name, purpose, category, etc. When the text description information of the object is not accurate or comprehensive enough, or the characteristics of the object cannot be accurately described in text, the accuracy of the object matching will be reduced.
[0003] It can be seen that the object matching method in the prior art still needs to be improved. Summary of the invention
[0004] The embodiment of the present application provides an object matching method, which can generate a picture that expresses the user's query intention based on the description text input by the user, and then perform object matching based on the generated picture, which helps to improve the accuracy of object matching and has few limitations.
[0005] Correspondingly, an embodiment of the present application also provides an object query system, an electronic device, a storage medium and a computer program product to ensure the implementation and application of the above-mentioned object matching method.
[0006] In order to solve the above problems, an embodiment of the present application discloses an object matching method, which is applied to a server, and the method includes:
[0007] Receiving descriptive text information of the first user for the current query sent by the client;
[0008] Based on the description text information, generate a generated image corresponding to the current query;
[0009] Sending the generated image to the client, so that the client displays the generated image to the first user;
[0010] In response to the first user triggering a source search operation on the generated image, object matching is performed on a preset platform based on the generated image to obtain a target object that matches the generated image.
[0011] The present application embodiment discloses an object matching method, which is applied to a client, and the method includes:
[0012] Obtaining description text information input by the first user for the current query;
[0013] Sending the description text information to the server, so that the server generates a generated picture corresponding to the current query based on the description text information, and sending the generated picture to the client;
[0014] Receiving the generated picture;
[0015] Displaying the generated image to the first user;
[0016] In response to the first user triggering a sourcing operation on the generated image, the server is triggered to perform the following operations: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, obtains a target object matching the generated image, and sends visualization information of the target object to the client;
[0017] receiving the visualization information of the target object;
[0018] The generated image corresponding to the target object and the sourcing operation is displayed based on the visualization information.
[0019] The embodiment of the present application discloses an object query system, the system comprising: a client and a server, wherein:
[0020] The client is used to execute the object matching method applied to the client disclosed in the embodiments of the present application;
[0021] The server is used to execute the object matching method applied to the server disclosed in the embodiments of the present application.
[0022] An embodiment of the present application also discloses an electronic device, comprising: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described in the embodiment of the present application.
[0023] The embodiment of the present application further discloses a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method described in the embodiment of the present application.
[0024] The embodiment of the present application also discloses a computer program product, including a computer program / computer executable instructions, characterized in that when the computer program / computer executable instructions are executed by a processor in an electronic device, the method described in the embodiment of the present application is implemented.
[0025] Compared with the prior art, the embodiments of the present application have the following advantages:
[0026] By receiving descriptive text information of the first user for the current query sent by the client, and then generating a generated image corresponding to the current query based on the descriptive text information, the platform or system's understanding of the user's query needs can be more intuitively demonstrated; then, the generated image is sent to the client so that the client displays the generated image to the first user; the server triggers a sourcing operation for the generated image in response to the first user, performs object matching in a preset platform based on the generated image, obtains a target object matching the generated image, and performs one-click sourcing based on the generated image selected by the user, which is quick and convenient, and the object query accuracy is higher. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is one of the step flow charts of the object matching method disclosed in the embodiment of the present application;
[0028] Figure 2 is a schematic diagram of preset object attributes pre-generated in the object matching method disclosed in the embodiment of the present application;
[0029] Figure 3 It is a schematic diagram of an interface for obtaining description text information and displaying a generated image through a client in the object matching method disclosed in the embodiment of the present application;
[0030] Figure 4 This is the second step flow chart of the object matching method disclosed in the embodiment of the present application;
[0031] Figure 5 It is a schematic diagram showing the source search result display effect of the object matching method disclosed in the embodiment of the present application;
[0032] Figure 6 This is the third step flow chart of the object matching method disclosed in the embodiment of the present application;
[0033] Figure 7 is a workflow diagram of the object query system disclosed in the embodiment of the present application;
[0034] Figure 8 It is a schematic diagram of the structure of an exemplary device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0035] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0036] The object matching method disclosed in the embodiment of the present application can be applied to a variety of application scenarios, including but not limited to: e-commerce scenarios, online education scenarios, online medical scenarios, etc. For example, in an e-commerce platform, a user can enter text to describe the goods he needs, and the platform will automatically generate a product image that matches the user's description based on the user's description, and match the generated product image with the online goods in the platform, and display the matching product image and product information to the user, thereby improving the user's shopping experience and the accuracy of product matching. For another example, in an online education platform, a user can enter text to describe the picture of the question to be queried, and the platform will automatically generate a question image that matches the user's description based on the user's description, and match the generated question image with the online question bank in the platform, and display the matching question image and question information to the user, thereby improving the user's question query experience and the accuracy of question matching.
[0037] In the prior art, platforms with query functions usually require the input of keywords or pictures as query information for object matching. However, for the query matching method based solely on keywords, it is highly dependent on the keywords entered by the user and the attribute settings of the object by the supplier, and users often need to adjust keywords repeatedly. In the scenario of object matching using pictures as query information, users can only query based on pictures of existing objects, and cannot query imagined objects, which has great limitations.
[0038] The object matching method disclosed in the embodiments of the present application allows users to describe query requirements in natural language with fewer limitations. On the other hand, the reliance on the setting of attribute information of the queried object is reduced, which helps to improve the accuracy of object matching.
[0039] The object matching method disclosed in the embodiment of the present application is applied to the server, such as Figure 1 As shown, the method includes: steps 102 to 108.
[0040] Step 102: receiving descriptive text information of the first user for the current query sent by the client.
[0041] In some optional embodiments, the descriptive text information includes, but is not limited to, one or more of the following information: the value of the preset object attribute input by the first user; the trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query; the personalized description text input by the first user. Among them, the preset object attribute is an inherent attribute of the object; the historical data includes, but is not limited to: user historical behavior data, such as historical query data, historical order data, etc. In different scenarios, the preset object attributes are different, and the information recorded in the historical data is different. Taking the commodity query scenario of the e-commerce platform as an example, the preset object attribute can be: commodity category attribute. For example, the preset object attributes include, but are not limited to: various levels of category values, secondary categories, styles, colors, materials, etc. of commodities.
[0042] The following are examples of the above three methods for obtaining description text information.
[0043] (I) Preset object attribute values
[0044] In some optional embodiments, the value of the preset object attribute input by the first user is obtained by the following method: obtaining multiple rounds of conversation data with the first user regarding the current query; extracting information from the multiple rounds of conversation data to obtain the value of the preset object attribute in the current query by the first user.
[0045] For example, a human-computer conversation interface can be displayed on the client corresponding to the server (such as the client logged in by the first user), and based on the preset attribute information required to generate the object image, the conversation robot conducts multiple rounds of conversations with the first user according to the preset conversation logic and terminology, guiding the first user to describe the object to be queried from multiple aspects. Afterwards, the server analyzes and processes the multiple rounds of conversation data with the first user, and extracts the value of the preset attribute information from the multiple rounds of conversation data. For example, taking the commodity query scenario of an e-commerce website as an example, the conversation robot can first ask the first user about the category of the object queried by the first user. After obtaining the category information input by the first user as "sports category", the conversation robot will ask the first user in the next round of conversation which subcategory the object queried by the first user is in according to the subcategory under the "sports category" in the e-commerce website. This process is repeated until the values of multiple object attributes of the first user for the current query are obtained.
[0046] In some other optional embodiments, the value of the preset object attribute input by the first user is obtained based on the selection result of the first user on the object attribute selection interface of the client. For example, the object attribute selection interface can be displayed on the client for the first user to select the object attribute.
[0047] Optionally, the preset object attribute is determined by the following method: performing attribute filtering and normalization processing on the object category attribute of the preset platform to obtain the preset object category attribute.
[0048] Taking the e-commerce scenario as an example, the preset object attributes are derived from the original title, attributes, pictures and other information of the product. The preset object attributes are obtained by refining the category expression and extracting important attributes based on the product-related content filled in by the seller. By refining the category expression, category words under the category are constructed, and the product types under the category are subdivided. Then, the core object attributes are extracted as the preset object attributes. For example, the subcategory "animal feed" can be refined and split into "fish feed", "cattle feed", "cat food", "dog food", etc. Taking the category of headphones and headsets as an example, by extracting, clustering, and normalizing the product names, features and other related information filled in by each merchant for the headphone products listed on the e-commerce platform, after refining the product category, the headphones can be obtained. The preset object attributes of the headphone products on the e-commerce platform can be obtained. Figure 2 The tree structure shown.
[0049] (II) Trend description text obtained through data analysis
[0050] Optionally, keyword mining can be performed on the user's behavior log under the specified category, the user's preferred sub-category selected, and the user's historical query text on the object to mine high-frequency text. At the same time, the high-frequency text is normalized and filtered in combination with the object category attributes, and the description is unified. The core attribute words of the industry are retained to obtain trend description text. For the specific implementation method of mining high-frequency text from text data, please refer to the prior art and will not be repeated in the embodiments of this application. Trend description text can reflect the red and blue ocean trends of the industry and help extract the attributes of objects with recent rising trends.
[0051] For example, in e-commerce scenarios, the in-site queries (i.e., "queries") of e-commerce platforms may have multiple expressions for the same thing. For example, for the object description "shoe woman", due to different spellings, there may be multiple expressions such as "shoes woman", "shoe women", "Shoe Woman", "Shoe women's", and "Femme cordonnier". If trend analysis is performed on each expression separately, the data may be scattered to different queries due to inconsistent expressions. By normalizing the queries and normalizing different expressions of the same thing to the same query, trend analysis can be made more accurate.
[0052] The trend description text is obtained by associating the normalized query with the corresponding object category features through a mapping relationship.
[0053] The object category attribute value can be used for query identification and supply mounting, and is a leaf category dimension. In the embodiment of the present application, the intent in the query is mined through the values of the object category attributes and the trend description text. The same query may express multiple intents, for example ("red hoodies", according to the object category attribute value split to include the following category attribute values: the value of the color attribute "red", the value of the product attribute "hoodies", in this case, the features mapped by the query are split into different categories for trend analysis, in order to better reflect the trend of features under different categories. By aggregating features at different category levels, trend features at different category levels can be obtained. The trend features within the site can be fed back to generate trend texts.
[0054] In some embodiments of the present application, the trend description text obtained by data analysis can be displayed in the form of a selection menu according to different feature categories on the human-computer interaction interface for selection by the first user.
[0055] (III) Personalized description text entered by the user
[0056] On the other hand, an edit box can be set in the human-computer interaction interface for users to flexibly input personalized demand description text.
[0057] In the embodiment of the present application, the above-mentioned multiple texts are collectively used as the text expression of the first user for the current query.
[0058] Step 104: Generate a generated image corresponding to the current query based on the description text information.
[0059] Next, based on the text expression of the current query, the query intention of the first user is identified, and a generated image corresponding to the current query is generated according to the intention identification result.
[0060] Optionally, generating a generated image corresponding to the current query based on the descriptive text information includes: generating prompt words based on the descriptive text information using a first pre-trained generative model; and generating a generated image corresponding to the current query based on the prompt words and category attribute information included in the descriptive text information by calling a second pre-trained generative model.
[0061] Pre-trained generative models have powerful text understanding and summarization capabilities, such as the GPT (Generative Pre-Trained Transformer) model. In the embodiment of the present application, the GPT-4 model can be called first, which is recorded as the "first pre-trained generative model" in the embodiment of the present application, and the query intention description text of the first user is generated based on the descriptive text information. For example, based on the descriptive text information, combined with a pre-set prompt word template, the prompt word of the GPT-4 model can be generated, which is recorded as the "first prompt word" in the embodiment of the present application; thereafter, the GPT-4 model is called with the first prompt word to generate the query intention description text of the first user.
[0062] In an embodiment of the present application, the query intent description text is used to call some prompt words of the second pre-trained generative model.
[0063] Furthermore, according to a pre-set prompt word template, a second prompt word is generated in combination with the query intent description text generated by the first pre-trained generative model and the object category attributes input by the first user, and the second pre-trained generative model is called based on the second prompt word, triggering the second pre-trained generative model to generate a picture that matches the query intent of the first user based on the second prompt word.
[0064] Optionally, the second pre-trained generative model can be obtained by fine-tuning a pre-trained model for generating images based on text in the prior art (such as the Lora model).
[0065] In some optional embodiments, the second pre-trained generative model is obtained by fine-tuning the pre-trained generative model based on the object data in the preset platform. For example, a prompt word sample can be constructed based on historical user query data, and the Lora model can be fine-tuned with the pictures of the goods in the e-commerce platform as a reference for the generated pictures of the Lora model, thereby obtaining the second pre-trained generative model. The method for fine-tuning the second pre-trained generative model based on the data of the e-commerce platform is described in the prior art and will not be repeated here.
[0066] By customizing the training of the second pre-trained generative model based on the object data under the preset platform (such as the product image data in the e-commerce platform), the pictures generated by the second pre-trained generative model are more consistent with the object supply tonality in the preset platform, increasing the possibility of achieving effective supply matching, thereby optimizing the buyer's purchasing experience. For example, most of the pictures generated by the generative model in the prior art are more artistic, while in the embodiment of the present application, the pre-trained generative model is fine-tuned using the data in the platform to obtain the second pre-trained generative model. The pictures generated by the second pre-trained generative model are more realistic and aesthetic, and are more consistent with the style of the object pictures in the platform.
[0067] On the other hand, in the embodiment of the present application, the object attribute information of all supply objects in the platform is collected in advance to construct a knowledge graph, and the user's query intention is identified based on the object attributes input by the user in combination with the knowledge graph, so as to improve the accuracy of object matching. For example, if a user enters the three words "coconut plate" to query products on an e-commerce platform, the image generated by the pre-trained generative model in the prior art will be "a coconut placed on a plate", while in the embodiment of the present application, the attribute information of the two parts of "coconut" and "plate" will be perceived based on the knowledge graph, and the composition will be reconstructed in combination with whether there is "coconut material" + "plate product" in the platform, so as to determine whether to generate a "plate made of coconut material".
[0068] In some embodiments of the present application, after calling the second pre-trained generative model based on the category attribute information included in the prompt word and the descriptive text information to generate the generated image corresponding to the current query, it also includes: performing image-text relevance screening and image content review on the generated image to obtain the generated image that meets the quality preset.
[0069] During the specific implementation process, since part of the content in the prompt words of the second pre-trained generative model is based on the text input by the user and the text obtained by analyzing the historical data, and the hallucination problem that may exist in the generative model, the generated picture output by the second pre-trained generative model may have some unsatisfactory results. For example, the picture itself has a low degree of matching with the text input by the user and the selected object attributes, or the content of the generated picture itself is incomplete or unreasonable or contains content that is not suitable for publication. In order to output high-quality generated pictures to the first user as much as possible and filter out generated images that do not meet the quality preset, in an embodiment of the present application, the generated pictures of the second pre-trained generative model are first scored using a pre-trained image-text relevance scoring model and / or an image review model. The generated pictures that fail the review have a score of zero and are not displayed. The higher the image-text matching degree in the generated pictures that pass the review, the higher the score. After that, a preset number of generated pictures are displayed to the first user in order from high to low scores. For example, the generated picture with the highest score is displayed to the first user.
[0070] Among them, the image review model is used to judge the compliance of the generated image content, so as to perform risk control management on the text and images in the generated image. The image-text relevance scoring model is used to judge the integrity of the generated image and the degree of image-text matching, so as to screen the generated images with complete and reasonable content and high image-text matching. Optionally, the image-text relevance scoring model can adopt an existing model in the prior art, and the results and training methods of the image-text relevance scoring model and the image review model are not limited in the embodiments of the present application.
[0071] Step 106: Send the generated image to the client so that the client displays the generated image to the first user.
[0072] Step 108 , in response to the first user triggering a source search operation on the generated image, object matching is performed in a preset platform based on the generated image to obtain a target object that matches the generated image.
[0073] Next, the server sends the generated image that meets the requirements after image-text relevance screening and image content review to the client, and the client displays it to the first user.
[0074] Optionally, the client may display the generated image on a human-computer conversation interface.
[0075] Optionally, the first user may perform an object sourcing operation based on the generated image displayed by the client. The sourcing operation includes, but is not limited to, an operation of querying the object that matches the generated image, and / or an operation of querying the supplier of the object that matches the generated image. For example, the sourcing operation may be an operation of querying the goods that match the generated image, or the sourcing operation may be an operation of querying the sellers of the goods that match the generated image, or the sourcing operation may be an operation of querying the merchants that provide customized services for the goods in the generated image, or the sourcing operation may be an operation of querying the goods that match the generated image and the sellers of the goods.
[0076] For example, after the server sends the generated image to the client currently logged in by the first user, the client displays the generated image to the first user in the human-computer conversation interface. Figure 3 As shown, the client can display the generated images 310 and 320 as conversation messages to the first user. Further, the client can simultaneously display the query button of the generated object on the human-computer conversation interface, such as Figure 3 The button 3201 in the image is used by the user to trigger the query of similar source objects of the objects in the corresponding generated image 320, and perform one-click source search.
[0077] When the client detects that the button 3201 is triggered, it can be considered that the first user has triggered the source search operation for the object in the generated image 320. Further, the client can generate request information corresponding to the source search operation based on the generated image, and send the generated request information to the server, triggering the server to perform the object source search operation.
[0078] Optionally, performing object matching in a preset platform based on the generated image to obtain a target object matching the generated image includes: performing image matching on the generated image with an image of a mounted object in the preset platform to obtain a mounted object matching the generated image as the target object. For example, a cutout technique may be used to perform a cutout process on the generated image to obtain a first transparent background image of the object in the generated image; similarly, a cutout process may be performed on the image of the mounted object to obtain a second transparent background image of the mounted object; thereafter, the first transparent background image is respectively matched with each of the second transparent background images, and the mounted object corresponding to the successfully matched second transparent background image is used as the target object matching the generated image.
[0079] In other optional embodiments, other image matching methods may be used to obtain a target object that matches the generated image, which are not listed one by one in the embodiments of the present application. The present application does not limit the specific implementation method of performing object matching in a preset platform based on the generated image to obtain a target object that matches the generated image.
[0080] In some optional embodiments, the description text information includes: object attribute information, such as Figure 4 As shown, after performing object matching in a preset platform based on the generated image and acquiring a target object matching the generated image, the method further includes: steps 110 to 114.
[0081] Step 110, sending visualization information of the target object to the client, so that the client displays the target object and a generated image corresponding to the sourcing operation to the first user based on the visualization information;
[0082] Step 112, in response to receiving a user query request triggered by the first user for the target object, obtaining user information of a second user matching the target object in the preset platform;
[0083] Step 114: Send the user information to the client, so that the client displays the user information to the first user.
[0084] The visualization information includes but is not limited to one or more information of pictures, videos, and description texts. After obtaining the target object that matches the generated picture, the server sends the picture or video of the target object, as well as the visualization information such as the description text, to the client, and the client displays the target object based on the visualization information, and at the same time displays the generated picture corresponding to the sourcing operation, so that the first user can browse the generated picture corresponding to the sourcing operation and the visual effect of the target object matched by the platform on the client interface.
[0085] In some optional embodiments, the client can compare and display the generated image corresponding to the source search operation and the image of the matched target object, and the display effect is as follows: Figure 5As shown, picture 502 is a generated picture selected by the sourcing operation, and pictures 504 to 508 are pictures of handbags with a similar style to the handbag in picture 502. The first user can browse the pictures of the target object through the client interface, and select the target object that matches his query needs, thereby triggering the query of the user information of the supply user of the currently selected target object. After the client detects that the first user has selected a target object, it generates a user query request according to the object attribute information of the selected target object, and sends the user query request to the server. The user query request carries the object attribute information of the target object, such as the picture, category, style and other information of the target object carried in the user query request.
[0086] After receiving the user query request, the server further obtains the user information of the second user in the preset platform that matches the object attribute information according to the object attribute information. Taking the target object as a handbag as an example, after the first user clicks on a picture of the target object (such as a handbag) displayed by the client, the client can generate a user query request according to the style of the clicked handbag, and send the user query request to the server. After receiving the user query request, the server can query the merchant who can provide handbags of this style in the platform according to the style of the handbag carried in the user query request as the second user, and further obtain the merchant information of the merchant as the user information of the second user.
[0087] Then, the server sends the retrieved merchant information (i.e., the user information of the second user) to the client. The client can generate a session message based on the merchant information and display it to the first user in the human-computer session interface. For example, the client sends the style of the handbag in the picture 508 selected by the first user to the server, and then the server searches for merchants that can customize the handbag in the picture 508, and sends the merchant information to the client, which is displayed to the first user.
[0088] In some optional embodiments, after displaying the visualization information of the target object and the generated image corresponding to the sourcing operation to the first user through the client, if the matched target object cannot meet the query requirements of the first user, the first user can publish an object customization requirement.
[0089] Optionally, after sending the visualization information of the target object to the client, the method further includes: step 116.
[0090] Step 116, in response to receiving the demand publishing request triggered by the first user for the generated image corresponding to the sourcing operation, publishing object customization demand information, wherein the object customization demand information carries the generated image and the descriptive text information.
[0091] The client is: the client corresponding to the server and logged in by the first user.
[0092] For example, after the client displays the image of the target object matched by the one-key sourcing operation to the first user, if none of the matched target objects meet the query requirements of the first user, the first user can trigger the object customization button set in the client interface to trigger a demand publishing request to publish his query requirements for the object to the information publishing module of the preset platform. Among them, the object customization requirement information carried in the demand publishing request may include: text description information input by the first user, the generated image corresponding to the sourcing operation, etc. After receiving the demand publishing request, the server publishes the object customization requirement information to the information publishing module of the preset platform, so that more users can browse the object customization requirement information, and provide the first user with object customization services associated with the object customization requirement information.
[0093] In some embodiments of the present application, after sending the generated image to the client, the method further includes: obtaining the evaluation information of the first user on the generated image; optimizing the trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query according to the evaluation information. For example, an evaluation button for the generated image can be set on the client, and the client obtains the evaluation information of the generated image by the first user by detecting the evaluation button. The server can optimize the data analysis algorithm of the trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query based on the user's evaluation of the generated image over a period of time, thereby optimizing the trend description text and improving the suggestions.
[0094] In order to make the implementation scheme and beneficial effects of the object matching method disclosed in the embodiment of the present application clearer, the specific implementation method of the object matching method disclosed in the embodiment of the present application is described below in combination with specific application scenarios.
[0095] Taking the e-commerce platform as an example, when the first user needs to query a schoolbag that he or she has imagined in the platform, the first user can configure the attribute information of the schoolbag through the human-computer conversation interface set by the client of the e-commerce platform. At the same time, the e-commerce platform will analyze the relevant historical data according to the attribute information input by the user, and recommend some trend attributes to the first user for the first user to choose. The first user can also enter a personalized description text of the schoolbag through the human-computer conversation interface. After that, the server can identify the user's intention according to the attribute information of the schoolbag selected by the first user and the personalized description text entered, and automatically generate the first prompt word. Then, according to the generated first prompt word and the attribute information of the schoolbag set by the first user, the second prompt word is generated by using the text-generating text technology, and the second pre-trained generative model is called based on the second prompt word to generate a generated picture that matches the first user's demand description. The first user can select a generated picture to trigger a one-key source search operation to query the platform for schoolbags with similar styles to the schoolbag in the generated picture.
[0096] Taking the first user as a small schoolbag retailer as an example, when the first user needs to query the supplier of a schoolbag on the e-commerce platform, assuming that the object attribute information selected by the first user is: schoolbag, fashion, personality and Latin America, and the personalized description information entered by the first user is "sunflower", the server will automatically generate one or more schoolbag pictures with sunflower patterns based on the above text description information, and display them to the first user through the client. After the first user selects a schoolbag picture to perform a one-click sourcing operation, the server further queries the e-commerce platform for suppliers who can customize schoolbags that match the style of the schoolbag picture based on the schoolbag picture selected by the first user, and displays the queried schoolbag picture and supplier information to the first user.
[0097] If the first user is not satisfied with the queried school bag pictures, the demand information release operation can be triggered, and the selected school bag pictures and the input text description information can be published in the customized information release center of the e-commerce platform to reach more merchants providing customized services.
[0098] Through the object matching method disclosed in the embodiment of the present application, the first user can query objects of similar styles based on creativity, and can also trace back to the supplier of the object, or publish creativity to seek customized object service suppliers. In the prior art, the first user can only perform object query operations based on existing object images, or perform object query based solely on key matching, which has great limitations and is inconvenient to operate.
[0099] Furthermore, the client can also display the prompt words for generating the generated image and set a prompt word editing bar. The first user can re-edit the prompt words and re-trigger the image generation operation based on the re-edited prompt words.
[0100] In summary, the object matching method disclosed in the embodiment of the present application, by receiving descriptive text information of the first user for the current query sent by the client, and then generating a generated image corresponding to the current query based on the descriptive text information, can more intuitively demonstrate the platform or system's understanding of the user's query needs; then, the generated image is sent to the client, so that the client displays the generated image to the first user; the server triggers a sourcing operation on the generated image in response to the first user, performs object matching in a preset platform based on the generated image, obtains the target object matching the generated image, and performs one-click sourcing based on the generated image selected by the user, which is quick and convenient, and the object query accuracy is higher.
[0101] Furthermore, the object matching method disclosed in the embodiment of the present application adopts conversation-guided inquiries to obtain the user's query requirements and inspiration descriptions, and generate pictures. Thereafter, object supply is recommended to the user. In the e-commerce platform, it can effectively enhance the user's shopping experience and improve the efficiency of product query.
[0102] In the process of generating images, the knowledge graph is combined to guide users to input object attributes, and the knowledge graph is used to link object attributes with prompt words, thereby improving the matching degree between the generated images and user needs.
[0103] The generated images output by the pre-trained generative model need to meet the product selection mentality of merchant users. In addition, the products on cross-border e-commerce websites lack transaction verification, so the confidence of the product descriptions and other contents filled in by merchants is low. The object matching method disclosed in the embodiment of the present application effectively improves the accuracy of object matching by combining text descriptions and images for object query.
[0104] Based on the above embodiments, the present application also discloses an object matching method, which is applied to a client. Figure 6 , the object matching method includes: steps 602 to 608.
[0105] Step 602: Obtain descriptive text information input by the first user for the current query.
[0106] In some optional embodiments, the descriptive text information includes one or more of the following information: the value of a preset object attribute input by the first user; a trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query; and a personalized description text input by the first user.
[0107] In some optional embodiments, the client may display an object attribute selection button or menu in the human-computer interaction interface, and obtain the value of the preset object attribute input by the first user and the description text of the trend attribute selected by the first user according to the selection operation of the first user. On the other hand, an edit box is set in the human-computer interaction interface to collect the personalized description text input by the first user for the current query requirement.
[0108] In some other optional embodiments, the client can also obtain the query requirement description text input by the first user for the current query requirement by displaying a human-computer conversation interface with the first user and conducting multiple rounds of human-computer conversations with the first user. Then, the query requirement description text is subjected to keyword recognition to extract the value of the preset object attribute.
[0109] For a specific implementation method of the client obtaining the descriptive text information input by the first user for the current query, please refer to the relevant description in the above embodiment, which will not be repeated here.
[0110] Step 604: Send the description text information to the server, so that the server generates a generated image corresponding to the current query based on the description text information, and sends the generated image to the client.
[0111] Optionally, the server generates a generated image corresponding to the current query based on the descriptive text information, including: the server generates a prompt word based on the descriptive text information using a first pre-trained generative model; the server calls a second pre-trained generative model based on the prompt word and category attribute information included in the descriptive text information to generate a generated image corresponding to the current query.
[0112] For the specific implementation method of the server generating the generated image corresponding to the current query based on the description text information, please refer to the relevant description in the previous embodiment, which will not be repeated here.
[0113] Step 606, receiving the generated image.
[0114] Step 608: Display the generated image to the first user.
[0115] The client can display the generated image sent by the server to the first user in the human-computer interaction interface.
[0116] The first user can select a generated image and trigger a source search operation based on the generated image with one click.
[0117] Step 610, in response to the first user triggering a sourcing operation on the generated image, triggers the server to perform the following operations: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, obtains a target object that matches the generated image, and sends visualization information of the target object to the client.
[0118] After detecting that the first user triggers a sourcing operation on the generated image, the client can generate an object sourcing request based on the generated image selected by the first user, and send the object sourcing request to the server. After receiving the object sourcing request, the server parses the object sourcing request, obtains the generated image corresponding to the sourcing operation, performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, and obtains the target object matching the generated image. Afterwards, the server sends visual information such as an image or video of the matched target object to the client.
[0119] Step 612: Receive the visualization information of the target object.
[0120] Step 614: display the target object and the generated image corresponding to the sourcing operation based on the visualization information.
[0121] After receiving the visualization information of the target object sent by the server, the client displays the generated image corresponding to the sourcing operation, and at the same time, displays the target object based on the visualization information, for example, displays an image of the target object for the first user to select.
[0122] In some optional embodiments, after displaying the target object and the generated picture corresponding to the sourcing operation based on the visualization information, the method further includes: generating a user query request corresponding to the target object in response to the first user triggering a user query operation for the target object; sending the user query request to the server, so that the server obtains user information of a second user matching the target object in the preset platform according to the object attribute information of the target object, and sends the user information to the client; receiving the user information sent by the server; and displaying the user information to the first user.
[0123] Taking the example of a merchant user querying the supplier of a certain product through an e-commerce platform, the merchant user can select the target product of interest based on the picture. The client searches for merchants that can supply the product based on the attributes of the target product selected by the merchant user, and displays the merchant information to the merchant user through the client, thereby realizing the query of product suppliers based on the product description information.
[0124] In some optional embodiments, after displaying the target object and the generated picture corresponding to the sourcing operation based on the visualization information, it also includes: generating a demand publishing request in response to a demand publishing operation triggered by the first user for the generated picture corresponding to the sourcing operation; sending the demand publishing request to the server, so that the server publishes object customized demand information based on the demand publishing request, wherein the object customized demand information carries the generated picture corresponding to the sourcing operation and the descriptive text information.
[0125] Taking the example of a merchant user searching for suppliers of a certain product through an e-commerce platform, after the merchant user determines that there are no pictures that meet the requirements based on the pictures, he further triggers the demand release operation and publishes the current query demand to the preset module of the e-commerce platform so that other merchants can obtain demand information from other users of the platform.
[0126] In summary, the object matching method disclosed in the embodiment of the present application obtains descriptive text information input by the first user for the current query; sends the descriptive text information to the server, so that the server generates a generated image corresponding to the current query based on the descriptive text information, and sends the generated image to the client; receives the generated image; displays the generated image to the first user, intuitively reflecting the understanding of the first user's query needs; in response to the first user triggering a sourcing operation on the generated image, triggering the server to perform the following operations: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, obtains a target object matching the generated image, and sends visualization information of the target object to the client, and the client compares and displays the generated image selected by the user and the image of the matched target object and other visualization information, thereby achieving one-click sourcing, convenient operation, good user experience, and high accuracy.
[0127] Furthermore, the object matching method disclosed in the embodiment of the present application adopts conversation-guided inquiries to obtain the user's query requirements and inspiration descriptions, and generate pictures. Thereafter, object supply is recommended to the user. In the e-commerce platform, it can effectively enhance the user's shopping experience and improve the efficiency of product query.
[0128] In the process of generating images, the knowledge graph is combined to guide users to input object attributes, and the knowledge graph is used to link object attributes with prompt words, thereby improving the matching degree between the generated images and user needs.
[0129] In addition, the image generation process combines the object's knowledge graph and data analysis results, which makes the mining of user needs more accurate, thereby improving the accuracy of object matching.
[0130] Based on the above embodiment, the present application also discloses an object query system for implementing the above object matching method. Figure 7 Implementation methods of the object query system are described.
[0131] Step 701: The client obtains descriptive text information input by the first user for the current query.
[0132] Step 702: The client sends the description text information to the server.
[0133] Step 703: The server generates a generated image corresponding to the current query based on the description text information.
[0134] Step 704: The server sends the generated image to the client.
[0135] Step 705: The client receives the generated image.
[0136] Step 706: The client displays the generated image to the first user.
[0137] Step 707: In response to the first user triggering a sourcing operation for the generated image, the client sends an object sourcing request to the server.
[0138] Step 708: The server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, and obtains a target object that matches the generated image.
[0139] Step 709: The server sends the visualization information of the target object to the client.
[0140] Step 710: The client receives the visualization information of the target object.
[0141] Step 711: The client displays the target object and the generated image corresponding to the sourcing operation based on the visualization information.
[0142] The specific implementation methods of the client and the server performing the above steps refer to the relevant description in the previous embodiments, which will not be repeated here.
[0143] In summary, the object query system disclosed in the embodiment of the present application can more intuitively demonstrate the platform or system's understanding of the user's query needs by receiving descriptive text information of the first user for the current query sent by the client, and then generating a generated image corresponding to the current query based on the descriptive text information; then, the generated image is sent to the client so that the client displays the generated image to the first user; the server triggers a sourcing operation on the generated image in response to the first user, performs object matching in a preset platform based on the generated image, obtains the target object matching the generated image, and performs one-click sourcing based on the generated image selected by the user, which is quick and convenient, and the object query accuracy is higher.
[0144] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present application are not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present application.
[0145] On the basis of the above embodiment, this embodiment further provides an object matching device, which is applied to a server, and the device includes:
[0146] A description text information receiving module, used to receive description text information of a first user for a current query sent by a client;
[0147] A picture generation module, used to generate a generated picture corresponding to the current query based on the description text information;
[0148] A picture sending module, used for sending the generated picture to the client, so that the client displays the generated picture to the first user;
[0149] A sourcing module is used to respond to the first user triggering a sourcing operation on the generated image, perform object matching in a preset platform based on the generated image, and obtain a target object matching the generated image.
[0150] In some optional embodiments, after performing object matching in a preset platform based on the generated image and acquiring a target object matching the generated image, the device further includes:
[0151] The matching object information sending module is used to send the visualization information of the target object to the client, so that the client can display the target object and the generated picture corresponding to the sourcing operation to the first user based on the visualization information.
[0152] In some optional embodiments, the description text information includes: object attribute information, and after sending the visualization information of the target object to the client, the device further includes:
[0153] A user query module, configured to obtain user information of a second user matching the target object in the preset platform in response to receiving a user query request triggered by the first user for the target object;
[0154] The user information is sent to the client, so that the client displays the user information to the first user.
[0155] In some optional embodiments, after sending the visualization information of the target object to the client, the device further includes:
[0156] A demand publishing module is used to publish object customization demand information in response to receiving a demand publishing request triggered by the first user for the generated image corresponding to the sourcing operation, wherein the object customization demand information carries the generated image and the descriptive text information.
[0157] In some optional embodiments, the description text information includes one or more of the following information:
[0158] The value of the preset object attribute input by the first user;
[0159] A trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query;
[0160] The personalized description text input by the first user.
[0161] In some optional embodiments, the value of the preset object attribute input by the first user is obtained by the following method:
[0162] Acquire multiple rounds of conversation data with the first user regarding the current query;
[0163] Information is extracted from the multiple rounds of conversation data to obtain the value of the preset object attribute in the current query taken by the first user.
[0164] In some optional embodiments, generating a generated image corresponding to the current query based on the description text information includes:
[0165] Based on the description text information, using a first pre-trained generative model to generate prompt words;
[0166] Based on the prompt word and the category attribute information included in the description text information, a second pre-trained generative model is called to generate a generated image corresponding to the current query.
[0167] In some optional embodiments, the second pre-trained generative model is obtained by fine-tuning a pre-trained generative model based on the object data in the preset platform.
[0168] In summary, the object matching device disclosed in the embodiment of the present application can more intuitively demonstrate the platform or system's understanding of the user's query needs by receiving descriptive text information of the first user for the current query sent by the client, and then generating a generated image corresponding to the current query based on the descriptive text information; then, the generated image is sent to the client so that the client displays the generated image to the first user; the server triggers a sourcing operation on the generated image in response to the first user, performs object matching in a preset platform based on the generated image, obtains the target object matching the generated image, and performs one-click sourcing based on the generated image selected by the user, which is quick and convenient, and the object query accuracy is higher.
[0169] Furthermore, the object matching device disclosed in the embodiment of the present application adopts conversation-guided inquiries to obtain the user's query requirements and inspiration descriptions, and generate pictures. Thereafter, the object supply is recommended to the user. In the e-commerce platform, it can effectively enhance the user's shopping experience and improve the efficiency of product queries.
[0170] In the process of generating images, we use the knowledge graph to guide users to input object attributes, and use the knowledge graph to link object attributes with prompt words, thereby improving the matching degree between the generated images and user needs. On the other hand, by combining text descriptions and images to perform object queries, the accuracy of object matching is effectively improved.
[0171] On the basis of the above embodiment, this embodiment further provides an object matching device, which is applied to a client, and the device includes:
[0172] A description text information acquisition module, used to acquire the description text information input by the first user for the current query;
[0173] A description text information sending module, used to send the description text information to the server, so that the server generates a generated picture corresponding to the current query based on the description text information, and sends the generated picture to the client;
[0174] A generated picture receiving module, used for receiving the generated picture;
[0175] A picture display module, used to display the generated picture to the first user;
[0176] a sourcing module, configured to trigger the server to perform the following operations in response to the first user triggering a sourcing operation on the generated image: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, obtains a target object matching the generated image, and sends visualization information of the target object to the client;
[0177] A visualization information receiving module, used for receiving the visualization information of the target object;
[0178] A matching result display module is used to display the target object and the generated image corresponding to the source search operation based on the visualization information.
[0179] In some optional embodiments, the description text information includes one or more of the following information:
[0180] The value of the preset object attribute input by the first user;
[0181] A trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query;
[0182] The personalized description text input by the first user.
[0183] The object matching device disclosed in the embodiment of the present application is used to implement the above-mentioned object matching method. The specific implementation of each module of the device refers to the specific implementation of the corresponding steps in the above-mentioned method embodiment, which will not be repeated here.
[0184] In summary, the object matching device disclosed in the embodiment of the present application obtains descriptive text information input by the first user for the current query; sends the descriptive text information to the server, so that the server generates a generated picture corresponding to the current query based on the descriptive text information, and sends the generated picture to the client; receives the generated picture; displays the generated picture to the first user, intuitively reflecting the understanding of the first user's query needs; in response to the first user triggering a sourcing operation on the generated picture, triggering the server to perform the following operations: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated picture corresponding to the sourcing operation, obtains a target object matching the generated picture, and sends visualization information of the target object to the client, and the client compares and displays the generated picture selected by the user and the picture of the matched target object and other visualization information, thereby achieving one-click sourcing, convenient operation, good user experience, and high accuracy.
[0185] The embodiment of the present application also provides a non-volatile readable storage medium, which stores one or more modules (programs). When the one or more modules are applied to a device, the device can execute instructions (instructions) of each method step in the embodiment of the present application.
[0186] The embodiment of the present application further provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the method described in the embodiment of the present application.
[0187] The embodiment of the present application also provides an electronic device, comprising: a processor, and a memory connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory to implement the method described in the embodiment of the present application. In the embodiment of the present application, the electronic device includes a server, a terminal device, and other devices.
[0188] The embodiment of the present application also discloses a computer program product, including a computer program / computer executable instructions, characterized in that when the computer program / computer executable instructions are executed by a processor in an electronic device, the method described in the embodiment of the present application is implemented.
[0189] The embodiments of the present disclosure may be implemented as a device configured as desired using any appropriate hardware, firmware, software, or any combination thereof, and the device may include electronic devices such as a server (cluster), a terminal, etc. Figure 8 An exemplary apparatus 800 that can be used to implement various embodiments described in this application is schematically illustrated.
[0190] For one embodiment, Figure 8 An exemplary apparatus 800 is shown having one or more processors 802, a control module (chip set) 804 coupled to at least one of the processor(s) 802, a memory 806 coupled to the control module 804, a non-volatile memory (NVM) / storage device 808 coupled to the control module 804, one or more input / output devices 810 coupled to the control module 804, and a network interface 812 coupled to the control module 804.
[0191] The processor 802 may include one or more single-core or multi-core processors, and the processor 802 may include any combination of general-purpose processors or special-purpose processors (such as graphics processors, application processors, baseband processors, etc.). In some embodiments, the device 800 can be used as a server, terminal, or other device described in the embodiments of the present application.
[0192] In some embodiments, the apparatus 800 may include one or more computer-readable media (e.g., memory 806 or NVM / storage device 808) having instructions 814 and one or more processors 802 combined with the one or more computer-readable media and configured to execute the instructions 814 to implement a module to perform the actions described in the present disclosure.
[0193] For one embodiment, the control module 804 may include any suitable interface controller to provide any suitable interface to at least one of the processor(s) 802 and / or any suitable device or component in communication with the control module 804 .
[0194] The control module 804 may include a memory controller module to provide an interface to the memory 806. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0195] The memory 806 may be used, for example, to load and store data and / or instructions 814 for the device 800. For one embodiment, the memory 806 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the memory 806 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
[0196] For one embodiment, control module 804 may include one or more input / output controllers to provide an interface to NVM / storage device 808 and input / output device(s) 810 .
[0197] For example, NVM / storage 808 may be used to store data and / or instructions 814. NVM / storage 808 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).
[0198] NVM / storage device 808 may include storage resources that are part of the device on which apparatus 800 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 808 may be accessed via (one or more) input / output devices 810 over a network.
[0199] (One or more) input / output devices 810 may provide an interface for the apparatus 800 to communicate with any other appropriate device, and the input / output device 810 may include a communication component, an audio component, a sensor component, etc. The network interface 812 may provide an interface for the apparatus 800 to communicate through one or more networks, and the apparatus 800 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and / or protocols, for example, accessing a wireless network based on a communication standard, such as Bluetooth, WiFi, 2G, 3G, 4G, 5G, etc., or a combination thereof for wireless communication.
[0200] For one embodiment, at least one of the processor(s) 802 may be packaged together with the logic of one or more controllers (e.g., a memory controller module) of the control module 804. For one embodiment, at least one of the processor(s) 802 may be packaged together with the logic of one or more controllers of the control module 804 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with the logic of one or more controllers of the control module 804. For one embodiment, at least one of the processor(s) 802 may be integrated on the same die with the logic of one or more controllers of the control module 804 to form a system-on-chip (SoC).
[0201] In various embodiments, the device 800 may be, but is not limited to, a terminal device such as a server, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the device 800 may have more or fewer components and / or different architectures. For example, in some embodiments, the device 800 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0202] Among them, the main control chip can be used as a processor or control module in the detection device, sensor data, location information, etc. are stored in a memory or NVM / storage device, the sensor group can be used as an input / output device, and the communication interface may include a network interface.
[0203] The embodiment of the present application also provides an electronic device, including: a processor; and a memory, on which executable code is stored, and when the executable code is executed, the processor executes one or more methods as described in the embodiment of the present application. In the embodiment of the present application, the memory can store various data, such as target files, file and application association data, and user behavior data, so as to provide a data basis for various processing.
[0204] The embodiments of the present application also provide one or more machine-readable media on which executable codes are stored. When the executable codes are executed, the processor executes one or more methods described in the embodiments of the present application.
[0205] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0206] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0207] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0208] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0209] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable terminal device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0210] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present application.
[0211] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0212] The object matching method, object query system, electronic device, storage medium and computer program product provided by the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. An object matching method, applied to the server, It is characterized in that The method comprises: Receiving descriptive text information of the first user for the current query sent by the client; Based on the description text information, generate a generated image corresponding to the current query; Sending the generated image to the client, so that the client displays the generated image to the first user; In response to the first user triggering a source search operation on the generated image, object matching is performed on a preset platform based on the generated image to obtain a target object that matches the generated image.
2. The method according to claim 1, It is characterized in that After performing object matching in a preset platform based on the generated image and acquiring a target object matching the generated image, the method further includes: The visualization information of the target object is sent to the client, so that the client displays the target object and a generated image corresponding to the sourcing operation to the first user based on the visualization information.
3. The method according to claim 2, It is characterized in that The description text information includes: object attribute information, and after sending the visualization information of the target object to the client, it also includes: In response to receiving a user query request triggered by the first user for the target object, obtaining user information of a second user matching the target object in the preset platform; The user information is sent to the client, so that the client displays the user information to the first user.
4. The method according to claim 2, It is characterized in that After sending the visualization information of the target object to the client, the method further includes: In response to receiving a demand publishing request triggered by the first user for the generated image corresponding to the sourcing operation, object customization demand information is published, wherein the object customization demand information carries the generated image and the descriptive text information.
5. The method according to any one of claims 1 to 4, It is characterized in that The descriptive text information includes one or more of the following information: The value of the preset object attribute input by the first user; A trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query; The personalized description text input by the first user.
6. The method according to claim 5, It is characterized in that The value of the preset object attribute input by the first user is obtained by the following method: Acquire multiple rounds of conversation data with the first user regarding the current query; Information is extracted from the multiple rounds of conversation data to obtain the value of the preset object attribute in the current query taken by the first user.
7. The method according to any one of claims 1 to 4, It is characterized in that The generating a generated image corresponding to the current query based on the description text information includes: Based on the description text information, using a first pre-trained generative model to generate prompt words; Based on the prompt word and the category attribute information included in the description text information, a second pre-trained generative model is called to generate a generated image corresponding to the current query.
8. The method according to claim 7, It is characterized in that The second pre-trained generative model is obtained by fine-tuning the pre-trained generative model based on the object data in the preset platform.
9. An object matching method, applied to a client, It is characterized in that The method comprises: Obtaining description text information input by the first user for the current query; Sending the description text information to the server, so that the server generates a generated picture corresponding to the current query based on the description text information, and sending the generated picture to the client; Receiving the generated picture; Displaying the generated image to the first user; In response to the first user triggering a sourcing operation on the generated image, the server is triggered to perform the following operations: in response to the sourcing operation, the server performs object matching in a preset platform based on the generated image corresponding to the sourcing operation, obtains a target object matching the generated image, and sends visualization information of the target object to the client; receiving the visualization information of the target object; The generated image corresponding to the target object and the sourcing operation is displayed based on the visualization information.
10. The method according to claim 9, It is characterized in that The descriptive text information includes one or more of the following information: The value of the preset object attribute input by the first user; A trend description text obtained by analyzing the historical data of the preset platform and / or the scene data of the current query; The personalized description text input by the first user.
11. An object query system, It is characterized in that The system comprises: a client and a server, wherein: The client is used to execute the object matching method according to claim 9 or 10; The server is used to execute the object matching method as described in any one of claims 1 to 8.
12. An electronic device, It is characterized in that include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 10 when executed by a processor.
14. A computer program product comprising a computer program / computer executable instructions, It is characterized in that When the computer program / computer executable instructions are executed by a processor in an electronic device, the method according to any one of claims 1 to 10 is implemented.
Citation Information
Patent Citations
Information matching method
CN104965921A
Object generation method and device
CN114676309A
Interactive text drawing method and device, electronic equipment and storage medium
CN116909455A
Search using generative model synthesized images
US20240020336A1
Cited By
Object matching method, object query system, electronic device, and storage medium
WO2025228019A1
