CN110018761B - Method, device and terminal for managing recently used files - Google Patents

Method, device and terminal for managing recently used files Download PDF

Info

Publication number
CN110018761B
CN110018761B CN201810029317.6A CN201810029317A CN110018761B CN 110018761 B CN110018761 B CN 110018761B CN 201810029317 A CN201810029317 A CN 201810029317A CN 110018761 B CN110018761 B CN 110018761B
Authority
CN
China
Prior art keywords
file
quick access
recently used
recently
displaying
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
CN201810029317.6A
Other languages
Chinese (zh)
Other versions
CN110018761A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810029317.6A priority Critical patent/CN110018761B/en
Publication of CN110018761A publication Critical patent/CN110018761A/en
Application granted granted Critical
Publication of CN110018761B publication Critical patent/CN110018761B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0483Interaction with page-structured environments, e.g. book metaphor

Abstract

The application discloses a method, a device and a terminal for managing recently used files, and belongs to the field of file management. The method comprises the following steps: acquiring a target account logged by a user, and synchronizing recently used files of the target account used on n terminals, wherein n is a positive integer; displaying a view entry of the quick access floating window; receiving a trigger signal on the viewing portal; and displaying the quick access floating window according to the trigger signal, wherein a quick access entry of the recently used file is displayed on the quick access floating window. According to the method and the device, the user can check the recently used files of the same target account on the n terminals on the current terminal, and the 'carry-on' use effect of the recently used files is achieved. Even if the current terminal is not a terminal adopting a Windows operating system, the quick access floating window can be used for realizing the quick access to the recently used files.

Description

