Commodity information synchronization method and device, electronic equipment and storage medium

Through the automated process of generating and synchronizing product images, the time-consuming and labor-intensive synchronization of product information is solved, and efficient synchronization without manual participation is achieved, reducing the error rate.

CN119027218APending Publication Date: 2024-11-26创优数字科技(广东)有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411235300.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing product information synchronization method is time-consuming and labor-intensive and prone to errors, especially when the requirements of different platforms are inconsistent, especially the matching requirements of product images and names are strictly required, which leads to manual search and synchronization during the test process, which consumes and prone to errors.

Method used

By receiving user selection operations, determine the product information template, obtain the product platform to be synchronized, determine whether it is the first product platform, generate product information, extract product names and descriptions, use the pre-trained diffusion model to generate product pictures, and use the product information and Image synchronization to the platform, optimize images to standard size, format and clarity, and achieve automated synchronization.

Benefits of technology

The product name can be automatically converted into pictures without manual participation and synchronized to the platform, which improves overall work efficiency, reduces the error rate of product information synchronization, and simplifies the process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119027218A_ABST
    Figure CN119027218A_ABST
Patent Text Reader

Abstract

The invention discloses a commodity information synchronization method and device, electronic equipment and a storage medium, which are used for solving the technical problems that an existing commodity information synchronization method is time-consuming and labor-consuming and is easy to make mistakes. The method comprises the following steps: receiving a selection operation of a user, and determining a commodity data template; obtaining a to-be-synchronized commodity platform, and judging whether the to-be-synchronized commodity platform is a first commodity platform or not; if yes, the commodity data template is adopted to generate commodity data; commodity names and commodity descriptions are extracted from the commodity data; generating a commodity picture by adopting the commodity name and the commodity description; and synchronizing the commodity data and the commodity picture to the first commodity platform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of information synchronization technology, and in particular to a commodity information synchronization method, device, electronic device and storage medium. Background Art

[0002] In modern e-commerce, merchants often need to accurately synchronize the product information of their own brands to different sales platforms. In specific implementation, product information is generally managed through a middle-office system. Through the middle-office system, product information can be synchronized to different third-party platforms.

[0003] During the testing process, a large number of products with different attributes need to be synchronized to the platform. This can be done through automated scripts. Products are created by calling the system interface and synchronized to the platform by calling the platform interface.

[0004] However, the requirements of each platform are inconsistent. Some platforms have stricter requirements for product synchronization, especially requiring the matching of product images and names. When synchronizing to this platform, you need to synchronize product images before synchronizing products, and product images must be similar to product name descriptions before synchronization. However, synchronizing products with the same information is meaningless for testing, so in actual applications, you often need to manually search for images, name them, and synchronize them, which is not only time-consuming and labor-intensive, but also prone to errors. Summary of the invention

[0005] The present invention provides a commodity information synchronization method, device, electronic device and storage medium, which are used to solve the technical problems that the existing commodity information synchronization method is time-consuming, labor-intensive and prone to errors.

[0006] The present invention provides a commodity information synchronization method, comprising:

[0007] Receive the user's selection operation and determine the product information template;

[0008] Obtaining a commodity platform to be synchronized, and determining whether the commodity platform to be synchronized is the first commodity platform;

[0009] If yes, generate product information using the product information template;

[0010] Extracting product names and product descriptions from the product information;

[0011] Generate a product image using the product name and the product description;

[0012] The product information and the product image are synchronized to the first product platform.

[0013] Optionally, it also includes:

[0014] When the platform to be synchronized is a second commodity platform, commodity information is generated using the commodity information template, and the commodity information is synchronized to the second commodity platform.

[0015] Optionally, the step of generating a product image by using the product name and the product description includes:

[0016] The product name and the product description are input into a pre-trained diffusion model, and a product image is output.

[0017] Optionally, the step of synchronizing the product information and the product image to the first product platform includes:

[0018] Obtaining the standard size, standard format and standard definition of the first commodity platform;

[0019] Optimizing the product image using the standard size, the standard format, and the standard definition to obtain an optimized product image;

[0020] The product information and the optimized product image are synchronized to the first product platform.

[0021] Optionally, the training process of the pre-trained diffusion model includes:

[0022] Extract sample data from a preset commodity database; the sample data includes sample commodity names, keywords and sample commodity images of the sample;

[0023] Performing standardization processing on the sample product images to obtain standardized images;

[0024] Performing text processing on the sample product names to obtain keyword word vectors;

[0025] Adding random noise to the standardized image to generate a noise image;

[0026] Input the noise image into a preset diffusion model, use the keyword as condition information, and output a denoised image;

