File arrangement method and device

By receiving file organization requests, using pre-trained models to identify file features and generate organization plans, and moving files to the target folder, it solves the problem of inconvenient file management in personal cloud storage systems, realizes efficient and flexible file organization and classification, and improves user experience.

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

Patent Information

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

AI Technical Summary

Technical Problem

Existing personal cloud storage systems lack convenience in file management, making it difficult to efficiently organize and classify files according to user needs, resulting in fragmented file resources and inefficient management.

Method used

By receiving file organization requests, it uses pre-trained models to identify file features, generates organization plans, and moves files to the target folder after user confirmation. It supports voice and text input, provides file attribute and content matching, generates a preview directory structure, and supports undo and retry functions.

Benefits of technology

It improves the flexibility and efficiency of file organization, enhances user experience, ensures file classification accuracy and user satisfaction, reduces the number of file moves, and improves the convenience of file management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120670376A_ABST
    Figure CN120670376A_ABST
Patent Text Reader

Abstract

The invention provides a file arrangement method and device, and relates to the field of artificial intelligence, in particular to the field of cloud storage. According to the specific implementation scheme, in response to a received file arrangement request, a to-be-arranged file is determined according to the file arrangement request; an arrangement scheme is output based on the features of the to-be-arranged file and the file arrangement request, and the arrangement scheme comprises an arranged target folder; and in response to detection that the arrangement scheme is confirmed, arranging the to-be-arranged file into the target folder according to the arrangement scheme. According to the embodiment, the file arrangement efficiency can be improved.
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, in particular to the field of cloud storage, and specifically to a file organization method and device. Background Art

[0002] With the in-depth application of cloud computing in various fields, cloud storage resource management (personal cloud storage) has emerged. More and more users use personal cloud storage to store and manage files, thereby preventing problems such as scattered file resource storage, file loss due to hard disk damage, and no backup of file data. It also facilitates the sharing and use of file resources in daily work.

[0003] One of the main evaluation criteria for personal cloud storage is that it should have convenient file management and a directory structure that people are accustomed to. Summary of the Invention

[0004] The present disclosure provides a file organization method, apparatus, device, storage medium, and computer program product.

[0005] According to a first aspect of the present disclosure, a file organization method is provided, comprising: in response to receiving a file organization request, determining files to be organized according to the file organization request; outputting an organization plan based on characteristics of the files to be organized and the file organization request, wherein the organization plan includes a target folder after organization; in response to detecting that the organization plan is confirmed, organizing the files to be organized into the target folder according to the organization plan.

[0006] According to a second aspect of the present disclosure, a file organization device is provided, comprising: a determination unit, configured to, in response to receiving a file organization request, determine files to be organized according to the file organization request; an output unit, configured to output an organization scheme based on characteristics of the files to be organized and the file organization request, wherein the organization scheme includes a target folder after organization; and an organization unit, configured to, in response to detecting that the organization scheme is confirmed, organize the files to be organized into the target folder according to the organization scheme.

[0007] According to a third 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 to enable the at least one processor to execute any one of the methods described in the first aspect.

[0008] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable the computer to execute any one of the methods according to the first aspect.

[0009] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements any one of the methods according to the first aspect when executed by a processor.

[0010] According to a sixth aspect of the present disclosure, a network disk is provided, comprising: a file organization component, wherein the file organization component implements any one of the methods in the first aspect when executed by a processor.

[0011] The file organization method and apparatus provided by the embodiments of the present disclosure use a file organization request to search for files to be organized, then determine an organization plan based on the characteristics of the files to be organized. The files are then moved to a target folder according to the organization plan, thereby improving file organization efficiency.

[0012] 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

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

[0014] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;

[0015] Figure 2 is a flow chart of an embodiment of a file organization method according to the present disclosure;

[0016] Figure 3 is a schematic diagram of an application scenario of the file organization method according to the present disclosure;

[0017] Figure 4 is a flow chart of another embodiment of the file organization method according to the present disclosure;