Method, device and terminal for managing recently used files
Technical Field
The embodiment of the invention relates to the field of file management, in particular to a method, a device and a terminal for managing recently used files.
Background
Computer equipment adopting a Windows operating system is the most widely used equipment in daily office of users. For example, a user may use the Windows operating system to process documents.
The Windows operating system provides quick access functionality. A user firstly clicks an icon of the resource manager on a desktop task bar of the operating system, and the terminal displays a window interface of the resource manager. And clicking the icon of the quick access function in the window interface of the resource manager by the user, and displaying the most frequently used 10 folders and the most recently used 20 files in the window interface of the resource manager by the terminal. The 20 files include different types of files such as documents, pictures, movies, and the like.
Since the quick access function is a function provided by the Windows operating system, the user can use the function only on a terminal using the Windows operating system.
Disclosure of Invention
The application provides a method, a device and a terminal for managing recently used files, which can solve the problem that a quick access function can only be used on a terminal adopting a Window operating system. The technical scheme is as follows:
according to an aspect of the present application, there is provided a method of managing recently used files, the method including:
acquiring a target account number logged in by a user;
synchronizing the recently used files of the target account used on n terminals, wherein n is a positive integer;
displaying a view entry of the quick access floating window;
receiving a trigger signal on the viewing portal;
and displaying the quick access floating window according to the trigger signal, wherein a quick access entry of the recently used file is displayed on the quick access floating window.
According to another aspect of the present application, there is provided a method of displaying recently used files, the method including:
acquiring a target account number logged in by a user;
displaying a viewing inlet of a quick access floating window on a desktop task bar or a desktop main display area of an operating system;
receiving a trigger signal triggered on the viewing portal;
and displaying the quick access floating window on a desktop according to the trigger signal, wherein the latest files used by the target account on n terminals are displayed on the quick access floating window, and n is a positive integer.
According to another aspect of the present application, there is provided an apparatus for managing recently used files, the apparatus including:
the login module is used for acquiring a target account which is logged in by a user;
the synchronization module is used for synchronizing the recently used files of the target account used on n terminals, wherein n is a positive integer;
the display module is used for displaying a viewing entrance of the quick access floating window;
the receiving module is used for receiving a trigger signal on the viewing inlet;
and the display module is used for displaying the quick access floating window according to the trigger signal, and a quick access entry of the recently used file is displayed on the quick access floating window.
According to another aspect of the present application, there is provided an apparatus for displaying a recently used document, the apparatus including:
the login module is used for acquiring a target account which is logged in by a user;
the display module is used for displaying a viewing inlet of the quick access floating window on a desktop task bar or a desktop main display area of the operating system;
the receiving module is used for receiving a trigger signal triggered on the viewing inlet;
the display module is used for displaying a quick access floating window provided by the preset application program on a desktop according to the trigger signal, the quick access floating window displays the latest files used by the target account on n terminals, and n is a positive integer.
According to another aspect of the present application, there is provided a terminal, including: a processor and a memory storing at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement a method of managing recently used files, or a method of displaying recently used files, as described above.
According to another aspect of the present application, there is provided a computer readable storage medium having stored thereon at least one instruction, at least one program, set of codes, or set of instructions that is loaded and executed by the processor to implement the method of managing recently used files, or the method of displaying recently used files, as described above.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
the method comprises the steps of synchronizing recently-used files of a target account on n terminals by acquiring the target account logged by a user, and displaying a quick access floating window on a current terminal according to a trigger signal, wherein one or more quick access entries of the recently-used files are displayed on the quick access floating window. The method and the device can enable the user to check the recently used files of the same target account on the n terminals on the current terminal, and achieve the 'carry-on' use effect of the recently used files. Even if the current terminal is not the terminal adopting the Windows operating system, the quick access floating window can be used for realizing the quick access to the files which are used recently on other Windows operating systems.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 illustrates a block diagram of a computer system provided in an exemplary embodiment of the present application;
FIG. 2 illustrates a block diagram of a computer system provided in another exemplary embodiment of the present application;
FIG. 3 illustrates a flow chart of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 4 is a schematic interface diagram of the method for managing recently used files provided by the embodiment of FIG. 3 in an exemplary implementation;
FIG. 5 illustrates a schematic diagram of a usage scenario provided by an exemplary embodiment of the present application;
FIG. 6 illustrates a schematic diagram of a usage scenario provided by another exemplary embodiment of the present application;
FIG. 7 illustrates a schematic diagram of a usage scenario provided by another exemplary embodiment of the present application;
FIG. 8 illustrates a flow chart of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 9 is a schematic interface diagram of an exemplary implementation of the method for managing recently used files provided by the embodiment of FIG. 8;
FIG. 10 is a flow diagram illustrating sub-steps of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 11 illustrates a flow diagram of sub-steps of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 12 is a flow diagram illustrating sub-steps of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 13 is a flow diagram illustrating sub-steps of a method for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 14 illustrates an interface diagram of a function interface provided by an exemplary embodiment of the present application;
FIG. 15 illustrates a flow chart of a method for displaying recently used files provided by an exemplary embodiment of the present application;
FIG. 16 is a schematic interface diagram of an exemplary implementation of the method for displaying recently used files provided by the embodiment of FIG. 15;
FIG. 17 is a schematic interface diagram of an exemplary implementation of the method for displaying recently used files provided by the embodiment of FIG. 15;
FIG. 18 illustrates a block diagram of an apparatus for managing recently used files provided by an exemplary embodiment of the present application;
FIG. 19 illustrates a block diagram of an apparatus for displaying recently used files provided by an exemplary embodiment of the present application;
fig. 20 shows a block diagram of a terminal provided in an exemplary embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
The terms referred to in this application will first be introduced and explained:
and (4) process: and the corresponding entity when the application program runs in the operating system.
Desktop: the name of the first user interface after the graphic user interface system in the operating system is started. The desktop is mainly used for storing icons of application programs, icons of files and/or icons of folders.
Shortcut: a file format without file entities is used to link (or point to) another file (also known as a source file). The storage path corresponding to the shortcut may be different from the storage path of the source file.
File: generally refers to a generic term for an application, file, or folder.
The most recent use of the catalog: the storage directory is used for caching the shortcut of the file recently used by the user by the operating system according to the sequence of the use time of the file by the user. When the operating system is a Windows operating system, the recently used directory is a Recent directory in the system disk. The Recent directory is a folder, and the storage path is% appdata \ Microsoft \ Windows \ Recent.
System API interface: the operating system provides a set of function interfaces for data exchange or function cooperation interaction with the operating system.
Referring to FIG. 1, a block diagram of a computer system 100 provided in an exemplary embodiment of the present application is shown. The computer system 100 includes: one or more terminals 120 and a server 140.
The terminal 120 may be a mobile phone, a tablet computer, an e-book reader, an MP3(Moving Picture Experts Group Audio Layer III, mpeg compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, mpeg compression standard Audio Layer 4) player, a laptop, a desktop computer, and the like.
The terminal 120 may have a predetermined application program provided by a third party installed therein, and the predetermined application program is used for implementing the method for managing the recently used files provided in the method embodiments described below. Optionally, the predetermined application is any one of a hypervisor, a security manager, a virus killer, a network disk program, a file manager program, and a desktop optimizer.
The predetermined application may have an account login function. The user can register and log in his account in a predetermined application.
The terminal 120 is connected to the server 140 through a wired network or a wireless network.
The server 140 may be any one of a server, a server cluster, a virtual cloud storage, or a cloud computing center. The server 140 is used to provide background services for predetermined applications. The server 140 has data storage capabilities.
Referring to FIG. 2, a block diagram of a computer system 100 is shown, according to another exemplary embodiment of the present application. The computer system 100 includes: a terminal 120 and a server 140. The embodiment is illustrated in the case where the terminal 120 is a terminal provided with a recently used directory by an operating system.
The terminal 120 includes an operating system kernel 121, system applications 122, predetermined applications 123, a recently used directory 124, and a file system 125. Wherein:
the operating system kernel 121 is the base software that provides applications with secure access to computer hardware. The system application 122 is an application for providing a system service. The system applications 122 may be one or more. Illustratively, there is a system application 122 that is a program that maintains a recently used directory 124 based on the user's usage of files.
The recently used directory 124 is used to store data of files that the user has recently used. Taking an example that the operating system adopts a Windows operating system, the recently used directory is a Recent directory, and the recently used directory stores shortcuts of files recently used by the user.
The file system 125 is a file explorer that is deployed on one or more disks. The file system 125 includes file storage paths distributed across multiple disks. When a user creates, accesses or modifies a file in the file system 125, corresponding data is generated in the recently used directory 124.
The predetermined application 123 is typically an application provided by a third party. The predetermined application 123 includes: a UI (User Interface) module 123a, an account management module 123b, a file change detection module 123c, a file upload management module 123d, and a network disk SDK (Software Development Kit) 123 e.
The UI module 123a is used to display a user interface of the predetermined application 123. The user interface includes a quick access flyover window. The quick access floating window is used for displaying quick access entries of recently used files. The account management module 123b is used for registering and/or logging in an account of the user. The file change detection module 123c is used to monitor the file changes in the recently used directory 124, and then generate and maintain the recent file queue. The file upload management module 123d is configured to generate a file upload queue when a file in the latest file queue is changed, and invoke the network disk SDK to upload the file in the file upload queue. The network disk SDK is used to synchronize the most recently used files of the target account number used on the n terminals with the server 140.
The terminal 120 is connected to the server 140 through a wireless network and/or a wired network.
The server 140 includes a server-side synchronization program 141, an account management module 142, and a server storage space 143 for one or more accounts.
The server-side synchronization program 141 is used to synchronize the most recently used files of the target account used on the n terminals between the terminals. The account management module 142 is used to provide registration services and/or login services for accounts used on one or more terminals 120.
The server storage space 143 of each account is used to store the most recently used files that the account uses on n terminals.
It should be noted that the operating system in the terminal 120 may or may not provide the most recently used directory. At least one terminal 120 among the n terminals 120 may be provided with the most recently used directory.
It should be noted that the server storage space 143 is only an illustrative example, and may be implemented in at least one of a plurality of storage implementations, such as a database, a hybrid table (storing data of a plurality of users in a cross or hybrid manner), and a logical network disk. The implementation of the server storage space 143 is not limited in this application.
Referring to fig. 3, a flowchart of a method for managing recently used files according to an exemplary embodiment of the present application is shown. The embodiment is illustrated by applying the method to a terminal in fig. 1 or fig. 2. The method may be performed by a predetermined application, the method comprising:
step 301, acquiring a target account logged in by a user;
the same user may use multiple terminals and log on to the server and each terminal using the same account to identify his or her identity using the account. Alternatively, the operating system in which one terminal exists on n terminals is provided with the most recently used directory. For example, there is a terminal using the Windows operating system, provided and maintained with the percent directory.
The target account is an account that the user logs in on the current terminal, i.e., an account that is logged in a predetermined application. The user can manually log in the target account in the preset application program, can also log in the target account in the preset application program by scanning the code through the mobile phone, and can also automatically log in the target account of the historical record by the preset application program after the terminal is started.
Step 302, synchronizing the recently used files of the target account used on n terminals, wherein n is a positive integer;
the most recently used file is at least one file obtained by sorting the used time from the current time from near to far. The usage time is the time when the user uses the file on the terminal. The service time comprises the following steps: the one of the creation time, the access time, and the modification time that is closest to the current time. The creation time is the time when the user created the file, the access time is the time when the user viewed or opened the file, and the modification time is the time when the user modified the file content of the file.
Step 303, displaying a viewing entry of the quick access floating window;
the quick access floating window is a user interface provided by a preset application program. The quick access floating window is used for displaying a quick access entry of at least one recently used file.
The view entry may be any one of an icon, shortcut, button, or menu bar.
Referring schematically to FIG. 4, the view portal 41 may be a clickable object element displayed on the desktop taskbar, with the word "documentary on the clickable object element.
Step 304, receiving a trigger signal on the viewing portal;
the trigger signal may be any one of a single click signal, a double click signal, a long press signal, or a slide signal.
Referring to fig. 4 schematically, the user may click on the view entry 41, and the terminal receives a click signal of the user on the view entry 41 as a trigger signal.
And 305, displaying a quick access floating window according to the trigger signal, wherein a quick access entry of the recently used file is displayed on the quick access floating window.
Optionally, the quick access floating window displays m quick access entries of the most recently used files in the order of the use time from near to far.
m is a preset value, such as 18 or 20. Alternatively, m is a value generated according to the file use frequency of the user, and the size of m has a positive correlation with the file use frequency.
Referring to fig. 4, after receiving the single click signal on the view entry 41, the terminal displays a quick access floating window 42 on the desktop, and a plurality of recently used documents are displayed on the quick access floating window 42. These recently used documents may be displayed in top-down order on the quick access floating window 42 in order of time of use from near to far.
In summary, in the method provided in this embodiment, the latest files of the target user on the n terminals are synchronized, and the quick access floating window is displayed on the current terminal according to the trigger signal, where one or more quick access entries of the latest files are displayed on the quick access floating window. The method and the device can enable the user to check the recently used files of the same target account on the n terminals on the current terminal, and achieve the 'carry-on' use effect of the recently used files. Even if the current terminal is not a terminal adopting a Windows operating system, the quick access floating window can be used to realize the quick access to the recently used files.
Since the same user may have multiple terminals: the method can be used for synchronizing the recently used files between at least two terminals. Any two terminals of the at least two terminals may be the same type of terminal or different types of terminals. Optionally, the operating system of one or more of the at least two terminals supports the most recently used directory, for example, the operating system of at least one terminal is a Windows operating system.
Referring schematically to fig. 5, a user has an office computer 51 and a home computer 52. The office computer 51 and the home computer 52 may both be computers using Windows operating systems, and both have a computer housekeeping program installed thereon and have the same target account number logged in. When a user creates and edits a document, the 2018 work plan, on the office computer 51, the computer manager program automatically synchronizes the document, the 2018 work plan, to the home computer 52, and the user can also view and use the document at any time after going home from work.
Referring schematically to fig. 6, a user has an office computer 51 and a tablet computer 53. The office computer 51 is a computer using a Windows operating system, the tablet computer 53 is a computer using an IOS operating system, and both the computers are installed with a computer housekeeping program and log in the same target account. When a user modifies a document "three-day trip in taiwan, precious island" on the office computer 51, the computer manager program will automatically synchronize the document "three-day trip in taiwan, precious island" to the tablet personal computer 53, and the user can view and use the document at any time on the tablet personal computer 53.
Referring schematically to fig. 7, a user has an office computer 51, a tablet computer 53, a notebook 54 and a cell phone 55. The office computer 51 and the notebook 54 may be computers using Windows operating system, the tablet computer 53 is a computer using IOS operating system, and the mobile phone 55 is a mobile phone using Android operating system. The document management programs are installed on the terminals and the same target account is logged in. After the user modifies and renames the presentation document planning chart for products in 2017 on the office computer 51 to be the presentation document planning chart for products in 2018, the document management program synchronizes the presentation document planning chart for products in 2018 to the tablet personal computer 53, the notebook personal computer 54 and the mobile phone 55, and the user can use any one of the tablet personal computer 53, the notebook personal computer 54 and the mobile phone 55 to view and use the document again.
The first terminal is an office computer 51, and the second terminal is any one of the office computer 51, the home computer 52, the tablet pc 53, the notebook 54, and the cellular phone 55.
Referring to fig. 8, a flowchart of a method for managing recently used files according to an exemplary embodiment of the present application is shown. The embodiment is illustrated by applying the method to the computer system in fig. 1 or fig. 2. The method may be performed by a predetermined application, the method comprising:
step 801, a first terminal acquires a target account for user login;
the first terminal runs a preset application program, and a user can manually log in a target account in the preset application program, can also log in the target account in the preset application program by scanning a code through a mobile phone, and can also automatically log in a target account of a historical record by the preset application program after the terminal is started.
The preset application program acquires a target account number logged in by a user.
Step 802, a first terminal acquires data in a recently used directory of an operating system;
the recently used directory is used for recording data of the recently used files by the operating system according to the sequence of the use time. Taking the Windows system as an example, the most recently used directory is the Recent directory.
Since the actual storage path of the recently used file may be scattered in different storage locations, the Recent directory stores therein shortcuts of the recently used file, not the file itself of the recently used file.
The addition, deletion, modification, and renaming of shortcuts in the percent directory is maintained by the Windows operating system. The predetermined application program may read change information of all shortcuts of recently used items in the percent directory through an API interface provided by the operating system.
Optionally, after the predetermined application is started, the predetermined application reads all shortcuts in the percent directory in an enumeration manner. The predetermined application may also initiate a thread by which information is obtained about at least one of addition, deletion and renaming of shortcuts in the most recently used directory.
Referring to fig. 5 in combination, it is assumed that there are shortcuts of two documents "work plan in 2018" and "COM principle and application" in the percent directory, and the computer manager program in the office computer 51 acquires the shortcuts in the percent directory.
Step 803, the first terminal determines the latest file of the target account on the first terminal according to the data in the latest usage directory;
the predetermined application monitors the percent directory in the operating system.
The predetermined application program analyzes the shortcut in the percent directory to obtain source file information corresponding to the shortcut, and optionally, the source file information includes: at least one information of a file storage path, a file type, a file name, and a file size.
And the predetermined application program determines the latest file of the target account on the first terminal according to the source file information corresponding to the shortcut. Optionally, the predetermined application determines the m most recently used files of the target account used on the first terminal.
Referring to fig. 5 in conjunction, the recent usage documents of the target account number "white of small" used in the office computer 51, including work plan of 2018 and COM principle and application, are determined by the computer manager program.
Step 804, the first terminal uploads the recently used file to a server storage space corresponding to the target account;
and the first terminal uploads a plurality of recently used files to a server storage space corresponding to the target account. The last usage file includes file data and usage time. The service time comprises the following steps: the one of the creation time, the access time, and the modification time that is closest to the current time.
In a possible implementation mode, if the uploading is the first uploading, the first terminal uploads the m recently used files to the server in a full uploading mode; if the current uploading is the ith uploading, and i is larger than or equal to 2, the first terminal uploads the m recently-used files to the server in an incremental uploading mode, namely only newly-added recently-used files, newly-accessed recently-used files or newly-modified recently-used files are uploaded to the server in an incremental uploading mode.
The method comprises the steps that a first terminal sends an uploading request to a server, wherein the uploading request comprises: a target account number, file data of a recently used file, and a usage time of the recently used file. The target account can be replaced by a token, key or other identifier equivalent to the target account.
Referring to fig. 5, the computer manager program uploads the recently used documents "work plan in 2018" and "COM principle and application" to the server storage space corresponding to the target account.
Step 805, the server stores the recently used file of the target account to the server storage space corresponding to the target account;
the server receives an uploading request sent by the first terminal, and stores the recently used file of the target account to a server storage space corresponding to the target account according to the uploading request.
In a possible implementation manner, if the uploading is the first uploading, the server stores the m recently used files of the target account into a server storage space corresponding to the target account; and if the uploading is the ith uploading, and i is more than or equal to 2, the server performs incremental updating on the server storage space corresponding to the target account according to the uploading request.
Optionally, after the server updates the server storage space each time, the server generates an update time stamp or a file version number for the target account, where the update time stamp or the file version number is used to indicate the latest update time of the server storage space corresponding to the target account.
Step 806, the second terminal obtains a target account for the user to log in;
the second terminal runs a preset application program, and a user can manually log in a target account in the preset application program, can also log in the target account in the preset application program by scanning a code through a mobile phone, and can also automatically log in a target account of a historical record by the preset application program after the terminal is started.
The preset application program acquires a target account number logged in by a user.
Step 807, the second terminal downloads the recently used files of the target account used on the n terminals from the server storage space corresponding to the target account;
the second terminal and the first terminal are both terminals logged in with the target account. The second terminal and the first terminal may be the same terminal or different terminals. When the second terminal and the first terminal are different terminals, the operating system type of the second terminal may be a linux operating system, an Android operating system, or an IOS apple operating system, which is not limited in the present application.
For better understanding, as an alternative embodiment, the second terminal is illustrated as a home computer 52 shown in fig. 5. The computer manager program in the home computer 52 may synchronize the 2018 work plan and the COM principles and applications to the local.
The second terminal can download the latest files used by the target account on the n terminals from the server storage space corresponding to the target account at the synchronization time needing synchronization. The synchronization time needing synchronization includes but is not limited to: the method comprises the following steps that at least one of the initialization time of the operating system after starting, the starting time of a preset application program, the time when the preset application program is switched from a background to a foreground for running, the time when a view entry in the preset application program is triggered, the time determined by the preset application program at preset time intervals, the time when an update timestamp stored in the preset application program is earlier than an update timestamp in a server, and the time when a file version number stored in the preset application program is smaller than a file version number in the server.
The second terminal sends a downloading request to the server, wherein the downloading request comprises: a target account number. The target account can be replaced by a token, key or other identifier equivalent to the target account. Alternatively, the download request includes: and updating time stamps (or file version numbers) in the target account and the second terminal so that the server determines incremental synchronization data according to the difference of the updating time stamps between the terminal and the server and sends the incremental synchronization data to the second terminal.
Step 808, displaying a viewing entrance of the quick access floating window provided by a preset application program on the desktop task bar by the second terminal;
in the Windows operating system, the desktop taskbar (taskbar) refers to the strip display area located at the bottom of the desktop. Due to the high display hierarchy of the desktop taskbar, a user may quickly access a target file, application, or folder on the desktop taskbar.
Upon launching the predetermined application, the predetermined application may display a view portal on the desktop taskbar that quickly accesses the flyout.
The view entry may be any one of an icon, shortcut, button, or menu bar. As shown in FIG. 4, the view portal 41 may be a clickable object element displayed on the desktop taskbar. The clickable object element has "carry-on document" displayed thereon.
Step 809, the second terminal receives the first trigger signal on the viewing portal;
the first trigger signal may be any one of a single click signal, a double click signal, a long press signal, or a slide signal. Schematically in fig. 4, the first trigger signal is a single-click signal.
Step 810, the second terminal displays a quick access floating window according to the first trigger signal, and a quick access entry of a recently used file is displayed on the quick access floating window;
the second terminal displays a quick access flyout window 42, which quick access flyout window 42 may employ a list control to display quick access entries for the m most recently used files. The list control comprises m list items, and each list item corresponds to a quick entry of a recently used file. Optionally, the m list items are arranged in order of usage time from near to far.
Alternatively, the quick access entry may be a list entry in a quick access flyover window. When the list item is clicked, the user interface corresponding to the recently used file can be quickly started or called up. Each quick access entry may have at least one of a file name, a file type, a time of use, and an identification of whether synchronization has been performed displayed thereon.
Step 811, the second terminal receives a second trigger signal on the quick access entry of the target recently used file;
the second trigger signal may be any one of a single click signal, a double click signal, a long press signal, or a slide signal. Schematically in fig. 9, the second trigger signal is a single-click signal.
Step 812, the second terminal displays a user interface corresponding to the target recently-used file according to the second trigger signal;
the predetermined application program displays a file interface of a target recently used file on a desktop of the operating system. When the target recently-used file is a document, displaying a document interface of the document; when the target recently-used file is an application, displaying an application program interface of the application; and when the target recently used file is a folder, displaying a file display interface in the folder.
Illustratively, after a user clicks a "COM principle and application" file, a predetermined application program calls a word program, and the word program displays a user interface of the "COM principle and application".
In summary, in the method provided in this embodiment, the latest files of the target user on the n terminals are synchronized, and the quick access floating window is displayed on the current terminal according to the trigger signal, where one or more quick access entries of the latest files are displayed on the quick access floating window. The method and the device can enable the user to check the recently used files of the same target account on the n terminals on the current terminal, and achieve the 'carry-on' use effect of the recently used files. The user can view, access and modify on the second terminal even if the user was the most recently used file used on the first terminal.
According to the method provided by the embodiment, the view entry of the quick access floating window is displayed on the desktop task bar, so that the problems that the access level of the quick access interface on the Windows operating system is deep, and a user can open the file to be accessed through multiple steps can be solved, and the user can trigger the display of the quick access floating window on the desktop in one step.
According to the method provided by the embodiment, the quick access entries of the m recently-used files are displayed on the quick access floating window, and as the research finds that the recently-used files of most users are between 15 and 20 files, the quick access entries of about 20 recently-used files can be displayed on the quick access floating window, so that the users can quickly access the recently-used files of the users on different terminals.
In an alternative embodiment, the predetermined application determines that the file was recently used by monitoring the Recent directory. The step 803 may include the following steps 803a to 803e, as shown in fig. 10:
step 803a, reading shortcuts in the most recently used directory;
the predetermined application initiates a thread that monitors the percent directory through an API interface provided by the operating system. The API interface may be a ReadDirectoryChange function that may monitor modification, renaming, deletion, and creation of shortcuts in the Recent directory.
Since the actual storage path of the recently used file may be scattered in different storage locations, the Recent directory stores therein shortcuts of the recently used file, not the file itself of the recently used file. When a user creates, opens, modifies, and deletes a file, the shortcut in the Recent directory is also changed accordingly.
The predetermined application reads the shortcut in the percent directory. Referring to fig. 11 schematically, a file change detection module in a predetermined application reads 81 a shortcut in a Recent directory to obtain the shortcut in the Recent directory.
Step 803b, analyzing the shortcut to obtain first source file information, and generating a recent file queue according to a file corresponding to the first source file information;
and the file change detection module analyzes the shortcut in the percent directory to obtain first source file information. Each recently used file corresponds to respective first source file information, the first source file information including: at least one of a file name, a file type, a file storage path, a file size, and a usage time.
And the file change detection module reads m recently used files and stores the m recently used files into a recent file queue according to the first source file information.
Optionally, the file change detection module filters the first source file information according to a preset white list. The white list may include: at least one of a first whitelist of documents, a second whitelist of multimedia files, and a third whitelist of programming-related files is maintained.
Optionally, for each source file information, the file change detection module determines whether a file type in the source file information belongs to a white list; when the file type belongs to the white list, the file change detection module stores the file data corresponding to the file name into the latest file queue according to the file storage path, as shown in step 82 in fig. 11. For example, the file change detection module stores files with file types doc, xlsx, ppt into the latest file queue.
Optionally, m recently-used files are stored in the recent file queue, and more than m recently-used files are discarded.
Step 803c, reading a shortcut change message corresponding to the most recently used directory;
shortcuts in the percent directory will change continuously as the user uses it. The file change detection module can also read shortcut change information corresponding to the most recently used directory, and the shortcut change information comprises: at least one of newly adding a shortcut message, modifying a shortcut message, deleting a shortcut message, and renaming a shortcut message, as shown in step 85 of fig. 11.
Step 803d, analyzing the shortcut in the shortcut change message to obtain second source file information, and updating the latest file queue according to the file corresponding to the second source file information;
the file change detection module further performs any one of the following operations in the recent file queue according to the second source file information: adding a newly created recently used file, deleting a recently used file that has been deleted, modifying file data of the recently used file, modifying a use time of the recently used file.
Step 803e, the file in the recent file queue is determined as the recently used file of the target account on the current terminal.
Optionally, the file change detection module further adjusts 87 the file order of each recently used file in the recent file queue when there is a file change 86.
And step 804, uploading the recently used file to a server storage space corresponding to the target account.
Alternatively, as shown in FIG. 12, the file change detection module generates a file change list 88 based on the updated recent file queue, the file change list including only information of the recently used files that have been changed; the file change detection module sends a notification to the document upload management module indicating that a change 89 has occurred to the file in the recent file queue; the document uploading management module generates a file uploading queue 90 according to the file change list, and then calls a network disk SDK to upload the file 91; after the network disk SDK finishes uploading, an upload completion notification 92 is sent to the document upload management module, and the document upload management module notifies the UI module that the file has been uploaded 93, so that the UI module refreshes the upload state of the relevant recently used file.
In summary, in the method provided in this embodiment, the Recent directory is detected by the file change detection module, and when the recently used file is changed, the Recent file queue can be updated in real time, so that the recently used file can be uploaded to the server storage space of the target account in time, and timely synchronization between multiple terminals is achieved.
In an alternative embodiment, when the second terminal adopts a Windows operating system, the predetermined application program relies on a function interface provided by Windows to display a view entry of the quick access floating window on the desktop task bar. Optionally, the function interface is a desksides object interface. The above step 806 may alternatively be implemented as the following steps 806a to 806d, and the step 808 may alternatively be implemented as the following steps 808a to 808b, as shown in fig. 13:
step 806a, after a preset application program is started, registering a zone object plug-in to a shell process in an operating system of the current terminal;
the Windows system provides a desktop object interface, and can create three types of bands (zone) objects: a browse bar region object, a toolbar region object, and a desktop region object. The predetermined application may create a view entry 41 through the Deskband object interface that quickly accesses flyover window 42.
The Deskband object interface is located in the Windows shell process and is called by the explorer. The preset application program is provided with a desktop (zone object) plug-in, and the desktop plug-in can be used by a shell process of an explorer. Referring to fig. 14, the Deskband object interface inherits the COM interface IDeskBand. The Deskbands plugin is implemented by inheriting the IDeskBand interface.
After the preset application program is started, the preset application program registers the deskbases plug-in to the shell process in the operating system of the current terminal.
Step 806b, loading the zone object plug-in through the shell process;
and after the Windows Shell process receives the registration of the preset application program to the Deskbands plug-in unit, the Shell process loads the Deskbands plug-in unit.
Step 806c, displaying a viewing entrance of the quick access floating window on the desktop task bar according to the loaded region object plug-in;
and the Windows Shell process displays a viewing inlet 41 of the quick access floating window 42 on the desktop taskbar according to the loaded Deskbands plug-in.
Step 807, receiving a trigger signal on the viewing portal through the zone object plug-in;
the desksides plugin receives this trigger when the user clicks on the view portal 41 on the desktop taskbar.
Step 808a, calling an application process of a preset application program through the zone object plug-in according to the trigger signal;
and after receiving the trigger signal, the Deskbands plug-in calls an application process of a preset application program.
And 808b, displaying the quick access floating window through the application process.
And displaying the quick access floating window by the application process of the preset application program according to the synchronized m latest files.
In summary, according to the method provided in this embodiment, the desktop taskbar realizes the function of displaying the viewing entry on the desktop taskbar by using the desktop object interface provided by the operating system to perform plug-in registration, and solves the problem that the desktop taskbar defaults and does not support the third-party application to perform customization.
Referring to fig. 15, a flowchart of a method for displaying recently used files according to an exemplary embodiment of the present application is shown. The embodiment is illustrated by applying the method to the computer system in fig. 1 or fig. 2. The method may be performed by a predetermined application, the method comprising:
step 501, acquiring a target account logged in by a user;
the terminal runs a preset application program, and a user can manually log in a target account in the preset application program, can also log in the target account in the preset application program by scanning a code through a mobile phone, and can also automatically log in a target account of a historical record by the preset application program after the terminal is started.
The preset application program acquires a target account number logged in by a user.
Step 502, displaying a viewing entry of a quick access floating window on a desktop task bar or a desktop main display area of an operating system;
after the preset application program is started, the preset application program can display a viewing entry of the quick access floating window on a desktop task bar or a desktop main display area of the operating system. The view entry may be an icon or shortcut.
Alternatively, the process of displaying a view portal on a desktop taskbar may be as described with reference to the embodiment of FIG. 13; the process of displaying the viewing portal in the desktop main display area may be displaying an icon of a preset application program.
Step 503, receiving a trigger signal triggered on the viewing portal;
optionally, the trigger signal is a click signal.
Step 504, displaying a quick access floating window on a desktop of the terminal according to the trigger signal, wherein quick access entries of recently used files of the target account used on n terminals are displayed on the quick access floating window, and n is a positive integer;
the quick access floating window is a user interface provided by a preset application program, and quick access entries of recently used files used by the target account on the n terminals are displayed on the quick access floating window. When the predetermined application is a third party application, the quick access flyout window is a user interface provided by the third party application, rather than a user interface provided by the Windows operating system.
Optionally, the predetermined application program synchronizes the recently-used files used by the target account on the n terminals, and displays the quick access floating window according to the recently-used files obtained through synchronization. The predetermined application may synchronize the recently used files to the local in advance or in real time.
Step 505, displaying a filter control;
fast access floating windows may also support filter functionality, as there are many file types that have recently used files. Optionally, the filter control is displayed when a first trigger signal is received on the quick access hover window. The first trigger signal may be a signal of clicking a preset control on the quick access floating window, or the first trigger signal may be a preset gesture signal, such as a gesture of right-sliding on the quick access floating window.
Referring to FIG. 16, a filter control 44 may be displayed to the right of the quick access floating window 42.
Optionally, the filter control remains displayed in the quick access hover window by default, without requiring the first trigger signal to trigger the display.
The filter control is provided with a selection control for a plurality of file types. The plurality of file types include: all files, desktop files, documents, applications, pictures, audio-video, compressed files, folders, code files, and others.
Step 506, receiving a first operation signal triggered on the filter control, wherein the first operation signal is used for setting a specified file type;
the first operation signal may be a single click signal, a double click signal, a tick signal, a right click signal, or a long press signal performed on the filter control. Taking the first operation signal as a check signal as an example, the user may check one or more file types on the filter control as the specified file type.
Optionally, the checked specified file type is displayed differently from the unchecked specified file type. The differential display includes: at least one of bolding, underlining, animating, modifying background color, modifying font color, modifying font special effect.
And step 507, displaying a quick access entry of the recently used file which is in accordance with the specified file type on the quick access floating window.
And the predetermined application program screens the source file information which accords with the specified file type from the recent file cache, and displays the screened rapid access entry of the recently used file on the rapid access floating window.
Step 508, displaying a sorting mode control;
optionally, when a second trigger signal is received on the quick-access floating window, the sort mode control is displayed. The second trigger signal may be a signal of clicking a preset control on the quick access floating window, or the second trigger signal may be a preset gesture signal, such as a gesture of performing a left-sliding on the quick access floating window.
Optionally, the sorting mode control is kept displayed in the quick access floating window by default, and a second trigger signal is not needed for triggering display.
Referring to fig. 17, a sort mode control 45 may be displayed to the right of the quick access hover window 42. The sort mode control 45 is provided with a plurality of types of sort modes. The multiple sorting modes comprise: at least one of sorting by name, sorting by last modification time, sorting by file size, and sorting by file type.
Step 509, receiving a second operation signal triggered on the sorting mode control, where the second operation signal is used to set a sorting mode;
the second operation signal may be a single click signal, a double click signal, a right click signal, or a long press signal performed on the sort mode control.
Taking the second operation signal as an example of a check signal, the user can check one sorting mode on the sorting mode control as a target sorting mode.
Optionally, the checked sorting mode and the unchecked sorting mode are displayed in a distinguishing manner. The differential display includes: at least one of bolding, underlining, animating, modifying background color, modifying font color, modifying font special effect.
And step 510, displaying the quick access entries of the recently used files which are sorted in the sorting mode on the quick access floating window.
And the predetermined application program sorts the recently used files according to a target sorting mode, and then displays the quick access entries of the sorted recently used files on the quick access floating window.
The following are embodiments of the apparatus of the present application, which correspond to embodiments of the method. For parts of the device embodiments not described in detail, reference may be made to the above-described method embodiments.
Referring to fig. 18, a block diagram of an apparatus for managing recently used files according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes:
a login module 1810, configured to acquire a target account that a user logs in;
a synchronization module 1820, configured to synchronize, after a preset application program is logged in by using a target account, recently-used files of the target account that are used on n terminals through the preset application program, where n is a positive integer;
the display module 1840 is configured to display a view entry of the quick access floating window provided by a preset application;
a receiving module 1860, configured to receive a trigger signal on the view entry;
the display module 1840 is configured to display the quick access floating window according to the trigger signal, where a quick access entry of the recently used file is displayed on the quick access floating window
In an alternative embodiment, the synchronization module 1820 is configured to, after logging in a preset application program with a target account, obtain, through the preset application program, data in a most recently used directory of an operating system of a current terminal; determining the latest file of the target account on the current terminal according to the data in the latest using directory; and uploading the recently used file to a server storage space corresponding to the target account.
In an alternative embodiment, the synchronization module 1820 is configured to read shortcuts in the most recently used directory; analyzing the shortcut to obtain first source file information, and generating a recent file queue according to a file corresponding to the first source file information; reading shortcut change information in the recently used directory; analyzing the shortcut in the shortcut change message to obtain the second source file information, and updating the recent file queue according to the file corresponding to the second source file information; and determining the files in the recent file queue as the recently used files of the target account on the current terminal.
In an alternative embodiment, the synchronization module 1820 is configured to parse the shortcut to obtain first source file information, where the first source file information includes a file name, a file type, and a file storage path; and when the file type belongs to a preset white list type, adding the file data corresponding to the file name to a nearest file queue according to the file storage path.
In an optional embodiment, the synchronization module 1820 is configured to, after logging in a preset application program with a target account, download, by the preset application program, a most recently used file of the target account, which is used on n terminals, from a server storage space corresponding to the target account.
In an alternative embodiment, the display module 1840 is configured to display a viewing entry of a quick access floating window provided by the preset application on a desktop taskbar of the current terminal.
In an alternative embodiment, the display module 1840 is configured to register a region object plug-in with a shell process in the operating system of the current terminal through a predetermined application program after the predetermined application program is started; and loading the region object plug-in through the shell process, and displaying a viewing entrance of a quick access floating window on the desktop task bar according to the loaded region object plug-in.
In an alternative embodiment, the display module 1840 is configured to invoke an application process of the predetermined application program according to the trigger signal through the zone object plug-in; and displaying the quick access floating window through the application process.
In an alternative embodiment, the display module 1840 is configured to display a filter control; receiving a first operation signal triggered on the filter control, wherein the first operation signal is used for setting a specified file type; and displaying a quick access entry of the recently used file which is in accordance with the specified file type on the quick access floating window.
In an alternative embodiment, the display module 1840 is configured to display a sort mode control; receiving a second operation signal triggered on the sorting mode control, wherein the second operation signal is used for setting a sorting mode; and displaying the quick access entries of the recently used files which are sorted according to the sorting mode on the quick access floating window.
In an optional embodiment, an operating system of at least one of the n terminals provides a most recently used directory, and the most recently used directory is used for recording data of the most recently used files by the operating system according to a sequence of usage times.
Referring to fig. 19, a block diagram of an apparatus for managing recently used files according to an exemplary embodiment of the present application is shown. The apparatus may be implemented as all or a portion of the terminal in software, hardware, or a combination of both. The device includes:
a login module 1910, configured to acquire a target account that a user logs in;
a display module 1920, configured to display a viewing portal provided by a predetermined application on a desktop taskbar or a desktop main display area of the operating system;
a receiving module 1940, configured to receive a trigger signal triggered on the viewing portal;
the display module 1920 is configured to display a quick access floating window provided by the predetermined application program on a desktop according to the trigger signal, where the quick access floating window displays a latest file used by a target account on n terminals, and n is a positive integer.
In an optional embodiment, the apparatus further includes a synchronization module 1520, configured to synchronize the most recently used files used by the target account on n terminals, where n is a positive integer.
In an alternative embodiment, a display module 1920 for displaying the filter control; a receiving module 1940, configured to receive a first operation signal triggered on the filter control, where the first operation signal is used to set a specified file type; a display module 1920 configured to display a quick access entry of the recently used file conforming to the specified file type on the quick access floating window.
In an alternative embodiment, the display module 1920 is configured to display the sort mode control; a receiving module 1940, configured to receive a second operation signal triggered on the sorting manner control, where the second operation signal is used to set a sorting manner; a display module 1920, configured to display the quick access entries of the recently used files sorted according to the sorting manner on the quick access floating window.
The application also provides a terminal, which comprises a processor and a memory, wherein at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to implement the method for managing the recently used files provided by the above method embodiments. It should be noted that the terminal may be a terminal as provided in fig. 20 below.
Referring to fig. 20, a schematic structural diagram of a terminal according to an exemplary embodiment of the present application is shown. Specifically, the method comprises the following steps: the terminal 2000 includes a Central Processing Unit (CPU)2001, a system memory 2004 including a Random Access Memory (RAM)2002 and a Read Only Memory (ROM)2003, and a system bus 2005 connecting the system memory 2004 and the central processing unit 2001. The terminal 2000 also includes a basic input/output system (I/O system) 2006 to facilitate transfer of information between devices within the computer, and a mass storage device 2007 for storing an operating system 2013, application programs 2014, and other program modules 2015.
The basic input/output system 2006 includes a display 2008 for displaying information and an input device 2009 such as a mouse, keyboard, etc. for a user to input information. Wherein the display 2008 and the input devices 2009 are coupled to the central processing unit 2001 through an input-output controller 2010 coupled to the system bus 2005. The basic input/output system 2006 may also include an input/output controller 2010 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 2010 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 2007 is connected to the central processing unit 2001 through a mass storage controller (not shown) connected to the system bus 2005. The mass storage device 2007 and its associated computer-readable media provide non-volatile storage for the terminal 2000. That is, the mass storage device 2007 may include a computer-readable medium (not shown) such as a hard disk or CD-ROM drive.
Without loss of generality, the computer-readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM, EEPROM, flash memory or other solid state memory technology, CD-ROM, DVD, or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 2004 and mass storage device 2007 described above may be collectively referred to as memory.
The memory stores one or more programs configured to be executed by the one or more central processing units 2001, the one or more programs containing instructions for implementing the above-described method of managing recently-used files, the central processing unit 2001 executing the one or more programs implementing the method of managing recently-used files provided by the various method embodiments described above.
The terminal 2000 may also operate as a remote computer connected to a network through a network, such as the internet, according to various embodiments of the present application. That is, the terminal 2000 may be connected to the network 2012 through a network interface unit 2011 that is coupled to the system bus 2005, or the network interface unit 2011 may be utilized to connect to other types of networks or remote computer systems (not shown).
The memory further includes one or more programs, the one or more programs are stored in the memory, and the one or more programs include a method for managing the recently-used files or a method for displaying the recently-used files, which are provided by the embodiment of the present invention.
The present application provides a computer-readable storage medium, in which at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the method for managing recently-used files or the method for displaying recently-used files provided by the above-mentioned method embodiments.
The present application further provides a computer program product, which when running on a computer, causes the computer to execute the method for managing the recently used files or the method for displaying the recently used files provided by the above method embodiments.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (16)

