Image arrangement method and device, electronic equipment and storage medium

By receiving image organization tasks in the cloud system, querying and migrating target images to the target folder, the problem of inconvenient image management in the cloud storage system is solved, and the image management efficiency and user experience are improved.

CN120723924APending Publication Date: 2025-09-30BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510734255.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-06-03
Publication Date
2025-09-30

AI Technical Summary

Technical Problem

The cloud storage system is unable to effectively organize and manage large numbers of images, which requires users to manually screen each image one by one when looking for specific images, reducing the practicality of storage.

Method used

An image organization method is provided. The method receives an image organization task, queries a target image from a target device, determines a target folder, displays part of its hierarchy in a dialogue interface, and finally migrates the target image to the target folder.

Benefits of technology

It realizes automated image sorting tasks, improves the efficiency of image management and the practicality of storage, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120723924A_ABST
    Figure CN120723924A_ABST
Patent Text Reader

Abstract

The invention provides an image arrangement method and device, electronic equipment and a storage medium, and relates to the technical field of artificial intelligence, in particular to the technical fields of image storage, image search, image migration and the like. According to the specific implementation scheme, an image arrangement task is received; querying a target image from target equipment according to the image arrangement task; determining a target folder, and displaying at least part of levels of the target folder on the dialogue interface; and migrating the target image into the target folder.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to technical fields such as image storage, image search, and image migration, and more particularly to an image organization method, device, electronic device, and storage medium. Background Art

[0002] When users upload a large number of different images to the cloud, the cloud is unable to organize the images in an orderly manner, resulting in the images being stored in the same folder. Users subsequently need to manually filter through the large number of images to find a specific image, greatly reducing the practicality of cloud storage. Summary of the Invention

[0003] The present disclosure provides a method, apparatus, electronic device, and storage medium for image organization.

[0004] According to one aspect of the present disclosure, an image organization method is provided, comprising: receiving an image organization task; querying a target image from a target device according to the image organization task; determining a target folder and displaying at least part of the hierarchy of the target folder in a dialogue interface; and migrating the target image to the target folder.

[0005] According to another aspect of the present disclosure, an image organization device is provided, including: a receiving module for receiving an image organization task; a query module for querying a target image from a target device according to the image organization task; a determination module for determining a target folder and displaying at least part of the hierarchy of the target folder in a dialogue interface; and a migration module for migrating the target image to the target folder.

[0006] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the image organization method described in the embodiment of the above aspect.

[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, on which a computer program / instruction is stored. The computer instructions are used to enable the computer to execute the image arrangement method described in the embodiment of the first aspect.

[0008] According to another aspect of the present disclosure, a computer program product is provided, including a computer program / instruction, which implements the image arrangement method described in the embodiment of the first aspect when executed by a processor.

[0009] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present disclosure, nor are they intended to limit the scope of the present disclosure. Other features of the present disclosure will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings are provided to facilitate a better understanding of the present invention and do not constitute a limitation of the present disclosure.

[0011] Figure 1 A schematic diagram of a flow chart of an image arrangement method provided in an embodiment of the present disclosure;

[0012] Figure 2 A schematic flow chart of another image arrangement method provided by an embodiment of the present disclosure;

[0013] Figure 3 A schematic flow chart of another image arrangement method provided by an embodiment of the present disclosure;

[0014] Figure 4 A schematic flow chart of another image arrangement method provided by an embodiment of the present disclosure;

[0015] Figure 5 A schematic flow chart of another image arrangement method provided by an embodiment of the present disclosure;

[0016] Figure 6 A schematic diagram of the image organization process provided by an embodiment of the present disclosure;

[0017] Figure 7a A schematic diagram of a candidate sorting strategy 1 provided in an embodiment of the present disclosure;

[0018] Figure 7b A schematic diagram of a candidate sorting strategy 2 provided in an embodiment of the present disclosure;

[0019] Figure 7c A schematic diagram of a candidate sorting strategy 3 provided in an embodiment of the present disclosure;

[0020] Figure 7d A schematic diagram of a candidate sorting strategy 4 provided in an embodiment of the present disclosure;

[0021] Figure 8a A schematic diagram of a policy configuration interface provided in an embodiment of the present disclosure;

[0022] Figure 8b A schematic diagram of a target sorting strategy provided by an embodiment of the present disclosure;

[0023] Figure 9 A schematic structural diagram of an image collating device provided by an embodiment of the present disclosure;

[0024] Figure 10The figure is a block diagram of an electronic device for implementing the image arrangement method according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0025] The following description of exemplary embodiments of the present disclosure is made in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding. These details should be considered as merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0026] The image organization method, apparatus, electronic device, and storage medium according to embodiments of the present disclosure are described below with reference to the accompanying drawings.

[0027] Artificial Intelligence (AI) is the study of how computers can simulate certain human thought processes and intelligent behaviors (such as learning, reasoning, thinking, and planning). This discipline encompasses both hardware and software technologies. AI hardware technologies generally include computer vision, speech recognition, natural language processing, as well as deep learning / learning, big data processing, and knowledge graphs.

