Commodity information sharing and display method and computer program product
By text optimization of the original text information of product sharing information, target text information is generated, and displayed in the shared application, the problem of low value of product sharing information in the existing technology is solved, and the click rate and transaction volume of products are improved.
Patent Information
- Application Number
- CN202411644835.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-04-11
AI Technical Summary
In the process of product sharing, the prior art directly uses the product title as sharing information, resulting in low value and insufficient attractiveness of the information, which in turn affects the click-through rate and transaction volume of the product.
By optimizing the original text information of the shared product, generating target text information, improving the value of the product sharing information, and displaying the optimized information in the shared application.
It improves the information value of product sharing information, improves the problem of garbled text content, increases the attractiveness to the shared users, and thus increases the click rate and transaction volume of products.
Smart Images

Figure CN119809742A_ABST
Abstract
Description
Technical Field
[0001] One or more embodiments of the present specification relate to the field of Internet technology, and in particular, to a method for sharing and displaying product information and a computer program product. Background Art
[0002] The commodity trading service application can provide online commodity trading services. Users can browse, trade, and share commodities online through the commodity trading service application. For example, users can share commodity information in the commodity trading service application to other applications, and share it with other users in the shared applications.
[0003] In the related art, during the product sharing process, the product title of the shared product in the product trading service application is generally directly used as the product sharing information and shared with the shared application or user. The information value of the product sharing information is not high and it is not attractive enough to the shared users, so the product click rate and transaction volume are not high. Summary of the invention
[0004] In order to increase the value of commodity sharing information, one or more embodiments of this specification provide a commodity information sharing method, a commodity information display method, and a computer program product.
[0005] In a first aspect, one or more embodiments of this specification provide a method for sharing commodity information, which can be applied to a commodity trading service application, wherein the commodity trading service application includes a client and a server, and the method includes:
[0006] Determining a target commodity to be shared according to a sharing operation triggered on a client of the commodity trading service application;
[0007] Acquire original product information corresponding to the target product, wherein the original product information includes original text information of the target product;
[0008] The product sharing information of the target product is generated according to the original product information to display the product sharing information in the shared application, wherein the product sharing information includes target text information of the target product, and the target text information is obtained by text optimization of the original text information.
[0009] In a second aspect, one or more embodiments of this specification provide a method for displaying product information, which can be applied to a shared application, and the method includes:
[0010] Acquire commodity sharing information of a target commodity to be shared, wherein the commodity sharing information includes target text information of the target commodity, wherein the target text information is obtained by text optimization of original text information of the target commodity;
[0011] The product sharing information of the target product is displayed.
[0012] In a third aspect, one or more embodiments of the present specification provide a computer program product, including a computer program / instructions, which, when executed by a processor, implement the method of any embodiment of the first aspect or the second aspect.
[0013] The method for sharing product information provided in this specification provides, in the product information sharing scenario, a product transaction service application optimizes the original text information of the target product to be shared, so that the information value of the generated target text information is improved. Compared with the solution in the related art that directly uses the product title as the sharing information, the text information of the product sharing information displayed on the shared application in this specification is richer, and the garbled text content problem is greatly improved, the information value is higher, and the attractiveness to the shared users is improved, thereby increasing the click-through rate and transaction volume of the target product. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] Figure 1 It is a schematic diagram of the system architecture of a commodity trading service application in an exemplary embodiment of this specification.
[0015] Figure 2a It is a schematic diagram of a commodity interface of a commodity trading service application in an exemplary embodiment of this specification.
[0016] Figure 2b It is a schematic diagram of a sharing card in the related art.
[0017] Figure 2c It is a schematic diagram of a text password in the related art.
[0018] Figure 3 Detailed description of the invention is a flowchart of a method for sharing product information in an exemplary embodiment of the present invention.
[0019] Figure 4a is a schematic diagram of a sharing card in an exemplary embodiment of this specification.
[0020] Figure 4b FIG. 2 is a schematic diagram of a text password in an exemplary embodiment of the present specification.
[0021] Figure 5a is a schematic diagram of a sharing interface according to an exemplary embodiment of this specification.
[0022] Figure 5b is a schematic diagram of a sharing interface according to another exemplary embodiment of the present specification.
[0023] Figure 6 It is a flowchart of a method for displaying commodity information in an exemplary embodiment of this specification.
[0024] Figure 7 is a structural block diagram of an electronic device in an exemplary embodiment of this specification.
[0025] Figure 8 It is a structural block diagram of a device for sharing commodity information in an exemplary embodiment of this specification.
[0026] Fig. 9 It is a structural block diagram of a device for displaying commodity information in an exemplary embodiment of this specification. DETAILED DESCRIPTION
[0027] 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 manual 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 relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0028] Figure 1 FIG. 1 is a schematic diagram of a system architecture on which a commodity trading service application relies, provided by an exemplary embodiment. Figure 1 As shown, the system architecture may include a server 11, a network 12, and several electronic devices, such as a PC (Personal Computer) 13, a mobile phone 14, and the like.
[0029] The server 11 may be a physical server including an independent host, or the server 11 may be a virtual server carried by a host cluster. During operation, the server 11 may be a server-side program of the commodity trading service application in this specification to realize the server end of the commodity trading service application and / or the shared application.
[0030] PC 13 and mobile phone 14 refer to some types of electronic devices that can be used by users. In fact, users can obviously also use electronic devices such as tablet devices, laptops, PDAs (Personal Digital Assistants), wearable devices (such as smart glasses, smart watches, etc.), etc., and one or more embodiments of this specification do not limit this.
[0031] During operation, the electronic device can run the client-side program of the commodity trading service application to realize the client of the commodity trading service application. Among them, the client application of the above-mentioned commodity trading service application can be started and run on the electronic device. The client-side program can be a native application installed on the electronic device, or the client-side program can be a small program, a quick application or other similar forms. Of course, when using web page technologies such as HTML5 or similar, the relevant functions can be implemented through the page displayed by the browser. The browser here can be an independent browser application or a browser module embedded in certain applications.
[0032] As for the network 12 for interaction between electronic devices such as PC 13 and mobile phone 14 and server 11, it is possible to select a wired or wireless network to achieve communication based on the communication mode supported by the corresponding electronic device, and this specification does not limit this. For example, PC 13 can support both wired and wireless communication, so it can use a wired or wireless network to achieve communication as needed, while mobile phone 14 usually only supports wireless communication, so it can use a wireless network to achieve communication.
[0033] When a user browses a product through the client, he can share the product information of a certain product to the shared application through the sharing control on the client page, and share it with other users in the shared application. For example, in one example, user A can share the product information of a certain product in the commodity trading service application with friend B in the instant messaging application. In this example, the instant messaging application is the shared application, and user B is the shared user. It is worth noting that the shared application can be the commodity trading service application itself, or other applications outside the commodity trading service application, and this manual does not limit this.
[0034] In the related art, the shared product information mainly includes the following two display forms: one is to display the product information in the form of a sharing card, and the other is to display the product information in the form of a text password. However, no matter which display form is used, the product information of the shared product is generally directly the product title of the shared product in the product transaction service application as the product sharing information, which has low information value and is not attractive enough to the shared users.
[0035] For example Figure 2a The product interface of a product of the product trading service application is shown. The product interface is used to display the title information, product details, etc. of the product. A sharing control 20 is provided on the product interface. The user can share the product to the shared application by clicking the sharing control 20. Figure 2b Shown for Figure 2a Schematic diagram of a sharing card 30 of a product, Figure 2c Shown for Figure 2aSchematic diagram of a text password 40 for a product. Figure 2b As shown, the sharing card 30 generally includes a product title 31, a subtitle 32, and a thumbnail 33. Figure 2c As shown, the text password 40 is generally a text content including a product description 41 and a specific identifier and / or a product link.
[0036] See also Figure 2b and Figure 2c In the related art, the text content in the commodity sharing information is the shared commodity in Figure 2a That is to say, in the process of product sharing, the original product title is directly displayed as the product sharing information. This method results in low value of product sharing information, and it is difficult for the shared users to intuitively understand the content they are interested in through the product sharing information, which is not attractive enough for the shared users to open, resulting in low product click-through rate and transaction volume.
[0037] Therefore, the implementation methods of this specification provide a method for sharing and displaying product information, which can perform text optimization based on the original product information of the target product when the user shares the product information, generate optimized product sharing information, and improve the value of the product sharing information, thereby attracting users to click on the target product and increasing the product click-through rate and transaction volume.
[0038] In some embodiments, this specification provides a method for sharing product information, which can be applied to the above Figure 1 The commodity trading service application shown may be a trading service application for any type of commodity, and this specification does not limit this. For example, taking a travel service application as an example, the commodities of the travel service application include but are not limited to transportation tickets, hotels, and attraction tickets.
[0039] Figure 3 A flowchart showing a method for sharing product information in some embodiments of this specification is shown below. Figure 3 Provide explanation.
[0040] like Figure 3 As shown, in some embodiments, the method for sharing product information exemplified in this specification includes:
[0041] S310: Determine a target commodity to be shared according to a sharing operation triggered on a client of the commodity trading service application.
[0042] In the implementation manner of this specification, the target product refers to the product that needs to be shared with the shared user on the product trading service application. As mentioned above, depending on the different product trading service applications, the target product to be shared can be any type of product, and this specification does not limit this.
[0043] For example, in an example scenario, a user can select a target product to be shared on the client of a product trading service application. For example, the product interface of the target product is as follows: Figure 2a As shown, the user can click the sharing control 20 on the product interface, so that the client can detect the triggering operation of the sharing control 20 being clicked, and can determine that the user triggers the sharing operation on the client, and determine the product displayed on the current product interface as the target product.
[0044] S320: Acquire original product information corresponding to the target product, where the original product information includes original text information of the target product.
[0045] In the implementation of this specification, the product information of the target product displayed on the product interface is defined as the original product information. In some implementations, the original product information may include all the original text information on the product interface, such as Figure 2a In the example, the original text information includes but is not limited to the original title information of the target product, the original content description information, etc. The original title information refers to, for example Figure 2a The product title shown, the original content description information refers to, for example Figure 2a In some other embodiments, the original product information may also include all product images on the product interface, including but not limited to product display images, product details images, user evaluation images, etc. pre-configured on the product interface.
[0046] In response to detecting a sharing operation triggered by a user on the client of the commodity trading service application, indicating that the user wants to share the target commodity displayed on the current commodity interface, the original commodity information corresponding to the target commodity can be obtained at this time. The original commodity information includes at least part or all of the above-mentioned original text information, and may further include one or more of the above-mentioned commodity images.
[0047] S330: Generate product sharing information of the target product according to the original product information. The product sharing information includes target text information of the target product. The target text information is obtained by text optimization of the original text information.
[0048] In the implementation manner of this specification, the product sharing information refers to information that needs to be displayed in the shared application, that is, after the product sharing information of the target product is obtained, the product sharing information is displayed in the shared application.
[0049] The commodity sharing information at least includes the target text information of the target commodity, and the target text information refers to the optimized information generated by text optimization of the original text information of the target commodity. In the implementation mode of this specification, text optimization refers to the process of generating target text information based on the original text information by means of editing, rewriting, summarizing, etc., so that the target text information is different from the original text information in terms of text content and / or description method.
[0050] In some embodiments, the target text information may include the title information of the target commodity, the title information may represent a summary of the characteristics of the target commodity, and the text length is generally shorter. In other embodiments, the target text information may include the content description information of the target commodity, the content description information may represent a detailed description of the target commodity, and the text length is longer than the title information. In other embodiments, the target text information may include both the title information and the content description information.
[0051] In some embodiments, the product sharing information of the target product may further include at least one thumbnail of the target product, which is obtained by processing the product image in the original product information of the target product. Therefore, when displaying the target product sharing information, in addition to displaying the above target text information, the thumbnail may be further displayed. Images are more intuitive than text, and the display of thumbnails can increase the value of information.
[0052] It is worth noting that, in some embodiments, when text optimization is performed on the original text information of the target product, the target text information may be obtained by performing text optimization on all the original text information of the target product. For example, in one example, text optimization may be performed on all the original text information to generate the target text information, and the target text information may include the above-mentioned title information and / or content description information.
[0053] In some embodiments, when text optimization is performed on the original text information of the target product, the target text information can be obtained by performing text optimization based on the target part in the original text information, so that the generated target text information is different from the corresponding target part in the original text information in terms of text content and / or the description method of the text content. The target part of the original text information may include the original title information and / or the original content description information described above.
[0054] For example, in one example, the target part of the original text information includes original title information. The target title information included in the target text information can be generated by text optimization of the original title information. The target title information is different from the original title information in terms of text content and / or the way the text content is described.
[0055] For example, in another example, the target part of the original text information includes original content description information. The target content description information included in the target text information can be generated by text optimization of the original content description information. The target content description information is different from the original content description information in terms of text content and / or description method of the text content.
[0056] In the implementation manner of this specification, the display forms of the product sharing information of the target product may include at least the following two forms: one is to display the product sharing information in the form of a sharing card; the other is to display the product sharing information in the form of a text password. Figure 4a FIG. 5 shows a schematic diagram of a sharing card 50 in an exemplary embodiment. Figure 4b A schematic diagram of a text password 60 in an exemplary embodiment is shown below. Figure 4a and 4b These two display forms are explained respectively.
[0057] exist Figure 4a In the sharing card 50 shown, the product sharing information of the displayed target product includes target text information and thumbnails 53 . The target text information includes title information 51 and content description information 52 of the target product. The number of thumbnails 53 can be one or more.
[0058] contrast Figure 2b and Figure 4a ,exist Figure 2b In the related technical solution shown in FIG. Figure 2a The product title on the product interface is used as the product title 31 and, in Figure 2b In the related technical solution shown, the subtitle 32 is a preset slogan information, does not contain the information of the target product, and has a low value. Figure 4a In the technical solution of this specification shown in FIG. 1 , the title information 51 and the content description information 52 are generated by optimizing the original text information. It can be seen that Figure 4a There is more valuable information in the title information 51 and the content description information 52, and the sentences are more fluent and smooth, so the user has a better reading experience.
[0059] exist Figure 4b In the text command 60 shown, the commodity sharing information of the displayed target commodity includes the target text information. Figure 2c and Figure 4b ,exist Figure 2c In the related technical solution shown in FIG. Figure 2a The product title on the product interface is used as the product description 41. Figure 4b In the technical solution of this specification shown in FIG. 1 , the target text information 61 is generated by optimizing the original text information. It can be seen that Figure 4b The target text information 61 introduces the product information in detail, contains more valuable information, and the sentences are more fluent, providing users with a better reading experience.
[0060] In the implementation manner of this specification, there are many ways to perform text optimization on the original text information of the target product and generate the target text information, such as text optimization algorithms based on NLP (Natural Language Processing), text optimization algorithms based on LLM (Large Language Model), etc. This specification does not impose any restrictions on this, as long as the text content and / or description method of the target text information can be distinguished from the original text information.
[0061] For the specific process of text optimization, as well as Figure 4a and Figure 4b The method process for displaying the product sharing information shown is described in the implementation method below in this specification and will not be described in detail here.
[0062] From the above, it can be seen that in the implementation mode of this specification, in the process of product sharing, the original text information of the target product is optimized to generate corresponding target text information, so that the information value of the target text information is improved, the description effect of the text content is better, the product sharing experience is optimized, and the attractiveness to the shared users is increased, thereby increasing the click-through rate and transaction volume of the product.
[0063] In addition, in the related technical solutions, when the product title of the shared product is directly used as the product sharing information and displayed in the shared application, some content in the product title may be garbled due to compatibility issues between applications. Figures 2a to 2c The title of the shared product may include some special symbols, emoji expressions and other characters. When these characters are displayed in the shared application, they may be garbled due to compatibility issues between applications (such as incompatible character encodings and unsupported fonts). Figure 2b and Figure 2c As shown in , some special symbols in the original product title are converted into garbled characters such as “®”, affecting the user’s reading experience.
[0064] In the implementation manner of this specification, the text that may cause garbled characters in the product sharing information is defined as incompatible text, for example, the incompatible text includes but is not limited to the above-mentioned special symbols, emoji expressions and other characters. In some implementations, when optimizing the original text information, at least part of the incompatible text contained in the original text information can be deleted.
[0065] In the implementation mode of this specification, by optimizing the original text information to generate the target text information, special symbols, emoji expressions and other characters that are prone to garbled characters can be eliminated, thereby greatly improving the garbled text content problem when displaying product sharing information. Figure 4a and Figure 4b As shown, since the target text content does not include characters that are easily garbled, no garbled characters will appear when displayed on the shared application. The text content is smoother and more fluent, and the description effect is better, further optimizing the product sharing experience.
[0066] In some implementations, the product sharing information of the target product may include one or more thumbnails of the target product in addition to the target text information.
[0067] by Figure 2b Taking the sharing card 30 of the related technical solution shown in FIG. 1 as an example, it can be seen that the thumbnail 33 is from Figure 2a The product images shown are randomly selected (e.g., the first product image is selected by default), and the content of the product image is not processed. It is understandable that the original product image may contain some information irrelevant to the image content, such as marketing information, price information, etc., which results in the thumbnail 33 on the sharing card 30 being cluttered, and the default selected image may not be highly relevant to the target product, resulting in the information provided by the thumbnail being of low value.
[0068] Therefore, in some embodiments of the present specification, when the product sharing information includes at least one thumbnail 53 , a thumbnail 53 of the target product can be generated by performing image processing on the product image included in the original product information, and the thumbnail 53 can be displayed on the sharing card 50 .
[0069] For example, in one example, the process of image processing the product image of the target product may include: first, obtaining N product images of the target product, where N is an integer greater than or equal to 1, and the product image is obtained from the original product information of the target product. Then, image matching is performed using an image detection algorithm, and M target images with the highest matching degree with the target product are selected from the N product images, where M is an integer and 1≤M≤N, and the M target images are determined as thumbnails of the target product 53. Finally, in, for example Figure 4a M thumbnails 53 are arranged and displayed on the sharing card 50. The image detection algorithm can adopt any algorithm in the relevant technology. For example, in one example, a generative large model based on a deep learning network can be used to implement the above image processing process. Those skilled in the art can understand and fully implement it by referring to the relevant technology, and this specification will not go into details.
[0070] For example, in another example, the process of image processing the product image of the target product may include: first, obtaining N product images of the target product, where N is an integer greater than or equal to 1, and the product image is obtained from the original product information of the target product. Then, each product image is processed using an image processing algorithm, and the image processing process includes but is not limited to: image rotation / scaling / deformation, partial deletion / coding / masking, cutout / retouching, background segmentation / background replacement, etc., and the processed one or more product images are determined as thumbnails of the target product 53. Finally, in, for example Figure 4a The thumbnails 53 are arranged and displayed on the sharing card 50. The image processing algorithm can adopt any algorithm in the relevant technology. For example, in one example, a generative large model based on a deep learning network can be used to implement the above image processing process. Those skilled in the art can understand and fully implement it by referring to the relevant technology, and this specification will not go into details.
[0071] From the above, it can be seen that in the implementation mode of this specification, a thumbnail of the target product can be displayed when displaying product sharing information, and the thumbnail is obtained by performing image processing and optimization on the original product image, so that the displayed thumbnail has a higher correlation with the target product and the information display efficiency is higher.
[0072] In some embodiments, the display form of the commodity sharing information of the target commodity can be selected by the user. For example, in one example, on the client side of the commodity trading service application, in response to detecting the user's sharing operation on the target commodity, a sharing interface can be displayed on the client side, and the sharing interface can include various applications and display form options. The user can select the shared application and display form that he wants to share. For example, the display form options include a sharing card option and a text password option. The user can select the desired display form by clicking different options.
[0073] In other implementations, different shared applications may be classified in advance, for example, each application may be divided into a first category of applications and a second category of applications, and the display format corresponding to the first category of applications is, for example, Figure 4a The sharing card 50 shown in the figure has a display format corresponding to the second type of application, for example: Figure 4b The text password shown.
[0074] For example, in one example, on the client side of the commodity trading service application, in response to detecting a user's sharing operation for a target commodity, a sharing interface can be displayed on the client side. The sharing interface can include various applications. The user can click on the sharing interface to select the shared application to be shared. Then, the client can determine whether the shared application selected by the user belongs to the first category of applications or the second category of applications. If it belongs to the first category of applications, the corresponding display form is determined to be a sharing card, and if it belongs to the second category of applications, the corresponding display form is determined to be a text password.
[0075] In some embodiments of the present specification, when it is determined that the display form of the target product is a sharing card, the product sharing information of the target product can be obtained through the aforementioned method process, for example, by optimizing the original text information of the target product to obtain the target text information, the target text information may include title information 51 and content description information, and in addition, the original product image of the target product is processed through the aforementioned method process to obtain a thumbnail 53. Then, the client of the product trading service application can call the API (Application Programming Interface) interface of the shared application through the electronic device system to call up the shared application on the electronic device. At the same time, the product trading service application can send the product sharing information of the target product to the shared application through data interaction between applications, so that the shared application can generate and display, for example, the product sharing information received according to the received product sharing information. Figure 4a The sharing card 50 described in.
[0076] It is worth noting that in Figure 4a In the example sharing card 50, the sharing card 50 may include only title information 51, or may include only content description information 52, or may include both title information 51 and content description information 52, or may include both title information 51 and thumbnails 53, or may include both content description information 52 and thumbnails 53, and the number of thumbnails 53 may also be selected according to the requirements of the specific scenario, which is not limited in this specification.
[0077] In some implementations of the present specification, when it is determined that the display form of the target product is a text password, the product sharing information of the target product can be obtained through the aforementioned method process, for example, by optimizing the original text information of the target product to obtain the target text information.
[0078] It is worth noting that in order to enable the commodity trading service application to recognize the text password, a specific identifier and / or commodity link is generally added to the target text information, such as Figure 4bIn the text password 60 shown, "9da...01" and "¥It...j¥" represent identifiers, "https: / / ......" represents a product link, and "the most wonderful...Egyptian culture" in the dotted box represents the target text information. The purpose of the identifier and the product link is that when the shared user copies the text password to the product transaction service application, the product transaction service application can identify the product according to the identifier and / or product link and automatically jump to the product.
[0079] Therefore, after the client of the commodity trading service application obtains the target text information, the identifier and / or commodity link of the target commodity can be added to the target text information to obtain complete commodity sharing information. Then, the client of the commodity trading service application can call the API interface of the shared application through the electronic device system to wake up the shared application on the electronic device. At the same time, the commodity trading service application can call the API interface of the input method of the electronic device, and then copy the commodity sharing information of the target commodity to the clipboard of the input method, and the user can display the commodity analysis information in the awakened shared application through the paste operation.
[0080] From the above, it can be seen that in the implementation of this specification, different information display forms can be set for different shared applications, so that the product sharing form is more flexible and the product sharing experience is improved.
[0081] In some embodiments, the above-mentioned text optimization process and / or image processing process can be implemented using a generative big model. The full name of the generative big model is the generative artificial intelligence big model (GenAI, Generative Artificial Intelligence Models). The characteristic of the generative big model is a large number of parameters, usually including billions to trillions of parameters, so that the generative big model can capture a large number of complex data characteristics. At present, the generative big model has a wide range of applications in the fields of intelligent question answering, text optimization, image processing, audio processing, etc., and there are many types of generative big models in the relevant technology, such as ChatGPT, ChatGLM, Tongyi, Wenxin, etc. The specific type of the generative big model is not limited in the implementation of this specification. In addition, in the implementation of this specification, the generative big model can be deployed on the client side of the commodity trading service application, or it can be deployed on the server side of the commodity trading service application, and this specification does not limit this.
[0082] Target products Figure 2a Taking the example shown, in some implementations of this specification, the text optimization process for the original text information of the target product can be as follows:
[0083] First, on the client side of the commodity trading service application, the user can click on the sharing control 20 on the commodity interface. The application detects the triggering operation of the user clicking on the sharing control 20 and determines the commodity displayed on the current commodity interface as the target commodity. Then, the original commodity information corresponding to the target commodity is obtained. The original commodity information includes the original text information of the target commodity. The original text information includes, for example, Figure 2a Part or all of the text information on the product interface, such as product title, product price, product details, user reviews, etc.
[0084] Afterwards, the commodity trading service application can call the generative big model and generate AI prompt words (AIPrompt) for input into the generative big model based on the acquired original text information. The role of the AI prompt words is to guide the generative big model in the text optimization direction of the original text information and improve the accuracy of the text results output by the generative big model.
[0085] For example, in some implementations, one or more text optimization goals for commodity trading service applications can be pre-configured based on manual experience. For example, text optimization goals can include attracting user clicks, increasing commodity transaction volume, limiting text length, etc., and then combining these text optimization goals and the original text information of the target commodity to generate corresponding AI prompt words. Then, the AI prompt words are input into the generative large model to obtain the text result output by the generative large model, which is the target text information in this specification.
[0086] From the above, it can be seen that in the implementation mode of this specification, the natural language processing capability of the generative large model is used to optimize the original text information of the target product. The text optimization process is simple and more efficient, and the valuable information of the target product can be extracted more accurately. The generated target text information fits the user needs, thereby improving the user click rate and product transaction volume.
[0087] In some embodiments, considering that different user groups may have different interests in commodities and different users may have different preferences for text styles, in the process of optimizing text using the generative big model, the corresponding AI prompt words can be further generated in combination with the characteristics and / or text style of the shared user, and then the generative big model can be used to optimize the text based on the AI prompt words. This process is explained below.
[0088] In some embodiments, in response to detecting that a sharing operation is triggered on the client of a commodity trading service application, the original commodity information of the target commodity can be obtained through the method process of any of the aforementioned embodiments, and the corresponding shared application can be determined based on the sharing operation. This process can be referred to the aforementioned embodiment and will not be repeated here.
[0089] Then, see Figure 5a As shown, the corresponding sharing interface 70 can be displayed on the commodity interface of the client of the commodity trading service application. In this example, the sharing interface 70 can be displayed on the upper layer of the commodity interface in the form of a floating window. Of course, it can be understood that the sharing interface 70 can also be configured as a separate application interface, and this manual does not limit this.
[0090] The sharing interface 70 includes one or more text optimization options 72, and the text optimization options 72 may include at least one of the following: text style, audience group. Among them, the text style refers to the style tendency when the original text information is optimized, such as rigorous style, humorous style, classical style, academic style, exaggerated style, etc. The text style can guide the style tendency of the target text information output by the generative large model. The audience group refers to the characteristics of the shared user, which may include but is not limited to at least one of the following aspects: the age of the shared user, the relationship between the user who shares the target product and the shared user, and the gender of the shared user.
[0091] For example Figure 5a In the example, in the text optimization options 72 displayed on the sharing interface 70, the "text style" option indicates the style tendency of text optimization, and the "you want to share with" option indicates the relationship between the user sharing the product and the user being shared. Each text optimization option 72 may provide at least two options for the user to choose from, and the user may select the text optimization target he or she wants by clicking on each option.
[0092] In this example, after the user selects the text optimization option, the commodity trading service application can determine the text optimization target according to the text optimization option selected by the user. For example, in the implementation of the above example, the AI prompt words can be optimized and adjusted according to the text optimization option selected by the user, and then the generative large model is used to perform text optimization according to the adjusted AI prompt words, and the corresponding target text information is output.
[0093] From the above, it can be understood that when optimizing the original text information, the target text information can be generated in combination with the text optimization options selected by the user, so that product sharing information that is more in line with the characteristics of different user groups can be generated for different user groups, thereby improving the product sharing effect and attracting the shared users to click or purchase the products.
[0094] In the above exemplary implementation, in order to facilitate users of the commodity trading service application to preview the optimized target text information in real time, see Figure 5a As shown, a preview window 71 may be provided in the sharing interface 70 , and the preview window 71 is used to display preview information. For example, in one example, the preview information includes target text information generated according to the text optimization option currently selected by the user.
[0095] For example Figure 5a In the example, the text style and audience group selected by the user are both "default", so that the commodity trading service application can generate AI prompt words according to the default text optimization target and in combination with the original text information, and optimize the target text information based on the AI prompt words using the generative large model. Then, the generated target text information is displayed in the preview window 71, and the user can view the text effect in the preview window 71. Afterwards, if the user is satisfied with the effect of the target text information displayed in the preview window 71, he can click the "OK" button to execute the method of the aforementioned implementation method, and send the commodity sharing information including the target text information to the shared application. Those skilled in the art can refer to the aforementioned and will not repeat them.
[0096] In addition, during this process, if the user wants to adjust the target text information, he can select the text optimization option he wants by clicking on the sharing interface 70. When the text optimization option selected by the user changes, the commodity trading service application can re-execute the above method according to the changed text optimization option, that is, adjust the AI prompt word according to the changed text optimization option, and generate new target text information using the generative large model according to the adjusted AI prompt word. Afterwards, the target text information displayed in the preview window 71 is updated using the newly generated target text information, so that the user can view the text effect of the adjusted target text information through the preview window 71.
[0097] For example Figure 5b In the example, the user adjusts the text style option to "funny" and the target audience option to "friends" on the sharing interface 70, so that the target text information generated by the commodity trading service application based on the changed text optimization options is as follows: Figure 5b The contents of the preview window 71 are shown. Figure 5a and 5b It can be seen that the adjusted target text information style is more interesting and more in line with the characteristics of the people being shared, making it easier to attract shared users to click or purchase the target products, thereby increasing the product click-through rate and transaction volume.
[0098] It is worth noting that in Figure 5a and Figure 5b In the example, the preview information displayed in the preview window 71 only includes the target text information. In some embodiments, the preview information may further include a thumbnail 53, such as in the aforementioned Figure 5a and 5b In the example, the target text information and the thumbnail can be displayed simultaneously in the preview window 71 .
[0099] From the above, it can be seen that in the implementation mode of this specification, when the original text information is optimized, the target text information is generated in combination with the text optimization options selected by the user, so that product sharing information that is more suitable for different user groups can be generated for the user groups, thereby improving the product sharing experience.
[0100] In some implementations, the above-mentioned process of image processing of the product image can also be completed using the generative macro model. For example, in one example, after obtaining the product image of the target product according to the above-mentioned implementation process, the product image can be input into the generative macro model, and the product image can be processed by the generative macro model in any of the above-mentioned implementations to output a thumbnail of the target product. For this process, those skilled in the art can understand and fully implement it in combination with relevant technologies, and this specification will not be repeated.
[0101] In some implementations, considering that when the shared application displays the product sharing information of the target product, different applications may be able to display different text lengths, resulting in the target text information not being fully displayed in some shared applications. Figure 2b In the related technical solution of the example, the product title 31 exceeds the upper limit of the text length and thus cannot be fully displayed.
[0102] Therefore, in some embodiments of the present specification, when optimizing the original text information, the text display upper limit of the shared application can be obtained in advance. The text display upper limit refers to the upper limit of the length of text that can be displayed when the shared application displays the target text information. Then, the text display upper limit can be used as a text range limit for text optimization to generate the corresponding target text information.
[0103] For example, in one example, a commodity trading service application can pre-configure the text display upper limit corresponding to each application, so that when the shared application is determined according to the user's sharing operation, the text display upper limit corresponding to the shared application can be determined. The text display upper limit may include the title display upper limit and the content display upper limit. Then, in combination with the aforementioned method process, the AI prompt word can be adjusted according to the text display upper limit to limit the target text information output by the generative large model from exceeding the text display upper limit. For the text optimization process, those skilled in the art can understand and fully implement it in combination with the aforementioned implementation, and this specification will not go into details.
[0104] It can be understood that in the implementation mode of this specification, the original text information is optimized in combination with the text display upper limit of each application, which can make full use of the text range that can be displayed by the shared application, limit valuable information to the text range that can be displayed by the shared application, and improve the utilization rate of product sharing information and user experience.
[0105] In some embodiments, this specification provides a method for displaying product information, which can be applied to shared applications. Figure 6 As shown, the method of displaying product information in this manual includes:
[0106] S610: Acquire commodity sharing information of the target commodity to be shared, where the commodity sharing information includes target text information of the target commodity, where the target text information is obtained by text optimization of original text information of the target commodity.
[0107] S620: Display the product sharing information of the target product.
[0108] In the implementation manner of this specification, after obtaining the product sharing information of the target product through any of the aforementioned implementation manners, the product sharing information can be displayed in the shared application.
[0109] It can be understood that according to the aforementioned implementation, the display forms of the shared application displaying the product sharing information include sharing cards or text passwords. The display processes of the two display forms are described below respectively.
[0110] When the display form of the commodity sharing information is a sharing card, the client of the commodity trading service application can call the API interface of the shared application through the electronic device system to wake up the shared application on the electronic device. Then, the commodity trading service application can send the commodity sharing information of the target commodity to the shared application through data interaction between applications. The commodity sharing information may include the aforementioned target text information (including title information and / or content description information) and thumbnails. Afterwards, the shared application generates and displays, for example, the commodity sharing information received. Figure 4a The sharing card 50 corresponding to the target product is shown. In this example, the sharing card 50 includes title information 51 , content description information 52 , and at least one thumbnail 53 .
[0111] In the case where the display form of the commodity sharing information is a text password, the commodity trading service application generates the commodity sharing information of the target commodity according to the target text information and the identifier and / or the commodity link. Then, the client of the commodity trading service application can call the API interface of the shared application through the electronic device system, wake up the shared application on the electronic device, and then copy the commodity sharing information of the target commodity to the clipboard of the input method. For the shared application, in response to the user's paste operation on the shared application, the commodity sharing information of the target commodity can be displayed on the shared application.
[0112] From the above, it can be seen that in the implementation mode of this specification, in the process of product sharing, the corresponding target text information is generated by optimizing the original text information of the target product, thereby improving the information value of the target text information. Compared with the product sharing scheme of the related technology, the description effect of the text information is better, the product sharing experience is optimized, and the attractiveness to the shared users is improved, thereby increasing the click-through rate and transaction volume of the product.
[0113] Figure 7 is a schematic structural diagram of an electronic device provided by an exemplary embodiment. Figure 7 At the hardware level, the device includes a processor 802, an internal bus 804, a network interface 806, a memory 808, and a non-volatile memory 810, and may also include hardware required for other functions. One or more embodiments of this specification may be implemented based on software, such as the processor 802 reading the corresponding computer program from the non-volatile memory 810 into the memory 808 and then running it. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as logic devices or a combination of software and hardware, etc., that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0114] like Figure 8 As shown, in some embodiments, the commodity information sharing device provided in this specification can be applied to Figure 7 The electronic device shown can be specifically applied to commodity trading service applications to implement the technical solution of this specification. The device may include:
[0115] The commodity determination unit 901 is configured to determine a target commodity to be shared according to a sharing operation triggered on a client of the commodity trading service application;
[0116] The information acquisition unit 902 is configured to acquire original product information corresponding to the target product, wherein the original product information includes original text information of the target product;
[0117] The information generation unit 903 is configured to generate product sharing information of the target product based on the original product information to display the product sharing information in the shared application, wherein the product sharing information includes target text information of the target product, and the target text information is obtained by text optimization of the original text information.
[0118] In some implementations, the target text information includes title information of the target product and / or content description information of the target product.
[0119] In some implementations, the product sharing information further includes at least one thumbnail of the target product, the original product information of the target product includes at least one product image, and the thumbnail is obtained by performing image processing on the at least one product image.
[0120] In some implementations, the commodity determination unit 901 is configured to:
[0121] In response to detecting a triggering operation on a sharing control on a product interface of the client, determining the product displayed on the product interface as the target product, wherein the original product information of the target product includes information displayed on the product interface of the target product.
[0122] In some implementations, the information generation unit 903 is configured to:
[0123] Perform text optimization on the target part in the original text information to obtain target text information of the target product, so that the target text information is different from the corresponding target part in the original text information in terms of text content and / or description method for the text content; wherein the target part includes original title information and / or original content description information.
[0124] In some implementations, the information generation unit 903 is configured to:
[0125] In response to the sharing operation triggered on the client of the commodity trading service application, one or more text optimization options are displayed on the client of the commodity trading service application, and the text optimization options include at least one of the following: text style, target audience;
[0126] A text optimization target is determined according to the text optimization option selected by the user, and text optimization is performed on the original text information according to the text optimization target to obtain target text information of the target product.
[0127] In some implementations, the information generation unit 903 is configured to:
[0128] Displaying preview information on the client of the commodity trading service application, the preview information including the target text information generated according to the text optimization option selected by the user;
[0129] In response to a change in the text optimization option selected by the user, the preview information is updated based on the changed text optimization option.
[0130] In some implementations, the commodity determination unit 901 is configured to:
[0131] Determine a shared application according to the sharing operation;
[0132] In response to the type of the shared application being a first type of application, after obtaining the product sharing information of the target product, waking up the shared application and sending the product sharing information to the shared application, so that the shared application generates and displays a sharing card of the target product according to the product sharing information;
[0133] and / or,
[0134] In response to the type of the shared application being a second type application, after obtaining the product sharing information of the target product, the shared application is invoked, and the product sharing information is copied to a clipboard.
[0135] In some implementations, the information generation unit 903 is configured to:
[0136] Determine a shared application according to the sharing operation;
[0137] According to the text display upper limit of the shared application, the original text information is optimized using a generative large model to generate the target text information.
[0138] like Fig. 9 As shown, in some embodiments, the display device for commodity information provided in this specification can be applied to Figure 7 The electronic device shown in the figure can be specifically applied to the shared application to implement the technical solution of this specification. The device may include:
[0139] The information receiving unit 904 is configured to obtain commodity sharing information of the target commodity to be shared, wherein the commodity sharing information includes target text information of the target commodity, and the target text information is obtained by text optimization of original text information of the target commodity;
[0140] The information display unit 905 is configured to display the product sharing information of the target product.
[0141] Based on the same concept as the above method, this specification also provides an electronic device, including: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method described in any of the above embodiments by running the executable instructions.
[0142] Based on the same concept as the above method, this specification also provides a computer-readable storage medium on which computer instructions are stored. When the instructions are executed by a processor, the steps of the method described in any of the above embodiments are implemented.
[0143] Based on the same concept as the above method, this specification also provides a computer program product, including a computer program / instruction, which implements the steps of the method described in any of the above embodiments when executed by a processor.
Claims
1. A method for sharing product information, characterized in that: Applied to a commodity trading service application, the commodity trading service application includes a client and a server, and the method includes: Determining a target commodity to be shared according to a sharing operation triggered on a client of the commodity trading service application; Acquire original product information corresponding to the target product, wherein the original product information includes original text information of the target product; The product sharing information of the target product is generated according to the original product information to display the product sharing information in the shared application, wherein the product sharing information includes target text information of the target product, and the target text information is obtained by text optimization of the original text information.
2. The method according to claim 1, characterized in that The target text information includes the title information of the target product and / or the content description information of the target product.
3. The method according to claim 1, characterized in that The product sharing information also includes at least one thumbnail of the target product. The original product information of the target product includes at least one product image. The thumbnail is obtained by performing image processing on the at least one product image.
4. The method according to claim 1, characterized in that The step of determining a target commodity to be shared according to a sharing operation triggered on a client of the commodity trading service application includes: In response to detecting a triggering operation on a sharing control on a product interface of the client, determining the product displayed on the product interface as the target product, wherein the original product information of the target product includes information displayed on the product interface of the target product.
5. The method according to claim 1, characterized in that The generating the commodity sharing information of the target commodity according to the original commodity information includes: Perform text optimization on the target part in the original text information to obtain target text information of the target product, so that the target text information is different from the corresponding target part in the original text information in terms of text content and / or description method for the text content; wherein the target part includes original title information and / or original content description information.
6. The method according to claim 5, characterized in that The text optimization of the target part in the original text information to obtain the target text information of the target commodity includes: In response to the sharing operation triggered on the client of the commodity trading service application, one or more text optimization options are displayed on the client of the commodity trading service application, and the text optimization options include at least one of the following: text style and target audience; determining a text optimization target according to the text optimization option selected by the user, and performing text optimization on the original text information according to the text optimization target to obtain target text information of the target commodity; and / or, Delete at least part of the incompatible text included in the original text information.
7. The method according to claim 6, characterized in that Also includes: Displaying preview information on the client of the commodity trading service application, the preview information including the target text information generated according to the text optimization option selected by the user; In response to a change in the text optimization option selected by the user, the preview information is updated based on the changed text optimization option.
8. The method according to claim 1, characterized in that Also includes: Determine a shared application according to the sharing operation; In response to the type of the shared application being a first type of application, after obtaining the product sharing information of the target product, waking up the shared application and sending the product sharing information to the shared application, so that the shared application generates and displays a sharing card of the target product according to the product sharing information; and / or, In response to the type of the shared application being a second type application, after obtaining the product sharing information of the target product, the shared application is invoked, and the product sharing information is copied to a clipboard.
9. The method according to any one of claims 1 to 8, characterized in that: The determining the commodity sharing information of the target commodity according to the original commodity information includes: Determine a shared application according to the sharing operation; According to the text display upper limit of the shared application, the original text information is optimized using a generative large model to generate the target text information.
10. A method for displaying commodity information, characterized in that: Applied to the shared application, the method includes: Acquire commodity sharing information of a target commodity to be shared, wherein the commodity sharing information includes target text information of the target commodity, wherein the target text information is obtained by text optimization of original text information of the target commodity; The product sharing information of the target product is displayed.
11. The method according to claim 10, characterized in that The product sharing information of the target product is displayed, including: Generate and display a sharing card of the target product according to the product sharing information; or, In response to a paste operation by the user on the shared application, the product sharing information of the target product is displayed on the shared application.
12. A computer program product, characterized in that The method comprises a computer program / instruction, which implements the method according to any one of claims 1 to 11 when executed by a processor.