[0027] When the difference between the denoised image and the standardized image meets the similarity condition, and the semantics of the denoised image meets the matching condition with the keyword word vector, the training is terminated and the pre-trained diffusion model is output.

[0028] The present invention also provides a commodity information synchronization device, comprising:

[0029] A commodity information template determination module is used to receive a user's selection operation and determine a commodity information template;

[0030] A first commodity platform determination module, used to obtain a commodity platform to be synchronized, and determine whether the commodity platform to be synchronized is the first commodity platform;

[0031] A commodity information generating module, used for generating commodity information by using the commodity information template;

[0032] A product name and product description extraction module, used to extract product names and product descriptions from the product information;

[0033] A product image generation module, used to generate a product image using the product name and the product description;

[0034] The first synchronization module is used to synchronize the product information and the product image to the first product platform.

[0035] Optionally, it also includes:

[0036] The second synchronization module is used to generate product information by using the product information template when the platform to be synchronized is a second product platform, and synchronize the product information to the second product platform.

[0037] Optionally, the product image generation module includes:

[0038] The product image generation submodule is used to input the product name and the product description into the pre-trained diffusion model and output the product image.

[0039] The present invention also provides an electronic device, the device comprising a processor and a memory:

[0040] The memory is used to store program code and transmit the program code to the processor;

[0041] The processor is used to execute the commodity information synchronization method as described in any one of the above items according to the instructions in the program code.

[0042] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium is used to store program code, and the program code is used to execute the commodity information synchronization method as described in any one of the above items.

[0043] It can be seen from the above technical solutions that the present invention has the following advantages: the present invention provides a method for synchronizing product information, and specifically discloses: receiving a user's selection operation, determining a product information template; obtaining a product platform to be synchronized, and determining whether the product platform to be synchronized is the first product platform; if so, using a product information template to generate product information; extracting product names and product descriptions from the product information; using product names and product descriptions to generate product images; synchronizing product information and product images to the first product platform. The present invention improves overall work efficiency and reduces product error rates by automatically converting product names into product images, and automatically synchronizing product names and product images to the product platform without manual intervention. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0045] Figure 1 A flowchart of a method for synchronizing product information provided by an embodiment of the present invention;

[0046] Figure 2 A flowchart of a method for synchronizing product information provided by another embodiment of the present invention;

[0047] Figure 3 A structural block diagram of a commodity information synchronization device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0048] The embodiments of the present invention provide a product information synchronization method, device, electronic device and storage medium, which are used to solve the technical problems that the existing product information synchronization method is time-consuming, labor-intensive and prone to errors.

[0049] In order to make the purpose, features and advantages of the present invention more obvious and easy to understand, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0050] See also Figure 1 , Figure 1 A flowchart of the steps of a product information synchronization method provided by an embodiment of the present invention.

[0051] The present invention provides a method for synchronizing commodity information, which may specifically include the following steps:

[0052] Step 101, receiving a user's selection operation and determining a product information template;

[0053] In the process of synchronizing product information, it is usually necessary to synchronize product information to multiple product sales platforms to ensure the consistency and integrity of the information. In particular, when product information needs to be synchronized to a specific platform, product images also need to be synchronized. In order to generate product images, it is necessary to obtain relevant information about the product. Considering that the product information of different products is not the same, in an embodiment of the present invention, it is first necessary to determine the product information template of the product according to the user's selection operation.

[0054] Step 102, obtaining the commodity platform to be synchronized, and determining whether the commodity platform to be synchronized is the first commodity platform;

[0055] In the embodiment of the present invention, different commodity platforms may have different requirements for display information, for example, some platforms may require display of commodity pictures, while others may not. Therefore, in the embodiment of the present invention, the commodity platform to be synchronized with the commodity may be determined to determine which commodity information to be subsequently acquired includes.

[0056] In the embodiment of the present invention, the first commodity platform may be a commodity platform that needs to display commodity pictures.

[0057] Step 103, if yes, generate product information using a product information template;

[0058] In the embodiment of the present invention, when it is determined that the commodity platform to be synchronized is the first commodity platform, the corresponding information of the commodity is filled in the commodity information template to generate the commodity information.

[0059] Step 104, extracting the product name and product description from the product information;

[0060] Step 105, generating a product image using the product name and product description;

[0061] In the embodiment of the present invention, after obtaining the product information, the product name and product description can be extracted from the product information, and the product image can be generated using the product name and product description.

[0062] Step 106, synchronizing the product information and product images to the first product platform.

[0063] In the embodiment of the present invention, after the generation of the product image is completed, the product information and the product image can be sent together to the first product platform through the interface for display.

