CN109002446B - Intelligent sorting method, terminal and computer readable storage medium - Google Patents

Intelligent sorting method, terminal and computer readable storage medium Download PDF

Info

Publication number
CN109002446B
CN109002446B CN201710423367.8A CN201710423367A CN109002446B CN 109002446 B CN109002446 B CN 109002446B CN 201710423367 A CN201710423367 A CN 201710423367A CN 109002446 B CN109002446 B CN 109002446B
Authority
CN
China
Prior art keywords
files
attributes
priority
file
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710423367.8A
Other languages
Chinese (zh)
Other versions
CN109002446A (en
Inventor
吴坤灵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leadcore Technology Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leadcore Technology Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201710423367.8A priority Critical patent/CN109002446B/en
Publication of CN109002446A publication Critical patent/CN109002446A/en
Application granted granted Critical
Publication of CN109002446B publication Critical patent/CN109002446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the invention relates to the technical field of information, and discloses an intelligent sorting method, a terminal and a computer readable storage medium. The intelligent sorting method comprises the steps of respectively obtaining attributes of at least two files; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority. The embodiment of the invention also discloses a terminal/electronic equipment/server and a computer readable storage medium, so that the files can be browsed quickly by classification, the files to be searched by the user can be browsed quickly, and the requirement of the user for browsing the files can be met.

Description

Intelligent sorting method, terminal and computer readable storage medium
Technical Field
The embodiment of the invention relates to the technical field of information, in particular to an intelligent sorting method, a terminal and a computer readable storage medium.
Background
In modern terminal systems, programs and data of users, programs and data of operating systems themselves, and even various input and output devices are presented in the form of files, and in addition, various documents downloaded by users via the internet, various music files, and photographed photos are also presented in the form of files. Thus, the number of files in the terminal system is very large. In the prior art, files in a terminal system are generally managed uniformly by file management software, and the file management software generally manages the files in a classified manner according to a time sequence.
The inventor finds that at least the following problems exist in the prior art: because the number of files in the terminal is very large, when a file is searched by corresponding classification in file management in the terminal, a long time needs to be loaded and refreshed, and even a situation that the file cannot be loaded occurs.
Disclosure of Invention
The embodiment of the invention aims to provide an intelligent sorting method, a terminal and a computer readable storage medium, so that files can be browsed quickly in a classified mode, files to be searched by a user can be browsed quickly, and the requirement of the user for browsing the files can be met.
In order to solve the above technical problem, an embodiment of the present invention provides an intelligent sorting method, including: respectively acquiring the attributes of at least two files; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority.
An embodiment of the present invention further provides a terminal/electronic device/server, including: at least one processor; and a memory communicatively coupled to the at least one processor; the storage stores instructions which can be executed by at least one processor, and the instructions are executed by the at least one processor so as to enable the at least one processor to execute and respectively obtain the attributes of at least two files; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, comprising, when executed by a processor, implementing the following: respectively acquiring the attributes of at least two files; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority.
Compared with the prior art, the method and the device for processing the files have the advantages that the attributes of the at least two files are obtained respectively, the priorities of the at least two files can be calculated according to the respective attributes of the obtained at least two files, the at least two files can be sorted from high to low according to the priorities, and meanwhile, the sorting result can be displayed. In the embodiment of the invention, when files in the terminal are browsed in a classified manner, the sorted files can be loaded and refreshed according to the priority level, so that the files with high priority level are loaded and refreshed first, thus the files can be browsed in a classified manner quickly, and the files with high priority level can be browsed quickly. Meanwhile, the priorities of the at least two files are respectively calculated according to the respective attributes of the at least two files, so that the priority of the file to be searched by the user can be higher, the file to be searched by the user can be quickly browsed, and the requirement of the user for browsing the file can be met.
In addition, the calculating the priority of the at least two files according to the respective attributes of the at least two files specifically includes: respectively acquiring weights corresponding to N attributes of at least two files according to the respective attributes of the at least two files; and respectively calculating the priority of the at least two files according to the respective attributes and the corresponding weights of the at least two files. In the embodiment of the invention, the priority of the at least two files is respectively calculated by acquiring the weights corresponding to the N attributes of the at least two files and according to the N attributes and the corresponding weights of the at least two files, which is favorable for improving the priority of the files to be searched by a user.
In addition, respectively obtaining the weights corresponding to the N attributes of the at least two files according to the respective attributes of the at least two files includes: normalizing the respective attributes of at least two files; and acquiring weights corresponding to the N attributes of the at least two files according to the respective attributes of the at least two normalized files. In the embodiment of the invention, the weights corresponding to the N attributes of the at least two files are obtained according to the respective attributes of the at least two files after normalization, so that the process of calculating the weights corresponding to the N attributes of the at least two files is simpler, and the calculation result is more accurate.
In addition, at least two files are sorted and displayed from high to low according to the priority, and the method comprises the following steps: at least two files are sorted by priority from high to low and only the file with the highest priority is displayed. In the embodiment of the invention, after at least two files are sequenced according to the priority levels, only the file with the highest priority level is displayed, so that the time for loading other files can be saved, and the file to be searched by a user can be browsed more quickly.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a flow chart of an intelligent ranking method according to a first embodiment of the invention;
FIG. 2 is a flow chart of an intelligent ranking method according to a second embodiment of the invention;
FIG. 3 is a flow chart of a smart ordering method according to a third embodiment of the present invention;
fig. 4 is a flowchart of an intelligent sorting method according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments.
A first embodiment of the present invention relates to an intelligent sorting method. The core of the embodiment lies in that the attributes of at least two files are respectively obtained; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority. By sequencing at least two files from high to low according to the priority, when the files in the terminal are browsed in a classified mode, the sequenced files can be loaded and refreshed according to the priority, the files with high priority are loaded and refreshed first, accordingly, the files can be browsed in a classified mode quickly, and the files with high priority can be browsed quickly. Meanwhile, the priorities of the at least two files are respectively calculated according to the respective attributes of the at least two files, so that the priority of the file to be searched by the user can be higher, the file to be searched by the user can be quickly browsed, and the requirement of the user for browsing the file can be met. The following describes implementation details of the intelligent sorting method according to the present embodiment in detail, and the following is only provided for easy understanding and is not necessary for implementing the present embodiment.
As shown in fig. 1, the intelligent sorting method in this embodiment specifically includes:
step 101: the method comprises the steps of respectively obtaining attributes of at least two files, wherein any file in the at least two files comprises N attributes, and N is a positive integer.
Specifically, the method comprises the following steps: the terminal can respectively obtain the attributes of at least two files, wherein any one of the at least two files comprises N attributes, and the terminal can also respectively number the N attributes of the at least two files from 1 to N. For example, in the embodiment of the present invention, N is 3, and 3 attributes of each of at least two files are a format, a file directory, and an access count, and the terminal may number the 3 attributes of any file from 1 to 3.
Step 102: and respectively acquiring weights corresponding to the N attributes of the at least two files according to the respective attributes of the at least two files.
Specifically, after obtaining the respective attributes of the at least two files, the terminal may compare the sizes of the same attribute corresponding to the at least two files, and extract the maximum value of the attribute from the sizes, and after the terminal extracts the maximum values of the N attributes, the terminal may calculate the probability that any one of the N attributes occupies the N attributes, and use the probability as the weight corresponding to the attribute, so that the weights corresponding to the N attributes may be calculated sequentially.
Step 103: and respectively calculating the priority of the at least two files according to the respective attributes and the corresponding weights of the at least two files.
Specifically, the terminal may calculate the priorities of the at least two files respectively according to the N attributes corresponding to the at least two files respectively and the weights corresponding to the N attributes respectively.
Step 104: at least two files are sorted and displayed from high to low according to priority.
Specifically, after obtaining the respective priorities of the at least two files, the terminal may sort the at least two files from high to low according to the priorities, and may display the at least two files from high to low according to the priorities.
Compared with the prior art, the method and the device for processing the files have the advantages that the attributes of the at least two files are obtained respectively, the priorities of the at least two files can be calculated according to the respective attributes of the obtained at least two files, the at least two files can be sorted from high to low according to the priorities, and meanwhile, the sorting result can be displayed. In the embodiment of the invention, when files in the terminal are browsed in a classified manner, the sorted files can be loaded and refreshed according to the priority level, so that the files with high priority level are loaded and refreshed first, thus the files can be browsed in a classified manner quickly, and the files with high priority level can be browsed quickly. Meanwhile, the priorities of the at least two files are respectively calculated according to the respective attributes of the at least two files, so that the priority of the file to be searched by the user can be higher, the file to be searched by the user can be quickly browsed, and the requirement of the user for browsing the file can be met.
A second embodiment of the invention relates to an intelligent sorting method. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: in the second embodiment of the present invention, after the attributes of at least two files are obtained, the respective attributes of at least two files may be normalized, as shown in fig. 2.
Step 201: the method comprises the steps of respectively obtaining attributes of at least two files, wherein any file in the at least two files comprises N attributes, and N is a positive integer.
Specifically, the method comprises the following steps: the terminal can respectively obtain the attributes of at least two files, wherein any one of the at least two files comprises N attributes, and the terminal can also respectively number the N attributes of the at least two files from 1 to N.
Step 202: and normalizing the respective attributes of the at least two files. And the N attributes of the at least two normalized files are represented as x (i), and i is a natural number traversing from 1 to N.
Specifically, the method comprises the following steps: the terminal may perform normalization processing on the respective attributes of the at least two acquired files. For example, taking ten times of recent browsing or data search as an example, the directory attribute of the file can be simply counted to calculate the probability of occurrence, for example, if the same directory is accessed as 1 in the counted number of times, and if there are two directories, the number of accesses is 3 and 7 respectively, then the value is 0.3 and 0.7. And analogizing other attributes, wherein the judgment of the attribute values is based on the relationship among the files.
Step 203: and acquiring weights corresponding to the N attributes of the at least two files according to the respective attributes of the at least two normalized files. The weight corresponding to each attribute is represented as f (j) ═ Max (x (j))/∑ Max (x (j)), and j is a natural number traversing from 1 to N.
Specifically, the method comprises the following steps: after obtaining the respective attributes of at least two files, the terminal may compare the sizes of the same attribute corresponding to the at least two files, extract the maximum value of the attribute from the sizes, and record the maximum value as Max (x (j)), and after the terminal extracts the maximum values of the N attributes, the terminal may calculate the weights corresponding to the N attributes according to a formula f (j) ═ Max (x (j))/∑ Max (x (j)).
Step 204: and respectively calculating the priority of the at least two files according to the N attributes and the corresponding weights of the at least two normalized files. Wherein the priority of any one of the at least two files is denoted as P ═ Σ (x (i) × f (j)).
Specifically, after acquiring the N attributes corresponding to the at least two normalized files and the weights corresponding to the N attributes, the terminal may calculate the priorities of the at least two files according to the formula P ═ Σ (x (i) × f (j)). Wherein, P represents the priority of any one of the at least two files, x (i) represents N attributes of the at least two files after normalization, and f (j) represents the respective weights of the attributes.
Step 205: at least two files are sorted and displayed from high to low according to priority.
Specifically, after obtaining the respective priorities of the at least two files, the terminal may sort the at least two files according to the priorities from high to low, and may add a field for storing the priorities of the at least two files in the browsing database, and display the at least two files in a list form according to the priorities from high to low.
For example, the terminal includes four files, which are a document 1, a document 2, a music file, and a photo file, and the terminal can obtain four attributes of each of the four files: file format, file directory, whether it is a new file, and access times. The embodiment of the present invention is explained by the last five access records, in which the document 2 is accessed twice, and the document 1, the music file and the photo file are accessed once respectively, as shown in table 1:
TABLE 1
Figure BDA0001315578780000051
Figure BDA0001315578780000061
Firstly, normalizing the attributes of the four acquired files to obtain normalized attributes, which are denoted as x (i). Specifically, the description will be given taking normalization of the format attribute as an example. As can be seen from table 1, the format of the file accessed three times is pdf, the format of the file accessed once is Mp3, the format of the file accessed once is jpg, and the obtained attributes are normalized to obtain an attribute value in pdf format of 0.6, an attribute value in Mp3 format of 0.2, and an attribute value in jpg format of 0.2, and specific values of the attributes are shown in tables 2, 3, 4, and 5.
TABLE 2
Format pdf Mp3 jpg
x(i) 0.6 0.2 0.2
TABLE 3
File directory /sdcard/tencent/Qqfile_recv/ /sdcard/music/ /sdcard/photo/
x(i) 0.6 0.2 0.2
TABLE 4
Whether to update a file Is that Whether or not
x(i) 0.8 0.2
TABLE 5
Number of accesses Document 1 Document 2 Music Photograph
x(i) 0.2 0.4 0.2 0.2
Next, after obtaining the respective attributes of the four normalized files, weights corresponding to the respective attributes of the four files may be calculated according to a formula f ═ Max (x (j))/∑ Max (x (j))). Specifically, the terminal may extract the maximum value Max (x (j)) of each attribute, and as shown in table 6, after extracting the maximum value of each attribute, the terminal may normalize the extracted maximum value to obtain the weight value corresponding to each attribute. The specific calculations are shown in table 7:
TABLE 6
Figure BDA0001315578780000062
Figure BDA0001315578780000071
TABLE 7
Properties Format File directory Whether to update a file Number of accesses
Attribute weight value f 0.25 0.25 0.33 0.17
Finally, according to the formula P ═ Σ (x (i) × f (j)), the terminal can calculate the priorities of the four files, as shown in table 8:
TABLE 8
Number of accesses Document 1 Document 2 Music Photograph
Priority value P 0.598 0.612 0.2 0.398
After obtaining the respective priorities of the four files, the terminal may sort the four files from high to low according to the priorities, and may display the four files from high to low according to the priorities.
In the embodiment of the invention, the priority of the at least two files is respectively calculated by acquiring the weights corresponding to the N attributes of the at least two files and according to the N attributes and the corresponding weights of the at least two files, which is favorable for improving the priority of the files to be searched by a user. According to the respective attributes of the at least two normalized files, weights corresponding to the respective N attributes of the at least two files are obtained, so that the process of calculating the weights corresponding to the respective N attributes of the at least two files is simpler, and the calculation result is more accurate.
A third embodiment of the present invention relates to an intelligent sorting method. The third embodiment is further optimized on the basis of the first embodiment, and the main optimization is as follows: in the third embodiment of the present invention, after the terminal sorts at least two files according to the priority from high to low, only the file with the highest priority may be displayed. The embodiment of the present invention is described by taking four attributes as an example, as shown in fig. 3.
Step 301: and acquiring respective attributes of the at least two files by monitoring the at least two files. The attributes include format, directory, whether the file is new or not, and access times.
Specifically, the terminal may monitor the stored at least two files by using an inotify and epoll mechanism in the system, and obtain respective attributes of the at least two files.
Step 302: and respectively calculating the priority of the at least two files according to the respective attributes of the at least two files.
Specifically, after obtaining the respective attributes of the at least two files, the terminal may compare the sizes of the same attribute corresponding to the at least two files, and extract the maximum value of the attribute from the sizes, and after the terminal extracts the maximum values of the four attributes, the terminal may calculate the proportion of any one of the four attributes in the four attributes, and use the proportion as the weight corresponding to the attribute, so that the weights corresponding to the four attributes may be calculated in sequence. After the weights corresponding to the four attributes are obtained, the terminal can also calculate the priorities of the at least two files according to the four attributes corresponding to the at least two files and the weights corresponding to the four attributes.
Step 303: at least two files are sorted by priority from high to low and only the file with the highest priority is displayed.
Specifically, after obtaining the respective priorities of the at least two files, the terminal may sort the at least two files from high to low in priority, and may display only the file with the highest priority.
In the embodiment of the invention, after at least two files are sequenced according to the priority levels, only the file with the highest priority level is displayed, so that the time for loading other files can be saved, and the file to be searched by a user can be browsed more quickly.
A fourth embodiment of the present invention relates to an intelligent sorting method. The fourth embodiment is further improved on the basis of the first embodiment, and the main improvement lies in that: in the fourth embodiment of the present invention, the terminal may obtain the respective attributes of at least two files according to the input information of the user in the popped-up information box, as shown in fig. 4.
Step 401: and popping up an information frame.
Specifically, before obtaining the attributes of at least two files, the terminal may pop up an information box, where the information box may include the attributes of the at least two files, so that the user may select a desired attribute in the information box according to an actual situation.
Step 402: and acquiring input information of the user in the information frame.
Specifically, after detecting that the user has checked out the required attribute in the information box, the terminal may obtain the input information of the user in the information box.
Step 403: and respectively acquiring the respective attributes of the at least two files according to the input information in the information frame. Wherein, in at least two files, any file comprises N attributes, and N is a positive integer.
Specifically, the terminal may obtain N attributes of at least two files, respectively, according to the input information of the user in the information box. For example, the information frame includes attributes such as a file directory, a file format, whether the file is a new file, access times, whether the file is application-generated data, and the like, a user can check the file directory, the file format, whether the file is a new file, and the access times in the information frame according to actual conditions, the terminal can obtain input information of the user in the information frame, and can obtain four attributes of at least two files, namely the file directory, the file format, whether the file is a new file, and the access times according to the input information of the user.
Step 404: and respectively calculating the priority of the at least two files according to the respective attributes of the at least two files.
Specifically, after obtaining the respective attributes of the at least two files, the terminal may compare the sizes of the same attribute corresponding to the at least two files, and extract the maximum value of the attribute from the sizes, and after the terminal extracts the maximum values of the N attributes, the terminal may calculate the probability that any one of the N attributes occupies the N attributes, and use the probability as the weight corresponding to the attribute, so that the weights corresponding to the N attributes may be calculated sequentially. The terminal can calculate the priority of the at least two files respectively according to the N attributes corresponding to the at least two files respectively and the weights corresponding to the N attributes respectively.
Step 405: at least two files are sorted and displayed from high to low according to priority.
Specifically, after obtaining the respective priorities of the at least two files, the terminal may sort the at least two files from high to low according to the priorities, and may display the at least two files from high to low according to the priorities.
In the embodiment of the invention, the terminal can respectively acquire the respective attributes of the at least two files according to the input information of the user in the acquired information frame, so that the attribute acquisition of the at least two files is facilitated according to the actual situation, and the realization mode of acquiring the attributes of the at least two files is more flexible.
The steps of the above methods are divided for clarity, and the implementation may be combined into one step or split some steps, and the steps are divided into multiple steps, so long as the same logical relationship is included, which are all within the protection scope of the present patent; it is within the scope of the patent to add insignificant modifications to the algorithms or processes or to introduce insignificant design changes to the core design without changing the algorithms or processes.
A fifth embodiment of the present invention relates to a terminal/electronic device/server, comprising at least one processor; and a memory communicatively coupled to the at least one processor, wherein the memory stores instructions executable by the at least one processor, the instructions being executable by the at least one processor to enable the at least one processor to obtain attributes of the at least two files, respectively; wherein, in at least two files, any file comprises N attributes, and N is a positive integer; respectively calculating the priority of at least two files according to the respective attributes of the at least two files; at least two files are sorted and displayed from high to low according to priority.
Where the memory and processor are connected by a bus, the bus may comprise any number of interconnected buses and bridges, the buses connecting together one or more of the various circuits of the processor and the memory. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. The data processed by the processor is transmitted over a wireless medium via an antenna, which further receives the data and transmits the data to the processor.
The processor is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And the memory may be used to store data used by the processor in performing operations.
Compared with the prior art, the method and the device for processing the files have the advantages that the attributes of the at least two files are obtained respectively, the priorities of the at least two files can be calculated according to the respective attributes of the obtained at least two files, the at least two files can be sorted from high to low according to the priorities, and meanwhile, the sorting result can be displayed. In the embodiment of the invention, when files in the terminal are browsed in a classified manner, the sorted files can be loaded and refreshed according to the priority level, so that the files with high priority level are loaded and refreshed first, thus the files can be browsed in a classified manner quickly, and the files with high priority level can be browsed quickly. Meanwhile, the priorities of the at least two files are respectively calculated according to the respective attributes of the at least two files, so that the priority of the file to be searched by the user can be higher, the file to be searched by the user can be quickly browsed, and the requirement of the user for browsing the file can be met.
A sixth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (7)