[0018] Figure 5 is a schematic structural diagram of an embodiment of a file organizing device according to the present disclosure;

[0019] Figure 6 It is a schematic diagram of the structure of a computer system of an electronic device suitable for implementing the embodiments of the present disclosure. DETAILED DESCRIPTION

[0020] 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.

[0021] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the file organizing method or file organizing apparatus disclosed herein can be applied.

[0022] like Figure 1 As shown, system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is a medium for providing communication links between terminal devices 101, 102, 103 and server 105. Network 104 may include various connection types, such as wired or wireless communication links or fiber optic cables.

[0023] Users can use terminal devices 101, 102, and 103 to interact with server 105 via network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, and 103, such as personal cloud storage apps, 3D video players, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0024] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens and support personal cloud storage APP, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Compression Standard Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Compression Standard Audio Layer 4) players, laptop computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0025] The server 105 may be a server that provides various services, such as a personal cloud storage server that provides personal cloud storage services for the terminal devices 101 , 102 , and 103 .

[0026] It should be noted that a server can be either hardware or software. When a server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or as a single server. When a server is software, it can be implemented as multiple software programs or software modules (for example, multiple software programs or software modules used to provide distributed services), or as a single software program or software module. This is not specifically limited here. The server can also be a server in a distributed system, or a server integrated with blockchain. The server can also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.

[0027] It should be noted that the file organization method provided in the embodiments of the present disclosure is generally executed by a terminal device, and accordingly, the file organization apparatus is generally provided in the terminal device.

[0028] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is merely illustrative. Any number of terminal devices, networks and servers may be provided as required.

[0029] Continue to refer Figure 2 , shows a process 200 of an embodiment of a file organization method according to the present disclosure. The file organization method includes the following steps:

[0030] Step 201, in response to receiving a file arrangement request, determining files to be arranged according to the file arrangement request;