[0028] Figure 1 A flowchart of an image organization method provided in an embodiment of the present disclosure is provided.

[0029] like Figure 1 As shown, the image arrangement method may include:

[0030] S101, receiving an image sorting task.

[0031] It should be noted that the execution subject of the image organization method in the embodiment of the present disclosure may be a hardware device with data processing capabilities and / or the necessary software required to drive the operation of the hardware device. Optionally, the execution subject may include a server, a user terminal and other smart devices. Optionally, the user terminal includes but is not limited to a mobile phone, a computer, an intelligent voice interaction device, etc. Optionally, the server includes but is not limited to a network server, an application server, and may also be a server of a distributed system, or a server combined with a blockchain, etc. The embodiment of the present disclosure does not make any specific limitations.

[0032] In some embodiments, the client's input information is obtained and used as the image sorting task. Alternatively, it may be determined whether the input information contains keywords related to sorting, and the input information containing the keywords is used as the image sorting task.

[0033] For example, keywords related to organization may be organization, summarization, etc. If the input "help me organize the photos of XX location" contains the keyword organization, the input information can be used as an image organization task.

[0034] In some embodiments, client input information can be obtained by interacting with the client. Optionally, information can be entered in a dialogue interface and used as an image organization task. Optionally, a prompt word can be used to enter an image organization task in a designated area. For example, a search box can be provided in the dialogue interface, and a prompt word can be displayed in the search box to indicate that an image organization task is to be entered in the search box.

[0035] S102: Query a target image from a target device according to the image organization task.

[0036] In some embodiments, the target device may be a device with storage functionality, such as a network disk, a cloud disk, a memory, and the like.

[0037] In some embodiments, the target device may be searched for target images based on query terms included in the image organization task. Alternatively, the target device may be searched for target images using image query terms such as time, location, and person, parsed from the image organization task.

[0038] In some embodiments, the image query term can be used to match candidate images in the target device, and the successfully matched candidate image can be used as the target image. Alternatively, image information of the candidate image can be obtained and matched with the image query term to determine image information that matches the image query term, and the candidate image corresponding to the image information can be used as the target image. The image information includes, but is not limited to, information such as time, location, and person.

[0039] Optionally, the image information may be the label information of the image. The label information sent by the user may be obtained as the label information of the image. The large model may also extract features of the image and determine the label information of the image based on the features.

[0040] For example, the image organization task is to organize pictures of location A. By analyzing the image organization task, it can be determined that location A is the image query term, and then the image information of the candidate image in the target device is obtained, and the location corresponding to the candidate image is determined from the image information, so as to match location A with the location corresponding to the candidate image, and thus determine the candidate image that successfully matches location A as the target image.

[0041] S103: Determine a target folder, and display at least a portion of the hierarchy of the target folder on the dialogue interface.

[0042] In some embodiments, it is possible to determine whether the image organization task contains folder information. If it contains folder information, the target folder can be determined based on the folder information in the image organization task. If it does not contain folder information, the target folder can be generated based on the image information corresponding to the target image. It is also possible to receive user configuration information and generate a target folder based on the configuration information.

[0043] In some embodiments, displaying at least a portion of the target folder's hierarchy on the dialog interface refers to displaying at least a portion of the target folder's subfolders on the dialog interface, that is, one subfolder corresponding to one hierarchy of the target folder. For example, if the target folder contains four hierarchies, then the target folder has four subfolders.

[0044] In some embodiments, semantic analysis can be performed on the image organization task to determine whether the image organization task contains folder information. For example, if the image organization task is to organize images in folder A by time, and folder A is determined to be folder information, folder A can be used as the target folder, and the target folder hierarchy can be determined to be the time hierarchy.

[0045] In some embodiments, generating a target folder based on the image information corresponding to the target image may include: determining all hierarchies contained in the target folder based on the image information corresponding to the target image, generating corresponding subfolders based on all hierarchies, and then generating the target folder based on the subfolders. For example, if the image information of the target image includes time and location, a target folder may be generated containing two subfolders corresponding to the time level and the location level.

[0046] In some embodiments, the target folder is generated based on the received configuration information, wherein the configuration information may include an organization strategy for the target image. Alternatively, the organization strategy may be generated based on image information of the target image.

[0047] For example, the image information includes: time A, person A and person B. The sorting strategy can be to sort the target images corresponding to person A and person B into subfolder 1 corresponding to time A in folder 1. Then folder 1 is the target folder, and the target folder contains 1 level, namely subfolder 1. The sorting strategy can also be to sort the target images corresponding to person A and person B into subfolder 1 corresponding to person A and subfolder 2 corresponding to person B in folder 2. Then folder 2 is the target folder, and the target folder contains 2 levels, namely subfolder 1 and subfolder 2.

[0048] S104: Migrate the target image to the target folder.

[0049] In some embodiments, if the target folder contains at least one level, that is, the target folder contains at least one subfolder, the target image can be migrated to the subfolder. Alternatively, the target image can be matched with the folder information corresponding to the subfolder to determine the target image that matches the subfolder, and the target image that matches the subfolder can be migrated to the subfolder.

