CN109240991A - File recommendation method, device, storage medium and intelligent terminal - Google Patents

File recommendation method, device, storage medium and intelligent terminal Download PDF

Info

Publication number
CN109240991A
CN109240991A CN201811125935.7A CN201811125935A CN109240991A CN 109240991 A CN109240991 A CN 109240991A CN 201811125935 A CN201811125935 A CN 201811125935A CN 109240991 A CN109240991 A CN 109240991A
Authority
CN
China
Prior art keywords
file
time interval
time
manager
history
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.)
Granted
Application number
CN201811125935.7A
Other languages
Chinese (zh)
Other versions
CN109240991B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811125935.7A priority Critical patent/CN109240991B/en
Publication of CN109240991A publication Critical patent/CN109240991A/en
Application granted granted Critical
Publication of CN109240991B publication Critical patent/CN109240991B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the present application discloses a kind of file recommendation method, device, storage medium and intelligent terminal.This method includes detecting the entry event of file manager, obtains file manager and scans the file come;Preset file usage history database is inquired, the history use information and creation time of each file are obtained;It determines the creation time of each file and the time interval at current time, the file destination that will be opened is predicted based on history use information and time interval;File recommendation operation is executed by object of file destination.By using technical solution provided by the embodiments of the present application, go out the preference profile that user opens file based on history use information and time compartment analysis, realization will meet the file recommendation of user preference to user before user's locating file, the complexity of file search is simplified, and is effectively shortened the time of file search.

Description

