CN101593102A - The method and system that is used for management software - Google Patents
The method and system that is used for management software Download PDFInfo
- Publication number
- CN101593102A CN101593102A CNA2008101081833A CN200810108183A CN101593102A CN 101593102 A CN101593102 A CN 101593102A CN A2008101081833 A CNA2008101081833 A CN A2008101081833A CN 200810108183 A CN200810108183 A CN 200810108183A CN 101593102 A CN101593102 A CN 101593102A
- Authority
- CN
- China
- Prior art keywords
- component software
- unit
- software unit
- software
- component
- 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.)
- Pending
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a kind of method and system that is used for management software.This software comprises a plurality of component softwares unit (component) and whole component software unit list.Described method comprises in response to this software and being used, and determines the component software unit that is used, so that form the component software unit list of having used.Then, according to described whole component software unit lists and the described component software unit list of having used, determine deletable component software unit list.At last, the component software unit in the deletable component software unit list of deletion from software.
Description
Technical field
The present invention relates to computer software technology, relate in particular to the method and system that is used for management software.
Background technology
Now, computing machine and to have an application of calculation element of computing function more and more universal.Sometimes, the software product of a complexity comprises many component software unit.For example, the Rational Software Development Platform (SDP) of International Business Machine Corporation (IBM) comprises a hundreds of eclipse plug-in unit.
A component software unit (component) is used for a basic function of executive software, and this component software unit can comprise one or one group of file.The component software unit be can be discrete in software systems or the structure part (A component is a discrete part of a larger softwaresystem or structure).
The user generally can optionally install basic function module in install software.Even but selecteed basic function module, the user generally can all not use for a plurality of functions wherein yet.In some cases, the user only uses the sub-fraction function in its a plurality of functions, is not used function for other and does not understand.
Some software provides personalized installation/offloading functions, can select the basic function module of installing/unloading.The user generally can use, perhaps by learning to use the installation/unloading based on basic function module.But, install software even so, the user often thinks still that institute's installed software is too big, the system resource that takies is too many.
Summary of the invention
Deficiency in view of prior art, the invention provides a kind of method that is used for management software, this software comprises a plurality of component softwares unit (component) and whole component software unit list, described method comprises: a) be used in response to this software, determine the component software unit that is used, so that form the component software unit list of having used; B) according to described whole component software unit lists and the described component software unit list of having used, determine deletable component software unit list; C) the component software unit in the deletable component software unit list of deletion from software.
In another embodiment of the present invention, this software further comprises predetermined kernel software assembly unit tabulation, described step b) further is configured to determine deletable component software unit list according to described whole component software unit lists, the tabulation of predetermined kernel software assembly unit and the described component software unit that is used.Wherein, be used execution in step b after time of reservation at this software), perhaps execution in step b after this software is used the number of times of reservation).
In another embodiment of the present invention, this software has the eclipse framework, and described component software unit is the eclipse plug-in unit.
In another embodiment of the present invention, described component software unit comprises one or more files.
In another embodiment of the present invention, this method further comprises has deleted the component software unit list with deleted component software unit adding; And, reinstall this deleted component software unit in response to the calling of deleted component software unit.
The present invention also provides a kind of system that is used for management software, this software comprises a plurality of component softwares unit (component) and whole component software unit list, described system comprises: the device that is used for determining the use of component software unit, it is used in response to this software, determine the component software unit that is used, so that form the component software unit list of having used; Be used for determining the device of deletable component software unit, it determines deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used; Be used to delete the device of component software unit, be used for the component software unit from the deletable component software unit list of software deletion.
In another embodiment of the present invention, this software further comprises predetermined kernel software assembly unit tabulation, the described device that is used for definite deletable component software unit further is configured to determine deletable component software unit list according to described whole component software unit lists, the tabulation of predetermined kernel software assembly unit and the described component software unit that is used.
In another embodiment of the present invention, be used the time of reservation at this software after, the device that is used for determining deletable component software unit is determined deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used.
In another embodiment of the present invention, be used the number of times of reservation at this software after, the device that is used for determining deletable component software unit is determined deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used.
In another embodiment of the present invention, further comprise being used for determining to have deleted the component software cell arrangement, be used for the component software unit list has been deleted in deleted component software unit adding; And reinstall device, it reinstalls this deleted component software unit in response to the calling of deleted component software unit.
Description of drawings
Fig. 1 is a process flow diagram according to an embodiment of the invention.
Embodiment
Fig. 1 is a process flow diagram according to an embodiment of the invention.In step 100, a software is installed in the computing machine.This software comprises a plurality of component softwares unit (component) and whole component software unit list 140.
In one embodiment of the invention, a component software unit (component) is used for a basic function of executive software, and this component software unit can comprise one or one group of file.The component software unit be can be discrete in software systems or the structure part (A component is a discretepart of a larger software system or structure).The component software unit is to install or when unloading a software, the minimum component software that can manage respectively.For example, can load a component software unit or unload a component software unit for stocking system.
For example, a file can become a component software unit.In the software based on Eclipse, a plug-in unit can become a component software unit.An Eclips plug-in unit can comprise one group of file following the plug-in unit standard and develop, and can be installed in the Eclipse framework.When developing software, can also define the component software unit that comprises a plurality of files.
Component software unit (component software) can constitute the modularization routine or the assembly of a complete routine with other combination of components together.The programmer can repeatedly use existing assembly and need not to know how its inside works, and only need know other program is how to call it and how to carry out exchanges data just passable with it.
All component software unit lists (all component list) comprise software whole component softwares unit title and/or form the tabulation of all files of component software unit.All the component software unit list can form when software development, also can form when software is installed.In one embodiment of the invention, the file/data file that produces when all the component software unit list does not comprise running software does not comprise file/data file that the user creates yet.In other function of carrying out removing or software, after some files or component software unit are deleted, can revise whole component software unit lists from software.
This software can also comprise kernel software assembly unit tabulation 130.When software development, can also be identified for guaranteeing the kernel software assembly unit (core component) of the normal operation of software.Do not allow unloading kernel software assembly unit from software.Unloading or deletion kernel software assembly unit will cause software can't normally move or occur unusually.In one embodiment of the invention, before software dispatch,, can determine the kernel software assembly unit, and form the tabulation of kernel software assembly unit as when developing.This kernel software assembly unit tabulation can be distributed with software.
In step 110, the user uses this software.In step 120, the use of monitoring software assembly unit is used in response to this software, determines the component software unit that is used, so that form the component software unit list of having used 150.
The component software unit list of having used is used for the used component software of recording user.A component software unit is used, and represents that this component software unit is by affiliated software loading (request) mistake.There is multiple factor to make a component software unit be loaded.For example, the user carries out an operation in software, make the component software unit of corresponding function be loaded; Component software unit A depends on the component software unit B.Component software unit A is called, and makes the component software unit B also be called; Software systems automatically perform some functions, make some component software unit be loaded; Other system calls the component software unit of this software, makes it be loaded.
In one embodiment of the invention, can determine whether the component software unit once was loaded by several different methods.If a component software unit comprises one or more files, any file in the component software unit was read by this software or was write, and just illustrated that this component software unit once was loaded.If a component software unit is an eclipse plug-in unit, this plug-in unit just can determine that once by the eclipse architecture loads this plug-in unit once was loaded.
In another embodiment of the present invention, only third party software or operating system once read or write a component software unit, this component software unit were not joined the component software unit list of having used.For example, the user utilizes a third party software to open the file of a component software unit; The user carries out virus scan for whole installed software; Perhaps the file to the component software unit reads or writes operating system in order to carry out retrieval.For such operation, this component software unit is not joined the component software unit list of having used.
Among Fig. 1,, also, determine deletable component software unit list 160 further according to described whole component software unit lists 140 and the described component software unit list of having used 150 in step 120.
The component software unit list that is not used comprises the component software unit that can delete from software.In one embodiment of this invention, the component software unit list that is not used can obtain by whole component software unit lists and the component software unit list of having used.From whole component software unit lists, remove content, the component software unit list that just can be used or the deletable component software unit list of the component software unit list of having used.
In another embodiment of the present invention, the component software unit list that is not used can obtain by the tabulation of kernel software assembly unit, whole component software unit list and the component software unit list of having used.From whole component software unit lists, remove the content of kernel software assembly unit tabulation, and remove content, the component software unit list that just can be used or the deletable component software unit list of the component software unit list of having used.
In step 180, by the user or trigger clear operation automatically.In step 200, the component software unit from software in the deletable component software unit list 160 of deletion.
Clear operation will be removed the component software unit that had not used, and comprise the file under the removing component software unit from file system.After clear operation, the component software unit of reservation has just constituted user's personalization storehouse (customized installation base) has been installed, and component software unit wherein all is that the user is needed.Like this, just finished the optimization that software is installed.
In whole optimizing process, the user does not need to understand the composition of software.The user only needs to understand how to use this software.This software will determine which component software unit is user's needs, and which component software unit is that the user is unwanted.
The information of deleted component software unit can store deleted component software unit list 170 into.Like this, just obtained the personalization installation storehouse 200 that the user needs.
Deleted component software unit list, the information that is used to store deleted component software unit.This information can be used for determining whether the user is attempting to visit deleted component software unit.Function when user's request makes that this software can't be finished this and call when installed software attempts to call deleted component software unit.Can't finish this in response to software and call, retrieve this component software unit in deleted component software unit list.If retrieve, then can notify the user with accordingly result.The user can also load required deleted component software unit by reinstalling.
Software based on Eclipse
Software based on Eclipse comprises a plurality of plug-in units.In this case, the component software unit is the Eclipse plug-in unit.According to another embodiment of the present invention, can monitor which Eclipse plug-in unit has been used.After software was installed, all plug-in unit constituted whole component software unit lists.Through after a while,, perhaps pass through certain software access times, as 100 times as 7 days.The plug-in unit that was used is added into the component software unit list of having used.Like this, according to whole component software unit lists and the component software unit list used, just can determine which plug-in unit was not used or can be deleted.And then, can delete the plug-in unit that these were not used or can be deleted.In order to ensure the normal use of software, guarantee that perhaps some basic functions is retained all the time, in the time of can or installing when developing software specific plug-in unit is defined as the kernel software assembly unit.Do not allow these core inserters of deletion from installed software.In this case, according to whole component software unit lists, kernel software assembly unit and the component software unit list used, determine which plug-in unit was not used or can be deleted.
Software based on file
For the software based on file, file is the minimum unit of this software administration.In this case, the component software unit is a file.Can be on the file level installation/unloading of management software.From installed software,, just this document is added the component software unit list of having used if certain file is read or write.According to another embodiment of the present invention, behind regular hour or number of times, just can from installed software, delete the file that those can be deleted.
According to prior art, the user generally can optionally install basic function module in install software.Even but selecteed basic function module, the user generally can all not use for a plurality of functions wherein yet.In some cases, the user only uses the sub-fraction function in its a plurality of functions, is not used function and corresponding component software unit is not understood for other.Generally, only the relevant speciality personnel of this software just are concerned about function and the corresponding component software unit thereof that also may understand software.
According to prior art, behind the intact software of user installation, bring into use this software.This software generally comprises a plurality of basic function module, and these basic function module comprise many component softwares unit again respectively.These component software unit are corresponding with function corresponding respectively.The function of some software can be used, and the function of some software can not be used.A lot of users are indifferent to for the function that these can not be used, even do not know.And the pairing component software of these functions that the are not used unit in this software, the user may not know their existence yet.And after one section preset time, the possibility that those functions that are not used are used in the future is very little.But the component software unit that these are not used is but in occupation of the resource of system.
According to prior art, during install software, file of being installed or component software unit are often more than real file or the component software unit that uses of user.And after after a while, it is redundant that file that those are not used or component software unit have just become, and they occupy disk space, influence the performance of computer system or software.In fact, the user does not need these redundant software sections.But, remove these redundant software documents or component software unit, relatively more difficult for the user.
According to prior art, for the general user, it may and not know function that he uses is corresponding to which component software unit.The user uses software by study, be appreciated that its user interface by software (UI) utilizes performed function of software or operation, but the user generally can't understand or not understand the corresponding relation between UI function and the component software unit.In addition, the user generally can't understand or not understand the dependence between the component software unit.Thereby the user can't determine which component software unit is used, and which component software unit can be deleted from system.
According to prior art, some software provides personalized installation/offloading functions, can select the basic function module of installing/unloading.The user generally can use, perhaps by learning to use the installation/unloading based on basic function module.
But be based on the installation/unloading of more fine-grained component software unit, many for the requested knowledge of software.From hundreds and thousands of even up to ten thousand component software unit, selectively install/unload, be unpractical for the user.
Foregoing description according to the present invention is appreciated that, even the user for component software unit and function corresponding understand few, according to the method and system that is used for management software of the present invention, also can carry out installation/unloading based on more fine-grained component software unit.
The present invention also provides a kind of storage medium or signal vehicle, comprising the instruction that is used to carry out the method according to this invention.
Abovely the present invention is described in detail, but is appreciated that above embodiment only is used for explanation and non-limiting the present invention in conjunction with the optimum seeking method scheme.Those skilled in the art can make amendment and do not depart from the scope of the present invention and spirit scheme shown in of the present invention.
Claims (14)
1. method that is used for management software, this software comprise a plurality of component softwares unit (component) and whole component software unit lists, and described method comprises:
A) be used in response to this software, determine the component software unit that is used, so that form the component software unit list of having used;
B) according to described whole component software unit lists and the described component software unit list of having used, determine deletable component software unit list;
C) the component software unit in the deletable component software unit list of deletion from software.
2. method according to claim 1, wherein this software further comprises predetermined kernel software assembly unit tabulation, described step b) further is configured to determine deletable component software unit list according to described whole component software unit lists, the tabulation of predetermined kernel software assembly unit and the described component software unit that is used.
3. method according to claim 1, wherein execution in step b after this software is used the time of reservation).
4. method according to claim 1, wherein execution in step b after this software is used the number of times of reservation).
5. method according to claim 1, wherein this software has the eclipse framework, and described component software unit is the eclipse plug-in unit.
6. method according to claim 1, wherein said component software unit comprises one or more files.
7. method according to claim 1 wherein further comprises the component software unit list has been deleted in deleted component software unit adding; And, reinstall this deleted component software unit in response to the calling of deleted component software unit.
8. system that is used for management software, this software comprises a plurality of component softwares unit (component) and whole component software unit lists, described system comprises:
Be used for the device of determining that the component software unit uses, it is used in response to this software, determines the component software unit that is used, so that form the component software unit list of having used;
Be used for determining the device of deletable component software unit, it determines deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used;
Be used to delete the device of component software unit, be used for the component software unit from the deletable component software unit list of software deletion.
9. system according to claim 8, wherein this software further comprises predetermined kernel software assembly unit tabulation, the described device that is used for definite deletable component software unit further is configured to determine deletable component software unit list according to described whole component software unit lists, the tabulation of predetermined kernel software assembly unit and the described component software unit that is used.
10. system according to claim 8, wherein after this software is used the time of reservation, the device that is used for determining deletable component software unit is determined deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used.
11. system according to claim 8, wherein after this software is used the number of times of reservation, the device that is used for determining deletable component software unit is determined deletable component software unit list according to described whole component software unit lists and the described component software unit list of having used.
12. system according to claim 8, wherein this software has the eclipse framework, and described component software unit is the eclipse plug-in unit.
13. system according to claim 8, wherein said component software unit comprises one or more files.
14. system according to claim 8 wherein further comprises being used for determining to have deleted the component software cell arrangement, is used for the component software unit list has been deleted in deleted component software unit adding; And reinstall device, it reinstalls this deleted component software unit in response to the calling of deleted component software unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101081833A CN101593102A (en) | 2008-05-30 | 2008-05-30 | The method and system that is used for management software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2008101081833A CN101593102A (en) | 2008-05-30 | 2008-05-30 | The method and system that is used for management software |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101593102A true CN101593102A (en) | 2009-12-02 |
Family
ID=41407772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2008101081833A Pending CN101593102A (en) | 2008-05-30 | 2008-05-30 | The method and system that is used for management software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101593102A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019677A (en) * | 2012-11-16 | 2013-04-03 | 北京奇虎科技有限公司 | Method and device for software management |
CN111712794A (en) * | 2018-03-07 | 2020-09-25 | 华为技术有限公司 | Method for installing application program by functional modules |
-
2008
- 2008-05-30 CN CNA2008101081833A patent/CN101593102A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103019677A (en) * | 2012-11-16 | 2013-04-03 | 北京奇虎科技有限公司 | Method and device for software management |
CN103019677B (en) * | 2012-11-16 | 2016-08-31 | 北京奇虎科技有限公司 | For the method and apparatus managing software |
CN111712794A (en) * | 2018-03-07 | 2020-09-25 | 华为技术有限公司 | Method for installing application program by functional modules |
CN111712794B (en) * | 2018-03-07 | 2022-05-13 | 华为技术有限公司 | Method for installing application program by functional modules |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8286154B2 (en) | Apparatus and method for live loading of version upgrades in a process control environment | |
KR101781447B1 (en) | System reset | |
US5721824A (en) | Multiple-package installation with package dependencies | |
US11314498B2 (en) | System and method for downgrading applications | |
EP3025255A1 (en) | Virtual synchronization with on-demand data delivery | |
US20130227085A1 (en) | Terminal and method for using cloud services | |
CN103425468B (en) | Plug-in type software integrating method and device | |
CN102567142B (en) | System reset and System recover | |
CN102999343A (en) | Method and device for forbidding self-starting of startup project | |
CN103677650A (en) | Drive letter drifting preventing and treating method and device | |
US20110265072A1 (en) | Dynamic Installation of Files for Running Programs | |
CN111857765A (en) | Plug-in system for drug design system, and generation method and updating method thereof | |
CN112463058B (en) | Fragmented data sorting method and device and storage node | |
CN102054041A (en) | Method and system for upgrading metadata | |
US6336215B1 (en) | Apparatus and method for on-line code only replacement of a running program using checkpoints | |
CN110019527B (en) | Slave library reading method, related device and equipment | |
US20110252414A1 (en) | System using separate modules to update software and the method thereof | |
CN101593102A (en) | The method and system that is used for management software | |
CN102214119A (en) | Method and device for moving software | |
CN112035292A (en) | Method, device and equipment for processing data writing exception and storage medium | |
CN105511904A (en) | Method and apparatus for automatically updating shortcut window | |
US6925345B2 (en) | Method and system for manufacture of information handling systems from an image cache | |
CN102968324A (en) | Method and device for organizing booting files of computer system | |
US9619306B2 (en) | Information processing device, control method thereof, and recording medium | |
CN102394761B (en) | Charge system upgrading method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20091202 |