Image batch processing and commodity shelving method and device, equipment and storage medium

By integrating image batch processing scripts on the e-commerce platform and using image processing modules to batch process and publish product images, the problem of low efficiency in product image processing on the e-commerce platform is solved, and a fast and accurate product listing process is achieved.

CN119151621APending Publication Date: 2024-12-17SHENZHEN HOSONSOFT CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202310675015.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-08
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In the prior art, the manual processing of product images on e-commerce platforms is slow and inefficient, which is prone to human operational errors, affecting the efficiency of product listing.

Method used

Integrate image batch processing scripts on the online store operation platform, use the image processing module to batch process locally stored images, and generate and publish corresponding product information.

Benefits of technology

It realizes the fast, efficient and customized product launch, avoids human operational errors, and improves the accuracy and user experience of product data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119151621A_ABST
    Figure CN119151621A_ABST
Patent Text Reader

Abstract

The invention discloses an image batch processing and commodity shelving method and device, equipment and a storage medium, and relates to the technical field of image processing. According to the method, the image batch processing script is integrated in the network shop operation platform, the image processing module is called by using the image batch processing script to carry out batch processing on the locally stored images, and the commodity information can be obtained according to the processed images; and then the images and the commodity information are published to the target network shop in batches, so that quick, efficient and customizable commodity shelving is realized, manual operation errors can be avoided, the commodity data accuracy is improved, and better user experience is brought.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of image processing technology, and in particular to a method, device, equipment and storage medium for batch processing of images and listing of goods. Background Art

[0002] With the development and improvement of e-commerce, more and more goods are sold on e-commerce platforms such as Pinduoduo and Taobao. When consumers browse goods on the web pages of these e-commerce platforms, Figure 1 As shown, it is often seen that the same product link often corresponds to multiple items with different models and specifications, and each item corresponds to an image showing product information including the SKU image 11. For sellers, if they want to sell products on an e-commerce platform, they first need to upload (put on the shelves) the relevant information of the product (such as images, models, specifications, etc.) to the e-commerce platform through the online store operation platform.

[0003] The existing uploading method is that the seller manually prepares the image and related information corresponding to each item under the same product, and then uploads and publishes them one by one. Since the same product often includes items of multiple models and specifications, and different items often have only small differences in parts, such as different models of mobile phones of the same brand, which only differ in the position and size of the camera. The existing method is to first prepare the product images with camera information corresponding to all mobile phone items one by one, and then upload and publish them one by one according to the item information. This method of preparing images of items one by one and then manually uploading them one by one is slow, inefficient and prone to errors, which greatly affects the efficiency of sellers in listing and distributing products on e-commerce platforms. Summary of the invention

[0004] In view of this, the embodiments of the present invention provide a method, device, equipment and storage medium for batch processing of images and listing of goods, so as to solve the problems of slow speed and low efficiency of manually processing product images one by one and listing of goods in the prior art.

[0005] In a first aspect, an embodiment of the present invention provides a method for batch processing of images and listing of goods, the method comprising:

[0006] storing the first image in a first preset folder according to a first preset file path;

[0007] storing the second image in a second preset folder according to a second preset file path;

[0008] Integrate image batch processing scripts on the online store operation platform;

[0009] Executing the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and to extract the second image from the second preset folder according to the second preset file path, and performing image processing on the first image and the second image to obtain a third image;

[0010] storing the third image in a third preset folder according to a third preset file path;

[0011] Importing the third image in the third preset folder according to the third preset file path in the online store operation platform, acquiring the corresponding commodity information according to the third image, and publishing the third image and its commodity information to the target online store;

[0012] Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

[0013] Preferably, the first image also includes: a white background image template, a detail image template and a main image template; the third image also includes a white background image, a detail image and a main image corresponding to each of the single products.

[0014] Preferably, before storing the first image in the first preset folder according to the first preset file path, the method further includes: naming the first preset folder, the second preset folder and the third preset folder according to a preset naming rule.

[0015] Preferably, a second preset subfolder is set under the second preset folder, the second preset subfolder is named according to the partial image of the single product, and the second image is stored in the second preset subfolder.

[0016] Preferably, the image batch processing script integrated on the online store operation platform includes:

[0017] Obtain the image batch processing script;

[0018] Setting a button for executing the image batch processing script on the human-computer interaction interface of the online store operation platform;