[0031] In this embodiment, the execution subject of the file arrangement method (eg Figure 1 The personal cloud storage APP running on the terminal device shown in the figure can receive file organization requests initiated by the user through voice or text. The file organization request is used to indicate the files to be organized. For example, the user says: "Organize my resource folder." The voice data can be converted into text and then the files to be organized can be identified. The user can clearly tell the path of the files to be organized, and then search for the files to be organized based on the path. If the user does not clearly tell the path of the files to be organized, the pre-trained semantic understanding model can be used to identify the intention in the file organization request and then search for the files to be organized. For example, if the user says: "Organize the photos taken yesterday", the photo files with a date of yesterday can be searched out.

[0032] Step 202: Outputting a file organization plan based on the characteristics of the file to be organized and the file organization request.

[0033] In this embodiment, features may include file name, storage path, format, time information, etc. The organization plan includes the target folder after organization. For example, if a user says, "Organize the photos in my resources," the photo files in my resources can be searched, and then folders can be created by date, and the photo files can be filed into the corresponding folders by date.

[0034] The user says: "Organize the files in my resources." Then you can create folders for the files in my resources according to the file format, for example, photos, videos, documents, etc., and then file the files into the corresponding folders according to the file format.

[0035] If the user says, "Organize Xiao Ming's photos," the user can search for photos whose file names include "Xiao Ming" and create a Xiao Ming folder to store these photos.

[0036] These organization plans can be displayed in the form of a file list on a semi-floating panel, and multiple plans can be listed for users to choose from.

[0037] Optionally, features of the files to be organized may be extracted using a pre-trained large model, and then an organization plan may be generated based on the features of the files to be organized and the file organization request.

[0038] Step 203: In response to detecting that the organization plan is confirmed, the files to be organized are organized into a target folder according to the organization plan.

[0039] In this embodiment, the output organization plan is only displayed to the user and requires user confirmation before execution. This allows the user to know where the files are stored and facilitates future review. After the user confirms the organization plan, a target folder is created and the files to be organized are moved to the target folder.

[0040] If the user doesn't select a plan within the scheduled time, it's considered they've given up. If the user provides feedback on the plan, a new plan will be generated based on their feedback. For example, if the original plan organized photos by day, and the user complained that there were too few photos per day, a plan could be generated to organize photos by week.

[0041] The method provided by the above-mentioned embodiments of the present disclosure can organize files in batches according to user needs, thereby improving the flexibility and efficiency of file organization.

[0042] In some optional implementations of this embodiment, determining the files to be organized based on the file organization request includes: matching the file organization request with the file attribute information of each candidate file in the candidate file set, wherein the file attribute information includes at least one of the following: file name, storage path, format, and time information; and determining the candidate file that successfully matches as the file to be organized.

[0043] You can directly perform string matching on the file organization request and the file attribute information of each candidate file in the candidate file set. Alternatively, you can use a pre-trained model to identify information such as the file name, storage path, format, and time information in the file organization request and then perform string matching on the file attribute information of each candidate file in the candidate file set.

[0044] You can quickly group files to be sorted according to their attribute information, thus increasing the speed of file sorting.

[0045] In some optional implementations of this embodiment, determining the files to be organized based on the file organization request includes: in response to receiving authorization to read the file content, matching the file organization request with the file content of each candidate file in the candidate file set; and determining the successfully matched candidate file as the file to be organized.

[0046] The user can be asked whether they want to authorize reading file contents. If the user allows reading file contents, the file organization request can be string-matched against the file contents of each candidate file in the candidate file set. A pre-trained model can also be used to identify information such as the file name, storage path, format, and time information in the file organization request, and then string-matched against the content of each candidate file in the candidate file set. For example, if the user asks "organize files containing literature appreciation," the keyword "literature appreciation" can be searched within the file contents of each candidate file, and the resulting files can be organized into a "Literature Appreciation" folder.

[0047] Users do not need to open files to view the contents, as files can be automatically classified and stored in corresponding folders according to their contents, which improves file organization efficiency.

[0048] In some optional implementations of this embodiment, the file organization request is matched with the file content of each candidate file in the candidate file set, including: extracting summary information from the file content of each candidate file in the candidate file set; matching the file organization request with the summary information of each candidate file in the candidate file set; and determining the successfully matched candidate file as the file to be organized.

[0049] The large model can be used to extract summary information from the file content of each candidate file in the candidate file set. Then, the file sorting request is matched with the summary information of each candidate file in the candidate file set.

[0050] There is no need to match the full text of the file content, only the summary needs to be matched, and the files can be automatically classified and stored in the corresponding folders according to the content, which improves the efficiency of file organization.

[0051] In some optional implementations of this embodiment, an organization plan is output based on the features of the files to be organized and the file organization request, including: determining a feature set of the files to be organized based on the file attribute information of the files to be organized; determining key features from the feature set based on the file organization request; determining a mapping relationship between files to be organized with the same key features and the same target folder; determining a file directory structure after organizing the files to be organized into the target folder based on the mapping relationship, and displaying the file directory structure in a preview manner.

[0052] File attribute information includes at least one of the following: file name, storage path, format, and time information. Key features can be specified in the file organization request. For example, if photos are organized by date, photos with the same date will be stored in the same destination folder. A preview of the file directory structure is generated for the user to review. If the user agrees to the organization plan, the organization proceeds. If the user disagrees, the plan can be modified to meet the user's latest requirements. If the user does not confirm within the specified time, the organization is abandoned by default.

[0053] Pre-trained models can be used to extract features and identify user intent in file organization requests. Key features can be filtered based on user intent and files can be organized accordingly.

[0054] It can accurately analyze user intentions, improve the accuracy of file organization plans, and thus enhance user satisfaction.

[0055] In some optional implementations of this embodiment, the files to be organized are organized into a target folder according to the organization plan, including: creating a target folder in response to detecting that the target folder has not been created; moving the files to be organized with the same characteristics to the target folder; and deleting the folder from which the files have been moved.

[0056] While organizing files, you can create new folders and move the files you want to organize into them. If the original folder is empty, you can delete it. You can name the folder based on the characteristics of the files you want to organize, for example, naming it "Children's Day Photos" based on the time and file format.

[0057] If a corresponding folder already exists, directly add the new file without creating a new folder, which can reduce the number of file moves, reduce the time spent on file organization, and improve file organization efficiency.

[0058] In some optional implementations of this embodiment, the method further includes: outputting file organization progress information; and in response to detecting that the file organization is complete, outputting an option to cancel the file organization. After the file organization is complete, the organization can be canceled, and the organization cannot be interrupted. Displaying progress information allows users to understand the organization time and avoid interruptions, thereby improving the user experience.

[0059] In some optional implementations of this embodiment, the method further includes: in response to an exception occurring during the file organization process, reorganizing the files to be organized into a target folder according to the organization plan.

[0060] If a file organization fails, you can retry, and you can pre-set the maximum number of retries. After the maximum number of retries is reached, no further retries will be attempted, and a failure message will be output. This prevents the opening of intermediate files from affecting the file organization. Automatic retries can be configured to improve the success rate of file organization.

[0061] In some optional implementations of this embodiment, the method further includes: in response to detecting a file organization failure, marking the file that failed to be organized, and outputting the reason for the failure.

[0062] Files that failed to be automatically organized can be manually organized by the user. For example, if a file move failed because it was not closed, the reason can be marked. The user can then manually move the file after closing it, or choose to retry. Abnormal files can be skipped without affecting the overall file organization process, improving the user experience.

[0063] Continue to see Figure 3 Schematic diagram of the application scenario of the file organization method according to this embodiment. Figure 3 In the application scenario, a user enters a file organization request in the dialog box of a personal cloud storage app: "My resources are too messy, please help me organize them." The personal cloud storage app can call the large model to analyze the file organization request. The following steps need to be performed:

[0064] 1. Find related files: First, the user explicitly mentions "My Resources" to confirm that the file being searched is in the "My Resources" folder.

[0065] 2. File analysis and organization: Analyze the files in the "My Resources" folder based on their path, file format, and storage time characteristics, and output an organization plan.

[0066] Users can click "View Organizing Details" to preview the organizing results and compare before and after. If satisfied with the organizing plan, click "Confirm and Start Organizing" to proceed to the organizing step.

[0067] The organization plan includes creating folders and moving files. Create three folders within "My Resources," then move the files in "My Resources" into the newly created folders according to the organization plan. Users can click to check the progress of folder creation and file movement.

[0068] If an exception occurs during the file sorting process and the file sorting task is not completed, the unfinished sorting task information will be output.

[0069] If you're not satisfied with the results of your file organization, you can undo the process. This process restores the files to their original folders and then deletes the newly created folders. You can also view the progress of the undo process.

[0070] Further references Figure 4 , which shows a process 400 of another embodiment of a file arrangement method. The process 400 of the file arrangement method includes the following steps:

[0071] Step 401, in response to receiving a file arrangement request, determining files to be arranged according to the file arrangement request;

[0072] Step 402: outputting a sorting solution based on the characteristics of the files to be sorted and the file sorting request, wherein the sorting solution includes a target folder after sorting;

[0073] Step 403: In response to detecting that the organization plan is confirmed, the files to be organized are organized into a target folder according to the organization plan.

[0074] Steps 401-403 are substantially the same as steps 201-203, and therefore are not described in detail.

[0075] Step 404 , in response to the undo file arrangement option being selected, the files to be arranged are moved back to the original folder, and the folder newly created for the arrangement plan is deleted.

[0076] In this embodiment, after the file arrangement is completed, an undo option can be output. If the user clicks the undo option, the user can return to the state before the file arrangement. First, the files to be arranged are moved back to the original folder, and then the folder newly created for the arrangement plan is deleted.

[0077] The original state can be restored with one click, avoiding the situation where the user regrets but cannot restore, thereby improving the user experience.

[0078] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a file arrangement device. Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0079] like Figure 5As shown, the file organizing device 500 of this embodiment includes: a determination unit 501, an output unit 502, and an organizing unit 503. The determination unit 501 is configured to, in response to receiving a file organizing request, determine a file to be organized according to the file organizing request; the output unit 502 is configured to output an organizing plan based on the characteristics of the file to be organized and the file organizing request, wherein the organizing plan includes a target folder after organization; and the organizing unit 503 is configured to, in response to detecting that the organizing plan is confirmed, organize the file to be organized into the target folder according to the organizing plan.

