Commodity information processing method and commodity searching method
By combining large-scale language models and image recognition technology, user behavior and contextual information are analyzed to generate accurate product recommendations, solving the shortcomings of personalized recommendations in natural language and image processing, improving recommendation relevance and user satisfaction, and in On the basis of protecting privacy, it reduces the dependence on computing resources and improves the convenience and user stickiness of the online trading platform.
Patent Information
- Application Number
- CN202410557778.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-07
- Publication Date
- 2024-08-23
AI Technical Summary
Existing personalized recommendation technology is difficult to capture the user's deep intentions when processing natural language and image information, lacks in-depth insight into the user's personalized needs, and cannot effectively combine the user's real-time contextual information, resulting in recommendation results that are inconsistent with the user's context. , especially the recommendation effect for new users or new products is not good, and there are limitations in computing resources and privacy protection issues.
It uses a large language model combined with image recognition technology to generate accurate product recommendations through user behavior analysis and real-time context perception. It uses machine vision recognition and natural language processing technology to process product information, generate product release information and supply demand topics, and optimize searches. results, and alleviate computing resource dependence by optimizing model design.
It significantly improves the relevance and user satisfaction of product recommendations, solves the problem of insufficient content accuracy and diversity of personalized recommendations, protects user privacy, and improves the convenience and user stickiness of the online product trading platform.
Smart Images