[0050] Optionally, the name of the subfolder can be used as the folder information corresponding to the subfolder. For example, if the name of subfolder 1 is location 1 and the name of subfolder 2 is location 2, the location information is obtained from the image information of the target image, and the location information of the target image is matched with location 1 and location 2 to determine the target image 1 whose location is location 1 and the target image 2 whose location is location 2 from the target image, and then migrate the target image 1 to subfolder 1 and migrate the target image 2 to subfolder 2.

[0051] According to the image organization method provided by the embodiments of the present disclosure, an image organization task is received and, based on the task, a target image is retrieved from a target device. By determining a target folder, the target image can be migrated to the target folder. Thus, this solution can automatically execute image organization tasks, saving time and costs. By migrating the target image to the target folder, structured storage of the target image can be achieved, improving target image management efficiency, thereby increasing the practicality of image storage on the target device and enhancing the user experience.

[0052] Figure 2 A flowchart of an image organization method provided in an embodiment of the present disclosure is provided.

[0053] like Figure 2 As shown, the image arrangement method may include:

[0054] S201, receiving an image sorting task.

[0055] S202: Query a target image from a target device according to the image organization task.

[0056] The relevant contents of steps S201-S202 can be found in the above embodiment and will not be repeated here.

[0057] S203: Generate candidate sorting strategies based on the analysis results of the target image.

[0058] In some embodiments, by performing semantic analysis on the image organization task, it can be determined whether the image organization task carries folder information. If it does not carry folder information, the target organization strategy of the target image can be determined to generate a target folder according to the target organization strategy.

[0059] In some embodiments, the target image's image information can be analyzed to obtain multi-dimensional information corresponding to the image information as an analysis result. In other words, the target image's multi-dimensional information can be obtained based on the analysis result. This multi-dimensional information includes, but is not limited to, time, location, person, and type. Furthermore, this multi-dimensional information is combined to generate candidate sorting strategies.

[0060] Optionally, the association relationship between multi-dimensional information can be obtained, and the multi-dimensional information can be combined according to the association relationship to obtain a candidate sorting strategy. For example, the image sorting task is to sort images of location A, and the multi-dimensional information of the target image of location A is determined to include person 1, person 2, person 3, time 1, and time 2. Among them, the association relationship between the multi-dimensional information is: person 1, person 2, person 3 are at time 1 and time 2. Then the candidate sorting strategy can be: sort the target images of person 1, person 2, person 3 according to different times, or: sort the target images of time 1 and time 2 according to different people.

[0061] In the embodiment of the present disclosure, by combining multi-dimensional information to obtain candidate sorting strategies, it is possible to combine multi-dimensional information when generating candidate sorting strategies, avoid omission of information, and thus improve the comprehensiveness of the candidate sorting strategies.

[0062] S204: Display candidate sorting strategies on the dialogue interface.

[0063] S205 , in response to the monitored policy selection operation, determining a target folder according to the policy selection operation.

[0064] In some embodiments, candidate sorting strategies are generated and displayed on a dialogue interface to intuitively present the candidate sorting strategies.

[0065] In some embodiments, the strategy selection operation can be to select any candidate arranging strategy from the candidate arranging strategies as the target arranging strategy. Optionally, a selection control can be set around the candidate arranging strategies on the dialogue interface, and in response to monitoring that the selection control is triggered, it can be determined that the strategy selection operation is triggered.

[0066] For example, a selection control for selecting a candidate sorting strategy for sorting is set below the candidate sorting strategy. When the selection control is detected to be triggered, it can be determined that the strategy selection operation is triggered, and the candidate sorting strategy corresponding to the selection control is used as the target sorting strategy.

[0067] In other words, the target sorting strategy for the target image can be determined from the candidate sorting strategies according to the strategy selection operation. For example, there are candidate sorting strategies 1, candidate sorting strategy 2, and candidate sorting strategy 3. If the strategy selection operation indicates to select candidate sorting strategy 2, then candidate sorting strategy 2 is determined as the target sorting strategy for the target image.

[0068] Furthermore, directory information of a target folder can be determined based on the target organization policy, and a target folder can be generated based on the directory information. The directory information of the target folder refers to the subfolders contained in the target folder. That is, at least one subfolder can be determined as directory information based on the target organization policy, and then a target folder containing at least one subfolder can be generated based on the directory information.

[0069] For example, according to the target organization strategy, it is determined that the target folder contains 3 subfolders, and the subfolder name corresponding to each subfolder is determined. Then the directory information is the number of subfolders and the subfolder name, so that the target folder can be generated.

[0070] In the embodiment of the present disclosure, a target organization strategy is determined according to a strategy selection operation, and a target folder is generated according to the target organization strategy, which can improve the efficiency of image management, enable the target folder to adapt to user needs, and enhance the interactivity of image management.

[0071] In some embodiments, the policy selection operation may also be for customizing the organization policy. In response to the policy selection operation indicating that a policy customization option is triggered, a policy configuration interface is displayed on the dialogue interface, and the policy customization option is the first interactive control displayed on the dialogue interface. In other words, in response to detecting that the first interactive control is triggered, it is determined that the policy is to be customized, and thus the policy configuration interface is displayed on the dialogue interface.