[0019] In response to the button being triggered, an image batch processing human-computer interaction interface is displayed in the online store operation platform, wherein the image batch processing human-computer interaction interface includes at least an input box for the first preset file path, an input box for the second preset file path, and an input box for the third preset file path.

[0020] Preferably, the first image is a SKU image template, and the second image is a lens image of a plurality of items; the executing the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and extract the second image from the second preset folder according to the second preset file path, and performing image processing on the first image and the second image to obtain a third image comprises:

[0021] Controlling the image processing module to read the SKU image template according to the first preset file path;

[0022] Control the image processing module to sequentially read the lens image of each single product from the second preset subfolder under the second preset folder according to the second preset file path;

[0023] The lens image of each single product is replaced with the lens image in the SKU template image to obtain the SKU image corresponding to each single product, that is, the third image.

[0024] Preferably, the image processing module is an independent image processing module outside the network operation platform, or the image processing module is an image processing module integrated inside the network operation platform.

[0025] In a second aspect, an embodiment of the present invention provides a device for batch processing of images and putting goods on shelves, the device comprising:

[0026] A first storage module, used for storing the first image in a first preset folder according to a first preset file path;

[0027] A second storage module, used for storing the second image in a second preset folder according to a second preset file path;

[0028] Script integration module, used to integrate image batch processing scripts on the online store operation platform;

[0029] a script execution module, configured to execute the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and to extract the second image from the second preset folder according to the second preset file path, and to perform image processing on the first image and the second image to obtain a third image;

[0030] A third storage module, used for storing the third image in a third preset folder according to a third preset file path;

[0031] A publishing module, configured to import the third image in the third preset folder according to the third preset file path in the online store operation platform, obtain the corresponding commodity information according to the third image, and publish the third image and its commodity information to a target online store;

[0032] Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

[0033] In a third aspect, an embodiment of the present invention provides an image batch processing and product shelving device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, the method of the first aspect in the above embodiment is implemented.

[0034] In a fourth aspect, an embodiment of the present invention provides a storage medium having computer program instructions stored thereon, which implements the method of the first aspect in the above-mentioned embodiment when the computer program instructions are executed by a processor.

[0035] In summary, the beneficial effects of the present invention are as follows:

[0036] The image batch processing and commodity listing method, device, equipment and storage medium provided by the embodiments of the present invention are as follows: the first image is stored in a first preset folder according to a first preset file path; the second image is stored in a second preset folder according to a second preset file path; an image batch processing script is integrated on an online store operation platform; the image batch processing script is executed to call an image processing module to extract the first image from the first preset folder according to the first preset file path and the second image from the second preset folder according to the second preset file path, and image processing is performed on the first image and the second image to obtain a third image; the third image is stored in a third preset folder according to a third preset file path; the third image in the third preset folder is imported into the online store operation platform according to the third preset file path, the corresponding commodity information is obtained according to the third image, and the third image and its commodity information are published to a target online store. Compared with the traditional method of manually processing images one by one to put goods on the shelves, the method of the present invention integrates an image batch processing script in the online store operation platform, uses the image batch processing script to call the image processing module to batch process the images stored locally, and can obtain product information based on the processed images, and then publish the images and product information in batches to the target online store, thereby achieving fast, efficient and customizable product listing, and can avoid human operational errors, improve the accuracy of product data, and bring a better user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.

[0038] Figure 1 It is a schematic diagram of multiple items corresponding to the same product link in the background technology.

[0039] Figure 2 It is a flowchart of a method for batch processing of images and listing of goods according to an embodiment of the present invention.

[0040] Figure 3a is a schematic diagram of a first image according to an embodiment of the present invention.

[0041] Figure 3b is a schematic diagram of a second image according to an embodiment of the present invention.

[0042] Figure 3c is a schematic diagram of a third image according to an embodiment of the present invention.

[0043] Figure 4It is a schematic diagram of a first preset file, a second preset file and a third preset file according to an embodiment of the present invention.

[0044] Figure 5 It is a schematic diagram of a human-computer interaction interface of an online store operation platform according to an embodiment of the present invention.

[0045] Figure 6 It is a schematic diagram of a script execution interactive interface according to an embodiment of the present invention.

[0046] Figure 7 It is a schematic diagram of a human-computer interaction interface of an online store operation platform according to an embodiment of the present invention.

[0047] Figure 8 It is a schematic diagram of a human-computer interaction interface of an online store operation platform according to an embodiment of the present invention.