[0064] The present invention automatically converts product names into product images, and automatically synchronizes the product names and product images to a product platform without manual intervention, thereby improving overall work efficiency and reducing product error rate.

[0065] See also Figure 2 , Figure 2 This is a flowchart of a method for synchronizing product information provided by another embodiment of the present invention. Specifically, the following steps may be included:

[0066] Step 201, receiving a user's selection operation and determining a product information template;

[0067] In the process of synchronizing product information, it is usually necessary to synchronize product information to multiple product sales platforms to ensure the consistency and integrity of the information. In particular, when product information needs to be synchronized to a specific platform, product images also need to be synchronized. In order to generate product images, it is necessary to obtain relevant information about the product. Considering that the product information of different products is not the same, in an embodiment of the present invention, it is first necessary to determine the product information template of the product according to the user's selection operation.

[0068] Step 202, obtaining the commodity platform to be synchronized, and determining whether the commodity platform to be synchronized is the first commodity platform;

[0069] In the embodiment of the present invention, different commodity platforms may have different requirements for display information, for example, some platforms may require display of commodity pictures, while others may not. Therefore, in the embodiment of the present invention, the commodity platform to be synchronized with the commodity may be determined to determine which commodity information to be subsequently acquired includes.

[0070] Step 203, if yes, generate product information using a product information template;

[0071] In the embodiment of the present invention, when it is determined that the commodity platform to be synchronized is the first commodity platform, the corresponding information of the commodity is filled in the commodity information template to generate the commodity information.

[0072] Step 204, extracting the product name and product description from the product information;

[0073] Step 205, generating a product image using the product name and product description;

[0074] In the embodiment of the present invention, after obtaining the product information, the product name and product description can be extracted from the product information, and the product image can be generated using the product name and product description.

[0075] In one example, the steps of generating a product image using a product name and a product description include:

[0076] The product name and product description are input into the pre-trained diffusion model, and the product image is output.

[0077] Diffusion Models is a data generation technology that simulates the common diffusion process in nature to synthesize new data. Just like a drop of ink falling into water will slowly spread out, the diffusion model is also triggered by a simple noise signal, gradually adding details and patterns, and finally generating complex new data.

[0078] In one example, the training process of the pre-trained diffusion model includes:

[0079] S11, extracting sample data from a preset product database; the sample data includes sample product names, keywords, and sample product images;

[0080] S12, performing standardization processing on the sample product images to obtain standardized images;

[0081] S13, performing text processing on the sample product names to obtain keyword word vectors;

[0082] S14, adding random noise to the standardized image to generate a noise image;

[0083] S15, inputting the noise image into a preset diffusion model, using the keyword as conditional information, and outputting a denoised image;

[0084] S16, when the difference between the denoised image and the standardized image meets the similarity condition, and the semantics of the denoised image and the keyword word vector meet the matching condition, the training is terminated and the pre-trained diffusion model is output.

[0085] In the specific implementation, the training process of the diffusion model includes the data collection and preparation stage, and the model training stage.

[0086] Among them, the data collection and preparation stage includes commodity data collection and data preprocessing.

[0087] Product data collection:

[0088] 1. Collect sample data: Extract a large amount of sample data from the existing product database. The sample data includes sample product names, keywords, and sample product images.

[0089] 2. Data labeling: Ensure that the sample product image of each product is closely related to its sample product name and keywords to improve the training effect of the model.

[0090] Data preprocessing:

[0091] 1. Image processing: Standardize the collected sample product images, including adjusting the image size, resolution, color space, etc., to obtain standardized images to meet the input requirements of the model.

[0092] 2. Text processing: Process the sample product names, such as word segmentation and stop word removal, so as to convert the text information into an input form that the model can understand, such as keyword vectors.

[0093] The model training phase may include selecting a diffusion model, model training, and model optimization.

[0094] Select a diffusion model:

[0095] 1. Model architecture: Select the diffusion model Denoising Diffusion Probabilistic Models (DDPM) suitable for conditional generation tasks. This model generates high-quality images by gradually adding noise and reverse denoising.

[0096] 2. Conditional input: The sample product name converted into a keyword vector is used as the conditional input to ensure that the generated image matches the input text.

[0097] Model training:

[0098] 1. Noise adding stage: gradually add random noise to real sample product images to generate noisy images, and train how to restore noisy images to clear product images.

[0099] 2. Reverse generation phase: During the training process, the model learns how to recover denoised images that match the sample product names from noisy images.

[0100] 3. Loss function: Use specific loss functions, such as mean square error (MSE) and perceptual loss, to ensure that the generated images are not only similar to the sample product images, but also semantically consistent with the sample product names.