Figure CN118537091A
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method for processing commodity information, a commodity search method, device, electronic device and storage medium. Background Art
[0002] With the development of wireless network technology and mobile devices in the computer field, users (such as consumers of shopping websites) are increasingly inclined to use smart terminals such as smartphones and tablets or wireless devices for online shopping and information acquisition. In this process, due to the complexity of online information, it is time-consuming and labor-intensive to search for the required information in massive data, so personalized recommendation is a key technology to improve user experience and enhance user stickiness.
[0003] However, current personalized recommendation technology faces a series of problems and challenges: for example, insufficient understanding of user needs, poor context perception, cold start problem, etc. Traditional personalized recommendation cannot accurately understand the specific needs of users, especially when processing natural language and image information. It often cannot capture the deep intentions of users, and adopts more general personalized recommendations, lacks deep insight into and satisfaction of users' personalized needs, and cannot effectively combine users' real-time context information (such as location, time, etc.), resulting in recommendation results that are often inconsistent with the user's current situation; for new users or new products, traditional personalized recommendation models are difficult to provide effective recommendations due to the lack of sufficient behavioral data for accurate matching; in addition, traditional personalized recommendations cannot take into account the collection of necessary personalized data while protecting user privacy, or there are problems such as computing resource limitations that prevent the use of large language models. Summary of the invention
[0004] The embodiments of the present application provide a method for processing product information, a product search method, an apparatus, an electronic device, and a storage medium to solve one or more of the above-mentioned technical problems.
[0005] In a first aspect, an embodiment of the present application provides a method for processing product information, comprising: obtaining access behavior data of multiple product objects, the access behavior data recording the access process of the product objects based on the product access operation; based on the release effect data of the multiple product objects and the access behavior data, obtaining category analysis data corresponding to at least one product category by interacting with a large language model; generating product release information according to the category analysis data, and generating a product release topic or a product supply and demand topic based on the product release information.
[0006] In a second aspect, an embodiment of the present application provides a commodity search method, including: obtaining a reference image for searching commodity objects; performing a plurality of machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; obtaining commodity description information related to the searched commodity object based on the results of the machine vision recognition tasks; and generating commodity search results by combining the commodity description information and the commodity behavior information related to the searched commodity object as a search basis.
[0007] In a third aspect, an embodiment of the present application provides a device for processing product information, including: an access behavior data acquisition module, used to acquire access behavior data of multiple product objects, the access behavior data recording the access process of the product objects based on the product access operation; a category analysis data acquisition module, used to acquire category analysis data corresponding to at least one product category based on the release effect data of multiple product objects and the access behavior data by interacting with a large language model; a product release information generation module, used to generate product release information according to the category analysis data, and generate a product release topic or a product supply and demand topic based on the product release information.
[0008] In a fourth aspect, an embodiment of the present application provides a commodity search device, including: a reference image acquisition module, used to acquire a reference image for searching commodity objects; a machine vision recognition task execution module, used to perform a variety of machine vision recognition tasks on the reference image, the machine vision recognition tasks including image semantic segmentation or optical character recognition; a commodity description information acquisition module, used to obtain commodity description information related to the searched commodity object based on the results of the machine vision recognition task; a commodity search result generation module, used to generate commodity search results by combining the commodity description information and the commodity behavior information related to the searched commodity object as a search basis.
[0009] In a fifth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor implements any of the methods described above when executing the computer program.
[0010] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any of the methods described above is implemented.
[0011] According to the embodiment of the present application, the access behavior data of multiple commodity objects can be obtained first, and the access behavior data records the access process of commodity objects based on commodity access operations; then based on the release effect data and access behavior data of multiple commodity objects, by interacting with a large language model, the category analysis data corresponding to at least one commodity category is obtained; finally, the commodity release information is generated according to the category analysis data, and the commodity release theme or the commodity supply demand theme is generated based on the commodity release information. The above scheme can be used to perform intention analysis from multiple dimensions based on the user's access behavior data to the commodity object, thereby optimizing the commodity search results and providing more accurate commodity push information for commodity buyers; based on the real-time or historical access behavior data of multiple users to the commodity object, industry trend analysis is performed to provide analysis basis for commodity providers (merchants or suppliers) to publish or find potential commodities. Therefore, if the processing scheme of commodity information provided by the embodiment of the present application is applied to the online commodity trading platform, it can not only improve the convenience and commodity search efficiency of commodity buyers using the online commodity trading platform, but also improve the industry trend insight of commodity providers, bring more business opportunities to commodity providers, and further increase the user stickiness of using the online commodity trading platform.
[0012] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments according to the present application and should not be regarded as limiting the scope of the present application.
[0014] Figure 1 A system flow diagram showing a solution for processing commodity information provided in an embodiment of the present application is shown;
[0015] Figure 2 A schematic diagram of an algorithm architecture of a product information processing solution provided in an embodiment of the present application is shown;
[0016] Figure 3 A schematic diagram showing the overall architecture of a product information processing solution provided in an embodiment of the present application is shown;
[0017] Figure 4 A schematic diagram of a front-end application architecture of a product information processing solution provided in an embodiment of the present application is shown;
[0018] Figure 5 A flowchart showing a method for processing commodity information provided in an embodiment of the present application is shown;
[0019] Figure 6 A schematic diagram of an algorithm architecture when access behavior data includes image-based search behavior data in a processing solution for commodity information provided in an embodiment of the present application is shown;
[0020] Figure 7 A schematic diagram of the algorithm architecture of a large language model in the product information processing solution provided in an embodiment of the present application is shown;
[0021] Figure 8 A schematic diagram of a prediction process of a large language model in a product information processing solution provided in an embodiment of the present application is shown;
[0022] Fig. 9 A schematic diagram of the training process of a large language model in the product information processing solution provided in an embodiment of the present application is shown;
[0023] Fig.10 A flowchart of a commodity search method provided in an embodiment of the present application is shown;
[0024] Fig.11 A structural block diagram of a device for processing commodity information provided in an embodiment of the present application is shown;
[0025] Fig.12 A structural block diagram of a commodity search device provided in an embodiment of the present application is shown; and
[0026] Fig.13 A block diagram of an electronic device used to implement an embodiment of the present application is shown. DETAILED DESCRIPTION
[0027] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the concept or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary in nature and not restrictive.
[0028] To facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the related technologies of the embodiments of the present application. The following related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0029] Taking the commodity operation chain of online shopping websites as an example, it generally goes through several stages: exploring new commodity opportunities - making sales decisions - testing new products - judging commodity effects and market conditions, and comprehensively evaluating future development potential - if yes, then increasing operations; if no, then eliminating or replacing commodities (commodity replacement), etc. In this process, it is necessary to investigate the experience of excellent merchants in various industries, such as referring to the experience of relevant lecturers, merchant competition winners, and industry waiters, to continuously judge the commodity effects and market conditions, and comprehensively evaluate future development potential. In online shopping, the commodities released by merchants themselves determine half of the success of commodity sales. Finding good commodity opportunities is crucial. However, whether it is factories exploring new opportunities across industries or traders looking for new categories, the traditional information channels for finding commodity opportunities are very scattered; the value of the information obtained may be unprofessional, incomplete, or time-sensitive; merchants are not clear about the ways to find commodity opportunities or the operation costs are high. In mobile scenarios, there is currently a lack of a way to quickly understand the market information of new categories. In addition, for start-ups, in the case of information asymmetry, they may lack industry experience, market understanding and market judgment, resulting in inaccurate initial track selection and repeated testing and attempts, which affects the start-ups' possibility of entrepreneurial success.
[0030] In some cases, collaborative filtering recommendation and content-based selection can be used to select products suitable for a specific market, a specific customer group or a specific sales channel from a large number of products. However, since intelligent product selection usually involves the use of machine learning and artificial intelligence technologies to automate and optimize the product selection process, which may include analyzing user behavior, predicting product trends or personalized product recommendations, traditional personalized recommendations cannot accurately understand the specific needs of users. For example, collaborative filtering algorithms based on users or projects, which make recommendations by analyzing the similarities between users or products, may face cold start problems, have poor recommendations for new users or new products, and cannot process unstructured data such as natural language reviews; methods that analyze product content information (such as descriptions, tags, pictures, etc.) and compare them with user interests to provide recommendations may rely too much on product metadata and ignore the complexity of user behavior, resulting in a lack of diversity in recommendations.
[0031] This application innovatively integrates large language models (LLM) and image recognition technology, implements personalized matching strategies for intelligent product selection problems in wireless scenarios, and provides a personalized product recommendation solution that is both accurate and efficient. By utilizing advanced natural language processing technology and image analysis, combined with user behavior analysis (access behavior data), real-time context perception, and known industry-related data, a deep understanding of user needs and refined product matching are achieved, and combined with real-time context information, the most relevant and attractive products are recommended to users, which significantly improves the relevance of product recommendations and user satisfaction, and effectively reduces the shortcomings of traditional recommendation systems in content accuracy and personalization. At the same time, on the basis of protecting user privacy, by optimizing the model and algorithm design, the dependence on computing resources is reduced, so that the personalized recommendation system can flexibly adapt to various wireless shopping scenarios.
[0032] In view of this, the embodiment of the present application proposes a method for processing commodity information and a method for searching commodities, which can analyze the intention of a user's search from multiple dimensions and optimize the search results; at the same time, the behavior data of multiple users' real-time searches on cross-border shopping websites or the behavior data of historical searches can also be analyzed. Furthermore, a large amount of search behavior data can be collected, and a large language model can be used to analyze industry trends (the industry analysis of a single behavior does not seem to have reference value for merchants), and pushed to merchants for product release or supplier search. Especially in the case of voice search or image search, various information can be combined for search, and the data based on the retrieval can be enhanced; further, the search results are processed by a large language model to obtain re-search results or analysis results. Among them, the large language model can be a large language model pre-trained by the SFT (Supervised Fine-Tuning) method using business data in related fields. Compared with ordinary large language models, large language models trained by the SFT method can have more semantic understanding, knowledge reasoning and continuous learning capabilities, making the model prediction results more accurate and more in line with the human natural language system.
[0033] Figure 1 A system flow diagram of a product information processing solution provided in an embodiment of the present application is shown. Figure 1 As shown, in the processing scheme for commodity information provided in the embodiment of the present application, first, access behavior data of multiple commodity objects can be obtained, wherein the access behavior data records the access process of the commodity objects based on the commodity access operation, and the access behavior record can be at least one of image-based search behavior data, voice interaction-based search behavior data, selection behavior data, and link access behavior data.
[0034] For example, image-based search behavior data may be data generated during the process of accessing products related to an image during an image search (image search); voice interaction-based search behavior data may be data generated during the process of converting voice into text (voice-to-text) or after converting voice into text, and then accessing products related to the voice; selection behavior data, that is, data generated by a product selection method, may be data generated during the process of accessing a product object based on an access operation on the selected product after selecting one or some products from a product list; link access behavior data, that is, data generated by copying a product link, may be data generated during the process of entering a corresponding product link after pasting a product URL (uniform resource locator) through a clipboard, and accessing the product object in the product link.
[0035] Secondly, after obtaining the access behavior data of multiple commodity objects, category analysis data corresponding to at least one commodity category can be obtained by interacting with a large language model based on the publishing effect data and access behavior data of the multiple commodity objects. While obtaining the category analysis data, or after obtaining the category analysis data, the category information of the commodity can be further determined (determining the category information).
[0036] Finally, product release information (analysis and display) can be generated based on the category analysis data, and product release topics (product release) or product supply and demand topics (source search) can be generated based on the product release information. Among them, the product release topic (product release) can include product titles, categories, keywords, pictures and other information; the product supply and demand topic (source search) can include product pictures, titles, details, industries and other information.
[0037] In the above process of interacting with the large language model, the large language model used may be a natural vertical domain large language model (TARS-ZH-14B). Figure 2 A schematic diagram of the algorithm architecture of a product information processing solution provided in an embodiment of the present application is shown, Figure 2As shown, the large language model TARS-ZH-14B can generate category analysis data corresponding to at least one commodity category (which can be an industry trend report, scene-based image recognition, for voice input intention recognition, etc.) based on the access behavior data of multiple commodity objects and the publishing effect data of multiple commodity objects. Among them, the access behavior data of multiple commodity objects can be one or more commodity search results obtained, and the historical behavior data of related users accessing multiple commodity objects; the publishing effect data of multiple commodity objects can be the sales effect data of the industry in which a certain commodity object is located within a certain period (for example, last week or last month), the attribute information of related users (such as commodity object information, commodity category information, commodity identification information, commodity usage information, etc.), professional expert conversations (Professional expert conversations), context data (Context data), user preference data (User preference data), etc. The obtained data can be used as context information to call the large language model for comprehensive analysis (Model, model comprehensive analysis), picture category recognition (Model, model picture recognition), voice intention recognition (Model, model voice recognition), etc. The large language model can obtain the corresponding prompt words (prompt) from these data, perform corresponding model analysis and calculation according to the prompt words and output the results (response), and the output results can be industry trend reports (industry trend report generation), scenario image recognition results, and recognition results for voice input intentions, etc. In addition, the number or number of words of the output results of the large language model can be pre-set (for example, 1000 to 2000 output results, or between 1000 and 2000 words), or the number of access behavior data of multiple commodity objects or the number of data of the release effect data of multiple commodity objects can be pre-set (for example, 1000 to 2000 data), etc., and this application does not impose any restrictions on this.
[0038] Furthermore, the results output by the large language model can be displayed on the client's page to relevant users, such as merchants in online shopping transactions. Merchants can use the results output by the large language model (such as Figure 1 The merchant can publish products, discover hot products or find corresponding suppliers based on the title, category, keyword, picture and other information in the client's page. The specific operation method can be that the merchant clicks the corresponding product publishing control or sourcing control (a control for posting to find suppliers) displayed on the client's page, and in response to the triggering operation of the control (such as the merchant's click operation), generates the corresponding product publishing or sourcing post in one click according to the result output by the large language model, and displays it (for example, after the merchant clicks to publish, the analysis result output by the large language model can be automatically filled in the display page of the client).
[0039] Correspondingly, taking the access behavior data including image-based search behavior data as an example, the embodiment of the present application can provide a commodity search solution. First, the user of the client can take a photo or upload a picture or voice input related commodity information, such as taking a picture of the mouse on the desktop (a reference image for searching commodity objects) and uploading it to the server. Secondly, after the server obtains the reference image, the server can perform a variety of machine vision recognition tasks on the reference image, wherein the machine vision recognition task can include image semantic segmentation or optical character recognition, etc., for example, the image recognition module and the natural language processing (Natural Language Processing, NLP) module of the server process the image and text data in parallel to extract relevant features. Thirdly, the commodity description information related to the searched commodity object can be obtained based on the result of the machine vision recognition task, for example, the data collection module of the server collects the relevant data of the user behavior and the context information related to the searched commodity object, and the data preprocessing module of the server performs necessary preprocessing on the collected data and information to obtain the commodity description information related to the searched commodity object. Finally, the commodity description information and the commodity behavior information related to the searched commodity object can be combined as the search basis to generate commodity search results. Optionally, the product search results can also be reviewed through the risk control module of the server to ensure that the result content is appropriate (for example, legal and compliant), and then the relevant product search results can be displayed for users to publish products, etc.
[0040] Figure 3 The overall architecture diagram of a product information processing solution provided in the embodiment of the present application is shown. Figure 3As shown, the overall architecture may include access layer, service layer, storage layer, data layer and operation and maintenance support, etc. Among them, the access layer may include or display indicators such as service authentication, log statistics, dynamic routing, service monitoring, and traffic control. The service layer can realize visual orchestration, component precipitation, second-level release, cloudification, etc. through Dfass (function as a service) components, and can also realize MTOP (operation management monitoring), TOP (process performance monitoring) and HSF (distributed service framework) through service registration in the service center. The service center may include data sources, data sets, data models, data assets, data permissions, data services, etc.; the service layer may also include Dream Core, query engine, etc., and business scenario expansion can be realized by connecting to the graph search capability of Dream Core, querying related data through the query engine, etc. The graph search capability of Dream Core can be realized through feature data, algorithm components, algorithm modules, module services, etc., and the query capability of the query engine can be realized through data query operations (join), business models, general services, structured query language (SQL), database identifiers (SQLID), etc. The storage layer can include middleware such as MySQL (relational database), OpenSearch (open search), HBase (column-oriented database), OneService (unified data service), Tair (cloud database), etc. The data layer can include ODPS (open data processing service), PAI (artificial intelligence platform) and Blink (real-time computing platform), etc. Among them, ODPS (open data processing service) can include basic data, industry data, transaction data, etc. Basic data can include commodity data and merchant data, industry data can include CPV (landing page visits) and category information, transaction data can include order data and sales data; PAI (artificial intelligence platform) can include intelligent data such as behavior data and tag data; Blink (real-time computing platform) can include real-time data and offline data, real-time data can include real-time behavior and message data, and offline data can include basic information and in-site data, etc. Operation and maintenance support can include traffic control, data management, data monitoring, remote disaster recovery, data baseline, storage monitoring, page monitoring, traffic playback, data collection, etc.
[0041] Figure 4 A schematic diagram of the front-end application architecture of a product information processing solution provided in an embodiment of the present application is shown. Figure 4As shown, the front-end application framework may include business layer (Business), library (Library), system service (System Service) and monitoring (Monitor). Among them, the business layer (Business) may have functions such as product diagnosis (Product Diagnosis), product memory (Product Manager), discovery (Discovery), image search (ImageSearch) and speech to text (SpeechToText); the library (Library) may include database management monitoring tools (Mtop), camera plug-ins (FlutterCamera), application framework solutions (Windvane), data mining kits (Orange), frameworks for integrating native interfaces in applications (FlutterBoost), device risk management platforms (SecurityGuard), image compression (ImageCompress), node server kernel bus (NirvanaCoreBus) and asynchronous serial interface (Async); monitoring (Monitor) may include application performance management (Apm), unit testing (Ut), business monitoring system (Xflush), mobile R&D platform (emas), digital audio and video data exchange protocol (dp2) and one-stop user problem feedback system (Xfeedback); system services (System System services may include camera, audio, clipboard, network, etc. System services may be the part of the front-end application that interacts with the execution subject for product information processing in this solution. In the solution provided in the embodiment of the present application, the user of the client can input information through the front-end application (App), such as calling the camera, audio, clipboard and other system services provided by the client device to take pictures, record audio, etc., and then use the various libraries (Library) integrated in the front-end application to complete network communication, route switching, page display and other functions, call "product diagnosis", "product management", "discovery" and other services in the business to realize the function of the entire link, and use application performance management (Apm), unit testing (Ut) and other monitoring performance, stability, data, user feedback, etc.
[0042] The execution subject of the embodiment of the present application may be an application, service, instance, software-based functional module, virtual machine (VM), container or cloud server, etc., or a hardware device (such as a server or terminal device) or hardware chip (such as CPU, GPU, FPGA, NPU, AI acceleration card or DPU) with data processing function. The device for processing commodity information or searching for commodities can be deployed on the computing device of the application party providing the corresponding service or on the cloud computing platform providing computing power, storage and network resources. The mode of providing services to the outside world by the cloud computing platform may be IaaS (Infrastructure as a Service), PaaS (Platform as a Service), SaaS (Software as a Service) or DaaS (Data as a Service). Taking the platform providing SaaS software as a service (Software as a Service) as an example, the cloud computing platform can use its own computing resources to provide commodity information processing or commodity search model training or commodity information processing or commodity search module function execution, and the specific application architecture can be built according to service requirements. For example, the platform can provide construction services based on the above model to applications or individuals who use platform resources, and further call the above model based on the processing of product information or product search requests submitted by relevant clients or servers and other devices to implement online or offline product information processing or product search functions.
[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0044] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The several specific embodiments listed can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described in detail below with reference to the accompanying drawings.
[0045] The present application embodiment provides a method for processing commodity information, such as Figure 5 The flowchart of a method 500 for processing commodity information according to an embodiment of the present application is shown. The method 500 may include:
[0046] In step S501, access behavior data of a plurality of commodity objects is obtained, wherein the access behavior data records the access process of the commodity objects based on the commodity access operation.
[0047] Exemplarily, the access behavior data includes at least one of image-based search behavior data, voice interaction-based search behavior data, selection behavior data, and link access behavior data.
[0048] Among them, image-based search behavior data may be data generated in the process of accessing products related to the image during the image search for images in real-time video, real-time pictures (such as pictures generated by scanning operations of computing devices, etc.) or input pictures; search behavior data based on voice interaction may be data generated in the process of accessing products related to the voice during the process of converting voice into text or after converting voice into text; selection behavior data may be data generated in the process of accessing product objects based on the access operation of the selected products after selecting one or some products from the product list; link access behavior data may be data generated in the process of accessing the product objects in the product link by pasting the product link through the clipboard and entering the corresponding product link.
[0049] In one possible implementation, when the access behavior data includes image-based search behavior data, the access behavior data can be generated based on the following steps: first, obtaining a reference image for searching for commodity objects; second, performing multiple machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; third, obtaining commodity description information related to the searched commodity object based on the results of the machine vision recognition tasks; finally, combining the commodity description information and the commodity behavior information related to the searched commodity object as a search basis, generating commodity search results, and using the commodity search results as image-based search behavior data.
[0050] The reference image may be an image submitted by a user, an image temporarily taken by a camera, an image scanned in real time by a video, or an image selected from an album, etc., and this application does not impose any restrictions on this. Semantic information in the reference image may be extracted by performing a variety of machine vision recognition tasks on the reference image, and the machine vision recognition tasks may include image semantic segmentation (or entity recognition, machine vision recognition) or optical character recognition (OCR, Optical Character Recognition). Among them, image semantic segmentation can assign a predefined label representing its semantic category to each pixel in the image, classify each pixel of the image, and ensure that pixels belonging to the same category are classified into one category, so as to achieve accurate understanding of the image, including traditional image semantic segmentation methods such as texture primitive forest (TextonForest), random forest classifier-based classifiers, or deep learning methods, such as patch segmentation method (Patchclassification), full convolution method (FCN), encoder-decoder architecture (encoder-decoder) segmentation method, etc.; optical character recognition is a technology that can search, extract, and recognize text in images. It determines its shape by detecting dark and light patterns, and then uses character recognition methods to translate the shape into computer text. It can include text detection (solving the problem of where there is text and how much text there is) and text recognition (recognizing the located text area to solve the problem of what each text is, and converting the text area in the image into character information) and other steps.
[0051] In an embodiment of the present application, the product description information related to the searched product object obtained based on the results of the machine vision recognition task may include key visual features in the image, user comment query operations and other information. For example, CNN is used to detect key visual features in the image, including product attribute information detected in the image (such as the title of the product, price information, etc.), product category information, text information, LOGO information, scene information involved, etc. The product behavior information related to the searched product object may include relevant information such as user comment query operations. The product behavior information related to these product objects may serve as auxiliary reference conditions such as user intentions and emotions, so that the product search results generated by combining the product description information and the product behavior information related to the searched product object as the search basis are more targeted, and then the product search results (which may also include user attribute information, such as user age, industry, preferences, etc., and user image search history, search result related information of multiple users, etc.) are used as image-based search behavior data. This information can help large language models to more accurately identify the industry information of the image subject, and then make the category analysis data corresponding to at least one product category obtained by interacting with the large language model more accurate, such as generating an industry analysis report that is more in line with the user's focus (which may include market trend charts, etc.), or making the user's shopping experience more personalized in shopping scenarios.
[0052] In some embodiments, the product description information may include at least one of product object information, product category information, product identification information, and product usage information.
[0053] For example, product object information may include product attribute information, such as the product name, title, size, model, etc.; product category information may include product category, applicable population or industry category, etc.; product identification information may include product labels, logos, etc.; product usage information may include product usage methods, etc.
[0054] Furthermore, the image-based search behavior data obtained can be matched with the multimodal data of the products in the database (including titles and product attributes), wherein the products in the database may be products that come from the sales system and have been indexed. When performing product retrieval and matching, matching can be performed by calculating the matching degree of the products (i.e., feature matching). The ranking of the matching products finally displayed may be the result of considering the relevance, click-through rate, and conversion rate of the products.
[0055] Figure 6 The following is a schematic diagram of an algorithm architecture when the access behavior data in the processing scheme for commodity information provided in the embodiment of the present application includes image-based search behavior data. Figure 6As shown, the algorithm architecture may include online modules and offline modules, etc., and the image understanding (Query) in the online module may be used to perform product detection, category prediction, OCR recognition (optical character recognition), LOGO recognition (logo recognition), scene recognition, etc., such as identifying chairs (belonging to the home category), clothes (belonging to the sports category), etc. in the scene; the product image and text understanding in the offline module may be used to perform multimodal product understanding (for example, multimodal understanding of product image features, category features, text features, etc.), offline product selection, offline indexing (which may be the storage of existing product data), title and attribute understanding, etc. The core representation calculation and matching of the data obtained by the image understanding (Query) of the online module and the product image and text understanding of the offline module are performed to calculate the matching degree (i.e., feature matching) of the product, such as using a new paradigm of ultra-large-scale learning (which may be a preset matching rule), a multimodal product representation algorithm, etc. for calculation and matching, and then the calculation result is input into the refined ranking model, and the refined ranking model may adopt CTR (click-through rate prediction model) or CVR (advertising conversion rate prediction model), etc., and this application does not impose any restrictions on this. The ranking of the matching products finally displayed can be the result of considering the relevance, click-through rate and conversion rate of the products. The ranking formula used can be: ranking formula = X1*relevance + X2*log(CTR) + X3*log(CVR), where X1, X2, and X3 can be preset coefficients, the relevance is the relevance of the products, log(CTR) is the click-through rate calculated by the CTR (click-through rate prediction model), and log(CVR) is the conversion rate calculated by the CVR (advertising conversion rate prediction model).
[0056] Exemplarily, the above processing scheme may also include the following steps: based on the access behavior data, obtaining search intent information by interacting with a large language model; combining the search intent information and the search basis, and regenerating the product search results.
[0057] For example, the information extracted through the aforementioned steps (access behavior data) can be input into a large language model to generate user intent information, and the aforementioned information and the user intent information can be combined for retrieval. The information extracted through the aforementioned steps (access behavior data) can also be combined with the search results and input into a large language model to generate user intent information, and the aforementioned information and the user intent information can be combined for retrieval.
[0058] In another possible implementation, when the access behavior data includes search behavior data based on voice interaction, the access behavior data can be generated based on the following steps: first, converting the input voice data into text information; second, generating product search results based on the text information, session context information and user attribute information as the search basis; finally, using the product search results as search behavior data based on voice interaction.
[0059] Among them, user attribute information can be user portrait information such as whether the user is male or female, the user's name, age, preferences, etc.; input voice data can be voice input by the user through the client, and voice data related to the search triggered by voice; conversation context information can be information about real-time user interaction, context information of voice data, other information during the conversation, etc., such as voice data input by the user in multiple conversations with the system, and the result of comprehensive judgment based on the search results of each input voice data combined with all input voice data, etc. Generate product search results based on text information, conversation context information and user attribute information as search basis, and use product search results as search behavior data based on voice interaction, which is conducive to better understanding the user's intention and generating more accurate category analysis data for product categories.
[0060] Exemplarily, the above-mentioned step of generating access behavior data may also include: based on the search basis, obtaining search intent information by interacting with a large language model, and adding the search intent information to the search basis for product search.
[0061] Search intent information can be the user's search intent obtained by analyzing product attributes, user attributes, user search history and other data. Adding search intent information to the search basis for product search can more accurately generate products that meet the user's search intent.
[0062] In another possible implementation, when the access behavior data includes selection behavior data, the access behavior data may be generated based on the following steps: first, obtaining corresponding commodity object information based on the commodity object selected from the commodity hierarchy category; and then generating access behavior data based on the commodity object information and related behavior information.
[0063] Among them, the relevant behavior information can be other operation information on the product object, such as collection, fuzzy recognition, etc., or multiple actions based on the current operation, such as clicking on the link of the product object, entering the display homepage of the product object, browsing the display homepage of the product object (which may include browsing time, browsing location, etc.), clicking "Buy" and other actions. This application does not impose any restrictions on this.
[0064] In another possible implementation, when the access behavior data includes link access behavior data, the access behavior data may be generated based on the following steps: first, obtaining product object information based on the copied product object link trigger; and then generating access behavior data based on the product object information and related behavior information.
[0065] The product object link may be a URL (uniform resource locator) of the product, or a link in other forms, and this application does not impose any limitation on this.
[0066] In step S502, based on the publishing effect data of multiple commodity objects and the access behavior data, category analysis data corresponding to at least one commodity category is obtained by interacting with a large language model.
[0067] The large language model involved in the embodiments of the present application can be a deep learning model or a neural network model trained with a large amount of text data, etc., which can generate natural language text or understand the meaning of language text by analyzing a large amount of text data and learning the pattern of language use. The generated text is very close to what humans say or write. It is mainly divided into models based on autoencoders, sequence-to-sequence models, models based on Transformers, recursive neural network models, and hierarchical models, etc. Different large language models are good at handling different types of tasks. For example, the model based on the autoencoder encodes the input text into a lower-dimensional representation, and then generates a new text from the representation. It is suitable for processing tasks such as text summarization or content generation, and can be used for content generation of various content types related to the list; the model based on the Transformer adopts a neural network architecture, is good at understanding long-distance dependencies in text data, and is suitable for processing various language tasks such as generating text, translating language, and answering questions. It can be used for content generation of various content types related to the list. In the specific implementation, the corresponding large language model can be selected as needed, and this application does not limit this.
[0068] The large language model can simulate a conversation with a person, and obtain the output result by inputting questions. The input question method can include inputting prompt words. Different prompt words cover different amounts of information and different ways of expression, which have a great impact on the output results. These problems can be well solved by creating prompt word templates, but which template to use for different input content is also yet to be determined. Therefore, the embodiment of the present application can retrieve the prompt word template associated with the session message sent by the session requester of this session in the prompt word database, and modify the session message according to the prompt word template so that the prompt word template is adapted to the session message, so that when the amount of information of the characterization data of the session message sent by the session requester is certain, a better way of asking questions is obtained, which is conducive to obtaining a higher quality output result of the large language model. After obtaining the matching prompt word template, the session message sent by the session requester can be combined with the prompt word template to generate a target prompt word for the input of the large language model to modify the session message. The prompt word database may be a database storing a variety of prompt word templates. These prompt word templates may be prompt word templates created according to different conversation scenarios, different conversation contents or different conversation objects, etc. The prompt word templates may be stored in a cloud database. This application does not impose any restrictions on the type and storage form of the prompt word database. Conversation messages of different content types may have corresponding prompt word template libraries, respectively. The prompt word database storing prompt word templates may be pre-configured to generate prompt words for large language model input in combination with the representation data of the conversation message sent by the conversation requester of this conversation. Reply messages to conversation messages of different content types may be generated by calling the same or different large language models. A reply message of a content type may be generated by calling one or more large language models, which may be configured according to actual needs.
[0069] In an embodiment of the present application, category analysis data corresponding to at least one commodity category can be obtained by interacting with a large language model, such as generating industry trend analysis reports, industry professional information analysis, etc. The following lists examples of calling a large language model to give prompt words + output results: Example 1, generate an industry trend analysis report, the prompt word (prompt) can be the input shopping website data, time (April 2023 to March 2024), functional footwear, overseas business trends, the output result can be "According to the data from the shopping website, from April 2023 to March 2024, the scale of overseas business buyers of functional footwear showed an overall upward trend. Among them, it reached a peak of 1184.0 in November 2023, and the lowest point in April 2023. The value is 917.0. This shows that from April to November 2023, the buyer scale gradually increased, and then began to decline after reaching a peak in November. Among all countries, the buyer scale of the United States, Egypt, Turkey, Mexico, and Peru ranked in the top five. However, your business has relatively few buyers in Mexico and Peru. Therefore, I suggest that you conduct more marketing activities for these two markets to attract more buyers. "Example 2, combining user intent understanding and industry-specific professional information input to generate industry-specific information analysis, the input information can be "You are a Transfer Printing For Garment industry analyst. Based on the attributes of the industry and the attributes of related market segments, write a professional Chinese industry research report, analyze and refine these market attributes, explore the characteristics of buyers' needs based on the attributes, and explain the reasons for recommending these market segments. The target users are Chinese foreign trade export suppliers. Your research report will provide professional insights into the Transfer Printing For Garment industry. Before writing a report, make sure you have a certain understanding of the industry so that you can better answer questions.The output is controlled within 150 words", and the prompt words generated based on these input information can include: "#Output rules: Please start with 'According to the characteristics of the market segment Transfer Printing For Garment'; #Input information: #Industry: Transfer Printing For Garment, Transfer Printing For Garment attributes; #Market segment 1: Pet Transfer Printing, Pet Transfer Printing attributes: technologies: uv dtf transfer, method: sublimation transfer printing, material: rubber; #Market segment 2: Transfer Printing, Transfer Printing attributes: technologies: uv dtf transfer, method: sublimation transfer printing, material: rubber; #Market segment 3: Transfer Printing For Cup, Transfer Printing For Cup attributes: technologies: uv dtf transfer, method: sublimation transfer printing, material: rubber; #Output example: According to the characteristics of the market segment Led Headlights For Audi, we recommend the following market segments: H4 Led Headlights, 9006 Led Headlights and C6 Led Headlight. The common attributes of these markets include: model: allroad quattro, socket type: h11, beam: high beam, led chip: csp. H4 Led Headlights are mainly used in Accord vi models, with high beam and H11 socket type. The socket type of 9006Led Headlights and C6Led Headlight is also H11, with high beam and CSP LED chip. Buyers in these markets tend to choose LED headlights for Audi models with high beam and H11 socket, and prefer CSPLED chips.The output result can be "Based on the characteristics of the market segment Transfer Printing For Garment, we recommend the following market segments: Pet Transfer Printing, Transfer Printing, and Transfer Printing For Cup. The common attributes of these markets include: techniques: uv dtf transfer, method: sublimation transfer printing, material: rubber. The characteristics of buyer demand for Pet Transfer Printing, Transfer Printing, and Transfer Printing For Cup are mainly reflected in the demand for UV DTF transfer printing technology, sublimation transfer printing method, and rubber material. UV DTF transfer printing technology can provide high-quality printing effects, sublimation transfer printing method can achieve colorful and long-lasting printing effects, and rubber material can ensure the durability and comfort of printed products. Therefore, we recommend that Chinese foreign trade export suppliers should fully consider the buyer needs of these market segments when developing Transfer Printing For Garment products, and adopt UV DTF transfer printing technology, sublimation transfer printing method, and rubber material to meet buyers' needs for high quality, durability, and comfort.".
[0070] Figure 7 FIG. 1 is a schematic diagram showing the algorithm architecture of a large language model in the product information processing solution provided in the embodiment of the present application. Figure 7As shown, the large language model used in the embodiment of the present application can be an SFT Model (supervised fine-tuning model), which can use the TARS-ZH-14B model (self-developed large language model in vertical fields) as the base model, and use professional expert conversations (Professional expert conversations, which can be manually annotated expert data) as the input of the model to generate prompts and output responses. At the same time, the input and output of the model (for example, 1000 to 2000 outputs) can be set to customize the output results of the model, and these data are input into the SFT Model (supervised fine-tuning model) trained with an open source database and an artificial database, and the prompt words (prompt) in the database (Database) are input into the SFT Model (supervised fine-tuning model), and the output results (response) in the SFT Model (supervised fine-tuning model) are stored in the database (Database), and the SFT Model (supervised fine-tuning model) is further trained using the data in the database (Database). That is to say, in the SFT algorithm architecture, manually annotated expert data can be used in the initial stage to train the SFT model online based on the TARS-ZH-14B base model (a self-developed large-scale language model in vertical fields). In the later stage, real user conversation data can be collected to perform RLHF (Reinforcement Learning from Human Feedback) on the SFT model to generate a higher-quality large-scale language model that conforms to human natural language.
[0071] Among them, the method for training a supervised fine-tuning model can adopt the SFT (supervised fine-tuning) method. The SFT method is a method for adjusting the parameters of a pre-trained model to adapt to specific task data. By training on domain-specific data, the model can better understand and generate text related to the task. The training process of the SFT method can generally include the following steps: the first step, data preparation, can be used to collect and clean domain data related to the target task; the second step, task definition, can determine the type of task that the model should learn, such as classification, generation or other; the third step, Fine-Tuning (fine-tuning step), can adjust the weights of the pre-trained model to adapt to specific data and tasks; the fourth step, evaluation, can use the validation data set to test the performance of the model; the fifth step, iterative optimization, can adjust the model parameters and training process according to the evaluation results.
[0072] Figure 8The following is a schematic diagram of the prediction process of a large language model in the product information processing solution provided in the embodiment of the present application. Taking the prediction process of the SFT Model (supervised fine-tuning model) as an example, Figure 8 As shown, the information input (Inputs) to the model first enters the model's embedding layer (Input Embedding) to generate the corresponding vector, and then the generated vector is subjected to root mean square normalization (RMSNorm) calculation, and the grouped query attention mechanism (GQA) is further used to convert the vector into Q (query vector), K (accepted search vector) and V (content vector), and then Q, K, and V are subjected to rotational position encoding (RoPE) operation, and then Q (query vector) and K (accepted search vector) are subjected to self-attention mechanism mask (Causal Mask) calculation to generate the corresponding mask and then multiply them, and the obtained multiplication is activated by the activation function (Softmax), and the activated result is multiplied with the previously obtained V to obtain the preliminary output result (outputs). Further, the output result is subjected to root mean square normalization (RMSNorm) calculation, and is input into the multiplication layer (Mul, 34B, 70B) with size parameters of 34B and 70B and the feedforward neural network (neural network component, FFN, SwiGLU) for corresponding calculation, and finally the obtained result is used as the final output result (Outputs).
[0073] Fig. 9 FIG. 1 is a schematic diagram showing a training process of a large language model in the product information processing solution provided in the embodiment of the present application. Fig. 9As shown, in the training process of the present application, training can be performed based on the Qwen base (basic pre-trained language model, base model), where Qwen can be a pre-trained model with a multi-layer Transformer network structure. Similar to other large language models, it can handle various NLP tasks such as text generation, summarization, question answering, etc. Its uniqueness lies in its flexibility and scalability, which can be optimized for specific tasks through Fine-Tuning. Four types of models can be included in the training process, namely pre-trained models (Pretrain Models), training reward models (RM Models), supervised fine-tuning models (SFT Models) and human feedback reinforcement learning models (RLHF Models). Pretrained models (Pretrain Models) may include a coding-specific model (Code-Qwen) and a visual language model (Qwen-VL); training reward models (RM Models) may include a preference model pre-training (Qwen-PMP) and a training reward model (Qwen-RM); supervised fine-tuning models (SFT Models) may include a chat model (Qwen-Chat), a coding-specific chat model (Code-Qwen-Chat), a mathematics-specific model (Math-Qwen-Chat), and a visual language chat model (Qwen-VL-Chat); human feedback reinforcement learning models (RLHF Models) may include human feedback reinforcement learning (Qwen-Chat-RLHF).
[0074] In one possible implementation, the large language model involved in the embodiment of the present application is a multi-layer Transformer network structure, the large language model is trained using a supervised fine-tuning method, and the training data of the large language model includes access behavior data of the commodity platform.
[0075] In the embodiment of the present application, large language models (LLMs) such as GPT-4 (intelligent robot), BERT (unsupervised self-supervised model) and T5 (sequence to sequence model) can be natural language processing (NLP) models based on deep learning, which are pre-trained on large-scale text data and can understand, generate and translate text. These models usually adopt the transformer (Transformer) architecture because they can perform well in processing long-distance dependencies and parallel computing. The Transformer architecture can be composed of Encoder (encoder) and Decoder (decoder), and the core part can be Self-Attention (self-attention mechanism), which allows the model to take into account the context information of the entire sequence when processing each word. Among them, Self-Attention (self-attention mechanism) can be used to weight the key information of different positions within the sequence, and enhance the model's ability to capture context; Positional Encoding (position encoding) can be used in Self-Attention (self-attention mechanism), and positional encoding can capture position information in the sequence by adding position information to each word.
[0076] Large language models (LLM, Large Language Models) can be an artificial intelligence technology, such as a deep learning model, which can be used in the field of natural language processing (NLP). Large language models can be trained for various complex language tasks, such as understanding, generating or translating texts, etc., and large language models are usually trained with a large amount of text data as training materials. In an embodiment of the present application, when a large language model is trained using a supervised fine-tuning method, the access data of the commodity platform can be used as training data, and the diversity of the data can be ensured, such as using different types, different tasks, different fields, and multilingual training data. In the processing of training data, the training data can be deduplicated first, and low-quality data can be removed using a rule-based and machine learning method, and multiple models can be used to score the data, and high-quality data can be added. In the later stage of training, real data can also be used for training. For example, a preliminary model is trained using artificially annotated expert data in the early stage, and model training is further performed using subsequent collected real search data.
[0077] In step S503, commodity release information is generated according to the category analysis data, and a commodity release topic or a commodity supply demand topic is generated based on the commodity release information.
[0078] In one possible implementation, the above-mentioned generation of a product release topic or a product supply and demand topic based on product release information may include: when a release operation of a product release topic or a product supply and demand topic is obtained, the key information in the product release information is filled into the topic template corresponding to the product release topic or the product supply and demand topic, so as to generate a product release topic or a product supply and demand topic.
[0079] For example, product release information can be generated based on category analysis data, that is, after determining the category information of the product, the category is analyzed and the analysis results are displayed for users to review. At the same time, two action points can be provided for users to choose: generating a product release theme or a product supply demand theme. The generated product release subject (product release) can carry recommended titles, keywords, pictures and other information, so that users can enter the smart product release page of the application interface through the client to release products; the generated product supply demand subject (source search) can carry recommended titles, descriptions and other information, so that users can enter the product search page of the application interface through the client to release the demand for purchasing products.
[0080] The present application also provides a method for searching for goods. Fig.10 FIG. 1 is a flowchart of a commodity search method 1000 according to an embodiment of the present application. The method 1000 may include:
[0081] In step S1001, a reference image for searching for a commodity object is acquired.
[0082] In step S1002, a variety of machine vision recognition tasks are performed on the reference image, and the machine vision recognition tasks include image semantic segmentation or optical character recognition.
[0083] In step S1003, commodity description information related to the searched commodity object is obtained based on the result of the machine vision recognition task.
[0084] In step S1004, the product description information and the product behavior information related to the searched product object are combined as a search basis to generate product search results.
[0085] Corresponding to the above examples and method embodiments provided in the embodiments of the present application, the embodiments of the present application also provide a device for processing commodity information. Fig.11 FIG. 1 is a structural block diagram of a device 1100 for processing commodity information according to an embodiment of the present application. The device 1100 may include:
[0086] An access behavior data acquisition module 1101 is used to acquire access behavior data of multiple commodity objects, wherein the access behavior data records the access process of the commodity objects based on the commodity access operation; a category analysis data acquisition module 1102 is used to acquire category analysis data corresponding to at least one commodity category based on the release effect data of multiple commodity objects and the access behavior data by interacting with a large language model; a commodity release information generation module 1103 is used to generate commodity release information according to the category analysis data, and generate a commodity release topic or a commodity supply and demand topic based on the commodity release information.
[0087] In a possible implementation, the access behavior data includes at least one of image-based search behavior data, voice interaction-based search behavior data, selection behavior data, and link access behavior data.
[0088] In one possible implementation, when the access behavior data includes image-based search behavior data, the above-mentioned category analysis data acquisition module 1102 may include: a reference image acquisition submodule, used to acquire a reference image for searching for commodity objects; a machine vision recognition task execution submodule, used to perform a variety of machine vision recognition tasks on the reference image, and the machine vision recognition tasks include image semantic segmentation or optical character recognition; a commodity description information acquisition submodule, used to obtain commodity description information related to the searched commodity object based on the results of the machine vision recognition task; a commodity search result generation submodule, used to combine the commodity description information and the commodity behavior information related to the searched commodity object as a search basis, generate commodity search results, and use the commodity search results as image-based search behavior data.
[0089] In some embodiments, the product description information includes at least one of product object information, product category information, product identification information, and product usage information.
[0090] In one possible implementation, when the access behavior data includes search behavior data based on voice interaction, the above-mentioned category analysis data acquisition module 1102 may include: a text information conversion submodule, used to convert the input voice data into text information; a product search result generation submodule, used to generate product search results based on the text information, session context information and user attribute information as the search basis; a search behavior data generation submodule, used to use the product search results as search behavior data based on voice interaction.
[0091] In one possible implementation, when the access behavior data includes selection behavior data, the above-mentioned category analysis data acquisition module 1102 may include: a product object information acquisition submodule, used to obtain corresponding product object information based on the product object selected from the product level category; an access behavior data generation submodule, used to generate access behavior data based on the product object information and related behavior information.
[0092] In one possible implementation, when the access behavior data includes link access behavior data, the above-mentioned category analysis data acquisition module 1102 may include: a product object information acquisition submodule, used to trigger the acquisition of product object information according to the copied product object link; an access behavior data acquisition submodule, used to generate access behavior data based on the product object information and related behavior information.
[0093] In a possible implementation, the above-mentioned device may also include: a search intention information acquisition sub-module, which is used to obtain search intention information based on the access behavior data by interacting with a large language model; a product search result regeneration sub-module, which is used to regenerate product search results in combination with the search intention information and search basis.
[0094] In some embodiments, the above-mentioned category analysis data acquisition module 1102 may also include: a search basis adding sub-module, which is used to obtain search intent information based on the search basis by interacting with a large language model, and add the search intent information to the search basis for product search.
[0095] In a possible implementation, the large language model is a multi-layer Transformer network structure, the large language model is trained using a supervised fine-tuning method, and the training data of the large language model includes access behavior data of the commodity platform.
[0096] In one possible implementation, the above-mentioned product release information generation module 1103 may include: a product release theme or product supply and demand theme generation sub-module, which is used to fill in the key information in the product release information into the theme template corresponding to the product release theme or product supply and demand theme when obtaining the release operation of the product release theme or product supply and demand theme, so as to generate a product release theme or product supply and demand theme.
[0097] Corresponding to the above examples and method embodiments provided in the embodiments of the present application, the embodiments of the present application also provide a commodity search device. Fig.12 FIG. 1 is a structural block diagram of a commodity search device 1200 according to an embodiment of the present application. The device 1200 may include:
[0098] A reference image acquisition module 1201 is used to acquire a reference image for searching a commodity object; a machine vision recognition task execution module 1202 is used to execute a variety of machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; a commodity description information acquisition module 1203 is used to obtain commodity description information related to the searched commodity object based on the result of the machine vision recognition task; and a commodity search result generation module 1204 is used to generate commodity search results by combining the commodity description information and commodity behavior information related to the searched commodity object as a search basis.
[0099] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.
[0100] Fig.13 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Fig.13 As shown, the electronic device includes: a memory 1301 and a processor 1302. The memory 1301 stores a computer program that can be run on the processor 1302. When the processor 1302 executes the computer program, the method in the above embodiment is implemented. The number of the memory 1301 and the processor 1302 can be one or more.
[0101] The electronic device also includes:
[0102] The communication interface 1303 is used to communicate with external devices and perform data exchange transmission.
[0103] If the memory 1301, the processor 1302 and the communication interface 1303 are implemented independently, the memory 1301, the processor 1302 and the communication interface 1303 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.13 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0104] Optionally, in a specific implementation, if the memory 1301, the processor 1302 and the communication interface 1303 are integrated on a chip, the memory 1301, the processor 1302 and the communication interface 1303 can communicate with each other through an internal interface.
[0105] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.
[0106] An embodiment of the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented.
[0107] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0108] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the present application.
[0109] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the Advanced RISC Machines (ARM) architecture.
[0110] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, 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 dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
[0111] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, 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 according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0113] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0114] Any process or method described in the flow chart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0115] The logic and / or steps described in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or used in combination with these instruction execution systems, devices or apparatuses.
[0116] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0117] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0118] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope recorded in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for processing commodity information, comprising: Acquire access behavior data of multiple commodity objects, wherein the access behavior data records the access process of the commodity objects based on the commodity access operation; Based on the publishing effect data of the plurality of commodity objects and the access behavior data, category analysis data corresponding to at least one commodity category is obtained by interacting with a large language model; Product release information is generated according to the category analysis data, and a product release topic or a product supply demand topic is generated based on the product release information.
2. The method according to claim 1, wherein: The access behavior data includes at least one of image-based search behavior data, voice interaction-based search behavior data, selection behavior data, and link access behavior data.
3. The method according to claim 1, wherein: When the access behavior data includes image-based search behavior data, the access behavior data is generated based on the following steps: Acquire a reference image for searching for a product object; Performing a variety of machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; Obtaining commodity description information related to the searched commodity object based on the result of the machine vision recognition task; The commodity description information and the commodity behavior information related to the searched commodity object are combined as a search basis to generate commodity search results, and the commodity search results are used as image-based search behavior data.
4. The method according to claim 3, wherein: The commodity description information includes at least one of commodity object information, commodity category information, commodity identification information and commodity usage information.
5. The method according to claim 1, wherein: When the access behavior data includes search behavior data based on voice interaction, the access behavior data is generated based on the following steps: Convert input voice data into text information; Generate product search results based on the text information, session context information and user attribute information as search basis; Use product search results as search behavior data based on voice interaction.
6. The method according to claim 1, wherein: When the access behavior data includes selection behavior data, the access behavior data is generated based on the following steps: Obtain corresponding product object information according to the product object selected from the product level category; The access behavior data is generated according to the commodity object information and the related behavior information.
7. The method according to claim 1, wherein: When the access behavior data includes linked access behavior data, the access behavior data is generated based on the following steps: Trigger the acquisition of product object information based on the copied product object link; The access behavior data is generated according to the commodity object information and the related behavior information.
8. The method according to any one of claims 1 to 3, wherein: The method further comprises: Based on the access behavior data, obtaining search intent information by interacting with a large language model; The product search results are regenerated by combining the search intent information and the search basis.
9. The method according to any one of claims 3 to 5, wherein: The step of generating access behavior data further includes: Based on the search basis, search intent information is obtained by interacting with a large language model, and the search intent information is added to the search basis for product search.
10. The method according to claim 1, wherein: The large language model is a multi-layer Transformer network structure, the large language model is trained using a supervised fine-tuning method, and the training data of the large language model includes access behavior data of the commodity platform.
11. The method according to claim 1, wherein: Generating a commodity release topic or a commodity supply demand topic based on the commodity release information includes: When the publishing operation of a product publishing topic or a product supply and demand topic is obtained, the key information in the product publishing information is filled into the topic template corresponding to the product publishing topic or the product supply and demand topic to generate the product publishing topic or the product supply and demand topic.
12. A commodity search method, comprising: Acquire a reference image for searching for a product object; Performing a variety of machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; Obtaining commodity description information related to the searched commodity object based on the result of the machine vision recognition task; The product description information and the product behavior information related to the searched product object are combined as a search basis to generate product search results.
13. A device for processing commodity information, comprising: An access behavior data acquisition module, used to acquire access behavior data of multiple commodity objects, wherein the access behavior data records the access process of the commodity objects based on the commodity access operation; A category analysis data acquisition module, configured to acquire category analysis data corresponding to at least one commodity category by interacting with a large language model based on the publishing effect data of multiple commodity objects and the access behavior data; The commodity release information generation module is used to generate commodity release information according to the category analysis data, and generate a commodity release theme or a commodity supply demand theme based on the commodity release information.
14. A commodity search device, comprising: A reference image acquisition module, used to acquire a reference image for searching a commodity object; A machine vision recognition task execution module, used to execute a variety of machine vision recognition tasks on the reference image, wherein the machine vision recognition tasks include image semantic segmentation or optical character recognition; A commodity description information acquisition module, used to obtain commodity description information related to the searched commodity object based on the result of the machine vision recognition task; The commodity search result generating module is used to generate commodity search results by combining the commodity description information and the commodity behavior information related to the searched commodity object as a search basis.
15. An electronic device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method according to any one of claims 1 to 12 when executing the computer program.
16. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.
Citation Information
Cited By
Personalized recommendation cold start method and system based on prompt learning
CN118964747A
Searching method and device based on e-commerce platform
CN119089029A
Construction and optimization method of question-answering system adopting river crab knowledge question-answering large model Crab GPT
CN119311829A
Business opportunity information management method and system
CN119539850A
A business opportunity information management method and system
CN119539850B