[0048] Fig. 9 It is a schematic diagram of a human-computer interaction interface of an online store operation platform according to an embodiment of the present invention.

[0049] Fig.10 It is a structural schematic diagram of an image batch processing and commodity shelving device according to an embodiment of the present invention.

[0050] Fig.11 It is a structural schematic diagram of an image batch processing and commodity shelving device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0051] The features and exemplary embodiments of various aspects of the present invention will be described in detail below. In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and Examples. It should be understood that the specific embodiments described herein are only configured to explain the present invention and are not configured to limit the present invention. For those skilled in the art, the present invention can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present invention by illustrating examples of the present invention.

[0052] 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 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 device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0053] Embodiment 1

[0054] The embodiment of the present invention provides a method for batch processing of images and putting goods on shelves, which is applicable to an online store operation platform, which is a back-end management platform for uploading and managing goods, such as Taobao Assistant, etc. In the embodiment of the present invention, the method of the present invention is described in detail by taking an online store operation platform "Dian Shangxing" developed by Shenzhen Hansen Software Co., Ltd. as an example for batch processing of images and putting goods on shelves.

[0055] See also Figure 2 , the method specifically comprises:

[0056] S1: storing the first image in a first preset folder according to a first preset file path;

[0057] S2: storing the second image in a second preset folder according to a second preset file path;

[0058] S3: Integrate image batch processing scripts on the online store operation platform;

[0059] S4: executing the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and extract the second image from the second preset folder according to the second preset file path, and perform image processing on the first image and the second image to obtain a third image;

[0060] S5: storing the third image in a third preset folder according to a third preset file path;

[0061] S6: importing the third image in the third preset folder according to the third preset file path in the online store operation platform, obtaining the corresponding product information according to the third image, and publishing the third image and its product information to the target online store;

[0062] Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

[0063] Specifically, before putting a product on the shelves using the online store operation platform, it is necessary to prepare the images corresponding to all the specifications of the single products under it, and one of the single products needs to correspond to a SKU image. SKU is called Stock Keeping Unit in English. It is a coding classification method after the product is put into storage, and it is also the smallest unit of inventory control. Each product corresponds to a unique SKU number. The SKU number contains the brand, model, configuration, price, color and other attributes of a product. The attributes of a product are different from those of other products. Such a product is a single product. For example, the mobile phones of the RealmeX30 series and the RealmeX50 series have different SKUs; and the dark green and rust red mobile phones of the same RealmeX50 series have different SKUs, and the same dark green mobile phone, one with 8+128G memory and the other with 8+256G memory, belong to different SKUs. In the following, products with unique SKU numbers are recorded as single products, and the image corresponding to the SKU number is the SKU image. The SKU image records the corresponding product attributes or product information such as brand, model, configuration, price, and color of the single product.

[0064] For the same commodity with multiple items, it is necessary to produce a corresponding SKU image for each item. In the embodiment of the present invention, a SKU image template is first preset, and the SKU images corresponding to different items may only be partially modified relative to the SKU image module. For example, different models of mobile phone items only have different cameras. In this case, the SKU image template can be used as the basic image, and the image of the camera position in the SKU image template can be replaced with the camera image (partial image) of different items to obtain the SKU image of the corresponding item.

[0065] In an embodiment of the present invention, an image batch processing script is integrated into the online store operation platform, and then the image batch processing script is executed to call the image processing module (software) to batch produce the SKU images corresponding to each single product. In order to ensure that the image batch processing script can be executed normally, preferably, before performing the image batch processing, the images that need to be processed and the storage location and read-write path of the images obtained after the image processing are first created. In one embodiment, at least a first preset folder, a second preset folder and a third preset folder are created locally (i.e., on the host where the online store operation platform is located), wherein the read-write path corresponding to the first preset folder is the first preset file path, the read-write path corresponding to the second preset folder is the second preset file path, and the read-write path corresponding to the third preset folder is the third preset file path, and the first preset file path, the second preset file path and the third preset file path are different local file paths. The first image is stored in the first preset folder, the second image is stored in the second preset folder, and the third image obtained after image processing according to the first image and the second image is stored in the third preset folder. The first image at least includes the SKU image template, and the second image is the partial image corresponding to each single product. For example, if the product on the shelf is a mobile phone case, such as Figure 3a As shown, the SKU image template in the first image is an image of a mobile phone case corresponding to a certain model of mobile phone, such as Figure 3b As shown, the second image is the lens image of each different model of mobile phone (single product) (recorded as a partial image of the single product), such as Figure 3c As shown, the third image is the SKU image after the lens image in the SKU image template is replaced with the lens images corresponding to different models of mobile phones.