[0101] Model optimization:

[0102] 1. Hyperparameter tuning: Adjust the model’s hyperparameters to improve the quality and accuracy of generated images.

[0103] 2. Model verification: Use the verification set to evaluate the quality of the images generated by the model to ensure that the generated results meet the actual application requirements.

[0104] After the diffusion model is trained, the process of generating product images is as follows:

[0105] Enter product information:

[0106] 1. User input: When you need to generate an image for a product, accept the product name as input.

[0107] 2. Conditional processing: Convert the input product name into a keyword vector that the model can understand.

[0108] Image generation process:

[0109] 1. Noise initialization: The model starts with a random noise image and gradually generates images based on the input product name.

[0110] 2. Condition-guided generation: The model guides the generation process based on the product name and keyword information (extracted from the product description) so that the final image matches the product name information.

[0111] Generate image optimization:

[0112] 1. Image post-processing: Perform post-processing on the generated images, such as image enhancement, denoising, edge smoothing, etc., to ensure that the image quality meets the platform display standards.

[0113] 2. Quality detection: Through the pre-trained image quality detection algorithm, the clarity and relevance of the generated pictures are automatically evaluated to ensure that the final result meets expectations.

[0114] For example, let's generate a product image of a "white dress":

[0115] Input data:

[0116] 1. Product name: White dress.

[0117] Image generation process:

[0118] 1. Noise initialization: A completely random noise image is generated at the beginning of the model.

[0119] 2. Conditional guidance: The model receives "white dress" as conditional information and gradually optimizes the generated pictures based on the keywords "white, dress".

[0120] 3. Step-by-step generation: As the diffusion steps proceed, the noisy image gradually becomes clearer, and finally a picture of a white dress is presented.

[0121] Step 206, synchronizing the product information and product pictures to the first product platform;

[0122] In the embodiment of the present invention, after the generation of the product image is completed, the product information and the product image can be sent together to the first product platform through the interface for display.

[0123] In one example, the step of synchronizing product information and product images to the first product platform may include the following sub-steps:

[0124] S61, obtaining a standard size, a standard format, and a standard definition of the first commodity platform;

[0125] S62, optimizing the product image using a standard size, a standard format, and a standard definition to obtain an optimized product image;

[0126] S63, synchronizing the product information and the optimized product images to the first product platform.

[0127] In the implementation of the present invention, the generated product images can be optimized to ensure that the product images have a standard size, standard format, and standard clarity that meet the requirements of the first product platform. The optimized product images and product information are then uploaded to the first product platform through the API interface.

[0128] Furthermore, in the embodiment of the present invention, the correctness and reliability of data upload can be ensured by testing the calling of the API interface.

[0129] Furthermore, in the embodiment of the present invention, all operations and error information during the product synchronization and image generation process can be recorded in logs, and error prompts and logs can be provided to users to help them identify and solve problems.

[0130] Step 207: When the platform to be synchronized is the second commodity platform, commodity information is generated using a commodity information template, and the commodity information is synchronized to the second commodity platform.

[0131] In the embodiment of the present invention, when the platform to be synchronized is a second commodity platform that does not need to synchronize pictures, a commodity information template can be used to generate commodity information, and the commodity information can be synchronized to the second commodity platform.

[0132] The present invention automatically converts product names into product images, and automatically synchronizes the product names and product images to a product platform without manual intervention, thereby improving overall work efficiency and reducing product error rate.

[0133] See also Figure 3 , Figure 3 A structural block diagram of a commodity information synchronization device provided by an embodiment of the present invention.

[0134] An embodiment of the present invention provides a commodity information synchronization device, including:

[0135] The commodity information template determination module 301 is used to receive the user's selection operation and determine the commodity information template;

[0136] The first commodity platform determination module 302 is used to obtain the commodity platform to be synchronized and determine whether the commodity platform to be synchronized is the first commodity platform;

[0137] A commodity information generating module 303 is used to generate commodity information using a commodity information template;

[0138] A product name and product description extraction module 304 is used to extract product names and product descriptions from product information;

[0139] A product image generation module 305 is used to generate a product image using a product name and a product description;

[0140] The first synchronization module 306 is used to synchronize the product information and product images to the first product platform.

[0141] In an embodiment of the present invention, it also includes:

[0142] The second synchronization module is used to generate product information using a product information template when the platform to be synchronized is the second product platform, and synchronize the product information to the second product platform.

[0143] In the embodiment of the present invention, the product image generation module 305 includes:

[0144] The product image generation submodule is used to input the product name and product description into the pre-trained diffusion model and output the product image.

[0145] In the embodiment of the present invention, the first synchronization module 306 includes:

