Specific embodiment
It is described more fully the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although showing this public affairs in attached drawing
The exemplary embodiment opened, it being understood, however, that may be realized in various forms the disclosure without the implementation that should be illustrated here
Example is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the model of the disclosure
It encloses and is fully disclosed to those skilled in the art.
Resource manager is the resource management tool that windows system provides, and can check calculating by resource manager
All resources of machine, these resources are usually to be stored in the form of file and file.It is big due to having in resource manager
The file and file of amount, but for file, user can only see its title, type etc. in resource manager,
The other information of relevant document folder can not then be obtained, therefore the mass file folder as user in resource manager, especially
When it is strange file, user leads to not have file often because worrying to carry out maloperation to file
The management of effect.
For these reasons, the embodiment of the invention provides a kind of resource manager optimization methods, are able to use family and are providing
The much information that relevant document folder is obtained in source manager, consequently facilitating user effectively manages the resource in resource manager
Reason.As shown in Figure 1, this method comprises:
101, the file shown in explorer window is determined as file to be viewed.
It include the multiple resources information such as hardware, software, system file in computer, it is more clear in order to allow users to
Chu gets information about various resources in computer, and the existing computer using windows system, which provides, a kind of to be known as providing
The resource management tool of source manager.Resource manager provides a kind of tree-like file system structure, for checking computer
Interior all resources.The file and file can be become apparent from by resource manager, being understood more intuitively in computer, and
In resource manager various operations can also be carried out to file.Such as: open, replicate, is mobile etc..
But user is when operating file in resource manager, be typically only capable to get the title of file,
Type, modification date etc., and only by these information, user can not effective managing folder.For example, when user wants
In a large amount of file when mobile file, due to not knowing about the size of file, can not determine by which file into
Row movement, and which position be moved to;Or when user is stranger to these files, it is not known that its particular use
When, it can not just select important file or unessential file is moved.
Therefore, when file of the user in operating resource manager, the text that will be shown in explorer window is needed
Part folder is determined as file to be viewed;Alternatively, corresponding file can also be manually selected by user as file to be viewed,
To obtain the details of file to be viewed subsequently through the processing of resource manager.
102, by clicking the specific function button being set on the explorer window, to the file to be viewed
Folder carries out particular procedure.
The embodiment of the present invention is provided with specific function button on explorer window, by clicking specific function button
It can execute for file specific operation to be viewed, the specific operation of execution is mainly obtained about file to be viewed
Specific information.The specific information is different from the information of the relevant document folder shown in existing resource manager, and user passes through
The specific information of file to be viewed can become more apparent upon file to be viewed, consequently facilitating operated to file, avoid because
Wrong operation is carried out to file not know about to file, for example, by the file of some important system file
It is moved, leads to computer operation error.Therefore, text to be viewed has been determined in explorer window when step 101
After part folder, so that it may the specific function button that step 102 is set on the explorer window by click is executed, it is right
The file to be viewed carries out particular procedure.
103, according to the particular procedure as a result, corresponding to the position of the file to be viewed in explorer window
It sets and is shown.
After clicking the specific function button on explorer window in a step 102, resource manager can be right
File to be viewed carries out particular procedure, specific information of the acquisition about file to be viewed, that is, the particular procedure
As a result.Then in step 103, resource manager can according to the particular procedure as a result, in explorer window it is right
The position of the file to be viewed is answered to be shown, so that user checks the details of file.
A kind of resource manager optimization method provided in an embodiment of the present invention, compared to including in existing resource manager
A large amount of user and uncomprehending file so that user can not the defect of effectively managing folder compare, the embodiment of the present invention
By the way that specific function button is arranged on explorer window, user is made not know about the file in explorer window
In the case where, by clicking the specific function button in explorer window, so that it may the phase on explorer window
Answer position acquisition to more about the information of file, to make user in strange files a large amount of in resource manager
When folder, significantly more efficient file can be managed.
In order to preferably understand above-mentioned method shown in FIG. 1, as the refinement and extension to above embodiment,
The embodiment of the present invention will be described in detail in conjunction with the step of Fig. 1.
It due to including a large amount of file in explorer window, and further include many in these files to user
For strange file.For example, the file of a large amount of system file is all strange for ordinary user.And user
When checking strange file, if checking one by one, the efficiency checked can be seriously reduced.Therefore, the embodiment of the present invention is providing
When determining file to be viewed in source manager window, different embodiments is provided:
(1) it is used as a kind of most convenient and fast mode, the resource manager in the embodiment of the present invention can be by resource manager window
The file shown in mouthful is determined as file to be viewed.Further, in the file shown in explorer window,
It may also contain sub-folder in some files.Therefore, if there is also Ziwens in the file of resource manager discovery display
When part presss from both sides, equally the sub-folder in file can be also determined as file to be shown.
(2) it when user need to only operate a strange file, can be operated by single choice in resource manager
Single file to be viewed is chosen in window.For example, passing through mouse-click file to be viewed, so that it may by the file to be viewed
Folder is chosen.
(3) it when user needs to operate more than one strange file, can be operated by multiselect in resource pipe
Multiple files to be viewed are chosen in reason device window.For example, combining by " Ctrl " key and mouse-click, multiple files are clicked
Folder can choose multiple files to be viewed;Or combined by " Shift " key and mouse-click, click two files
Folder both of these documents can be pressed from both sides and its between All Files folder choose as file to be viewed.
By above embodiment, the file shown in window and its sub-folder can be determined by resource manager
For file to be viewed, or one or more files to be viewed are disposably chosen by user, convenient for subsequent to text to be viewed
When part folder carries out particular procedure, batch processing can be carried out simultaneously, improve the efficiency for obtaining file details to be viewed.
The file shown in window and its sub-folder are either determined as file to be viewed by resource manager,
Or a file to be viewed is chosen by user or chooses multiple files to be viewed, determined file to be viewed it
Afterwards, it requires by clicking the specific function button being set on the explorer window, to the file to be viewed
Carry out particular procedure.In embodiments of the present invention, clicking the particular procedure executed after specific function button includes: calculation document folder
Size, refreshes file Study document folder attribute.Specifically, as shown in Fig. 2, can be in the resource manager window
(including but not limited to) first function button, the second function button and third function button are set on mouth.By clicking first
Function button can calculate the file size of the file to be viewed;By clicking the second function button, can analyze
The folder attribute information of the file to be viewed out;By clicking third function button, the text to be viewed can be refreshed
Part folder.
Alternatively, passing through as shown in figure 3, a specific function button can also be arranged on the explorer window
Clicking the specific function button can produce pulldown function menu;In the pulldown function menu, including but not limited to
One function command, the second function command and third function command.By selecting the first function in the pulldown function menu
Instruction, can calculate the file size of the file to be viewed;By selecting the second function command, institute can analyze out
State the folder attribute information of file to be viewed;By selecting third function command, the file to be viewed can be refreshed.
Wherein, first function button or the first function command can be named as " display file size ", and described the
Two function buttons or the second function command can be named as " description of display file ", and the third function button or third function refer to
Order can be named as " refreshing ";The file to be viewed is refreshed, mainly when the file in file is added
Or after the operation such as mobile, arrangement is re-started to the file in file, convenient for checking the file in file.
Since existing explorer window is only able to display the size of file under catalogue, the big of file is not shown
It is small, therefore when the stock number saved in catalogue is greater than the maximum capacity of catalogue, user just needs the part text in catalogue
Part folder is transferred out.But since existing resource manager does not show the size of file, and user is not due to knowing about text
The size of part folder, thus the file that those can not be selected excessive is moved, can be because if blindly moving to file
The stock number stored in catalogue can not be effectively reduced to have selected too small file.Therefore, the embodiment of the present invention needs
Assign the ability of resource manager calculation document folder size.Resource manager in the embodiment of the present invention presss from both sides size in calculation document
When, it is main to be carried out by following steps:
A, the file to be viewed is scanned, generates the file information list;
In this step, resource manager can call the software with scanning function installed in computer such as to kill virus soft
Part is scanned the file to be viewed, obtains the file contained in file;Alternatively, resource manager can also be adjusted
With preset scan script, the file to be viewed is scanned, obtains the file contained in file.When to it is described to
After checking that file is scanned and obtains All Files therein, for the ease of statistics, the file information can be generated on backstage
List.The All Files being arranged in the file to be viewed in the file information list, the file are all labeled with text
Part size information.
Further, the embodiment of the invention also provides a kind of more accurate scanning mode, i.e., resource manager is to institute
When stating file to be viewed and being scanned, it can also judge whether file wherein included belongs to the file to be viewed.Example
Such as, the file to be viewed is the file of computer system files, and such as windows file, and scanning discovery wherein wraps
Containing suffix be .docx or .xlsx file, then can by suffix be .docx or .xlsx file without statistics, also
Be generate the file information list in do not include suffix be .docx or .xlsx file, and by the file to be viewed into
Row special marking prompts file to be viewed described in user to handle.
B, the document size information that each file is marked in the file information list is summed, is obtained described to be viewed
The size of file;
It is all labeled with document size information since scanning obtains the file in the file to be viewed, it can incite somebody to action
The size of file in the file information list of generation is all added, and obtains the size of the file to be viewed.
Further, since also including other files, therefore, Jin Jinzhi under catalogue where the file to be viewed
The size of file to be viewed described in road, can't often make user understand the size degree of the file to be viewed.Therefore,
After executing the step B, step C can also be performed.
C, according to the size of the file to be viewed and its directory size of affiliated catalogue, the file to be viewed is calculated
It is clipped in the ratio of shared size under its affiliated catalogue.
During the scanning process due to resource manager, the size of the affiliated catalogue of file to be viewed can also be scanned, or
Person, can be read directly the size of certain catalogues in computer, such as the amount of capacity information such as the C disk of computer, D disk, E disk.
Therefore, after obtaining the directory size of the affiliated catalogue of file to be viewed, the text to be viewed may further be calculated
Part is clipped in the ratio of shared size under its affiliated catalogue, so that user be made to become more apparent upon the file to be viewed under catalogue
Size cases.For example, there are also other a large amount of files under the catalogue comprising file to be viewed, and only know file to be viewed
Folder is 101.747KB, then it is big file or small text in catalogue that user, which can't really understand the file to be viewed,
Part folder, therefore, by calculating the file to be viewed in catalogue after shared size, such as 0.5%, so that it may know
The file to be viewed presss from both sides in catalogue for small documents.
Further, since including the file of a large amount of file, especially system file in resource manager, for general
It is all very strange for general family, user and the purposes for not knowing about these files, and existing resource manager is not given
The description of these files out.Therefore, user is when passing through resource manager managing folder, due to not knowing about the use of file
On the way, file cannot effectively be managed, such as some relatively unessential texts can not be selected from a large amount of file
Part folder is moved;Or some relatively important files of selection are dumped under specific catalogue.Therefore, the present invention is real
Apply the ability that example can also impart to resource manager Study document folder attribute.Resource manager in the embodiment of the present invention is being analyzed
It is main to be carried out by following steps when folder attribute:
A, the title of file to be viewed is uploaded to Cloud Server, the Cloud Server collection has various under various catalogues
The detail information of file, the detail information include title and purposes attribute information;
In order to enable resource manager to analyze the attribute information of file to be viewed, the embodiment of the present invention is in advance in cloud
Server has collected the detail information of the various files under various catalogues, for illustrating the purposes category of these catalogues and file
Property.Therefore, when resource manager analyzes the attribute information of file to be viewed, the title of file to be viewed can be uploaded
To Cloud Server, by Cloud Server in the various catalogues of collection and the detail information of various files, search with it is described to be checked
See the corresponding detail information of the title of file.Wherein, the various files under the various catalogues of Cloud Server collection is detailed
Feelings information can be saved by way of mapping table, by the title of catalogue and its purposes attribute, file title and its
Purposes attribute is mapped, convenient for searching the corresponding purposes attribute of file to be viewed.
B, the purposes attribute information corresponding with the title of the file to be viewed that the Cloud Server issues is received.
After the title of file to be viewed is uploaded to Cloud Server by resource manager, Cloud Server is reflected generation
According to the title of file to be viewed in firing table, corresponding purposes attribute information is found, and by the purposes of file to be viewed
Attribute information is handed down to resource manager, receives the name with the file to be viewed that Cloud Server issues by resource manager
Claim corresponding purposes attribute information.
Alternatively, the Cloud Server can also by the title of file of collection and application thereof attribute, catalogue title and
After its purposes attribute carries out mapping generation mapping table, which is issued to resource manager, when resource manager needs
When analyzing the attribute of file to be viewed, mapping table can be called directly and checked.
Since user can carry out various operations by resource manager to file, such as open, duplication, movement.Therefore,
After user gets the size and purposes attribute information of file to be viewed, file to be viewed may be grasped
Make, certain files therein are moved.And putting in order for the file in the file to be viewed Jing Guo operation processing will
It can be disturbed.Therefore, the resource manager in the embodiment of the present invention has further been given the function refreshed to file to be viewed
Energy.Namely the All Files in file to be viewed are refreshed, make the file according to size order described to be checked
It sees and carries out listing arrangement in file.Specifically, can according to descending sequence by the file in file to be viewed into
Row arrangement, can also arrange the file in file to be viewed according to ascending sequence.
Due to elaborating how resource manager carries out file size to file to be viewed in above-described embodiment respectively
Calculating, the analysis of folder attribute and the refreshing of file.Therefore, when resource manager is depending on the user's operation to be checked
After seeing that file has executed above-mentioned particular procedure, it is necessary to correspond to the file to be viewed in explorer window
Position is shown.
As shown in figure 4, with show the size of the file to be viewed and its under affiliated catalogue shared size ratio
For, it can be in explorer window, in the field for describing size of the corresponding file to be viewed, also
It is to be shown in " size " column.It, can be in resource pipe for showing the purposes attribute information of the file to be viewed
Manage in device window, in the field for describing attribute of the corresponding file to be viewed, that is, in " description " column into
Row display., can be in explorer window for showing the refreshing of the file to be viewed, correspondence is described to be viewed
It is shown in the field for describing modification time of file, that is, in " modification date " column.
Resource manager in the embodiment of the present invention can obtain relevant document folder by the specific function button of setting
More detail informations, and it is more more intuitive it will be shown in explorer window, allowing users to that there is file
Understanding, effectively raise the efficiency of user's managing folder in resource manager.
Further, as the realization to method shown in above-mentioned Fig. 1, the embodiment of the invention provides a kind of resource managers
Optimize device, as shown in figure 5, the device comprises determining that unit 51, processing unit 52 and display unit 53, wherein
Determination unit 51, for the file shown in explorer window to be determined as file to be viewed;
Processing unit 52, the specific function button for being set on the explorer window by click, to institute
It states file to be viewed and carries out particular procedure;
Display unit 53, for according to the particular procedure as a result, being corresponded in explorer window described to be checked
See that the position of file is shown.
Further, in the file and the file that determination unit 51 is used to show in explorer window
The sub-folder for including is determined as file to be viewed.
Further, processing unit 52 be used for by click the first function for being set on the explorer window by
Button carries out the calculating of file size to the file to be viewed;Processing unit 52 is also used to be set to by click described
The second function button on explorer window carries out the analysis of folder attribute to the file to be viewed;Processing is single
Member 52 is also used to by clicking the third function button being set on the explorer window, to the file to be viewed
Carry out file refreshing.
Further, processing unit 52 is used to generate pulldown function menu by clicking the specific function button;Processing
Unit 52 is also used to by selecting the first function command in the pulldown function menu, carries out text to the file to be viewed
The calculating of part folder size;Processing unit 52 is also used to by selecting the second function command in the pulldown function menu, to institute
State the analysis that file to be viewed carries out folder attribute;Processing unit 52 is also used to by selecting in the pulldown function menu
Third function command is selected, file refreshing is carried out to the file to be viewed.
Further, as shown in fig. 6, processing unit 52 includes:
Scan module 521 generates the file information list for being scanned to the file to be viewed, the file letter
It ceases comprising the All Files in the file to be viewed in list, the file is all labeled with document size information;
First computing module 522, for by each file is marked in the file information list document size information
Summation, obtains the size of the file to be viewed;
Second computing module 523, for according to the size of the file to be viewed and its directory size of affiliated catalogue,
Calculate the ratio of the file to be viewed shared size under its affiliated catalogue.
Further, as shown in fig. 6, processing unit 52 includes:
Uploading module 524, for the title of the file to be viewed to be uploaded to Cloud Server, the Cloud Server is received
Collection has the detail information of various files under various catalogues, and the detail information includes title and purposes attribute information;
Receiving module 525, for receive the Cloud Server issue it is corresponding with the title of the file to be viewed
Purposes attribute information.
Further, as shown in fig. 6, processing unit 52 includes:
Refresh module 526, for refreshing to the All Files in the file to be viewed, make the file according to
Size order carries out listing arrangement in the file to be viewed.
Further, display unit 53 be used for by the size of the file to be viewed and its under affiliated catalogue it is shared big
Small ratio is shown in the field for describing size of the correspondence file to be viewed.
Further, display unit 53 is corresponding with the title of the file to be viewed for issuing Cloud Server
Purposes attribute information, shown in the field for describing attribute of the correspondence file to be viewed.
Further, display unit 53 is used for the time that will refresh to the file to be viewed, described in correspondence
It is shown in the field for describing the modification date of file to be viewed.
A kind of resource manager provided in an embodiment of the present invention optimizes device, compared to including in existing resource manager
A large amount of user and uncomprehending file so that user can not the defect of effectively managing folder compare, the embodiment of the present invention
By the way that specific function button is arranged on explorer window, user is made not know about the file in explorer window
In the case where, by clicking the specific function button in explorer window, so that it may the phase on explorer window
Answer position acquisition to more about the information of file, to make user in strange files a large amount of in resource manager
When folder, significantly more efficient file can be managed.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
It is understood that the correlated characteristic in the above method and device can be referred to mutually.In addition, in above-described embodiment
" first ", " second " etc. be and not represent the superiority and inferiority of each embodiment for distinguishing each embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein.
Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system
Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various
Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair
Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed
Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the denomination of invention according to an embodiment of the present invention (as determined in website
The device of Hyperlink rank) in some or all components some or all functions.The present invention is also implemented as being used for
Some or all device or device programs of method as described herein are executed (for example, computer program and calculating
Machine program product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one
Or the form of multiple signals.Such signal can be downloaded from an internet website to obtain, or be provided on the carrier signal,
Or it is provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch
To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame
Claim.