1. A method of managing recently used files, the method comprising:
acquiring a target account number logged in by a user;
synchronizing the recently used files of the target account used on n terminals, wherein the recently used directory is provided for an operating system of at least one terminal in the n terminals, the recently used directory is used for recording the data of the recently used files by the operating system according to the sequence of the use time, n is a positive integer and is more than or equal to 2;
displaying a view entry of the quick access floating window;
receiving a trigger signal on the viewing portal;
displaying the quick access floating window according to the trigger signal, wherein a quick access entry of the recently used file is displayed on the quick access floating window;
wherein, the synchronizing the most recently used files of the target account used on the n terminals includes:
acquiring data in a recently used directory of an operating system of a current terminal;
determining the latest file of the target account on the current terminal according to the data in the latest using directory;
and uploading the recently used file to a server storage space corresponding to the target account.
2. The method of claim 1, wherein the determining the most recently used file of the target account on the current terminal according to the data in the most recently used directory comprises:
reading shortcuts in the recently used directory;
analyzing the shortcut to obtain first source file information, and generating a recent file queue according to a file corresponding to the first source file information;
reading shortcut change information in the recently used directory;
analyzing the shortcut in the shortcut change message to obtain second source file information, and updating the recent file queue according to the file corresponding to the second source file information;
and determining the files in the recent file queue as the recently used files of the target account on the current terminal.
3. The method according to claim 2, wherein the analyzing the shortcut to obtain first source file information, and generating a recent file queue according to a file corresponding to the first source file information comprises:
analyzing the shortcut to obtain first source file information, wherein the first source file information comprises a file name, a file type and a file storage path;
and when the file type belongs to a preset white list type, adding the file data corresponding to the file name to a nearest file queue according to the file storage path.
4. The method according to any one of claims 1 to 3, wherein synchronizing the most recently used files of the target account used on the n terminals comprises:
and downloading the recently used files of the target account used on the n terminals from the server storage space corresponding to the target account.
5. The method of any of claims 1 to 3, wherein displaying the view entry of the quick access floating window comprises:
and displaying the viewing entrance of the quick access floating window on a desktop task bar of the current terminal.
6. The method of claim 5, wherein displaying the view entry of the quick access hover window on a desktop taskbar of a current terminal comprises:
after a preset application program is started, registering a zone object plug-in to a shell process in the operating system of the current terminal through the preset application program;
and loading the region object plug-in through the shell process, and displaying a viewing entrance of a quick access floating window on the desktop task bar according to the loaded region object plug-in.
7. The method of claim 6, wherein the displaying the quick-access floating window according to the trigger signal comprises:
calling an application process of the preset application program through the zone object plug-in according to the trigger signal;
and displaying the quick access floating window through the application process.
8. The method of any of claims 1 to 3, further comprising:
displaying a filter control;
receiving a first operation signal triggered on the filter control, wherein the first operation signal is used for setting a specified file type;
and displaying a quick access entry of the recently used file which is in accordance with the specified file type on the quick access floating window.
9. The method of any of claims 1 to 3, further comprising:
displaying a sorting mode control;
receiving a second operation signal triggered on the sorting mode control, wherein the second operation signal is used for setting a sorting mode;
and displaying the quick access entries of the recently used files which are sorted according to the sorting mode on the quick access floating window.
10. A method of displaying recently used files, the method comprising:
acquiring a target account number logged in by a user;
displaying a quick access floating window viewing entrance on a desktop task bar or a desktop main display area of an operating system;
receiving a trigger signal triggered on the viewing portal;
and displaying the quick access floating window on a desktop according to the trigger signal, wherein recently-used files of the target account used on n terminals are displayed on the quick access floating window, recently-used directories are provided for an operating system of at least one terminal in the n terminals, the recently-used directories are used for recording data of the recently-used files by the operating system according to the sequence of the use time, n is a positive integer, and n is more than or equal to 2.
11. The method of claim 10, further comprising:
displaying a filter control;
receiving a first operation signal triggered on the filter control, wherein the first operation signal is used for setting a specified file type;
and displaying a quick access entry of the recently used file which is in accordance with the specified file type on the quick access floating window.
12. The method of claim 10, further comprising:
displaying a sorting mode control;
receiving a second operation signal triggered on the sorting mode control, wherein the second operation signal is used for setting a sorting mode;
and displaying the quick access entries of the recently used files which are sorted according to the sorting mode on the quick access floating window.
13. An apparatus for managing recently used files, the apparatus comprising:
the login module is used for acquiring a target account which is logged in by a user;
the synchronization module is used for synchronizing the recently used files used by the target account on n terminals, the operating system of at least one terminal in the n terminals provides a recently used directory, the recently used directory is used for recording the data of the recently used files by the operating system according to the sequence of the use time, n is a positive integer and is more than or equal to 2;
the display module is used for displaying a viewing entrance of the quick access floating window;
the receiving module is used for receiving a trigger signal on the viewing inlet;
the display module is used for displaying the quick access floating window according to the trigger signal, and a quick access entry of the recently used file is displayed on the quick access floating window;
the synchronization module is further used for acquiring data in a recently used directory of an operating system of the current terminal; determining the latest file of the target account on the current terminal according to the data in the latest using directory; and uploading the recently used file to a server storage space corresponding to the target account.
14. An apparatus for displaying recently used files, the apparatus comprising:
the login module is used for acquiring a target account which is logged in by a user;
the display module is used for displaying a viewing inlet of the quick access floating window on a desktop task bar or a desktop main display area of the operating system;
the receiving module is used for receiving a trigger signal triggered on the viewing inlet;
the display module is used for displaying the quick access floating window on a desktop according to the trigger signal, the quick access floating window displays recently-used files of the target account number, the recently-used files are used on n terminals, at least one operating system of the n terminals provides a recently-used directory, the recently-used directory is used for recording data of the recently-used files by the operating system according to the sequence of the use time, n is a positive integer, and n is larger than or equal to 2.
15. A terminal, characterized in that the terminal comprises: a processor and a memory, the memory storing at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the method of managing recently used files of any of claims 1 to 10 or the method of displaying recently used files of any of claims 11 to 13.
16. A computer readable storage medium storing at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the method of managing recently used files of any of claims 1 to 10 or the method of displaying recently used files of any of claims 11 to 13.
CN201810029317.6A 2018-01-10 2018-01-10 Method, device and terminal for managing recently used files Active CN110018761B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810029317.6A CN110018761B (en) 2018-01-10 2018-01-10 Method, device and terminal for managing recently used files

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810029317.6A CN110018761B (en) 2018-01-10 2018-01-10 Method, device and terminal for managing recently used files

