A kind of desktop fast control system and methodTechnical field
The invention belongs to field of computer technology, relate to a kind of desktop control system, relate in particular to a kind of desktop fast control system; Simultaneously, the invention still further relates to the control method of a kind of desktop fast control system.
Background technology
At present, general pc client software when the user uses, all need be opened client end interface and operate, but the function that the user often uses concentrates on a few module usually, and the user has used certain inconvenience.
Some softwares are arranged at present on the market, some shortcut menus are provided, can its major function button perhaps be opened the function at main interface and make LnkTools confession user use; Also have some softwares, the management to individual subscriber shortcut and file is provided, but existing problems as follows: function ratio is more single, only software self function is placed on the shortcut bar, and extendability is poor.On manipulating, there is a set threshold, can not meets consumers' demand fully.
Consider that the user is accustomed to; Nowadays pressing for provides a kind of method and system that can fast use contents such as software, recreation, file; Better interactive experience is provided; Make the user can use the content on the function, common tool, PC of client more easily, and guarantee that various classifying contents are clear and definite, be convenient to search, use, storage and management.
Summary of the invention
Technical matters to be solved by this invention is: a kind of desktop fast control system is provided, can obtains required file quickly and easily, improve the efficient of searching or searching for.
In addition, the present invention also provides the control method of above-mentioned desktop fast control system, can obtain required file quickly and easily, improves the efficient of searching or searching for.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of desktop fast control system, said system comprises:
The shortcut bar module in order to one or more shortcut bars to be provided, comprises one or more groups control button in the shortcut bar; Shortcut bar resides at a side of desktop, and perhaps, shortcut bar resides at a side of desktop with the mode of hiding, and treats that cursor is presented at a side of desktop when moving to apart from this shortcut bar setpoint distance;
The main panel module in order to the main panel interface to be provided, presents the pairing main panel of Client-initiated operational motion interface, presents one or more files, file, shortcut or function button according to the Client-initiated operational motion in the main panel interface;
Execution module is caught in operation, in order to obtaining user's operational motion, and carries out this operational motion corresponding command according to user's operational motion; This order comprises like in issuing orders one or more: open the main panel interface; Close or hiding main panel interface; Regulate the position at main panel interface; According to the displaying contents of clicking the control button adjustment main panel interface of controlling button or main panel interface in the shortcut bar; Regions new files or file or shortcut at the main panel interface with the file or folder of setting or the correspondence position at shortcut drag and drop to main panel interface, are dragged file or folder or the shortcut set away from the main panel interface.
As a kind of preferred version of the present invention, said system also comprises search module, in order to the range searching file of setting; The method of said search module search NTFS disk file comprises:
Sequence number USN journal file is upgraded insteps A 1, initialization, sets up an index, obtains the essential information and the data of USN journal file, is stored in respectively in the setting structure body;
The filename that stepsA 2, input will be searched is inquired about in the middle of index, judges directly whether the filename of input is included in the corresponding attribute of setting structure body;
Steps A 3, display of search results, deletion USN journal file.
As a kind of preferred version of the present invention, in thesaid steps A 1, obtain the essential information and the data of USN journal file, be kept at respectively in USN_JOURNAL_DATA and the USN_RECORD structure;
In thesaid steps A 2, the filename that input will be searched, beginning is inquired about in the middle of index, and directly whether the filename of judgement input is included among the setting structure body USN_RECORD and comes locating file in the WCHAR FILENAME attribute.
As a kind of preferred version of the present invention, said system also comprises search module, and in order to the application or the file of search system management, perhaps the resource of search server is perhaps searched for the file in the local computing;
When the application of search system management or file, these are used and fileinfo is loaded in the system, and are stored in the internal memory through specific data structure, two kinds of search inquiry modes are arranged: show to inquire about, inquire about through traversal of lists through hash; When total application and quantity of documents are shown to inquire about through hash during less than setting value, when then inquiring about through traversal of lists greater than setting value;
During the search server resource; The user imports the key word that will search in native system, system sends to server end to these information, and server end is through Sphinx full-text search engine search database; And return to native system to relevant information, display of search results in the main panel interface;
When searching for the file in the local computing, native system can be searched the file in the local disk according to user's search rule setting; Because disk comprises NTFS and two kinds of forms of FAT32 in the Windows system, so native system also has dual mode to the search of local disk file; For the file in the FAT32 disk, travel through through catalogue file and to obtain corresponding filename, carry out the canonical coupling with user input content, if mate successfully then note this document information, in the main panel interface, show relevant information; For the file search in the NTFS disk, the file system of NTFS form has a reliable USN daily record, and for each NTFS volume, when the information of relevant interpolation, modification and deleted file took place, operating system can use the USN log record to get off; In the NTFS disk, carry out file search; Initialization USN journal file at first; User entered keyword also is provided with search rule, and native system begins the USN journal file is carried out traversal queries then, and the key word of the filename that obtains and user input is carried out the canonical coupling; The successful fileinfo of coupling is returned to native system, in the main panel interface, show relevant information again.
As a kind of preferred version of the present invention, said system further comprises synchronization module, generates a file in order to acquiescence after native system is by user installation, and this document presss from both sides as synchronization folder; Said synchronization folder is added into file, file, shortcut or the function button at main panel interface in order to the storage user.After user's login, system can compare this document information of pressing from both sides with the information of uploading onto the server before, and in this document folder, upgrades different information, guarantees that the information in this document folder of each login back is always the same.
As a kind of preferred version of the present invention, said system further comprises sharing module, in order to share the file in the synchronization folder to the good friend.
The control method of a kind of above-mentioned desktop fast control system, said method comprises the steps:
The shortcut bar module provides one or more shortcut bars, comprises one or more groups control button in the shortcut bar; Shortcut bar resides at a side of desktop, and perhaps, shortcut bar resides at a side of desktop with the mode of hiding, and treats that cursor appears at a side of desktop apart from this shortcut bar setpoint distance the time;
The main panel module provides the main panel interface, presents the pairing main panel of Client-initiated operational motion interface, presents one or more files, file, shortcut or function button according to the Client-initiated operational motion in the main panel interface;
The operational motion that execution module obtains the user is caught in operation, and carries out this operational motion corresponding command according to user's operational motion; This order comprises like in issuing orders one or more: open the main panel interface; Close or hiding main panel interface; Regulate the position at main panel interface; According to the displaying contents of clicking the control button adjustment main panel interface of controlling button or main panel interface in the shortcut bar; Regions new files or file or shortcut at the main panel interface with the file or folder of setting or the correspondence position at shortcut drag and drop to main panel interface, are dragged file or folder or the shortcut set away from the main panel interface.
As a kind of preferred version of the present invention, said method also comprises search step, the disk region domain search file of setting; The method of search NTFS disk file comprises in the said search step:
Sequence number USN journal file is upgraded insteps A 1, initialization, sets up an index, obtains the essential information and the data of USN journal file, is stored in respectively in the setting structure body;
The filename that stepsA 2, input will be searched is inquired about in the middle of index, judges directly whether the filename of input is included in the corresponding attribute of setting structure body;
Steps A 3, display of search results, deletion USN journal file.
As a kind of preferred version of the present invention, in thesaid steps A 1, obtain the essential information and the data of USN journal file, be kept at respectively in USN_JOURNAL_DATA and the USN_RECORD structure;
In thesaid steps A 2, the filename that input will be searched, beginning is inquired about in the middle of index, and directly whether the filename of judgement input is included among the setting structure body USN_RECORD and comes locating file in the WCHAR FILENAME attribute.
As a kind of preferred version of the present invention, said method also comprises search step, the application or the file of search system management, and perhaps the resource of search server is perhaps searched for the file in the local computing;
When the application of search system management or file, these are used and fileinfo is loaded in the system, and are stored in the internal memory through specific data structure, two kinds of search inquiry modes are arranged: show to inquire about, inquire about through traversal of lists through hash; When total application and quantity of documents are shown to inquire about through hash during less than setting value, when then inquiring about through traversal of lists greater than setting value;
During the search server resource; The user imports the key word that will search in native system, system sends to server end to these information, and server end is through Sphinx full-text search engine search database; And return to native system to relevant information, display of search results in the main panel interface;
When searching for the file in the local computing, native system can be searched the file in the local disk according to user's search rule setting; Because disk comprises NTFS and two kinds of forms of FAT32 in the Windows system, so native system also has dual mode to the search of local disk file; For the file in the FAT32 disk, travel through through catalogue file and to obtain corresponding filename, carry out the canonical coupling with user input content, if mate successfully then note this document information, in the main panel interface, show relevant information; For the file search in the NTFS disk, the file system of NTFS form has a reliable USN daily record, and for each NTFS volume, when the information of relevant interpolation, modification and deleted file took place, operating system can use the USN log record to get off; In the NTFS disk, carry out file search; Initialization USN journal file at first; User entered keyword also is provided with search rule, and native system begins the USN journal file is carried out traversal queries then, and the key word of the filename that obtains and user input is carried out the canonical coupling; The successful fileinfo of coupling is returned to native system, in the main panel interface, show relevant information again.
As a kind of preferred version of the present invention, said method further comprises synchronizing step, and acquiescence generates a file after native system is by user installation, and this document presss from both sides as synchronization folder; Said synchronization folder is added into file, file, shortcut or the function button at main panel interface in order to the storage user.After user's login, system can compare this document information of pressing from both sides with the information of uploading onto the server before, and in this document folder, upgrades different information, guarantees that the information in this document folder of each login back is always the same.
As a kind of preferred version of the present invention, said method further comprises shared step, shares the file in the synchronization folder to the good friend.
Beneficial effect of the present invention is: the desktop fast control system and method that the present invention proposes; Can assisting users Miscellaneous Documents on client common function button, software application commonly used, desktop shortcuts, network address, the computer etc. be used and manages; Can be very easily to the individual subscriber document gather, search for, synchronously with share; Make the user can obtain required file quickly, improve the efficient of searching or searching for.
After installing software, on the computer desktop right side, a translucent shortcut bar of background color can appear; Showing above has: the partial function button of software, and what main panel and system tool were provided opens inlet, main panel function fast; Can be presented on the shortcut bar through configuration.File and shortcut that user's own is added, because shortcut bar resides in desktop always, user's operation and use are easily.
Description of drawings
Fig. 1 is the composition synoptic diagram of desktop fast control of the present invention system.
Fig. 2 is the synoptic diagram of desktop fast control of the present invention system.
Synoptic diagram when Fig. 3 hides for the main panel interface.
Fig. 4 is the process flow diagram of the inventive method search step.
Fig. 5 is the synoptic diagram at the corresponding interface of systematic search module of the present invention.
Fig. 6 forms synoptic diagram for another of desktop fast control of the present invention system.
Fig. 7 is the synoptic diagram of system of the present invention shared file.
Fig. 8 is the synoptic diagram at the corresponding interface of system synchronization module of the present invention.
Embodiment
Specify the preferred embodiments of the present invention below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed a kind of desktop fast control system, and said system comprises thatshortcut bar module 1,main panel module 2, operationcatch execution module 4.
Shortcut bar module 1 is in order to one ormore shortcut bars 10 to be provided, and is as shown in Figure 2, comprises one or moregroups control button 11 in theshortcut bar 10;Shortcut bar 10 resides at a side ofdesktop 30, and perhaps,shortcut bar 10 resides at a side of desktop with the mode of hiding, and treats that cursor appears at a side ofdesktop 30 apart from theseshortcut bar 10 setpoint distances the time.Preferably,shortcut bar 10 is shown as translucent.
Main panel module 2 presents the pairing main panel of Client-initiatedoperational motion interface 20 in order tomain panel interface 20 to be provided, and presents one or more files, file, shortcut or function button according to the Client-initiated operational motion in the main panel interface 20.The shortcut here can be the shortcut of file or folder, also can be link of certain network address or the like.Function button can be certain operation push-button (as showing desktop) that system carries, and also can be user-defined function button, and the function button here also can be considered to a kind of of shortcut.
Main panel interface 20 is in usually to hide perhaps and is closed state, andshortcut bar 10 then is arranged at the right side ofdesktop 30, and is as shown in Figure 3, and this moment, the user can freely do other operations.When needs are openedmain panel interface 20, can start the correspondingmain panel interface 20 of thisbutton 11 through thebutton 11 of clickingshortcut bar 10, comprise in thismain panel interface 20 that the user wants file or folder or the shortcut of opening.
Operation is caughtexecution module 4 in order to obtaining user's operational motion, and carries out this operational motion corresponding command according to user's operational motion.This order comprises like in issuing orders one or more: open the main panel interface; Close or hiding main panel interface; Regulate the position at main panel interface; According to the displaying contents of clicking the control button adjustment main panel interface of controlling button or main panel interface in the shortcut bar; Regions new files or file or shortcut at the main panel interface with the file or folder of setting or the correspondence position at shortcut drag and drop to main panel interface, are dragged file or folder or the shortcut set away from the main panel interface.
For the types of applications that provides on the main panel interface, software, recreation; The user can be directly through pulling; Be placed on the LnkTools bar; Perhaps in the management hurdle at main panel interface, can classify (can add, operations such as deletion, modification) to file etc. by the wish ownership to classification, and with the presented of icon on the main panel interface.
Nowadays, the user is for the management of the software on the PC, recreation, shortcut, file, and major part is to continue to use operating system to carry mode, and file is scattered in a plurality of files, is difficult to classification, searches, and sortord is simple.In shortcut bar, the user can arrange the document fast, aspect file management, gives the user bigger freedom.The user can pull through mouse, right button-modes such as interpolation, gets on interpolations such as file commonly used, file, shortcut, network address, cooperates with powerful function of search, again need not be worried for looking for a file to turn over all over DISK to Image.Whole file management panel zone can arbitrarily drag, and also can pass through locking press button, is fixed on the table, pulls to change position, size.The convenience that uses is far above other quick desktop series products.In addition, the user can freely classify, set up file, all can set up tag (label) for file, file, is used for search, can freely classify by tag, creation-time, modification time, use recently, file type, file class etc.
In addition, see also Fig. 6, Fig. 7, said system also comprises search module, synchronization module, sharing module.
The disk region domain search file of search module in order to set.Search module can be the part of shortcut bar module, also can be independent of the shortcut bar module.In the present embodiment, shortcut bar provides powerful function of search, except providing for the search of adding the resource in the panel to, also provides computer overall quick real-time function of search.Search can be got rid of assigned catalogue, and can do the sub-directory in the catalogue of getting rid of and get rid of exception, can the file types scope.
See also Fig. 4, Fig. 5, said search module provides three kinds of ways of search: the application or the file of search system management, perhaps the resource of search server is perhaps searched for the file in the local computing.
When the application of search system management or file, these are used and fileinfo is loaded in the system, and are stored in the internal memory through specific data structure, two kinds of search inquiry modes are arranged: show to inquire about, inquire about through traversal of lists through hash; When total application and quantity of documents are shown to inquire about through hash during less than setting value, when then inquiring about through traversal of lists greater than setting value;
During the search server resource; The user imports the key word that will search in native system, system sends to server end to these information, and server end is through Sphinx full-text search engine search database; And return to native system to relevant information, display of search results in the main panel interface;
When searching for the file in the local computing, native system can be searched the file in the local disk according to user's search rule setting; Because disk comprises NTFS and two kinds of forms of FAT32 in the Windows system, so native system also has dual mode to the search of local disk file; For the file in the FAT32 disk, travel through through catalogue file and to obtain corresponding filename, carry out the canonical coupling with user input content, if mate successfully then note this document information, in the main panel interface, show relevant information; For the file search in the NTFS disk, the file system of NTFS form has a reliable USN daily record, and for each NTFS volume, when the information of relevant interpolation, modification and deleted file took place, operating system can use the USN log record to get off; In the NTFS disk, carry out file search; Initialization USN journal file at first; User entered keyword also is provided with search rule, and native system begins the USN journal file is carried out traversal queries then, and the key word of the filename that obtains and user input is carried out the canonical coupling; The successful fileinfo of coupling is returned to native system, in the main panel interface, show relevant information again.
In the present embodiment, particularly, the method for said search module search NTFS disk file comprises:
Sequence number USN journal file is upgraded in steps A 1, initialization, sets up an index, obtains the essential information and the data of USN journal file, is stored in respectively in the setting structure body.In the present embodiment, obtain the essential information and the data of USN journal file, be kept at respectively in USN_JOURNAL_DATA and the USN_RECORD structure.
The filename that steps A 2, input will be searched is inquired about in the middle of index, judges directly whether the filename of input is included in the corresponding attribute of setting structure body.In the present embodiment, the filename that input will be searched, beginning is inquired about in the middle of index, and directly whether the filename of judgement input is included among the setting structure body USN_RECORD and comes locating file in the WCHAR FILENAME attribute.
Steps A 3, display of search results, deletion USN journal file.
Synchronization module generates a file in order to acquiescence after native system is by user installation, and this document presss from both sides as synchronization folder; Said synchronization folder is added into file, file, shortcut or the function button at main panel interface in order to the storage user.Synchronous synoptic diagram is as shown in Figure 8.Synchronous basic step is following: (1) can give tacit consent to generating a file, as synchronization folder after shortcut bar installs; (2) user pulls or right button adds file to the shortcut bar interface; (3) file synchronization is to synchronization folder.
Sharing module is in order to share the file in the synchronization folder to the good friend.For the file in synchronization folder, the user can set up a plurality of share directories, and invites the good friend to share this catalogue.The number of the share directory that can set up receives user's the space and the restriction of grade; Each share directory all has independently free space; The people who shares comprises ' read-only ' and ' can edit ' to the access rights of this catalogue; Have only the founder of catalogue owner and file can delete this document.
More than introduced the composition of desktop fast control of the present invention system, the present invention also discloses the control method of above-mentioned desktop fast control system when disclosing said system, and said method comprises the steps (each step can not carried out in order):
[step S1] shortcut bar module provides one or more shortcut bars, comprises one or more groups control button in the shortcut bar; Shortcut bar resides at a side of desktop, and perhaps, shortcut bar resides at a side of desktop with the mode of hiding, and treats that cursor appears at a side of desktop apart from this shortcut bar setpoint distance the time.
[step S2] main panel module provides the main panel interface, presents the pairing main panel of Client-initiated operational motion interface, presents one or more files, file, shortcut or function button according to the Client-initiated operational motion in the main panel interface.
The operational motion that execution module obtains the user is caught in [step S3] operation, and carries out this operational motion corresponding command according to user's operational motion; This order comprises like in issuing orders one or more: open the main panel interface; Close or hiding main panel interface; Regulate the position at main panel interface; According to the displaying contents of clicking the control button adjustment main panel interface of controlling button or main panel interface in the shortcut bar; Regions new files or file or shortcut at the main panel interface with the file or folder of setting or the correspondence position at shortcut drag and drop to main panel interface, are dragged file or folder or the shortcut set away from the main panel interface.
[step S4] search step comprises: the application or the file of search system management, perhaps the resource of search server is perhaps searched for the file in the local computing.
When the application of search system management or file, these are used and fileinfo is loaded in the system, and are stored in the internal memory through specific data structure, two kinds of search inquiry modes are arranged: show to inquire about, inquire about through traversal of lists through hash; When total application and quantity of documents are shown to inquire about through hash during less than setting value, when then inquiring about through traversal of lists greater than setting value;
During the search server resource; The user imports the key word that will search in native system, system sends to server end to these information, and server end is through Sphinx full-text search engine search database; And return to native system to relevant information, display of search results in the main panel interface;
When searching for the file in the local computing, native system can be searched the file in the local disk according to user's search rule setting; Because disk comprises NTFS and two kinds of forms of FAT32 in the Windows system, so native system also has dual mode to the search of local disk file; For the file in the FAT32 disk, travel through through catalogue file and to obtain corresponding filename, carry out the canonical coupling with user input content, if mate successfully then note this document information, in the main panel interface, show relevant information; For the file search in the NTFS disk, the file system of NTFS form has a reliable USN daily record, and for each NTFS volume, when the information of relevant interpolation, modification and deleted file took place, operating system can use the USN log record to get off; In the NTFS disk, carry out file search; Initialization USN journal file at first; User entered keyword also is provided with search rule, and native system begins the USN journal file is carried out traversal queries then, and the key word of the filename that obtains and user input is carried out the canonical coupling; The successful fileinfo of coupling is returned to native system, in the main panel interface, show relevant information again.
In the present embodiment, particularly, in the said search step, the method for search NTFS disk file comprises:
Sequence number USN journal file is upgraded in steps A 1, initialization, sets up an index, obtains the essential information and the data of USN journal file, is stored in respectively in the setting structure body.In the present embodiment, obtain the essential information and the data of USN journal file, be kept at respectively in USN_JOURNAL_DATA and the USN_RECORD structure.
The filename that steps A 2, input will be searched is inquired about in the middle of index, judges directly whether the filename of input is included in the corresponding attribute of setting structure body.In the present embodiment, the filename that input will be searched, beginning is inquired about in the middle of index, and directly whether the filename of judgement input is included among the setting structure body USN_RECORD and comes locating file in the WCHAR FILENAME attribute.
Steps A 3, display of search results, deletion USN journal file.
[step S5] synchronizing step, acquiescence generates a file after native system is by user installation, and this document presss from both sides as synchronization folder; Said synchronization folder is added into file, file, shortcut or the function button at main panel interface in order to the storage user.
[step S6] shares step, shares the file in the synchronization folder to the good friend.
In sum; The desktop fast control system and method that the present invention proposes; Can assisting users Miscellaneous Documents on client common function button, software application commonly used, desktop shortcuts, network address, the computer etc. be used and manages; Can be very easily to the individual subscriber document gather, search for, synchronously with share, make the user can obtain required file quickly, improve the efficient of searching or searching for.
After installing software, on the computer desktop right side, a translucent shortcut bar of background color can appear; Showing above has: the partial function button of software, and what main panel and system tool were provided opens inlet, main panel function fast; Can be presented on the shortcut bar through configuration.File and shortcut that user's own is added, because shortcut bar resides in desktop always, user's operation and use are easily.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of the embodiment that is disclosed and change are possible, and the replacement of embodiment is known with the various parts of equivalence for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or essential characteristic, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to the embodiment that is disclosed.