[0066] After the first preset folder, the second preset folder and the third preset folder are created, preferably, the first preset folder, the second preset folder and the third preset folder are named according to the preset naming rule. For different online store operation platforms, the preset naming rules for the first preset folder, the second preset folder and the third preset folder are different, which can be set according to actual conditions. For example, Figure 4 As shown, in the online store operation platform "Dian Shang Xing" of this embodiment, since the format of the first image is PSD format and the second image is a partial image corresponding to the lens, it is necessary to name the first preset folder "psd", the second preset folder "lens path", and the third preset folder "finished product image". Preferably, under the "lens path" folder, a second preset subfolder named "lens" is set, and the lens images corresponding to various models of mobile phone products are placed in the second preset subfolder according to the links on the shelves.

[0067] In an embodiment of the present invention, the image processing module (software) called in the online store operation platform is Photoshop software (hereinafter referred to as PS software), so the image formats stored in the first preset folder are all in PSD format. In other embodiments, if the called image processing module is other image processing software, such as Ligtroom, ImBatch, etc., the corresponding image format in the first preset folder is an image format that can be recognized by other image processing software. The format of the second image stored in the second preset folder can be any one of PNG, JPG, TIF, PSD, etc.

[0068] After the first preset folder, the second preset folder and the third preset folder are created and the images to be processed are stored in the first preset folder and the second preset folder, the image batch processing script is integrated on the online store operation platform. Preferably, the image batch processing script integrated on the online store operation platform includes:

[0069] Obtain the image batch processing script;

[0070] Setting a button for executing the image batch processing script on the human-computer interaction interface of the online store operation platform;

[0071] In response to the button being triggered, an image batch processing human-computer interaction interface is displayed in the online store operation platform, wherein the image batch processing human-computer interaction interface includes at least an input box for the first preset file path, an input box for the second preset file path, and an input box for the third preset file path.

[0072] The image batch processing script here can be written by the user according to actual needs, or use an existing image batch processing script template, such as using a batch processing template in PS software, and set the required image processing parameters according to needs to generate an image batch processing script. After writing the image batch processing script, set a button for human-computer interaction in the online store operation platform for executing the image batch processing script. For example, Figure 5 As shown, a human-machine interaction button "Smart PS Run Picture" 51 is set in the online store operation platform "Dian Shang Xing". When the user clicks the button, the online store operation platform pops up the following Figure 6 The script execution interactive interface 52 shown in the figure is named "intelligent lens replacement". The calling path of the image processing module is set in the script execution interactive interface (corresponding to Figure 6 The "ps path" in ), the reading path of the first image (corresponding to Figure 6 The "psd path" in the first preset file path), the reading path of the second image (corresponding to Figure 6The "lens path" in , that is, the second preset file path) and the writing path of the third image (corresponding to Figure 6 ), click the "Execute" button, the online store operation platform will start the image processing module according to the calling path of the image processing module, and then the image processing module will read the first image according to the first preset file path, and read the second image according to the second preset file path, and perform image processing on the first image and the second image. In an embodiment of the present invention, the first image is a SKU template image, and the second image is a partial image of a single product of various different models. When performing batch image processing, the image processing module first reads the SKU template image, and then reads the partial image of each single product in sequence according to the arrangement order of the partial image of the single product in the second preset folder, and then replaces the partial image of each single product with the corresponding partial image in the SKU template image, and obtains the SKU image corresponding to each single product, that is, the third image, and writes the SKU image corresponding to each single product into the third preset folder in sequence according to the third preset file path.

[0073] In the embodiment of the present invention, the image processing module called by the online store operation platform is an external independent image processing module (software) such as PS software, Ligtroom software, ImBatch software, etc. In other embodiments, a module or software with a batch image processing function can also be integrated into the online store operation platform, and the image processing function integrated in the online store operation platform can be directly called to perform batch image processing when performing batch image processing.