[0080] In this embodiment, the specific processing of the determining unit 501, the output unit 502 and the arranging unit 503 of the file arranging device 500 can be referred to Figure 2 This corresponds to step 201, step 202 and step 203 in the embodiment.

[0081] In some optional implementations of this embodiment, the determination unit 501 is further configured to: match the file organization request with the file attribute information of each candidate file in the candidate file set, wherein the file attribute information includes at least one of the following: file name, storage path, format, and time information; and determine the candidate file that has successfully matched as the file to be organized.

[0082] In some optional implementations of this embodiment, the determination unit 501 is further configured to: in response to receiving authorization to read file content, match the file organization request with the file content of each candidate file in the candidate file set; and determine the successfully matched candidate file as the file to be organized.

[0083] In some optional implementations of this embodiment, the determination unit 501 is further configured to: extract summary information from the file content of each candidate file in the candidate file set; match the file organization request with the summary information of each candidate file in the candidate file set; and determine the candidate file that has successfully matched as the file to be organized.

[0084] In some optional implementations of this embodiment, the output unit is further configured to: determine a feature set of the files to be organized based on the file attribute information of the files to be organized; determine key features from the feature set based on the file organization request; determine the mapping relationship between the files to be organized with the same key features and the same target folder; determine the file directory structure after the files to be organized are organized into the target folder based on the mapping relationship, and display the file directory structure in a preview manner.