1. An intelligent sequencing method, comprising:
respectively acquiring the attributes of at least two files; wherein, in the at least two files, any file comprises N attributes, and N is a positive integer;
respectively calculating the priority of the at least two files according to the respective attributes of the at least two files;
sorting and displaying the at least two files from high to low according to the priority;
the calculating the priorities of the at least two files according to the respective attributes of the at least two files includes:
respectively acquiring weights corresponding to the N attributes of the at least two files according to the respective attributes of the at least two files; respectively calculating the priority of the at least two files according to the respective attributes and the corresponding weights of the at least two files; wherein, calculating the priority of any one of the at least two files specifically comprises: respectively multiplying N attributes of a file to be calculated by the weights corresponding to the N attributes to obtain N products; summing the obtained N products to obtain the priority of the file to be calculated; wherein, the priority calculation formula of any one of the at least two files is as follows: p = ∑ (x (i) × f (j)); p is priority data, x (i) is an attribute, f (j) is a weight corresponding to the attribute;
the obtaining, according to the respective attributes of the at least two files, the weights corresponding to the respective N attributes of the at least two files respectively specifically includes: normalizing the respective attributes of the at least two files; comparing the sizes of the same normalized attribute corresponding to the at least two files to obtain the maximum value of the same normalized attribute; after the maximum values of the N normalized attributes are respectively obtained, calculating the probability of the maximum value of any one of the N normalized attributes in the maximum value of the N normalized attributes, wherein the probability is the weight corresponding to any one attribute.
2. The intelligent sorting method according to claim 1, wherein the obtaining of the attributes of the at least two files respectively specifically comprises:
and acquiring respective attributes of the at least two files by monitoring the at least two files.
3. The intelligent sorting method according to claim 1, wherein the sorting and displaying the at least two files according to the priority from high to low comprises:
and sorting the at least two files according to the priority from high to low, and only displaying the file with the highest priority.
4. The intelligent sorting method according to claim 1, wherein before the obtaining the attributes of the at least two files, respectively, further comprises:
popping up an information frame;
acquiring input information of a user in the information frame;
the respectively obtaining the attributes of the at least two files specifically includes:
and respectively acquiring the respective attributes of the at least two files according to the input information in the information frame.
5. The intelligent ranking method of any one of claims 1 to 4 wherein the attributes comprise: format, directory, whether it is a new file, number of accesses.
6. A terminal/electronic device/server, comprising:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the intelligent sequencing method of any of claims 1 to 5.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the intelligent ranking method of any one of claims 1 to 5.
CN201710423367.8A 2017-06-07 2017-06-07 Intelligent sorting method, terminal and computer readable storage medium Active CN109002446B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710423367.8A CN109002446B (en) 2017-06-07 2017-06-07 Intelligent sorting method, terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710423367.8A CN109002446B (en) 2017-06-07 2017-06-07 Intelligent sorting method, terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109002446A CN109002446A (en) 2018-12-14
CN109002446B true CN109002446B (en) 2021-06-01