[0074] In other embodiments, the first image includes any one, two or more of a white background image template, a detail image template and a main image module in addition to the SKU image template. The white background image, detail image and main image image are all images used in the product display page of the e-commerce platform. For example, the detail image is an image set in the "product detail page" of the product display page, and the white background image and the main image image are images set on the product homepage. Correspondingly, white background images, detail images and main image images corresponding to each single product can be produced. Since the white background images, detail images and main image images corresponding to the single products of various models of the same product are only different in the images of the local areas, the image batch processing script can be used to call the image processing module in a similar way to batch processing the SKU images of the single products, and then the local image of each single product is replaced with the corresponding local image in the white background image template, the main image module and the detail image template to obtain the white background image, detail image and main image image corresponding to each single product.

[0075] After obtaining the SKU images corresponding to various items under the same product, use the online store operation platform to upload the SKU images and product information corresponding to the various items. In an embodiment of the present invention, the online store operation platform will batch read the SKU images corresponding to each item from the third preset folder according to the third preset file path, and obtain the product information recorded in the SKU image, such as brand, style, material, inventory, price and other information. After the user determines the product information corresponding to each item, select the target store for listing in the online store operation platform, and publish the SKU images and product information corresponding to each item of the product to the template store. The following online store operation platform "Dian Shangxing" is used as an example to illustrate how to batch upload the third image from the third preset folder to put the product on the shelf.

[0076] like Figure 7 As shown, the "Dian Shang Xing" human-computer interaction interface is provided with a "Select Release Folder" button. Clicking this button triggers the "Dian Shang Xing" human-computer interaction interface to display a window for selecting a third preset folder (such as a finished product image folder). After selecting the third preset folder, "Dian Shang Xing" automatically imports all third images under the third preset folder, and displays the product information corresponding to the third image in the right window of the "Dian Shang Xing" human-computer interaction interface. Figure 8 As shown, in the upper left corner of the "Shop Star" human-computer interaction interface, a store selection button "Switch Store" 81 is set. Click this button to trigger the store selection window and select the target store. After confirming the product information in the right window, click the "Start Publishing" button 92. Further, as shown in FIG. Fig. 9 As shown, the "Store Star" human-computer interaction interface displays the SKU image of each single product and its corresponding product information, so that users can easily modify the SKU image name and complete the product code and other information. After completing the relevant information confirmation, click the "Start Publishing" button to complete the product listing.

[0077] In addition to the e-commerce field, the method of the embodiment of the present invention can also be applied to the fields of advertising production, website construction, digital publishing, image classification and sorting. Exemplarily, a large amount of image materials are usually required in advertising production, and high quality and uniform size are required. According to the method of the present invention, the technology of using the network store operation platform to call the image processing module through the integrated image batch processing script to perform batch processing of images can help advertising production personnel quickly process and adjust images. In the page design of the website, a large number of pictures are often needed to decorate the page. The technology of using the network store operation platform to call the image processing module through the integrated image batch processing script to perform batch processing of images can quickly process and adjust these pictures and improve the efficiency of website construction. Similarly, a large amount of image materials are required in digital publishing. The technology of using the network store operation platform to call the image processing module through the integrated image batch processing script to perform batch processing of images can realize the rapid production of image materials suitable for digital publishing.

[0078] Compared with the traditional method of manually processing images one by one to put goods on the shelves, the image batch processing and product listing method provided in the above embodiment of the present invention integrates an image batch processing script in the online store operation platform, uses the image batch processing script to call the image processing module to batch process the images stored locally, and can obtain product information based on the processed images, and then publish the images and product information in batches to the target online store to realize the rapid listing of products.

[0079] In summary, the method provided by the embodiment of the present invention has the following advantages:

[0080] Efficient: Through automated batch processing, a large number of images can be processed quickly, repetitive work can be reduced, and work efficiency can be improved.

[0081] Customizability: Users can write processing scripts according to their own needs to achieve more advanced batch processing functions, and can customize them according to their own needs.

[0082] Reduce costs: Through automated batch processing, labor costs can be reduced, thereby reducing the company's operating costs.

[0083] Improve quality: Batch processing can avoid human operational errors and improve data accuracy and operational quality.

[0084] Embodiment 2

[0085] See also Fig.10 The embodiment of the present invention provides an image batch processing and commodity shelf device 200, the device 200 comprises:

[0086] The first storage module 201 is used to store the first image in a first preset folder according to a first preset file path;

[0087] The second storage module 202 is used to store the second image in a second preset folder according to a second preset file path;

[0088] The script integration module 203 is used to integrate the image batch processing script on the online store operation platform;