File recommendation method, device, storage medium and intelligent terminal
Technical field
The invention relates to information prediction technology more particularly to a kind of file recommendation method, device, storage medium and Intelligent terminal.
Background technique
With the development of the development of intelligent terminal technology, especially memory technology, intelligent terminal is the storage that user provides Space is increasing.The file for needing to store can be stored in intelligent terminal whenever and wherever possible by user, be the life and work of user Etc. providing all various conveniences.
However, the number of files stored on intelligent terminal is also more and more as intelligent terminal uses the increase of time, from In find file destination ready for use for a user and also become very difficult.
Summary of the invention
The embodiment of the present application provides a kind of file recommendation method, device, storage medium and intelligent terminal, can simplify file Difficulty is searched, shortens and searches the time.
In a first aspect, the embodiment of the present application provides a kind of file recommendation method, comprising:
The entry event for detecting file manager obtains the file manager and scans the file come;
Preset file usage history database is inquired, when obtaining the history use information and creation of each file Between;
Determine the creation time and the time interval at current time of each file, based on the history use information with And time interval predicts the file destination that will be opened;
File recommendation operation is executed by object of the file destination.
Second aspect, the embodiment of the present application also provides a kind of file recommendation device, which includes:
File scan module obtains the file manager and scans for detecting the entry event of file manager The file come;
Data obtaining module obtains the history of each file for inquiring preset file usage history database Use information and creation time;
File prediction module is based on for determining the creation time and the time interval at current time of each file The history use information and time interval predict the file destination that will be opened;
File recommendation module, for executing file recommendation operation by object of the file destination.
The third aspect, the embodiment of the present application also provides a kind of computer readable storage mediums, are stored thereon with computer Program realizes the file recommendation method as described in the embodiment of the present application when the computer program is executed by processor.
Fourth aspect, the embodiment of the present application provide a kind of intelligent terminal, including memory, processor and are stored in storage It can realize on device and when the computer program of processor operation, the processor execute the computer program as the application is real Apply file recommendation method described in example.
The embodiment of the present application provides a kind of file recommendation scheme, and the entry event including detecting file manager obtains File manager scans the file come;Preset file usage history database is inquired, the history of each file is obtained Use information and creation time;The creation time and the time interval at current time for determining each file, are made based on history The file destination that will be opened is predicted with information and time interval, and executes file recommendation behaviour by object of the file destination Make.By using technical solution provided by the embodiments of the present application, in the entry event for detecting file manager, it is based on history Use information and time compartment analysis go out the preference profile that user opens file, analyze current most probable based on the preference profile and beat The file destination opened, and recommend the file destination to user, realize the file that will meet user preference before user's locating file User is recommended, the complexity of file search is simplified, and is effectively shortened the time of file search.
Detailed description of the invention
Fig. 1 is a kind of flow chart of file recommendation method provided by the embodiments of the present application;
Fig. 2 is a kind of page schematic diagram of file manager homepage provided by the embodiments of the present application;
Fig. 3 is the flow chart of another file recommendation method provided by the embodiments of the present application;
Fig. 4 is the flow chart of another file recommendation method provided by the embodiments of the present application;
Fig. 5 is a kind of structural schematic diagram of file recommendation device provided by the embodiments of the present application;
Fig. 6 is a kind of structural schematic diagram of intelligent terminal provided by the embodiments of the present application;
Fig. 7 is a kind of structural block diagram of smart phone provided by the embodiments of the present application.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the application, rather than the restriction to the application.It also should be noted that in order to just Part relevant to the application is illustrated only in description, attached drawing rather than entire infrastructure.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The processing or method described as flow chart.Although each step is described as the processing of sequence by flow chart, many of these Step can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of each step can be rearranged.When its operation The processing can be terminated when completion, it is also possible to have the additional step being not included in attached drawing.The processing can be with Corresponding to method, function, regulation, subroutine, subprogram etc..
Fig. 1 is a kind of flow chart of file recommendation method provided by the embodiments of the present application, and this method can be by file recommendation Device executes, wherein the device can be implemented by software and/or hardware, can generally integrate in an intelligent terminal.This method packet It includes:
Step 110, the entry event for detecting file manager obtain the file manager and scan the file come.
Wherein, the program for the management file that the system that file manager can be intelligent terminal carries, is also possible to third The file manager application just provided, to help the file that user handles routine work, management is stored in local and network.Text It is basic that part manager can provide document creation, File Open, Fileview, Document Editing, file movement and file deletion etc. Operation.
It should be noted that the embodiment of the present application is not there are many kinds of the conditions of the entry event of triggering file manager Make specific limit.For example, triggering file manager if detecting for the clicking operation of the corresponding icon of file manager Entry event detects the entry event of file manager.For another example, if detecting the control language that control file manager is opened Sound or control gesture then trigger the entry event of file manager.For another example, it will be beaten according to the history of user using preference prediction The opening time of open file manager triggers the entry event of file manager if system time reaches the opening time.Example Such as, it counts to obtain user's usually opening file manager progress file clean-up when memory is lower than preset threshold based on big data, As the opening time for opening file manager at the time of memory can be then lower than to preset threshold.
It should be noted that file manager is after opening, automatic execute stores for intelligent terminal local and/or cloud File scan operation, obtain listed files.This document list includes the file of the types such as txt, ppt, mp3, mp4 and xls Deng.
Illustratively, when detecting the clicking operation for file manager icon, the entrance of file manager is triggered Event opens file manager.If file manager is opened, file in automatically scanning intelligent terminal local obtains text Part list.Optionally, the file of file manager also automatically scanning intelligent terminal cloud storage, obtains file in local and cloud Listed files.
Step 120, the preset file usage history database of inquiry, obtain each file history use information and Creation time.
It should be noted that the storage of file usage history databases meets the file type of the file of preset condition, beats ETAD expected time of arrival and departure and filename etc..Wherein, preset condition can be file and belong to default white list.Pre-establish file type and file The white list in path.For example, the file types, and/data/abcdef.txt such as creation storage txt, ppt, mp3 and mp4 etc. are set Determine the white list of file path.It should be noted that storing the file of which type or the file in which path in white list It can be system default, be also possible to by user's self-setting according to actual needs.
It should be noted that judging the corresponding file object of this document open instructions when detecting File Open instruction Whether default white list is belonged to.When as detected that open function executes every time, judge that the corresponding file of the parameter of open function is It is no to preset in white list.Wherein, open function belongs to bottom libc function library, modifies to former open function, realizes every It is secondary to judge that this document is all in default white list when having file open operation.If so, by the file type of this document object, Opening time and filename are stored in file usage history database.If the corresponding file object of this document open instructions is not belonging to pre- If white list, then file open operation is executed in response to this document open instructions.In addition, being built-in with file use in intelligent terminal Historical data base.It should be noted that above-mentioned judgment step is then executed whenever detecting File Open instruction, with to file Data record is added in usage history database.
Illustratively, in the entry event for detecting file manager, each text come is scanned with file manager Part is object, inquires preset file usage history database, and the history of the creation time and file that obtain each file uses Information.Wherein, history use information includes files classes belonging to number and each file that each file occurs in the database The history of type opens frequency etc..It should be noted that file creation when in can execute open function, if this document belong to it is default The file type of the newly created file, opening time and filename are then stored in file usage history database by white list, and The creation time of this document is determined according to the execution time of open function.
Step 130, the creation time and the time interval at current time for determining each file, are made based on the history The file destination that will be opened is predicted with information and time interval.
It should be noted that calculating the creation time of each file and the time difference at current time, created as this document The time interval of time and current time, using the time interval as reference time interval.
It should be noted that it is each to record each file in file usage history database when detecting predeterminable event Opening time interval when opening apart from this document establishment moment, and by the opening time interval carry out sequence arrangement, when obtaining Between be spaced set, respectively the time interval set obtain setting quantity subclass, be subclass serial number.Count each height File Open number present on set determines between the corresponding opening time interval of each subclass according to File Open number Every weight, stores opening time interval and be spaced the incidence relation of weight.Such as, the time interval that a certain subclass includes is 5~8 Minute, and File Open number is higher present on the subclass, then it is assumed that user preference is 5~8 points after document creation is good This document is opened after clock, can distribute higher interval weight for the time interval that the subclass includes.Wherein, interval weight can To be the numerical value of system default, corresponding interval weight can be matched according to File Open number present on subclass.Wherein, It can be clocked flip predeterminable event, trigger predeterminable event when the users such as 2:00 AM do not use intelligent terminal.It can be with It is periodic triggering predeterminable event, such as every other day triggers predeterminable event.
It should be noted that each type beats in statistics file usage history database when detecting predeterminable event The frequency is opened, matches corresponding type weight according to the frequency is opened.Wherein, type weight can be the numerical value of system default, if certain The opening frequency of one type is higher, then can match higher type weight.
It should be noted that number weight can be the numerical value of system default, occurred in the database according to each file Number match corresponding number weight.For example, if the number that occurs in the database of a certain file is higher, can match compared with High number weight.
Illustratively, the creation time and the difference at current time for calculating separately each file, as the reference time Interval.With going through for file type belonging to each file frequency of occurrence in the database, reference time interval and this document History opens number and is characterized parameter.Obtain the corresponding number weight of the frequency of occurrence, corresponding of the reference time interval The corresponding type weight of the frequency is opened every weight and the history.Based on features described above parameter and number weight, interval weight, class The score of each file of type weight calculation.Such as according to the frequency of occurrence, number weight, reference time interval, interval weight, go through History opens the frequency and type weight, and the score of each file is calculated by the way of weighted sum;According to the score pair The file carries out descending arrangement, using the file for the preceding setting quantity that sorts as the file destination that will be opened.
Step 140 executes file recommendation operation by object of the file destination.
Illustratively, the filename and type icon of the file destination are obtained.Wherein, type icon, which can be, represents file The icon of type, if the type icon of mp3 file is the icon with note.The file destination is shown in file manager homepage Filename and type icon.For example, according to preset rules adjustment file manager homepage page layout, can be according to than Example, which moves down, shows content etc. in file manager homepage, realize and form a white space at the top of file manager homepage.Newly Figure layer is built, region corresponding with the white space shows filename and type icon in newly-built figure layer, by the newly-built figure The remaining area of layer is set as transparent, and it is corresponding to page layout file manager homepage adjusted to synthesize the newly-built figure layer Figure layer realizes the filename and type icon of file manager homepage displaying target file after the adjustment.Fig. 2 is that the application is real A kind of page schematic diagram of file manager homepage of example offer is provided.Fig. 2 shows original manager homepage and displaying targets The comparative diagram of the file manager homepage of file, at the top of file manager homepage 200, frame 210 is recommended in display, is recommending frame The filename 212 and type icon 211 of displaying target file in 210.
The technical solution of the present embodiment detects the entry event of file manager, obtains file manager and scan File;Preset file usage history database is inquired, the history use information and creation time of each file are obtained; It determines the creation time and the time interval at current time of each file, is predicted based on history use information and time interval The file destination that will be opened, and file recommendation operation is executed by object of the file destination.Implement by using the application The technical solution that example provides, in the entry event for detecting file manager, based on history use information and time interval point The preference profile that user opens file is precipitated, the file destination that current most probable is opened is analyzed based on the preference profile, and to The file destination is recommended at family, realizes the file recommendation for meeting user preference before user's locating file to user, simplifies text The complexity that part is searched, and it is effectively shortened the time of file search.
Fig. 3 is the flow chart of another file recommendation method provided by the embodiments of the present application, as shown in figure 3, this method packet It includes:
Step 310 detects clicking operation for the corresponding icon of file manager, triggers the entrance of file manager Event.
Step 320, when detecting the entry event, obtain the file manager scan come file.
Step 330, the preset file usage history database of inquiry, obtain each file and go through in the file use The history of file type belonging to the creation time of frequency of occurrence, each file in history database and each file opens frequency It is secondary.
Illustratively, sequence acquisition file manager scans a file in the listed files come, is with this document Object inquires preset file usage history database.This document is obtained in file usage history database according to query result In frequency of occurrence.And the creation time of this document can also be obtained.In addition, being looked into based on file type belonging to this document File usage history database is ask, the history for obtaining this document type opens the frequency.It should be noted that the history of file type Open the set of the opening frequency for the All Files that the frequency includes the type.It adopts every in determining listed files in a similar manner A file text belonging to the creation time of frequency of occurrence, each file in file usage history database and each file The history of part type opens the frequency.
Step 340, the creation time and the difference at current time for calculating separately each file, as between the reference time Every.
Step 350 obtains the corresponding number weight of the frequency of occurrence, the corresponding interval weight in the reference time interval Type weight corresponding with the history opening frequency.
It since corresponding interval weight has been determined for different opening time intervals in advance, and is the different opening frequency point Match corresponding type weight, and is assigned with corresponding number weight for the number that each file occurs in the database.Base In above-mentioned incidence relation, number weight, interval weight and the type weight of available each file.
Step 360 opens the frequency according to the frequency of occurrence, number weight, reference time interval, interval weight, history And type weight, the score of each file is calculated by the way of weighted sum.
Step 370 carries out descending arrangement to the file according to the score, by the file of preceding setting quantity that sorts As the file destination that will be opened.
Illustratively, the file come is scanned to file manager according to score and carry out descending arrangement, by highest scoring Preceding 4 files are as the file destination that will be opened.
Step 380, the filename and type icon for obtaining the file destination.
Step 390, the page layout based on preset rules adjustment file manager homepage, file manager after the adjustment Homepage shows the filename and type icon.
The technical solution of the present embodiment, in the entry event for detecting file manager, based on history use information and Time interval analyzes the preference profile that user opens file, analyzes the target text that current most probable is opened based on the preference profile Part, and recommend the file destination to user, the file recommendation of user preference will be met to user before user's locating file by realizing, The complexity of file search is simplified, and is effectively shortened the time of file search.
Fig. 4 is the flow chart of another file recommendation method provided by the embodiments of the present application, as shown in figure 4, this method packet It includes:
Step 401, detection File Open instruction.
Illustratively, when detecting that open function executes, File Open instruction is confirmly detected.
Step 402 judges that the File Open instructs whether corresponding file object belongs to default white list, if so, Step 403 is executed, it is no to then follow the steps 413.
For example, the file type of the corresponding file object of this document open instructions is obtained, it is pre- according to this document type queries If white list, determine whether this document object belongs to default white list according to query result.If this document object belong to preset it is white List thens follow the steps 403.
Optionally, the corresponding file path of the corresponding file object of this document open instructions is obtained, according to this document path Default white list is inquired, determines whether this document object belongs to default white list according to query result.
It should be noted that the code of modification original open function, increase judge the corresponding file pair of this document open instructions As if the no code for belonging to default white list.
The file type of the file object, opening time and filename are stored in the file usage history by step 403 Database.
Illustratively, open function can be executed to the time completed as the opening time of this document object.It can be with It will test opening time etc. of the time of open function execution as this document object.By the files classes of this document object Type, opening time and filename are stored in file usage history database.
Step 404 judges whether to detect predeterminable event, if so, 405 are thened follow the steps, it is no to then follow the steps 408.
The opening number of each file type in step 405, statistics file usage history database.
It should be noted that file type can be txt, ppt, mp3 and mp4, count respectively the entitled txt, ppt of suffix, The opening number of file in the files usage history database such as mp3 and mp4.
Step 406, the opening time interval for recording establishment moment apart from this document when opening each file each time, to this The carry out sequence arrangement of opening time interval, obtains time interval set, respectively the time interval set, obtains the son of setting quantity Set.
When illustratively, due to being stored with opening when each file is opened every time in file usage history database Between, and file can call an open function in creation automatically, and the head of this document is saved in file usage history database Secondary opening record.Read each item in file usage history database respectively and record corresponding opening time, calculate opening time with The difference of the creation time of this document, as opening time interval.Optionally, to the opening time interval, progress sequence is arranged To time interval set.If opening time interval is 2 minutes, 5 minutes, 9 minutes, 11 minutes, 15 minutes, 18 minutes, 20 respectively Minute, 23 minutes, 25 minutes, 31 minutes, time interval collection is combined into [2,5,9,11,15,18,20,23,25,31], by the time Interval set is divided into 5 parts, obtains 5 subclass [2,5], [9,11], [15,18], [20,23], [25,31].
Optionally, maximum time interval and minimum interval are obtained to the opening time interval progress sequence arrangement.Really The fixed numerical intervals being made of maximum time interval and minimum interval, respectively the number section obtains multiple subintervals.Such as, It is [2,31] by the numerical intervals that maximum time interval and minimum interval are constituted, respectively the numerical intervals obtain 5 subsets It closes, i.e., [2,7], [8,13], [14,19], [20,25], [26,31].
It is understood that since the operation that user opens file is not disposably to operate, so opening time is not Disconnected variation, therefore set of above-mentioned time (or being time interval) is also variation, thus the corresponding son of each interval weight Section is also variation.
Step 407, the record strip number for including according to each subclass determine the corresponding opening time interval of each subclass Interval weight, store the opening time interval and be spaced weight incidence relation.
Illustratively, the File Open number that the corresponding time interval of each subclass includes, as record strip number are counted. The corresponding interval weight in opening time interval is determined based on File Open number, is that the time interval of File Open often assigns Biggish interval weight is that the few time interval of File Open number assigns lesser interval weight, stores opening time interval With the incidence relation of interval weight.
Step 408 judges whether to detect the entry event of file manager, if so, thening follow the steps 409, otherwise, hold Row step 401.
Step 409, the acquisition file manager scan the file come, inquire preset file usage history data Library obtains the history use information and creation time of each file.
Step 410, the creation time and the time interval at current time for determining each file, are made based on the history The file destination that will be opened is predicted with information and time interval.
Step 411, the filename and type icon for obtaining the file destination.
Step 412, the page layout based on preset rules adjustment file manager homepage, file manager after the adjustment Homepage shows the filename and type icon.
Step 413 opens the corresponding file object of the File Open instruction.
The technical solution of the present embodiment is realized by the code segment of the open function in modification native system and is opening text Judge whether this document belongs to default white list when part, if so, the file type, File Open time and text of record this document Part title is to file usage history database.When detecting predeterminable event, preset file usage history database is inquired, is obtained Take frequency of occurrence of each file in the file usage history database, the creation time of each file and each The history of file type belonging to file opens the frequency, and based on above-mentioned each feature be file manager scan come file Marking obtains file destination, executes file recommendation operation by object of the file destination, and realizing will symbol before user's locating file The file recommendation of user preference is closed to user.
Fig. 5 is a kind of structural schematic diagram of file recommendation device provided by the embodiments of the present application.The device can by software and/ Or hardware realization, it is typically integrated in intelligent terminal, can have by executing a kind of file recommendation method simplified-file lookup scheme Shorten to effect the time of file search.As shown in figure 5, the device includes:
File scan module 510 obtains the file manager scanning for detecting the entry event of file manager File out;
Data obtaining module 520 obtains going through for each file for inquiring preset file usage history database History use information and creation time;
File prediction module 530, for determining the creation time and the time interval at current time of each file, base The file destination that will be opened is predicted in the history use information and time interval;
File recommendation module 540, for executing file recommendation operation by object of the file destination.
The embodiment of the present application provides a kind of file recommendation device and is based in the entry event for detecting file manager History use information and time compartment analysis go out the preference profile that user opens file, currently most may be used based on preference profile analysis The file destination that can be opened, and recommend the file destination to user, realization will meet user preference before user's locating file File recommendation simplifies the complexity of file search to user, and is effectively shortened the time of file search.
Further, further includes:
File judgment module judges that the File Open instructs corresponding file pair for detecting that File Open instructs As if no belong to default white list;
Data adding module, if belonging to default white list for the file object, by the file of the file object Type, opening time and filename are stored in the file usage history database.
Further, file judgment module is specifically used for:
When detecting File Open instruction, obtains the File Open and instruct corresponding file object;
The file type of the file object or file path are matched with the default white list, tied according to matching Fruit determines whether the file object belongs to default white list.
Further, further includes:
Weight determination module, when for calculating the corresponding opening time of each secondary opening operation and the creation of each file Between opening time interval;To the opening time interval carry out sequence arrangement, time interval set is obtained, respectively the time Interval set, obtains the subclass of setting quantity;Each subclass is determined according to the record strip number that each subclass includes The interval weight at corresponding opening time interval stores the opening time interval and is spaced the incidence relation of weight.
Further, data obtaining module 520 is specifically used for:
Preset file usage history database is inquired, obtains each file in the file usage history database In frequency of occurrence, the history of file type belonging to the creation time of each file and each file open the frequency.
Further, file prediction module 530 is specifically used for:
The creation time and the difference at current time for calculating separately each file, as reference time interval;
It obtains the corresponding number weight of the frequency of occurrence, the corresponding interval weight in the reference time interval and described goes through History opens the corresponding type weight of the frequency;
The frequency and type power are opened according to the frequency of occurrence, number weight, reference time interval, interval weight, history Weight, calculates the score of each file by the way of weighted sum;
Descending arrangement is carried out to the file according to the score, the file for the preceding setting quantity that will sort is as will The file destination being opened.
Further, file recommendation module 540 is specifically used for:
Obtain the filename and type icon of the file destination;
Based on the page layout of preset rules adjustment file manager homepage, file manager homepage after the adjustment is shown The filename and type icon.
The embodiment of the present application also provides a kind of storage medium comprising computer executable instructions, and the computer is executable Instruction is used to execute file recommendation method when being executed by computer processor, this method comprises:
The entry event for detecting file manager obtains the file manager and scans the file come;
Preset file usage history database is inquired, when obtaining the history use information and creation of each file Between;
Determine the creation time and the time interval at current time of each file, based on the history use information with And time interval predicts the file destination that will be opened;
File recommendation operation is executed by object of the file destination.
Storage medium --- any various types of memory devices or storage equipment.Term " storage medium " is intended to wrap It includes: install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetic medium (such as hard disk or optical storage);Register or the memory component of other similar types etc..Storage medium can further include other Memory of type or combinations thereof.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide program instruction to the first computer for executing." storage is situated between term Matter " may include may reside in different location (such as by network connection different computer systems in) two or More storage mediums.Storage medium can store the program instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium comprising computer executable instructions, computer provided by the embodiment of the present application The file recommendation operation that executable instruction is not limited to the described above, can also be performed file provided by the application any embodiment Relevant operation in recommended method.
The embodiment of the present application provides a kind of intelligent terminal, has operating system in the intelligent terminal, in the intelligent terminal File recommendation device provided by the embodiments of the present application can be integrated.Wherein, intelligent terminal can be smart phone, PAD (plate electricity Brain), handheld device and intelligent wearable device etc..Fig. 6 is a kind of structural representation of intelligent terminal provided by the embodiments of the present application Figure.As shown in fig. 6, the intelligent terminal includes memory 610 and processor 620.The memory 610, for storing computer Program and file usage history database etc.;The processor 620 reads and executes the computer stored in the memory 610 Program.The processor 620 performs the steps of the entrance thing for detecting file manager when executing the computer program Part obtains the file manager and scans the file come;Preset file usage history database is inquired, is obtained each described The history use information and creation time of file;Determine the creation time and the time interval at current time of each file, The file destination that will be opened is predicted based on the history use information and time interval;Using the file destination as object Execute file recommendation operation.
The memory and processor enumerated in above-mentioned example are some components of intelligent terminal, and the intelligent terminal is also It may include other components.By taking smart phone as an example, illustrate the possible structure of above-mentioned intelligent terminal.Fig. 7 is the application implementation A kind of structural block diagram for smart phone that example provides.As shown in fig. 7, the smart phone may include: memory 701, centre Manage device (Central Processing Unit, CPU) 702 (also known as processor, hereinafter referred to as CPU), Peripheral Interface 703, RF (Radio Frequency, radio frequency) circuit 705, voicefrequency circuit 706, loudspeaker 711, touch screen 712, power management chip 708, input/output (I/O) subsystem 709, other input/control devicess 710 and outside port 704, these components pass through One or more communication bus or signal wire 707 communicate.
It should be understood that illustrating the example that smart phone 700 is only intelligent terminal, and smart phone 700 It can have than shown in the drawings more or less component, can combine two or more components, or can be with It is configured with different components.Various parts shown in the drawings can include one or more signal processings and/or dedicated It is realized in the combination of hardware, software or hardware and software including integrated circuit.
Just the smart phone provided in this embodiment for being integrated with file recommendation device is described in detail below.
Memory 701, the memory 701 can be accessed by CPU702, Peripheral Interface 703 etc., and the memory 701 can It can also include nonvolatile memory to include high-speed random access memory, such as one or more disk memory, Flush memory device or other volatile solid-state parts.Computer program is stored in memory 701, it can be with storage file Usage history database and default white list etc..
The peripheral hardware that outputs and inputs of equipment can be connected to CPU702 and deposited by Peripheral Interface 703, the Peripheral Interface 703 Reservoir 701.
I/O subsystem 709, the I/O subsystem 709 can be by the input/output peripherals in equipment, such as touch screen 712 With other input/control devicess 710, it is connected to Peripheral Interface 703.I/O subsystem 709 may include 7091 He of display controller For controlling one or more input controllers 7092 of other input/control devicess 710.Wherein, one or more input controls Device 7092 processed receives electric signal from other input/control devicess 710 or sends electric signal to other input/control devicess 710, Other input/control devicess 710 may include physical button (push button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole clicks idler wheel.It is worth noting that input controller 7092 can with it is following any one connect: keyboard, infrared port, The indicating equipment of USB interface and such as mouse.
Touch screen 712, the touch screen 712 are the input interface and output interface between user terminal and user, can It is shown to user depending on output, visual output may include figure, text, icon, video etc..
Display controller 7091 in I/O subsystem 709 receives electric signal from touch screen 712 or sends out to touch screen 712 Electric signals.Touch screen 712 detects the contact on touch screen, and the contact that display controller 7091 will test is converted to and is shown The interaction of user interface object on touch screen 712, i.e. realization human-computer interaction, the user interface being shown on touch screen 712 Object can be the icon of running game, the icon for being networked to corresponding network etc..It is worth noting that equipment can also include light Mouse, light mouse are the extensions for the touch sensitive surface for not showing the touch sensitive surface visually exported, or formed by touch screen.
RF circuit 705 is mainly used for establishing the communication of mobile phone Yu wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuit 705 receives and sends RF letter Number, RF signal is also referred to as electromagnetic signal, and RF circuit 705 converts electrical signals to electromagnetic signal or electromagnetic signal is converted to telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuit 705 may include for executing The known circuit of these functions comprising but it is not limited to antenna system, RF transceiver, one or more amplifiers, tuner, one A or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identifier mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 706 is mainly used for receiving audio data from Peripheral Interface 703, which is converted to telecommunications Number, and the electric signal is sent to loudspeaker 711.
Loudspeaker 711 is reduced to sound for mobile phone to be passed through RF circuit 705 from the received voice signal of wireless network And the sound is played to user.
Power management chip 708, the hardware for being connected by CPU702, I/O subsystem and Peripheral Interface are powered And power management.
Intelligent terminal provided by the embodiments of the present application, can be in the entry event for detecting file manager, based on going through History use information and time compartment analysis go out the preference profile that user opens file, analyze current most probable based on the preference profile The file destination of opening, and recommend the file destination to user, realize the text that will meet user preference before user's locating file Part recommends user, simplifies the complexity of file search, and is effectively shortened the time of file search.
The application, which can be performed, in file recommendation device, storage medium and the intelligent terminal provided in above-described embodiment arbitrarily implements File recommendation method provided by example has and executes the corresponding functional module of this method and beneficial effect.Not in above-described embodiment In detailed description technical detail, reference can be made to file recommendation method provided by the application any embodiment.
Note that above are only the preferred embodiment and institute's application technology principle of the application.It will be appreciated by those skilled in the art that The application is not limited to specific embodiment described here, be able to carry out for a person skilled in the art it is various it is apparent variation, The protection scope readjusted and substituted without departing from the application.Therefore, although being carried out by above embodiments to the application It is described in further detail, but the application is not limited only to above embodiments, in the case where not departing from the application design, also It may include more other equivalent embodiments, and scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. a kind of file recommendation method characterized by comprising
The entry event for detecting file manager obtains the file manager and scans the file come;
Preset file usage history database is inquired, the history use information and creation time of each file are obtained;
The creation time and the time interval at current time of each file are determined, based on the history use information with timely Between the file destination that will be opened of interval prediction;
File recommendation operation is executed by object of the file destination.
2. the method according to claim 1, wherein further include:
It detects that File Open instructs, judges that the File Open instructs whether corresponding file object belongs to default white list;
If so, the file type of the file object, opening time and filename are stored in the file usage history data Library.
3. according to the method described in claim 2, it is characterized in that, detect File Open instruct, judge the File Open Instruct whether corresponding file object belongs to default white list, comprising:
When detecting File Open instruction, obtains the File Open and instruct corresponding file object;
The file type of the file object or file path are matched with the default white list, it is true according to matching result Whether the fixed file object belongs to default white list.
4. according to the method described in claim 2, it is characterized by further comprising:
Calculate the opening time interval of each secondary opening operation corresponding opening time and creation time of each file;
To the opening time interval carry out sequence arrangement, time interval set is obtained, respectively the time interval set, obtains Set the subclass of quantity;
The interval power at the corresponding opening time interval of each subclass is determined according to the record strip number that each subclass includes Weight stores the opening time interval and is spaced the incidence relation of weight.
5. being obtained every the method according to claim 1, wherein inquiring preset file usage history database The history use information and creation time of a file, comprising:
Preset file usage history database is inquired, obtains each file in the file usage history database The history of file type belonging to frequency of occurrence, the creation time of each file and each file opens the frequency.
6. according to the method described in claim 5, it is characterized in that, determining creation time and the current time of each file Time interval, the file destination that will be opened is predicted based on the history use information and time interval, comprising:
The creation time and the difference at current time for calculating separately each file, as reference time interval;
The corresponding number weight of the frequency of occurrence, the corresponding interval weight in the reference time interval and the history is obtained to beat Open the corresponding type weight of the frequency;
The frequency and type weight are opened according to the frequency of occurrence, number weight, reference time interval, interval weight, history, is adopted The score of each file is calculated with the mode of weighted sum;
Descending arrangement is carried out to the file according to the score, the file for the preceding setting quantity that will sort is as will be beaten The file destination opened.
7. method according to any one of claim 1 to 6, which is characterized in that executed by object of the file destination File recommendation operation, comprising:
Obtain the filename and type icon of the file destination;
Based on the page layout of preset rules adjustment file manager homepage, described in file manager homepage after the adjustment is shown Filename and type icon.
8. a kind of file recommendation device characterized by comprising
File scan module obtains what the file manager scanned for detecting the entry event of file manager File;
Data obtaining module, for inquiring preset file usage history database, the history for obtaining each file is used Information and creation time;
File prediction module, for determining the creation time and the time interval at current time of each file, based on described History use information and time interval predict the file destination that will be opened;
File recommendation module, for executing file recommendation operation by object of the file destination.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt The file recommendation method as described in any one of claims 1 to 7 is realized when processor executes.
10. a kind of intelligent terminal, including memory, processor and storage are on a memory and can be in the computer of processor operation Program, which is characterized in that the processor is realized as described in any one of claims 1 to 7 when executing the computer program File recommendation method.
CN201811125935.7A 2018-09-26 2018-09-26 File recommendation method and device, storage medium and intelligent terminal Active CN109240991B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811125935.7A CN109240991B (en) 2018-09-26 2018-09-26 File recommendation method and device, storage medium and intelligent terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811125935.7A CN109240991B (en) 2018-09-26 2018-09-26 File recommendation method and device, storage medium and intelligent terminal

Publications (2)

Publication Number Publication Date
CN109240991A true CN109240991A (en) 2019-01-18
CN109240991B CN109240991B (en) 2021-07-30

Family

ID=65056728

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811125935.7A Active CN109240991B (en) 2018-09-26 2018-09-26 File recommendation method and device, storage medium and intelligent terminal

Country Status (1)

Country Link
CN (1) CN109240991B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012152A (en) * 2019-02-22 2019-07-12 维沃移动通信有限公司 A kind of interface display method and terminal device
CN111737208A (en) * 2020-06-22 2020-10-02 中国银行股份有限公司 File searching method and device
CN111949618A (en) * 2020-08-03 2020-11-17 联想(北京)有限公司 Processing method and processing device
CN113742410A (en) * 2021-09-10 2021-12-03 拉卡拉支付股份有限公司 Data processing method, data processing apparatus, electronic device, storage medium, and program product
CN113946853A (en) * 2021-10-29 2022-01-18 苏州浪潮智能科技有限公司 File filtering method and device, electronic equipment and storage medium
CN117376033A (en) * 2023-12-06 2024-01-09 浙江网商银行股份有限公司 File processing method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473241A (en) * 2012-06-07 2013-12-25 福建星网视易信息系统有限公司 Recommending method and recommending device for multimedia objects
CN103546780A (en) * 2013-10-28 2014-01-29 青岛海信传媒网络技术有限公司 Method and device for program recommendation
CN103593455A (en) * 2013-11-21 2014-02-19 海信集团有限公司 File recommendation method and file recommendation device
CN104079960A (en) * 2013-12-05 2014-10-01 深圳市腾讯计算机系统有限公司 File recommending method and device
CN104699696A (en) * 2013-12-05 2015-06-10 深圳市腾讯计算机系统有限公司 File recommendation method and device
CN105630969A (en) * 2015-12-24 2016-06-01 北京金山安全软件有限公司 File display method and device and electronic equipment
CN105915526A (en) * 2016-05-16 2016-08-31 四川易瑞特科技有限公司 Novel multifunctional educational resource application platform
US9471671B1 (en) * 2013-12-18 2016-10-18 Google Inc. Identifying and/or recommending relevant media content
US20160321932A1 (en) * 2015-04-29 2016-11-03 Ying Chieh Mitchell Systems and methods to achieve group exercise outcomes
CN107766546A (en) * 2017-10-31 2018-03-06 广东欧珀移动通信有限公司 Using recommendation method, apparatus, storage medium and terminal device
CN108073437A (en) * 2017-12-20 2018-05-25 维沃移动通信有限公司 Method and mobile terminal are recommended in a kind of application
US20180189521A1 (en) * 2017-01-05 2018-07-05 Microsoft Technology Licensing, Llc Analyzing data to determine an upload account

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103473241A (en) * 2012-06-07 2013-12-25 福建星网视易信息系统有限公司 Recommending method and recommending device for multimedia objects
CN103546780A (en) * 2013-10-28 2014-01-29 青岛海信传媒网络技术有限公司 Method and device for program recommendation
CN103593455A (en) * 2013-11-21 2014-02-19 海信集团有限公司 File recommendation method and file recommendation device
CN104079960A (en) * 2013-12-05 2014-10-01 深圳市腾讯计算机系统有限公司 File recommending method and device
CN104699696A (en) * 2013-12-05 2015-06-10 深圳市腾讯计算机系统有限公司 File recommendation method and device
US9471671B1 (en) * 2013-12-18 2016-10-18 Google Inc. Identifying and/or recommending relevant media content
US20160321932A1 (en) * 2015-04-29 2016-11-03 Ying Chieh Mitchell Systems and methods to achieve group exercise outcomes
CN105630969A (en) * 2015-12-24 2016-06-01 北京金山安全软件有限公司 File display method and device and electronic equipment
CN105915526A (en) * 2016-05-16 2016-08-31 四川易瑞特科技有限公司 Novel multifunctional educational resource application platform
US20180189521A1 (en) * 2017-01-05 2018-07-05 Microsoft Technology Licensing, Llc Analyzing data to determine an upload account
CN107766546A (en) * 2017-10-31 2018-03-06 广东欧珀移动通信有限公司 Using recommendation method, apparatus, storage medium and terminal device
CN108073437A (en) * 2017-12-20 2018-05-25 维沃移动通信有限公司 Method and mobile terminal are recommended in a kind of application

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
R. UMAGANDH ET AL.: "Time independent query recommendations from search engine query logs", 《INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND MOBILE APPLICATION MODELLING AND DEVELOPMENT》 *
裘群杰: "ScudFile:基于情境流的文件系统", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110012152A (en) * 2019-02-22 2019-07-12 维沃移动通信有限公司 A kind of interface display method and terminal device
WO2020168882A1 (en) * 2019-02-22 2020-08-27 维沃移动通信有限公司 Interface display method and terminal device
CN111737208A (en) * 2020-06-22 2020-10-02 中国银行股份有限公司 File searching method and device
CN111737208B (en) * 2020-06-22 2023-09-19 中国银行股份有限公司 File searching method and device
CN111949618A (en) * 2020-08-03 2020-11-17 联想(北京)有限公司 Processing method and processing device
CN113742410A (en) * 2021-09-10 2021-12-03 拉卡拉支付股份有限公司 Data processing method, data processing apparatus, electronic device, storage medium, and program product
CN113946853A (en) * 2021-10-29 2022-01-18 苏州浪潮智能科技有限公司 File filtering method and device, electronic equipment and storage medium
CN113946853B (en) * 2021-10-29 2024-01-30 苏州浪潮智能科技有限公司 File filtering method and device, electronic equipment and storage medium
CN117376033A (en) * 2023-12-06 2024-01-09 浙江网商银行股份有限公司 File processing method and device

Also Published As

Publication number Publication date
CN109240991B (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN109240991A (en) File recommendation method, device, storage medium and intelligent terminal
EP3502880B1 (en) Method for preloading application, storage medium, and terminal device
CN109997104B (en) Notification display method and terminal
CN108595230B (en) Application program preloading method and device, storage medium and terminal
CN107092520B (en) Recommended method, device, storage medium and the mobile terminal of application program
CN108920156A (en) Application program prediction model method for building up, device, storage medium and terminal
CN108763579B (en) Search content recommendation method and device, terminal device and storage medium
CN110162685B (en) Information searching method and device, storage medium and electronic equipment
WO2015081801A1 (en) Method, server, and system for information push
CN113609392B (en) Content recommendation method, content to be recommended determining method and related device
CN105068716A (en) Information search method and device
CN108701149A (en) A kind of intelligent recommendation method and terminal
CN109947496A (en) Application program preloads method, apparatus, storage medium and mobile terminal
CN105447583A (en) User churn prediction method and device
CN109284261A (en) Using lookup method, device, storage medium and electronic equipment
CN111125523B (en) Searching method, searching device, terminal equipment and storage medium
CN108093131A (en) Arrival reminding method, apparatus, storage medium and mobile terminal
US11240777B2 (en) Device positioning method and apparatus
CN111222563A (en) Model training method, data acquisition method and related device
CN109086101A (en) Terminal application software starts method, terminal and computer readable storage medium
CN108762836A (en) Management method, device, storage medium and the intelligent terminal of preloaded applications
CN108897785A (en) Search for content recommendation method, device, terminal device and storage medium
CN107832131B (en) Application program closing method and device, storage medium and electronic equipment
CN112925878B (en) Data processing method and device
CN108874975A (en) Search for content recommendation method, device, terminal device and storage medium

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