[0072] Furthermore, by monitoring the policy configuration operation of the policy configuration interface, and when the policy configuration operation is detected, the target organization policy is determined based on the policy configuration operation of the policy configuration interface, wherein the policy configuration operation indicates the directory information of the target folder.

[0073] In the embodiment of the present disclosure, by customizing the target organization strategy through the strategy customization option, it is possible to achieve personalized customization according to the user's specific needs and preferences, generate a target organization strategy that conforms to the user's habits, and thus improve the user experience.

[0074] In some embodiments, in order to intuitively display the customized sorting policy, preview information of the target sorting policy can also be generated based on the policy configuration operation of the policy configuration interface, so as to display the target sorting policy in the preview area of ​​the policy configuration interface according to the preview information.

[0075] S206: Display at least a portion of the hierarchy of the target folder on the dialogue interface.

[0076] S207: Migrate the target image to the target folder.

[0077] The relevant contents of steps S206-S207 can be found in the above embodiment and will not be repeated here.

[0078] According to the image organization method provided by the embodiments of the present disclosure, a target folder can be generated by generating candidate organization strategies for a target image and determining the target organization strategy based on the strategy selection operation. Thus, while automatically generating multiple candidate organization strategies, user interaction is added, which can improve the interactivity and personalization of image organization.

[0079] Figure 3 A flowchart of an image organization method provided in an embodiment of the present disclosure is provided.

[0080] like Figure 3 As shown, the image arrangement method may include:

[0081] S301, receiving an image sorting task.

[0082] The relevant contents of step S301 can be found in the above embodiment and will not be repeated here.

[0083] S302: Query target images from a target device according to the image organization task.

[0084] In some embodiments, the target image can be accurately found by searching the target device based on the image query words corresponding to the image sorting task, thereby improving the accuracy of the query.

[0085] That is, by performing semantic analysis on the image organization task, an image query term is obtained, and based on the image query term, an image library is queried to obtain the target image. Optionally, the image query term can be matched with image information corresponding to candidate images in the target device, and the candidate image that successfully matches can be determined as the target image.

[0086] In some embodiments, if there are multiple image query terms, a candidate image matching at least one image query term may be used as a target image.

[0087] S303: Determine folder information according to the image organization task.

[0088] S304: Determine the target folder based on the folder information.

[0089] In some embodiments, by performing semantic analysis on the image organization task, it can be determined whether the image organization task carries folder information. If the image organization task carries folder information, the folder indicated by the folder information can be used as the target folder.

[0090] In some embodiments, the image organization task may further carry a target organization strategy. By obtaining the target organization strategy from the image organization task, at least one subfolder of the target folder is generated according to the target organization strategy and the target image.

[0091] For example, if the image organization task is to organize images in folder A by location, the target folder is folder A, and the target organization strategy is to organize the target images by location. By analyzing the image information of the target image, the location corresponding to the target image is obtained from the image information. If there are five different locations, five subfolders are generated in the target folder.

[0092] In some embodiments, when performing an image sorting task, the tool to be called to perform the image sorting task and the tool chain sequence of the tool can be determined, so that the image sorting task can be performed according to the tool chain sequence to realize the automatic execution of the image sorting task and improve the efficiency of image sorting.

[0093] In some embodiments, an image sorting process can be generated based on the image sorting task and displayed on the dialogue interface. The image sorting process indicates the steps of image sorting, for example, the dialogue interface displays Step 1: Find target image; Step 2: Sorting target image.

[0094] Furthermore, the toolchain sequence corresponding to the image organization task can be determined based on the image organization process. Alternatively, the tool to be called for each image organization step can be determined based on the image organization process, and the toolchain sequence corresponding to the tool can be determined based on the image organization process, so that the image organization task can be executed based on the toolchain sequence.

[0095] In some embodiments, in order to enhance the interactivity with the user, information about the interaction with the user can be added during the execution of the image sorting task to improve the user's experience. Optionally, the interaction information can be displayed on the dialogue interface.

[0096] Optionally, during the execution of the image organization task, the current execution stage can be determined, and text information of the current execution stage can be generated as interactive information, so as to display the text information on the dialogue interface to improve the interactivity of the image organization.

[0097] S305: Display at least a portion of the hierarchy of the target folder on the dialogue interface.

[0098] S306: Migrate the target image to the target folder.

[0099] The relevant contents of steps S305-S306 can be found in the above embodiment and will not be repeated here.

[0100] According to the image organization method provided by the embodiment of the present disclosure, by determining folder information from the image organization task and determining the target folder based on the folder information, it is possible to accurately organize the images in the target folder, thereby improving the efficiency of image organization.

[0101] Figure 4 A flowchart of an image organization method provided in an embodiment of the present disclosure is provided.

[0102] like Figure 4 As shown, the image arrangement method may include:

[0103] S401, receiving an image sorting task.

[0104] S402: Query target images from a target device according to the image organization task.

[0105] S403: Determine a target folder, and display at least a portion of the hierarchy of the target folder on the dialogue interface.

[0106] The relevant contents of steps S401-S403 can be found in the above embodiment and will not be repeated here.