Family

ID=64572976

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710423367.8A Active CN109002446B (en) 2017-06-07 2017-06-07 Intelligent sorting method, terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109002446B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933563A (en) * 2019-03-18 2019-06-25 维沃移动通信有限公司 A kind of file management method and terminal
CN113407787A (en) * 2021-06-24 2021-09-17 青岛海信移动通信技术股份有限公司 Terminal equipment and object sorting method

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101801036B (en) * 2010-03-03 2013-01-30 华为终端有限公司 Network traffic management method and system and common node
CN102346784A (en) * 2011-11-14 2012-02-08 苏州阔地网络科技有限公司 Database backup method and system
CN103024585B (en) * 2012-12-28 2017-02-22 Tcl集团股份有限公司 Program recommendation system, program recommendation method and terminal equipment
CN104008116B (en) * 2013-02-27 2018-06-01 联想(北京)有限公司 A kind of file synchronisation method and electronic equipment
US9244950B2 (en) * 2013-07-03 2016-01-26 International Business Machines Corporation Method for synthetic data generation for query workloads
CN103686914B (en) * 2013-09-09 2017-11-28 镇江青思网络科技有限公司 Vertical handoff method SNVHO based on service preferences and network condition
CN105302588A (en) * 2014-07-09 2016-02-03 联想移动通信科技有限公司 Terminal application loading method and apparatus and terminal
KR102119868B1 (en) * 2015-10-20 2020-06-05 전자부품연구원 System and method for producting promotional media contents
CN105512331B (en) * 2015-12-28 2019-03-26 海信集团有限公司 A kind of video recommendation method and device
CN105809248B (en) * 2016-03-01 2018-07-24 中山大学 A kind of configuration and exchange method of the distribution artificial neural network on SDN
CN105976212B (en) * 2016-05-30 2020-02-07 北京京东尚科信息技术有限公司 Commodity display method and device and electronic commerce platform
CN106301927B (en) * 2016-08-22 2019-08-20 华南理工大学 More attribute vertical handoff methods based on vehicle-mounted heterogeneous network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Ranking estimation performance by estimator randomization and attribute support;Hanlin Yin等;《17th International Conference on Information Fusion (FUSION)》;20141007;第1-8页 *
基于权重系数法的卫星信息分发服务优先级算法;苏保华等;《第九届卫星通信学术年会论文集》;20130731;第238-244页 *
基于道路属性的优先级权系数算法在架空线路入地改造中的应用;徐昌云等;《电力系统及其自动化学报》;20040630;第1-4页 *