[0085] In some optional implementations of this embodiment, the organizing unit is further configured to: create a target folder in response to detecting that the target folder has not been created; move the files to be organized with the same characteristics to the target folder; and delete the folder from which the files have been moved.

[0086] In some optional implementations of this embodiment, the apparatus 500 further includes an undo unit (not shown in the drawings), configured to: output file organization progress information; and output an option to undo the file organization in response to detecting that the file organization is complete.

[0087] In some optional implementations of this embodiment, the undo unit is further configured to: in response to the undo file organization option being selected, move the files to be organized back to the original folder and delete the folder newly created for the organization plan.

[0088] In some optional implementations of this embodiment, the device 500 further includes a retry unit (not shown in the drawings), which is configured to: in response to an exception occurring during the file organization process, re-organize the files to be organized into a target folder according to the organization plan.

[0089] In some optional implementations of this embodiment, the apparatus 500 further includes a marking unit (not shown in the drawings), configured to: in response to detecting a file organization failure, mark the file that failed to be organized, and output the reason for the failure.

[0090] In the technical solutions disclosed herein, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved comply with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0091] 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.

[0092] An electronic device comprises: 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 to enable the at least one processor to execute the method described in process 200 or 400.

[0093] A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause the computer to execute the method described in process 200 or 400.

[0094] A computer program product includes a computer program, wherein the computer program implements the method described in flow 200 or 400 when executed by a processor.

[0095] Figure 6A schematic block diagram of an example electronic device 600 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 provided as examples only and are not intended to limit the implementation of the present disclosure described and / or claimed herein.

[0096] like Figure 6 As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. Various programs and data required for the operation of the device 600 can also be stored in the RAM 603. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0097] Various components in device 600 are connected to I / O interface 605, including an input unit 606, such as a keyboard, mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a magnetic disk, optical disk, etc.; and a communication unit 609, such as a network card, modem, wireless communication transceiver, etc. The communication unit 609 allows device 600 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.