[0107] S404: Acquire image information of the target image.

[0108] S405: Determine the subfolder information of the subfolder in the target folder.

[0109] In some embodiments, the image information of a target image refers to various data and attributes directly related to the target image that can be used to describe, identify, analyze, or process the target image. For example, the image information can be tag information of the target image, which indicates information such as the time, location, type, and people included in the target image.

[0110] Optionally, the tag information sent by the user can be obtained as the tag information of the image, and the large model can also extract the features of the image and determine the tag information of the image based on the features.

[0111] In some embodiments, the name of the subfolder can be obtained as the subfolder information. For example, if the name of subfolder 1 is time 1, then time 1 is the subfolder information.

[0112] S406: Match the target image and the subfolder according to the image information and the subfolder information.

[0113] S407: Migrate the matched target image to the subfolder.

[0114] In some embodiments, by matching image information and subfolder information, image information that is the same as the subfolder information can be determined, and the target image corresponding to the image information can be determined as the target image that matches the subfolder, and then the target image that matches the subfolder can be migrated to the subfolder.

[0115] For example, the image information of the target image includes: time 1, time 2, time 3, and person A. Subfolder information 1 is time 1, and subfolder information 2 is person A. By matching the image information and the subfolder information, it can be determined that the target image with image information of time 1 successfully matches subfolder 1 corresponding to subfolder information 1, and it can be determined that the target image with image information of person A successfully matches subfolder 2 corresponding to subfolder information 2.

[0116] In some embodiments, in order to enhance the interactivity of image organization and improve the user experience, the migration progress of the target image can be monitored during the process of migrating the target image to the target folder, and the migration progress of the target image can be displayed on the dialogue interface.

[0117] For example, if the target number is 500 and the number of images migrated reaches 200, the dialog interface can display: 200 images have been migrated, and 300 images remain. For another example, if the target number is 500 and the number of images migrated reaches 200 and the proportion of images migrated is 40%, the dialog interface can display: 40% of images are currently being migrated.

[0118] According to the image organization method provided by the embodiment of the present disclosure, by matching the image information of the target image with the subfolder information of the subfolder to migrate the matched target image to the subfolder, accurate classification of the target image can be achieved, thereby improving the efficiency of image organization.

[0119] Figure 5 A flowchart of an image organization method provided in an embodiment of the present disclosure is provided.

[0120] like Figure 5 As shown, the image arrangement method may include:

[0121] S501: Receive an image sorting task.

[0122] S502: Query a target image from a target device according to the image organization task.

[0123] S503: Determine the target folder.

[0124] The relevant contents of steps S501-S503 can be found in the above embodiment and will not be repeated here.

[0125] S504: Determine the total number of levels of the target folder.

[0126] S505: Display the target folder on the dialogue interface according to the total number of levels and the preset number of display levels.

[0127] In some embodiments, the number of sub-folders in the target folder can be used as the total number of levels of the target folder. For example, if the target folder contains 5 sub-folders, the total number of levels is 5.

[0128] In some embodiments, to make the target folder more concise and improve the simplicity of display, the target folder can be displayed in the dialogue interface based on the total number of levels and the preset number of display levels. The preset number of display levels indicates the number of levels at which the target folder is displayed in the dialogue interface.

[0129] In some embodiments, the displayable levels and hidden levels of the target folder can be determined based on the total number of levels and the preset number of display levels, so that the displayable levels are displayed in the dialogue interface and the hidden levels are hidden.

[0130] In some embodiments, the displayable levels and hidden levels of the target folder can be determined based on the difference between the total number of levels and the number of displayed levels. In response to the total number of levels being less than or equal to the number of displayed levels, all levels of the target folder are determined to be displayable levels; in response to the total number of levels being greater than the number of displayed levels, the levels in the target folder that are less than or equal to the number of displayed levels are determined to be displayable levels, and the levels that are greater than the number of displayed levels are determined to be hidden levels.

[0131] In some embodiments, in response to the total number of levels being greater than the number of displayed levels, the level size of each level in the total number of levels can be determined to determine levels that are less than or equal to the number of displayed levels as displayable levels, and levels that are greater than the number of displayed levels as hidden levels.

[0132] For example, the levels corresponding to the total number of levels are: level 1, level 2, level 3, and level 4. If the number of displayed levels is 2, level 1 and level 2 are determined to be displayable levels, and level 3 and level 4 are determined to be hidden levels.

[0133] In some embodiments, the dialogue interface may include a second interactive control for expanding or hiding a hidden level. By triggering the second interactive control, the hidden level can be expanded or hidden, thereby realizing dynamic interactive design and improving the interactivity of image organization.

[0134] In some embodiments, in response to a first triggering operation of a second interactive control on the dialogue interface, a hidden level is expanded on the dialogue interface. In other words, the first triggering operation may indicate expanding a hidden level on the dialogue interface.

[0135] In some embodiments, in response to a second trigger operation of the second interactive control, the hidden level is hidden. In other words, the second trigger operation may indicate hiding the hidden level on the dialogue interface.