Also Published As

Publication number Publication date
CN109002446A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
US20200004790A1 (en) Method and system for extracting sentences
US9747305B2 (en) Image search device, image search method, program, and computer-readable storage medium
CA3109481A1 (en) Identification and application of hyperparameters for machine learning
US9940366B2 (en) Image search device, image search method, program, and computer-readable storage medium
CN113204621B (en) Document warehouse-in and document retrieval method, device, equipment and storage medium
CN111984792A (en) Website classification method and device, computer equipment and storage medium
CN113722438A (en) Sentence vector generation method and device based on sentence vector model and computer equipment
CN109241392A (en) Recognition methods, device, system and the storage medium of target word
CN111277274A (en) Data compression method, device, equipment and storage medium
CN109002446B (en) Intelligent sorting method, terminal and computer readable storage medium
CN108182200B (en) Keyword expansion method and device based on semantic similarity
CN109819002B (en) Data pushing method and device, storage medium and electronic device
CN108287850B (en) Text classification model optimization method and device
CN110162769B (en) Text theme output method and device, storage medium and electronic device
CN107391627B (en) Data memory occupation analysis method and device and server
WO2022268089A1 (en) Data processing method and system and related device
CN110852078A (en) Method and device for generating title
CN113139383A (en) Document sorting method, system, electronic equipment and storage medium
CN111782812A (en) K-Means text clustering method and device and terminal equipment
CN112861034B (en) Method, device, equipment and storage medium for detecting information
CN116680367B (en) Data matching method, data matching device and computer readable storage medium
CN116610782B (en) Text retrieval method, device, electronic equipment and medium
CN106294476B (en) Feature word relation obtaining method and device
CN108959346B (en) Method, device, medium and equipment for determining text file thumbnail information
CN103514227A (en) Method and device for updating database

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant