Batch File Name Modification in Mini Program Directories
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The inefficiency in modifying file names for multiple files with similar names, particularly due to recognition errors in non-monospace fonts, leads to high redundancy and potential errors in file management within mini programs.
Innovation Solution
A method and apparatus for modifying file names that allows for batch renaming of files with the same name by displaying a target file, receiving a modification operation, and uniformly changing the names of object files under the same directory, including handling conflicts and adjustments for file extensions and existing file names.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If manual recognition and renaming of files is performed, then file name modification can be completed, but recognition errors occur and efficiency is low
Solution Approach 1:
The patent replaces manual visual recognition and mechanical renaming operations with an automated computer-based system. The system automatically identifies files with similar names using string matching algorithms and performs batch renaming operations, eliminating human visual recognition errors and significantly improving modification efficiency.
Solution Approach 2:
The system enables self-service file name modification by automatically detecting files that need renaming based on naming patterns and executing the renaming operation without requiring manual intervention for each file. The computer device autonomously completes the entire file name modification process.
2Ease of operation
If multiple rename operations are repeated for files in mini programs, then file names can be modified, but redundancy increases and errors may occur
Solution Approach 1:
The patent merges multiple separate rename operations into a single batch operation. The system identifies all files requiring renaming based on the target file and executes the renaming for all matching files in one operation, reducing redundancy and ensuring consistent application of the renaming rule across all files.
Solution Approach 2:
The system provides feedback by displaying the target file and allowing user confirmation before executing the batch rename operation. This feedback mechanism ensures that the renaming operation is applied correctly and allows users to verify the operation before it is performed, improving reliability.
Data Source
AI summary
This application discloses a method and an apparatus for modifying a file name and a storage medium. The method includes: displaying a first target file of which a name is to be modified, the first target file being currently located under a target level directory, and a current file name of the first target file being a first file name; receiving a file name modification operation for the first target file, the file name modification operation being used for instructing to perform a name modification operation on object files in a file set, and the object files being located under the target level directory and having a same file name as the first target file; and modifying file names of the object files in the file set from the first file name to a second file name in response to the file name modification operation.