[0136] In some embodiments, if all levels of the target folder cannot be fully displayed on the dialogue interface, a sliding operation can be performed on the dialogue interface. In response to the sliding operation, all levels of the target folder are displayed by sliding on the dialogue interface.

[0137] S506: Migrate the target image to the target folder.

[0138] The relevant contents of step S506 can be found in the above embodiment and will not be repeated here.

[0139] According to the image organization method provided by the embodiment of the present disclosure, by determining the total number of levels of the target folder and displaying the target folder in the dialogue interface based on the total number of levels and the preset number of display levels, the simplicity of the display can be improved and the readability of the target folder can be enhanced.

[0140] Figure 6 The figure shows the process flow of image sorting. Figure 6 The image arrangement process in the dialog interface can be displayed, and the copywriting information of the current execution stage can be displayed at each execution stage. Figure 6 As shown, the user inputs photos of the team building at location A. By analyzing the user's input information, it is determined that the image organization task is to organize the photos of the team building at location A. The image organization process generated according to the image organization task is: 1. Find related photos: First, the image organization task clarifies location A, and all photos of location A can be queried; 2. Image organization: Analyze the time and people in the queried photos, and output candidate organization strategies for the user to choose, and display the image organization process on the dialogue interface.

[0141] Furthermore, when executing the image sorting task, if the current execution stage is determined to be the search stage, the dialog interface may display: Searching for photos of the team building at location A, completing the search based on the location, and finding 500 photos in total; when the current execution stage is determined to be the sorting stage, the dialog interface may display: Generating a sorting strategy for you, analyzing the shooting time and people in the photos, and outputting 4 candidate sorting strategies, namely, candidate sorting strategy 1, candidate sorting strategy 2, candidate sorting strategy 3, and candidate sorting strategy 4. Among them, candidate sorting strategy 1 is as follows: Figure 7a As shown, candidate sorting strategy 2 is as follows Figure 7bAs shown, candidate sorting strategy 3 is as follows Figure 7c As shown, candidate sorting strategy 4 is as follows Figure 7d shown.

[0142] Since the image organization task does not carry folder information, the directory information of the target folder can be determined based on the target organization strategy to generate the target folder based on the directory information. Optionally, the target organization strategy for the target image can be determined from the candidate organization strategies, and the target organization strategy can be customized based on the first interactive control corresponding to the strategy customization option.

[0143] In response to the user triggering the first interactive control, the policy configuration interface is displayed on the dialogue interface. The policy configuration interface is as follows: Figure 8a As shown. Further, the policy configuration operation of the policy configuration interface is determined to determine the target sorting policy according to the policy configuration operation. Optionally, the preview information of the target sorting policy is generated according to the policy configuration operation, and the target sorting policy is displayed in the preview area based on the preview information. The target sorting policy is as follows: Figure 8b shown.

[0144] Furthermore, a target folder can be generated according to the target organization strategy and displayed on the dialogue interface: create a target folder, generate a target folder according to the customized target organization strategy, and display the displayable hierarchy of the target folder, and then migrate the target image to the target folder, and display the migration progress of the target image on the dialogue interface.

[0145] Corresponding to the image arranging methods provided in the above-mentioned embodiments, an embodiment of the present disclosure further provides an image arranging device. Since the image arranging device provided in the embodiment of the present disclosure corresponds to the image arranging methods provided in the above-mentioned embodiments, the implementation methods of the above-mentioned image arranging methods are also applicable to the image arranging device provided in the embodiment of the present disclosure and will not be described in detail in the following embodiments.

[0146] Figure 9 A schematic structural diagram of an image collating device provided in an embodiment of the present disclosure.

[0147] like Figure 9 As shown, the image organizing device 900 according to an embodiment of the present disclosure includes a receiving module 901 , a query module 902 , a determination module 903 and a migration module 904 .

[0148] Receiving module 901, used for receiving image sorting tasks;

[0149] A query module 902 is configured to query a target image from a target device according to an image organization task;

[0150] A determination module 903 is configured to determine a target folder and display at least a portion of the target folder's hierarchy on the dialog interface;

[0151] The migration module 904 is configured to migrate the target image to the target folder.

[0152] In one embodiment of the present disclosure, the determination module 903 is further used to: generate candidate sorting strategies based on the analysis results of the target image; display the candidate sorting strategies on the dialogue interface; and determine the target folder in response to the monitored strategy selection operation based on the strategy selection operation.

[0153] In one embodiment of the present disclosure, the determination module 903 is further configured to: determine folder information according to the image organization task; and determine a target folder according to the folder information.

[0154] In one embodiment of the present disclosure, the device also includes: generating an image organization process based on the image organization task; displaying the image organization process on a dialogue interface; determining a tool chain sequence corresponding to the image organization task based on the image organization process; and executing the image organization task based on the tool chain sequence.

[0155] In one embodiment of the present disclosure, the device further includes: during the execution of the image sorting task, determining the current execution stage; generating text information of the current execution stage; and displaying the text information on the dialogue interface.

[0156] In one embodiment of the present disclosure, the query module 902 is further configured to: perform semantic analysis on the image sorting task to obtain image query terms; and query the image library based on the image query terms to obtain target images.

[0157] In one embodiment of the present disclosure, the determination module 903 is further configured to: obtain multi-dimensional information of the target image according to the analysis result of the target image; and combine the multi-dimensional information to generate a candidate sorting strategy.

[0158] In one embodiment of the present disclosure, the determination module 903 is further used to: determine a target sorting strategy for a target image from candidate sorting strategies according to a strategy selection operation; determine directory information of a target folder according to the target sorting strategy; and generate a target folder according to the directory information.

[0159] In one embodiment of the present disclosure, the determination module 903 is also used to: display a policy configuration interface on the dialogue interface in response to a policy selection operation indicating that a policy customization option is triggered, and the policy customization option is the first interactive control displayed on the dialogue interface; determine the target sorting strategy based on the policy configuration operation of the policy configuration interface.

[0160] In one embodiment of the present disclosure, the determination module 903 is further configured to: generate preview information of the target sorting policy based on the policy configuration operation of the policy configuration interface; and display the target sorting policy in the preview area of ​​the policy configuration interface.

[0161] In one embodiment of the present disclosure, the migration module 904 is further used to: obtain image information of the target image; determine the subfolder information of the subfolder in the target folder; match the target image and the subfolder based on the image information and the subfolder information; and migrate the matched target image to the subfolder.

[0162] In one embodiment of the present disclosure, the migration module 904 is further configured to: monitor the migration progress of the target image during the process of migrating the target image to the target folder, and display the migration progress of the target image on the dialogue interface.

[0163] In one embodiment of the present disclosure, the determination module 903 is further configured to: determine the total number of levels of the target folder; and display the target folder on the dialogue interface according to the total number of levels and a preset number of display levels.

[0164] In one embodiment of the present disclosure, the determination module 903 is further used to: determine the displayable levels and hidden levels of the target folder based on the total number of levels and the preset number of display levels; display the displayable levels in the dialogue interface, and hide the hidden levels.

[0165] In one embodiment of the present disclosure, the determination module 903 is further used to: in response to the total number of levels being less than or equal to the number of displayed levels, determine that all levels of the target folder are displayable levels; in response to the total number of levels being greater than the number of displayed levels, determine that the levels in the target folder that are less than or equal to the number of displayed levels are displayable levels, and the levels that are greater than the number of displayed levels are hidden levels.

[0166] In one embodiment of the present disclosure, the device also includes: in response to a first trigger operation of a second interactive control on the dialogue interface, expanding a hidden level on the dialogue interface; or, in response to a second trigger operation of the second interactive control, hiding the hidden level; and in response to a sliding operation, sliding to display all levels of the target folder on the dialogue interface.

[0167] According to the image organization device provided by the embodiments of the present disclosure, an image organization task is received and, based on the task, a target image is retrieved from a target device. By determining a target folder, the target image can be migrated to the target folder. Thus, this solution can automatically execute image organization tasks, saving time and costs. By migrating the target image to the target folder, structured storage of the target image is achieved, improving target image management efficiency, thereby enhancing the practicality of image storage on the target device and enhancing the user experience.

[0168] In the technical solutions disclosed herein, the acquisition, storage, and application of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0169] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0170] Figure 10 A schematic block diagram of an example electronic device 1000 that can be used to implement embodiments of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0171] like Figure 10 As shown, the device 1000 includes a computing unit 1001, which can perform various appropriate actions and processes according to computer programs / instructions stored in a read-only memory (ROM) 1002 or computer programs / instructions loaded from a storage unit 1006 into a random access memory (RAM) 1003. Various programs and data required for the operation of the device 1000 can also be stored in the RAM 1003. The computing unit 1001, the ROM 1002, and the RAM 1003 are connected to each other via a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.

[0172] Various components in device 1000 are connected to I / O interface 1005, including: an input unit 1006 such as a keyboard, mouse, etc.; an output unit 1007 such as various types of displays, speakers, etc.; a storage unit 1008 such as a magnetic disk, optical disk, etc.; and a communication unit 1009 such as a network card, modem, wireless communication transceiver, etc. The communication unit 1009 allows device 1000 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0173] The computing unit 1001 can be a variety of general-purpose and / or specialized processing components with processing and computing capabilities. Some examples of the computing unit 1001 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units that run machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The computing unit 1001 performs the various methods and processes described above, such as the image sorting method. For example, in some embodiments, the image sorting method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as the storage unit 1006. In some embodiments, part or all of the computer program / instructions can be loaded and / or installed on the device 1000 via the ROM 1002 and / or the communication unit 1009. When the computer program / instructions are loaded into the RAM 1003 and executed by the computing unit 1001, one or more steps of the image sorting method described above can be performed. Alternatively, in other embodiments, the computing unit 1001 may be configured to execute the image sorting method in any other appropriate manner (for example, by means of firmware).

[0174] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs / instructions that are executable and / or interpreted on a programmable system comprising at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0175] The program code for implementing the method of the present disclosure can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device so that when the program code is executed by the processor or controller, the functions / operations specified in the flow chart and / or block diagram are implemented. The program code can be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0176] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0177] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0178] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0179] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact via a communication network. The client-server relationship arises through computer programs / instructions running on the respective computers and having a client-server relationship with each other. The server may be a cloud server, a server in a distributed system, or a server integrated with a blockchain.