[0146] A standard size, standard format and standard definition acquisition submodule, used to acquire the standard size, standard format and standard definition of the first commodity platform;

[0147] An optimization submodule, for optimizing the product image by using a standard size, a standard format, and a standard definition to obtain an optimized product image;

[0148] The first synchronization submodule is used to synchronize product information and optimized product images to the first product platform.

[0149] In an embodiment of the present invention, the training process of the pre-trained diffusion model includes:

[0150] The sample data extraction module is used to extract sample data from the preset commodity database; the sample data includes the sample commodity name, keywords and sample commodity pictures of the sample;

[0151] A standardization processing module is used to perform standardization processing on sample product images to obtain standardized images;

[0152] The text processing module is used to process the sample product names to obtain keyword vectors;

[0153] A noise image generation module is used to add random noise to the standardized image to generate a noise image;

[0154] A denoised image generation module is used to input the noisy image into a preset diffusion model, use the keyword as conditional information, and output the denoised image;

[0155] The pre-trained diffusion model generation module is used to end the training and output the pre-trained diffusion model when the difference between the denoised image and the standardized image meets the similarity condition and the semantics of the denoised image and the keyword word vector meet the matching condition.

[0156] An embodiment of the present invention further provides an electronic device, the device comprising a processor and a memory:

[0157] The memory is used to store the program code and transmit the program code to the processor;

[0158] The processor is used to execute the commodity information synchronization method of the embodiment of the present invention according to the instructions in the program code.

[0159] The embodiment of the present invention further provides a computer-readable storage medium, which is used to store program codes, and the program codes are used to execute the commodity information synchronization method of the embodiment of the present invention.

[0160] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0161] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0162] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0163] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0164] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0165] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0166] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0167] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0168] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features thereof may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for synchronizing commodity information, characterized in that: include: Receive the user's selection operation and determine the product information template; Obtaining a commodity platform to be synchronized, and determining whether the commodity platform to be synchronized is the first commodity platform; If yes, generate product information using the product information template; Extracting product names and product descriptions from the product information; Generate a product image using the product name and the product description; The product information and the product image are synchronized to the first product platform.

2. The method according to claim 1, characterized in that: Also includes: When the platform to be synchronized is a second commodity platform, commodity information is generated using the commodity information template, and the commodity information is synchronized to the second commodity platform.

3. The method according to claim 1, characterized in that The step of generating a product image using the product name and the product description includes: The product name and the product description are input into a pre-trained diffusion model, and a product image is output.

4. The method according to claim 1, characterized in that The step of synchronizing the product information and the product image to the first product platform includes: Obtaining the standard size, standard format and standard definition of the first commodity platform; Optimizing the product image using the standard size, the standard format, and the standard definition to obtain an optimized product image; The product information and the optimized product image are synchronized to the first product platform.

5. The method according to claim 3, characterized in that: The training process of the pre-trained diffusion model includes: Extract sample data from a preset commodity database; the sample data includes sample commodity names, keywords and sample commodity images of the sample; Performing standardization processing on the sample product images to obtain standardized images; Performing text processing on the sample product names to obtain keyword vectors; Adding random noise to the standardized image to generate a noise image; Input the noise image into a preset diffusion model, use the keyword as condition information, and output a denoised image; When the difference between the denoised image and the standardized image meets the similarity condition, and the semantics of the denoised image meets the matching condition with the keyword word vector, the training is terminated and the pre-trained diffusion model is output.

6. A commodity information synchronization device, characterized in that: include: A commodity information template determination module is used to receive a user's selection operation and determine a commodity information template; A first commodity platform determination module, used to obtain a commodity platform to be synchronized, and determine whether the commodity platform to be synchronized is the first commodity platform; A commodity information generating module, used for generating commodity information by using the commodity information template; A product name and product description extraction module, used to extract product names and product descriptions from the product information; A product image generation module, used to generate a product image using the product name and the product description; The first synchronization module is used to synchronize the product information and the product image to the first product platform.

7. The device according to claim 6, characterized in that Also includes: The second synchronization module is used to generate product information by using the product information template when the platform to be synchronized is a second product platform, and synchronize the product information to the second product platform.

8. The device according to claim 6, characterized in that The product image generation module includes: The product image generation submodule is used to input the product name and the product description into the pre-trained diffusion model and output the product image.

9. An electronic device, characterized in that: The device comprises a processor and a memory: The memory is used to store program code and transmit the program code to the processor; The processor is used to execute the commodity information synchronization method according to any one of claims 1-6 according to the instructions in the program code.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used to store program code, and the program code is used to execute the commodity information synchronization method according to any one of claims 1-6.