[0089] a script execution module 204, configured to execute the image batch processing script to call an image processing module to extract the first image from the first preset folder according to the first preset file path and to extract the second image from the second preset folder according to the second preset file path, and to perform image processing on the first image and the second image to obtain a third image;

[0090] A third storage module 205, configured to store the third image in a third preset folder according to a third preset file path;

[0091] A publishing module 206 is used to import the third image in the third preset folder according to the third preset file path in the online store operation platform, obtain the corresponding commodity information according to the third image, and publish the third image and its commodity information to the target online store;

[0092] Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

[0093] Preferably, the image batch processing and commodity shelf putting device also includes:

[0094] The naming module is used to name the first preset folder, the second preset folder and the third preset folder according to a preset naming rule.

[0095] Preferably, the script integration module 203 includes:

[0096] A script acquisition unit, used to acquire the image batch processing script;

[0097] A script execution setting unit, used to set a key for executing the image batch processing script on the human-computer interaction interface of the online store operation platform;

[0098] A script execution interactive interface setting unit is used to display an image batch processing human-computer interaction interface in the online store operation platform in response to the button being triggered, wherein the image batch processing human-computer interaction interface includes at least an input box for the first preset file path, an input box for the second preset file path, and an input box for the third preset file path.

[0099] The script execution module 204 includes:

[0100] A first reading unit, used for controlling the image processing module to read the SKU image template according to the first preset file path;

[0101] A second reading unit, used to control the image processing module to sequentially read the lens image of each single product from a second preset subfolder under a second preset folder according to the second preset file path;

[0102] The image processing unit is used to replace the lens image of each single product with the lens image in the SKU template image to obtain the SKU image corresponding to each single product, that is, the third image.

[0103] In summary, the image batch processing and commodity shelving device provided by the embodiment of the present invention stores the first image in a first preset folder according to the first preset file path; stores the second image in a second preset folder according to the second preset file path; integrates an image batch processing script on an online store operation platform; executes the image batch processing script to call an image processing module to extract the first image from the first preset folder according to the first preset file path and the second image from the second preset folder according to the second preset file path, and performs image processing on the first image and the second image to obtain a third image; stores the third image in a third preset folder according to the third preset file path; imports the third image in the third preset folder according to the third preset file path in the online store operation platform, obtains the corresponding commodity information according to the third image, and publishes the third image and its commodity information to the target online store. Compared with the traditional method of manually processing images one by one to put goods on the shelves, the method of the present invention integrates an image batch processing script in the online store operation platform, uses the image batch processing script to call the image processing module to batch process the images stored locally, and can obtain product information based on the processed images, and then publish the images and product information in batches to the target online store, thereby achieving fast, efficient and customizable product listing, and can avoid human operational errors, improve the accuracy of product data, and bring a better user experience.

[0104] Embodiment 3

[0105] In addition, the image batch processing and commodity listing method of the embodiment of the present invention can be implemented by an image batch processing and commodity listing device. Fig.11 The figure shows a hardware structure diagram of the image batch processing and commodity shelving device provided by the embodiment of the present invention.

[0106] The image batch processing and commodity listing device may include a processor 301 and a memory 302 storing computer program instructions.

[0107] Specifically, the processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present invention.

[0108] Memory 302 may include a large capacity memory for data or instructions. For example, but not limitation, memory 302 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 302 may include a removable or non-removable (or fixed) medium. In appropriate cases, memory 302 may be inside or outside a data processing device. In a specific embodiment, memory 302 is a non-volatile solid-state memory. In a specific embodiment, memory 302 includes a read-only memory (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.

[0109] The processor 301 reads and executes the computer program instructions stored in the memory 302 to implement any one of the image batch processing and product listing methods in the above embodiments.

[0110] In one example, the image batch processing and product listing device may further include a communication interface 303 and a bus 310. Fig.11 As shown, the processor 301, the memory 302, and the communication interface 303 are connected via a bus 310 and communicate with each other.

[0111] The communication interface 303 is mainly used to implement the communication between the modules, devices, units and / or equipment in the embodiment of the present invention.

[0112] Bus 310 includes hardware, software or both, and couples the components of image batch processing and commodity on-shelf equipment to each other. For example, but not limitation, bus 310 may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front-side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 310 may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.

[0113] Embodiment 4

[0114] In addition, in combination with the image batch processing and product listing method in the above embodiments, the embodiment of the present invention can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by the processor 301, any one of the image batch processing and product listing methods in the above embodiments is implemented.

[0115] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.

[0116] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0117] It should also be noted that the exemplary embodiments mentioned in the present invention describe some methods or systems based on a series of steps or devices. However, the present invention is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiments, or in a different order from the embodiments, or several steps can be performed simultaneously.