Publications (2)

Publication Number Publication Date
CN110018761A CN110018761A (en) 2019-07-16
CN110018761B true CN110018761B (en) 2022-02-25

Family

ID=67188165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810029317.6A Active CN110018761B (en) 2018-01-10 2018-01-10 Method, device and terminal for managing recently used files

Country Status (1)

Country Link
CN (1) CN110018761B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112667338B (en) * 2020-12-29 2023-03-31 平安银行股份有限公司 Business line display control method and device, electronic equipment and storage medium
CN116527805A (en) * 2022-01-20 2023-08-01 荣耀终端有限公司 Card display method, electronic device, and computer-readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312826A (en) * 2013-07-12 2013-09-18 北京金山云网络技术有限公司 Method, device, client side, server side and equipment for file synchronization
CN103649945A (en) * 2011-06-20 2014-03-19 微软公司 Automatic synchronization of most recently used document lists
CN104348859A (en) * 2013-07-30 2015-02-11 深圳市腾讯计算机系统有限公司 File synchronizing method, device, server, terminal and system
CN106202337A (en) * 2016-07-04 2016-12-07 华中师范大学 A kind of PPT sharing method and realize teacher side and the student side of the method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9298474B2 (en) * 2004-10-06 2016-03-29 International Business Machines Corporation System and method for managing a floating window

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103649945A (en) * 2011-06-20 2014-03-19 微软公司 Automatic synchronization of most recently used document lists
CN103312826A (en) * 2013-07-12 2013-09-18 北京金山云网络技术有限公司 Method, device, client side, server side and equipment for file synchronization
CN104348859A (en) * 2013-07-30 2015-02-11 深圳市腾讯计算机系统有限公司 File synchronizing method, device, server, terminal and system
CN106202337A (en) * 2016-07-04 2016-12-07 华中师范大学 A kind of PPT sharing method and realize teacher side and the student side of the method

Also Published As

Publication number Publication date
CN110018761A (en) 2019-07-16

Similar Documents

Publication Publication Date Title
US11233851B2 (en) System, method, and computer program for enabling a user to access and edit via a virtual drive objects synchronized to a plurality of synchronization clients
US10848557B2 (en) Server-side selective synchronization
US10496609B2 (en) Systems and methods for automatic synchronization of recently modified data
AU2014284461B2 (en) Syncing content clipboard
US10552181B2 (en) User interface extender
CN107977469B (en) Method, device and terminal for managing recently used files
US9747321B2 (en) Providing a content preview
US20220035865A1 (en) Content capture across diverse sources
US10878089B2 (en) Identifying malware based on content item identifiers
CN110018761B (en) Method, device and terminal for managing recently used files
CN109597537B (en) File synchronization method, device and equipment
CN111522780B (en) Method and terminal for recording information of file creator
US10187464B2 (en) Systems and methods of re-associating content items

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