[0032] Next, the technical solutions in the embodiments of the present invention will be described in connection with the drawings of the embodiments of the present invention, and it is understood that the described embodiments are merely the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art are in the range of the present invention without making creative labor premise.
[0033] The intelligent analysis and release method of a product picture disclosed in this example, see figure 1 The flowchart illustrated, this embodiment can be performed in the browser, specifically comprising the steps of:
[0034] S1, create an intelligent analysis selection and receive a folder that is added to the intelligent analysis constituency.
[0035] See figure 2 When implementation, the user selects a folder to add or drag it into the intelligent analysis selection. The user can be a seller user, add the pre-rack merchandise multimedia folder to the intelligent analysis selection.
[0036] S2, traverse the directory tree of the folder, acquire all files under the folder and its path.
[0037] In a specific embodiment, the folder includes multi-level subfolders, automatically traversing to the next level of the folder, acquiring all files in the folder and the multi-level sub-folder.
[0038] S3, check the properties of the file, and classify according to the attribute, get more types and save.
[0039] In a specific embodiment, the attribute includes: a picture size and / or an extension. The picture size can be the size of the long-term width pixel characterization, the extension is the file suffix, including .jpg, .png, etc.
[0040] In this embodiment, the group is first created in the background histone architecture, and the organizational architecture includes a tissue architecture stored inside the servers in advance; followed by the classification step:
[0041] Comparing the image size and extension of the current picture with the preset value, if the preset value is required, the main map class of the group is allocated. For example, all 800px * 800px and extended image files named .jpg will be classified in the main map class of the packet.
[0042] Comparing the image size and extension of the current picture with the preset value of two, if the preset value is required, the transparent map of the group is allocated. For example, all 800px * 800px and extended image files named .png will be classified in the transparent diagram classification of the packet.
[0043] Comparing the image size of the current picture with the preset value, if the preset value is required, the length map class of the group is allocated. For example, all 800px * 1200px image files will be classified in the length map classification of the packet.
[0044] Screening the image width dimensions in all files meet the image required by the preset value, if the filter is in multiple subfolders or folders, the number of pictures that meet the quantities of the preset value is the number or subfile. The screens in the folder meet the picture of the preset value of four requirements.
[0045] In this embodiment, it is also included: screening the image width dimensions in all files conforms to the preset value of four requirements, and if the filter is located in the same folder or subfile, the slice map of the group is allocated.
[0046] For example, all widths are equal to 790PX image files, and if they are stored in a folder, they will be classified in the "790 slice diagram" classification of the packet, and if they are stored in multiple folders, then compare The number of 790px width images under these folders, the image of all 790px widths under the number of folders classified in the "Details Diagram" classification of the packet. All other files are ignored.
[0047] In a specific embodiment, the files in the slice map are added to the details map class.
[0048] See figure 2 S4, the files in each class are sorted by a given rule, and the specified number of pictures in the class is automatically added to the corresponding position of the product issued interface.
[0049] In a specific embodiment, the files in each class are sorted by a given rule, including special characters such as punctuation, followed by the number, followed by the number, then press AZ to arrange English letters, and finally according to Pinyin The first letter AZ arranges Chinese characters.
[0050] In a specific embodiment, select the specified number of pictures from the main picture class, the first sheet automatically adds to the white base chart position of the product release interface, the remaining four sequentially automatically add to the main network. Figure location. For example, from the main map class, the first 5 pictures are selected, and the 1st adds to the white-chart position of the product release, and the remaining four are added to the main chart of the product released in positive sequence.
[0051]It should be noted that the location of the white background is the image location of the item released on a white background.
[0052] From the transparent map class, select the first picture according to the sort priority, and automatically add the transparent diagram position to the product release interface. For example, select the first transparent diagram position to add to the product release from the transparent map class.
[0053] From the long map class, select the first picture according to the sort priority, and automatically add the length map position of the product release interface. For example, selecting the first sheet from the long map class to join the length map position of the product release.
[0054] Select the specified quantity image from the Detail Priority, and automatically add the details diagram where the product release interface is automatically added. For example, select the first 30 pictures from the details map class, add the details diagram where the item released in positive sequence.
[0055] During the specific operation, the published action is performed to the corresponding position of the product issued interface by automatically identifying the category name.
[0056] The intelligent analysis and release method of the product picture provided by the present invention will be described in detail herein, and the specific examples are used herein to illustrate the principles and embodiments of the present invention, and the description of the above embodiment is intended to help understand the present invention. Methods and their core ideas; at the same time, for the general articles of the present invention, there will be changes in the specific embodiments and applications in terms of the embodiments of the present invention, and the contents of this specification should not be understood as limit.
[0057] The above description of the disclosed embodiments will be made to those skilled in the art or those skilled in the art can be implemented or used. A variety of modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Accordingly, the present invention will not be limited to the embodiments shown herein, but rather consider the broadest range consistent with the principles and novel features disclosed herein.