File sorting method and device
A sorting method and file technology, applied in the direction of file system, file/folder operation, special data processing application, etc., can solve problems such as unsortable and inconsistent sorting results, and achieve the effect of saving search time
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0056] like figure 1 As shown, it is a flowchart of a file sorting method according to Embodiment 1 of the present invention. After receiving a file sorting request, the method may include the following steps:
[0057] S101, obtain the file names of all files under the current file directory page, if the file name under the current file directory page is a file with pure numeric characters, then perform step S102; if the file name under the current file directory page is not a file with pure numeric characters, Then step S103 is executed; wherein, the second sorting strategy is different from the first sorting strategy.
[0058] When the files stored in the device need to be sorted according to the file names, the file sorting request is received under the current file directory page, wherein the received file sorting request can be a request generated by the user triggering the device, after receiving the file sorting request , in order to realize the sorting of files, it is...
Embodiment 2
[0067] like figure 2 As shown, it is a flowchart of a file sorting method according to Embodiment 2 of the present invention. After receiving a file sorting request, the method may include the following steps:
[0068] S201, obtain the file names of all files under the current file directory page, if the file name under the current file directory page is not a file with pure numeric characters, then perform step S202; if the file name under the current file directory page is a file with pure numeric characters, Then step S204 is executed, wherein the first file and the second file are any two files whose filenames are purely numeric characters under the current file directory page.
[0069] In the embodiment of the present invention, for the specific description of obtaining the file names of all files under the current file directory page, please refer to the description in S101 in the above embodiment.
[0070] S202. Perform normalization processing on each character in th...
Embodiment 3
[0093] Such as image 3 Shown is a schematic structural diagram of a file sorting device according to Embodiment 3 of the present invention, and the file sorting device may specifically include: an acquisition unit 31 , a first sorting unit 32 and a second sorting unit 33 .
[0094] The obtaining unit 31 is used to obtain the file names of all files under the current file directory page after receiving the file sorting request;
[0095] The first sorting unit 32 is used for sorting the files whose file names are purely numeric characters under the current file directory page by using the first sorting strategy;
[0096] The second sorting unit 33 is used for sorting the files whose file names are not pure numeric characters under the current file directory page by adopting the second sorting strategy;
[0097] Wherein, the second sorting strategy is different from the first sorting strategy.
[0098] A schematic structural diagram of a file sorting device disclosed in Embodi...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com