Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

Inactive Publication Date: 2016-12-07
LETV HLDG BEIJING CO LTD +1
View PDF2 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the embodiment of the present invention provides a file sorting method and device to solve the problem in the prior art that the sorting results cannot be sorted according to the characteristics of the file names of each file, which does not conform to the user's viewing habits.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • File sorting method and device
  • File sorting method and device
  • File sorting method and device

Examples

Experimental program
Comparison scheme
Effect test

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

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

Embodiments of the invention provide a file sorting method and device. The file sorting method provided by the embodiments includes: acquiring names of all files in a current file catalogue page; sorting the files, having names that are purely numeric characters, in the current file catalogue page by using a first sorting strategy; sorting the files, having names that are not purely numeric characters, in the current file catalogue page by using a second sorting strategy. In the embodiments of the invention, since the files, having the names that have different characteristics, in the current file catalogue page are sorted by using different sorting strategies, the method and the device provide sorting results that are more adaptable to checkout habits of users when compared with the prior art where files are sorted uniformly according to ASCII values of names of the files, it is helpful for a user to quickly find required values, and finding takes less time of the user.

Description

【Technical field】 [0001] The invention relates to the technical field of electronic equipment, in particular to a file sorting method and equipment. 【Background technique】 [0002] As the pace of people's life becomes faster and faster, electronic devices including mobile phones and tablet computers have become a necessity in people's lives. There are usually multiple files stored in electronic devices, and the names of the files include Chinese, English and Numeral symbols are combined in various forms. In the prior art, when sorting files, they are usually sorted according to the size of the ASCII value of the file name of each file, and the characteristics of each file name are not considered for sorting. This sorting method sometimes causes the sorting results to be inconsistent with User's viewing habits, for example, for file 11 and file 2 whose file names are numbers, file 11 is arranged before file 2 when sorting, but usually the user's viewing habit is that file 11...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F17/30
CPCG06F16/16
Inventor 魏建军
Owner LETV HLDG BEIJING CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products