[0118] The above is only a specific implementation of the present invention. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working process of the system, module and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. It should be understood that the protection scope of the present invention is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be covered within the protection scope of the present invention.

Claims

1. A method for batch processing of images and listing of goods, It is characterized in that The method comprises: storing the first image in a first preset folder according to a first preset file path; storing the second image in a second preset folder according to a second preset file path; Integrate image batch processing scripts on the online store operation platform; Executing the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and to extract the second image from the second preset folder according to the second preset file path, and performing image processing on the first image and the second image to obtain a third image; storing the third image in a third preset folder according to a third preset file path; Importing the third image in the third preset folder according to the third preset file path in the online store operation platform, acquiring the corresponding commodity information according to the third image, and publishing the third image and its commodity information to the target online store; Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

2. The method for batch processing of images and putting goods on shelves according to claim 1, It is characterized in that The first image also includes: a white background image template, a detail image template and a main image template; the third image also includes a white background image, a detail image and a main image corresponding to each of the single products.

3. The method for batch processing of images and putting goods on shelves according to claim 1, It is characterized in that Before storing the first image in the first preset folder according to the first preset file path, the method further includes: naming the first preset folder, the second preset folder and the third preset folder according to a preset naming rule.

4. The method for batch processing of images and putting goods on shelves according to claim 1, It is characterized in that A second preset subfolder is set under the second preset folder, the second preset subfolder is named according to the partial image of the single product, and the second image is stored in the second preset subfolder.

5. The method for batch processing of images and putting goods on shelves according to claim 1, It is characterized in that The image batch processing script integrated on the online store operation platform includes: Obtain the image batch processing script; Setting a button for executing the image batch processing script on the human-computer interaction interface of the online store operation platform; In response to the button being triggered, an image batch processing human-computer interaction interface is displayed in the online store operation platform, wherein the image batch processing human-computer interaction interface includes at least an input box for the first preset file path, an input box for the second preset file path, and an input box for the third preset file path.

6. The method for batch processing of images and putting goods on shelves according to claim 4, It is characterized in that The first image is a SKU image template, and the second image is a lens image of multiple items; the executing the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and extract the second image from the second preset folder according to the second preset file path, and performing image processing on the first image and the second image to obtain a third image includes: Controlling the image processing module to read the SKU image template according to the first preset file path; Control the image processing module to sequentially read the lens image of each single product from the second preset subfolder under the second preset folder according to the second preset file path; The lens image of each single product is replaced with the lens image in the SKU image template to obtain the SKU image corresponding to each single product, that is, the third image.

7. The method for batch processing of images and putting goods on shelves according to any one of claims 1 to 6, It is characterized in that The image processing module is an independent image processing module outside the network operation platform, or the image processing module is an image processing module integrated inside the network operation platform.

8. An image batch processing and product shelf device, It is characterized in that The device comprises: A first storage module, used for storing the first image in a first preset folder according to a first preset file path; A second storage module, used for storing the second image in a second preset folder according to a second preset file path; Script integration module, used to integrate image batch processing scripts on the online store operation platform; a script execution module, configured to execute the image batch processing script to call the image processing module to extract the first image from the first preset folder according to the first preset file path and to extract the second image from the second preset folder according to the second preset file path, and to perform image processing on the first image and the second image to obtain a third image; A third storage module, used for storing the third image in a third preset folder according to a third preset file path; A publishing module, configured to import the third image in the third preset folder according to the third preset file path in the online store operation platform, obtain the corresponding commodity information according to the third image, and publish the third image and its commodity information to a target online store; Among them, the first image at least includes the SKU image template corresponding to the goods to be put on the shelves, the goods to be put on the shelves include items of multiple different specifications, the second image includes a partial image of each of the items, and the third image at least includes the SKU image of each of the items, and the first preset file path, the second preset file path and the third preset file path are different local file paths.

9. An image batch processing and product listing device, It is characterized in that include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 7.

10. A storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

  • Fuzzy merging processing method and system for transaction platform

    CN122155817A

  • A method and system for fuzzy consolidation processing for a trading platform

    CN122155817B