[0180] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the disclosure can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved. This is not limited herein.

[0181] The above specific embodiments do not constitute a limitation on the scope of protection of this disclosure. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this disclosure shall be included within the scope of protection of this disclosure.

Claims

1. An image arrangement method, characterized in that: The method comprises: Receive image sorting tasks; According to the image organization task, querying a target image from a target device; Determining a target folder, and displaying at least a portion of the hierarchy of the target folder on the dialogue interface; The target image is migrated to the target folder.

2. The method according to claim 1, wherein Determining the target folder includes: generating candidate sorting strategies based on the analysis results of the target image; Displaying the candidate sorting strategies on the dialogue interface; In response to the monitored policy selection operation, the target folder is determined according to the policy selection operation.

3. The method according to claim 1, wherein Determining the target folder includes: Determining folder information according to the image organization task; The target folder is determined according to the folder information.

4. The method according to claim 3, wherein: The method further comprises: generating an image organization process according to the image organization task; Displaying the image arrangement process on the dialogue interface; Based on the image organization process, determining a tool chain sequence corresponding to the image organization task; Based on the toolchain sequence, the image organization task is executed.

5. The method according to any one of claims 1 to 4, wherein The method further comprises: During the execution of the image sorting task, determining a current execution stage; Generate document information for the current execution phase; The copy information is displayed on the dialogue interface.

6. The method according to any one of claims 1 to 4, wherein The step of querying a target image from a target device according to the image sorting task includes: Performing semantic analysis on the image organization task to obtain image query terms; The image library is queried according to the image query word to obtain the target image.

7. The method according to claim 2, wherein: Generating candidate sorting strategies according to the analysis results of the target image includes: Obtaining multi-dimensional information of the target image according to the analysis result of the target image; The multi-dimensional information is combined to generate the candidate sorting strategy.

8. The method according to claim 2, wherein: The step of selecting an operation according to the policy and determining the target folder includes: Determining a target sorting strategy for the target image from the candidate sorting strategies according to the strategy selection operation; Determining directory information of the target folder according to the target organization strategy; The target folder is generated according to the directory information.

9. The method according to claim 7 or 8, wherein The combining of the multi-dimensional information to generate the candidate sorting strategy includes: In response to the policy selection operation indicating that a policy customization option is triggered, displaying a policy configuration interface on the dialogue interface, wherein the policy customization option is a first interactive control displayed on the dialogue interface; The target sorting strategy is determined based on the strategy configuration operation of the strategy configuration interface.

10. The method according to claim 9, wherein: The method further comprises: Generating preview information of the target sorting policy based on the policy configuration operation on the policy configuration interface; The target sorting strategy is displayed in a preview area of ​​the strategy configuration interface.

11. The method according to any one of claims 1 to 4 or 7 to 8, wherein Migrating the target image to the target folder includes: Acquiring image information of the target image; Determine subfolder information of the subfolder in the target folder; Matching the target image and the subfolder according to the image information and the subfolder information; The matched target image is migrated to the subfolder.

12. The method according to any one of claims 1 to 4 or 7 to 8, wherein The method further comprises: During the process of migrating the target image into the target folder, the migration progress of the target image is monitored and displayed on the dialogue interface.

13. The method according to any one of claims 1 to 4 or 7 to 8, wherein The displaying of the target folder on the dialogue interface includes: Determine the total number of levels of the target folder; The target folder is displayed in the dialogue interface according to the total number of levels and the preset number of display levels.

14. The method according to claim 13, wherein The step of displaying the target folder on the dialogue interface according to the total number of levels and the preset number of display levels includes: Determining the displayable levels and hidden levels of the target folder according to the total number of levels and the preset number of display levels; The displayable level is displayed on the dialogue interface, and the hidden level is hidden.

15. The method according to claim 14, wherein The determining of the displayable levels of the target folder according to the total number of levels and the preset number of display levels includes: In response to the total number of levels being less than or equal to the number of display levels, determining all levels of the target folder as the displayable levels; In response to the total number of levels being greater than the displayed number of levels, levels in the target folder that are less than or equal to the displayed number of levels are determined as the displayable levels, and levels that are greater than the displayed number of levels are determined as the hidden levels.

16. The method according to claim 14, wherein The method further comprises: In response to a first triggering operation of a second interactive control on the dialogue interface, expanding the hidden level on the dialogue interface; or, in response to a second triggering operation of the second interactive control, hiding the hidden level; In response to the sliding operation, all levels of the target folder are displayed by sliding on the dialogue interface.

17. An image arranging device, characterized in that: The device comprises: A receiving module, used for receiving image sorting tasks; A query module, configured to query a target image from a target device according to the image organization task; a determination module, configured to determine a target folder and display at least a portion of the hierarchy of the target folder on a dialogue interface; A migration module is used to migrate the target image to the target folder.

18. An electronic device comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 16.

19. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-16.

20. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the method according to any one of claims 1 to 16 is implemented.