[0098] The computing unit 601 can be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 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, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 601 performs the various methods and processes described above, such as the file organization method. For example, in some embodiments, the file organization method can be implemented as a computer software program that is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program can be loaded and / or installed on the device 600 via the ROM 602 and / or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the file organization method described above can be performed. Alternatively, in other embodiments, the computing unit 601 can be configured to perform the file organization method in any other appropriate manner (e.g., by means of firmware).

[0099] 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 that are executable and / or interpreted on a programmable system that includes 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.

[0100] 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.

[0101] 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.

[0102] 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).

[0103] 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 having 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), and the Internet.

[0104] A computer system may include a client and a server. The client and server are generally remote from each other and typically interact through a communication network. The client-server relationship arises through computer programs 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.

[0105] 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 this 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 a limitation herein.

[0106] 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. A file arrangement method, comprising: In response to receiving a file arrangement request, determining files to be arranged according to the file arrangement request; Outputting a sorting solution based on the characteristics of the files to be sorted and the file sorting request, wherein the sorting solution includes a target folder after sorting; In response to detecting that the organization plan is confirmed, the files to be organized are organized into a target folder according to the organization plan.

2. The method according to claim 1, wherein The determining of the files to be sorted according to the file sorting request includes: Matching the file arrangement request with the file attribute information of each candidate file in the candidate file set, wherein the file attribute information includes at least one of the following: file name, storage path, format, and time information; The candidate files that are successfully matched are determined as files to be sorted.

3. The method according to claim 1, wherein The determining of the files to be sorted according to the file sorting request includes: In response to receiving authorization to read file content, matching the file arrangement request with the file content of each candidate file in the candidate file set; The candidate files that are successfully matched are determined as files to be sorted.

4. The method according to claim 3, wherein: The matching of the file arrangement request with the file content of each candidate file in the candidate file set includes: Extract summary information from the file content of each candidate file in the candidate file set; matching the file arrangement request with summary information of each candidate file in the candidate file set; The candidate files that are successfully matched are determined as files to be sorted.

5. The method according to claim 1, wherein The outputting of the arrangement solution based on the characteristics of the file to be arranged and the file arrangement request includes: Determining a feature set of the file to be organized based on the file attribute information of the file to be organized; determining key features from the feature set based on the file organization request; Determine the mapping relationship between the files to be sorted with the same key characteristics and the same target folder; The file directory structure after the files to be organized are organized into the target folder is determined based on the mapping relationship, and the file directory structure is displayed in a preview manner.

6. The method according to claim 5, wherein: Arranging the files to be arranged into a target folder according to the arrangement scheme includes: In response to detecting that the target folder has not been created, creating a target folder; Move the files to be sorted that have the same characteristics to the target folder; Delete the folder where the files were moved.

7. The method according to claim 1, wherein The method further comprises: Output file organization progress information; In response to detecting that the file defragmentation is complete, an undo file defragmentation option is output.

8. The method according to claim 7, wherein: The method further comprises: In response to the undo file arrangement option being selected, the files to be arranged are moved back to the original folder, and the folder newly created for the arrangement solution is deleted.

9. The method according to claim 1, wherein: The method further comprises: In response to an exception occurring during the file arrangement process, the files to be arranged are re-arranged into a target folder according to the arrangement plan.

10. The method according to claim 1, wherein The method further comprises: In response to detecting a file arrangement failure, the file that failed to be arranged is marked, and the reason for the failure is output.

11. A file arrangement device comprising: a determining unit configured to, in response to receiving a file arrangement request, determine a file to be arranged according to the file arrangement request; an output unit configured to output an organization plan based on the characteristics of the files to be organized and the file organization request, wherein the organization plan includes a target folder after organization; The arranging unit is configured to, in response to detecting that the arranging scheme is confirmed, arrange the files to be arranged into a target folder according to the arranging scheme.

12. 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 10.

13. 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-10.

14. A computer program product comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 10.

15. A network disk comprising: A file arranging component, wherein the file arranging component implements the method according to any one of claims 1 to 10 when executed by a processor.