CN103455365A - Method for obtaining software resource and electronic device - Google Patents

Method for obtaining software resource and electronic device Download PDF

Info

Publication number
CN103455365A
CN103455365A CN2012101702267A CN201210170226A CN103455365A CN 103455365 A CN103455365 A CN 103455365A CN 2012101702267 A CN2012101702267 A CN 2012101702267A CN 201210170226 A CN201210170226 A CN 201210170226A CN 103455365 A CN103455365 A CN 103455365A
Authority
CN
China
Prior art keywords
software program
subsystem
software
information
needs
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
Application number
CN2012101702267A
Other languages
Chinese (zh)
Inventor
易鸿斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN2012101702267A priority Critical patent/CN103455365A/en
Publication of CN103455365A publication Critical patent/CN103455365A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a method for obtaining a software resource. The method is used for saving storage space and enabling operation to be simple. The method includes that when N first software programs in a second sub system are determined to be used, N first software information of the first software programs is obtained; N is an integer smaller than or equal to M; according to the N first software information, N disk mapping files of the first software programs are loaded in a first sub system; N second registry information of the first software programs is loaded in a first registry in the first sub system according to the N first software information, first registry information is obtained, and N first software resources of the first software programs are obtained. The invention further discloses an electronic device for achieving the method.

Description

A kind of method and electronic equipment that obtains software resource
Technical field
The present invention relates to computing machine and built-in field, particularly a kind of method and electronic equipment that obtains software resource.
Background technology
The hardware configuration of computing machine is more and more higher now, the operating system that on same machine, a plurality of different editions can be installed, or the operating system with a series of different editions can be installed on same machine.So just bring a problem, in same computer, the software program that the user uses under an operating system environment (software programs such as office, word processing, programming development, Compress softwares, media play, download, game, chat), if need to use in another operating system, need to reinstall, so obvious operation is comparatively loaded down with trivial details, and takies more storage space.
Summary of the invention
The embodiment of the present invention provides a kind of method and electronic equipment that obtains software resource, for saving storage space, makes operation more easy.
A kind of method that obtains software resource, be applied to be equipped with in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem is the work at present system, M the first software program is installed in described the second subsystem, and M is positive integer, comprises the following steps:
While determining N described the first software program that needs to use in described the second subsystem, obtain the first software information of N described the first software program; N is the integer that is not more than M;
Load the disk image file of N described the first software program in described the first subsystem according to N described the first software information;
According to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
Preferably, also comprise step before described the first software program of the N in determine to need using described the second subsystem: the software information list provided according to described the second subsystem determines that needs are used individual described the first software program of N in described the second subsystem; Or determine that from the second registration table of the second subsystem needs are used N described the first software program in described the second subsystem; Or N described the first software program that needs to use in described the second subsystem determined in inquiry in described the second subsystem.
Preferably, also comprise step after the disk image file that loads N described the first software program according to N described the first software information in described the first subsystem: whether N described the first software program in described the second subsystem that the judgement needs are used be available;
The step that loads the disk image file of N described the first software program according to N described the first software information in described the first subsystem comprises: when judgment result is that while being, load the disk image file of individual described the first software program of N according to N described the first software information in described the first subsystem.
Preferably, N the whether available step of described the first software program in described the second subsystem that judgement needs to use comprises: when described the first subsystem is 32 systems, in N described the first software program in described the second subsystem that judgement needs to use, whether described first software program of 64 is arranged, determine in N described the first software program in described the second subsystem that needs to use there is no described first software program of 64 when judgement, determine that whether N described the first software program in described the second subsystem that needs to use be available.
Preferably, described the first software information at least comprises the positional information of described the first software program.
Preferably, the step that loads the disk image file of N described the first software program according to N described the first software information in described the first subsystem comprises: determine the position at the disk image file place of N described the first software program according to the described positional information of N described the first software program, load the disk image file of N described the first software program in described the first subsystem.
Preferably, according to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, the step that obtains the first registry information comprises: the second registry information of determining N described the first software program correspondence in described the second subsystem according to the described positional information of N described the first software program, described the second registry information is loaded into to the relevant position in the first registration table in described the first subsystem, obtains described the first registry information; Wherein, the corresponding registry information in the second registration table that described the second registry information is described the first software program correspondence in described the second subsystem.
A kind of electronic equipment, it is equipped with the first subsystem and the second subsystem, and described the first subsystem is the work at present system, and M the first software program is installed in described the second subsystem, and M is positive integer, comprising:
Acquisition module, while needing to use N described the first software program of described the second subsystem for determining, obtain the first software information of N described the first software program; N is the integer that is not more than M;
The first load-on module, for loading the disk image file of N described the first software program at described the first subsystem according to N described the first software information;
The second load-on module, for load the second registry information of N described the first software program in the first registration table of described the first subsystem according to N described the first software information, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
Preferably, also comprise: enquiry module, N described the first software program that needs to use described the second subsystem is provided for the software information list provided according to described the second subsystem; Or determine that from the second registration table of the second subsystem needs are used N described the first software program in described the second subsystem; Or N described the first software program that needs to use in described the second subsystem determined in inquiry in described the second subsystem.
Preferably, also comprise: judge module, whether available for N described the first software program that judges described the second subsystem that needs use;
Described the first load-on module, specifically for when judgment result is that while being, loads the disk image file of individual described the first software program of N in described the first subsystem according to N described the first software information.
Preferably, described judge module is specifically for when described the first subsystem is 32 systems, in N described the first software program in described the second subsystem that judgement needs to use, whether described first software program of 64 is arranged, determine in N described the first software program in described the second subsystem that needs to use there is no described first software program of 64 when judgement, determine that whether N described the first software program in described the second subsystem that needs to use be available.
Preferably, described the first software information at least comprises the positional information of described the first software program.
Preferably, described the first load-on module is determined the position at the disk image file place of N described the first software program specifically for the described positional information according to N described the first software program, load the disk image file of N described the first software program in described the first subsystem.
Preferably, described the second load-on module is determined the second registry information of N described the first software program correspondence in described the second subsystem specifically for the described positional information according to N described the first software program, described the second registry information is loaded into to the relevant position in the first registration table in described the first subsystem, obtains described the first registry information; Wherein, the corresponding registry information in the second registration table that described the second registry information is described the first software program correspondence in described the second subsystem.
The method that the embodiment of the present invention obtains software resource is while determining N described the first software program that needs to use in described the second subsystem, the first software information of N described the first software program of acquisition; N is the integer that is not more than M; Load the disk image file of N described the first software program in described the first subsystem according to N described the first software information; According to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.Load disk image file and the registry information of described the first software program according to described first software information of described the first software program, thereby make the user also can directly apply the software resource in described the second subsystem in described the first subsystem, and without reinstalling, saved storage space, make to operate more convenient, improve operating efficiency.
The accompanying drawing explanation
Fig. 1 obtains the main method process flow diagram of software resource in the embodiment of the present invention;
The detailed structure view that Fig. 2 is electronic equipment in the embodiment of the present invention.
Embodiment
The method that the embodiment of the present invention obtains software resource is while determining N described the first software program that needs to use in described the second subsystem, the first software information of N described the first software program of acquisition; N is the integer that is not more than M; Load the disk image file of N described the first software program in described the first subsystem according to N described the first software information; According to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.Load disk image file and the registry information of described the first software program according to described first software information of described the first software program, thereby make the user also can directly apply the software resource in described the second subsystem in described the first subsystem, and without reinstalling, saved storage space, make to operate more convenient, improve operating efficiency.
Referring to Fig. 1, the main method flow process that obtains software resource in the embodiment of the present invention is as follows, described method can be applied to include in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem is the work at present system, M the first software program is installed in described the second subsystem, and M is positive integer:
Step 101: while determining N described the first software program that needs to use in described the second subsystem, obtain the first software information of N described the first software program; N is the integer that is not more than M.
For example, described electronic equipment is a computer, the operating system of two versions wherein is installed, be described the first subsystem and described the second subsystem, the current use of user be described the first subsystem, the user not only can check the software information that the software resource under native system is installed in described the first subsystem, also can check the software information that is arranged on all software resources under described the second subsystem simultaneously.M the first software program for example is installed under described the second subsystem, M is positive integer, the user is after described the first software information of checking this M described the first software program, definite needs are used wherein N described the first software program, obtain described first software information of N described the first software program.Perhaps, the user does not check the software information that is arranged on the software resource under described the second subsystem, and directly determine and need under described the first subsystem, use N described the first software program be arranged under described the second subsystem, can obtain described first software information of N described the first software program, N is the integer that is not more than M.
In the embodiment of the present invention, what described the first subsystem and described the second subsystem referred to is all operating system, preferably, described the first subsystem and described the second subsystem can be the operating system of different editions under a series, for example, can be all the operating system of windows series, described the first subsystem can be windows XP operating system, described the second subsystem can be windows7 operating system, etc.Perhaps, described the first subsystem and described the second subsystem can be also the operating system of different series, for example, described the first subsystem can be windows operating system, described the second subsystem can be android operating system, etc., those skilled in the art know how according to thought of the present invention, to carry out modification naturally.
Wherein, before N described the first software program determining in needing to use described the second subsystem, N described the first software program that needs to use in described the second subsystem determined in a software information list that can provide according to described the second subsystem; Or can from the second registration table of the second subsystem, determine N described the first software program that needs to use in described the second subsystem; Or can directly in described the second subsystem, inquire about and determine N described the first software program that needs to use in described the second subsystem.
Described the second subsystem can provide a software information list, can store in described software information list and can supply the software information of described the first subsystem application, or can store the software information of all software programs of installing in described the second subsystem in described software information list.
Step 102: the disk image file that loads N described the first software program according to N described the first software information in described the first subsystem.
In the embodiment of the present invention, described the first software information can be the positional information of described the first software program, and it can mean the installation site of described the first software program in described the second subsystem.Can know the disk image file of described the first software program according to described the first software information, this disk image file can be stored in concrete hard disk, after knowing concrete memory location, can under described the first subsystem, directly load the disk image file of described the first software program.
Before described the first software information that obtains N described the first software program, can also at first judge that whether N described the first software program in described the second subsystem that needs to use be available.Wherein, an operating system can be 32bit (position) or 64bit, a software program can be also 32bit or 64bit, in the operating system of 64bit, the software program of 32bit can be installed, also the software program of 64bit can be installed, and the software program of 32bit can only be installed in the operating system of 32bit, the software program of 64bit can not be installed,, the operating system of highest version can compatible highest version and the software program of lowest version, and the operating system of lowest version can only compatible lowest version software program, and software program that can't compatible highest version.In the embodiment of the present invention, if the operating system that described the first subsystem is lowest version, be for example the operating system of 32bit, and described the first software program of 64bit is arranged in individual described the first software program of N, can judge that described the first software program of determining these 64bit is unavailable.Wherein, described the first software program is 32bit or 64bit specifically, can from described first software information of described the first software program, know.
If judgement determines that N described the first software program is all available, can load according to N described the first software information the disk image file of N described the first software program in described the first subsystem.
For example, if N equals 3, if judgement determines that these 3 described the first software programs are all available, can load according to these 3 first software informations the disk image file of these 3 described the first software programs in described the first subsystem; If determining, judgement wherein have 2 described the first software programs to use, and another described first software program is unavailable, can load according to these 2 the first available software informations the disk image file of these 2 described the first software programs in described the first subsystem, another disabled described first software program is not operated, perhaps can these 3 described the first software programs all not operated, or can select to be operated according to the user; If judgement determines that these 3 described the first software programs are all unavailable, these 3 described the first software programs are not all operated.The described disk image file that in described the first subsystem, does not load these 3 described the first software programs that do not operated.
Step 103: according to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
According to N described the first software information, be position information, determine that described the first software program is corresponding to the corresponding registry information in the second registration table of described the second subsystem, determine described the second registry information, after the second registry information of determining N described the first software program correspondence in described the second subsystem, also need to obtain the second registry information of N described the first software program correspondence in described the second subsystem.Under described the first subsystem, described the second registry information is loaded into to the relevant position in the first registration table of described the first subsystem, obtain described the first registry information, described the first registry information refers to that described the first software program is corresponding to the corresponding registry information in the first registration table of described the first subsystem.
Load the disk image file of described the first software program in described the first subsystem, and after obtaining described the first registry information, obtained described the first software program in described the first subsystem, the user can directly use described the first software program under described the first subsystem.
Below introduce in the present invention by several specific embodiments the method that obtains software resource.
Embodiment mono-:
Described electronic equipment is a computer, and described the first subsystem is windows XP operating system, and described the second subsystem is windows7 operating system.The work at present system is windows XP operating system.
5 software programs are installed in windows XP operating system, can be called the second software program, 4 described the first software programs are installed in windows7 operating system, be respectively the first software program A, the first software program B, the first software program C and the first software program D.
The user determines needs to use the first software program A, the first software program C and the first software program D in windows7 operating system.At first obtain the first software information C of the first software information A, described the first software program C of described the first software program A and the first software information D of described the first software program D under windows XP operating system.
Windows XP operating system is 64bit operating system, windows7 operating system is 64bit operating system, the software program that the first software program A is 64bit, the software program that the first software program C is 64bit, the software program that the first software program D is 32bit, judgement definite this first software program A, the first software program C and the first software program D are available.
Determine the position at the disk image file A place of the first software program A according to the first software information A of the first software program A, determine the position at the disk image file C place of the first software program C according to the first software information C of the first software program C, reach the position of determining the disk image file D place of the first software program D according to the first software information D of the first software program D, load respectively described disk image file A, described disk image file C and described disk image file D under windows XP operating system, loading sequence can be any.
Determine the second registry information A of the first software program A correspondence in windows7 operating system according to the first software information A of the first software program A, obtain described the second registry information A, determine the second registry information C of the first software program C correspondence in windows7 operating system according to the first software information C of the first software program C, obtain described the second registry information C, determine the second registry information D of the first software program D correspondence in windows7 operating system according to the first software information D of the first software program D, obtain described the second registry information D.Wherein, the corresponding registry information in described the second registration table that described the second registry information is described the first software program correspondence in windows7 operating system.
Under windows XP operating system, respectively described the second registry information A, described the second registry information C and described the second registry information D that obtain are loaded into to the relevant position in described the first registration table, loading sequence can be any, after loading completes, obtain described the first registry information.
By after described disk image file A, described disk image file C, described disk image file D, described the second registry information A, described the second registry information C and the equal loaded of described the second registry information D, described the first software program A, described the first software program C and described the first software program D have been obtained under windows XP operating system, the user can directly use described the first software program A, described the first software program C and described the first software program D under windows XP operating system, without being installed again.
Embodiment bis-:
Described electronic equipment is a computer, and described the first subsystem is windows 98 operating systems, and described the second subsystem is windows XP operating system.The work at present system is windows 98 operating systems.
15 software programs are installed in windows 98 operating systems, can be called the second software program, 5 described the first software programs are installed in windows XP operating system, be respectively the first software program A, the first software program B, the first software program C, the first software program D and the first software program E.
The user determines needs to use the first software program A, the first software program B, the first software program C and the first software program D in windows XP operating system.At first obtain the first software information C of the first software information A, described the first software program C of described the first software program A and the first software information D of described the first software program D under windows 98 operating systems.
Windows XP operating system is 64bit operating system, windows98 operating system is the 32bit/16bit hybrid operating system, the software program that described the first software program A is 32bit, the software program that described the first software program B is 64bit, the software program that described the first software program C is 32bit, the software program that described the first software program D is 32bit, definite described the first software program A, described the first software program C of judgement and described the first software program D are all available, and described the first software program B is unavailable.Determine and described the first software program B is not processed, under windows98 operating system, do not carry out the operation relevant with described the first software program B.
Determine the position at the disk image file A place of the first software program A according to the first software information A of the first software program A, determine the position at the disk image file C place of the first software program C according to the first software information C of the first software program C, reach the position of determining the disk image file D place of the first software program D according to the first software information D of the first software program D, load respectively described disk image file A, described disk image file C and described disk image file D under windows XP operating system, loading sequence can be any.
Determine the second registry information A of the first software program A correspondence in windows7 operating system according to the first software information A of the first software program A, obtain described the second registry information A, determine the second registry information C of the first software program C correspondence in windows7 operating system according to the first software information C of the first software program C, obtain described the second registry information C, determine the second registry information D of the first software program D correspondence in windows7 operating system according to the first software information D of the first software program D, obtain described the second registry information D.Wherein, the corresponding registry information in described the second registration table that described the second registry information is described the first software program correspondence in windows7 operating system.
Under windows XP operating system, respectively described the second registry information A, described the second registry information C and described the second registry information D that obtain are loaded into to the relevant position in described the first registration table, loading sequence can be any, after loading completes, obtain described the first registry information.
By after described disk image file A, described disk image file C, described disk image file D, described the second registry information A, described the second registry information C and the equal loaded of described the second registry information D, described the first software program A, described the first software program C and described the first software program D have been obtained under windows XP operating system, the user can directly use described the first software program A, described the first software program C and described the first software program D under windows XP operating system, without being installed again.
Embodiment tri-:
Described electronic equipment is a computer, and described the first subsystem is windows 2000 operating systems, and described the second subsystem is windows XP operating system.The work at present system is windows 2000 operating systems.
18 software programs are installed in windows 2000 operating systems, can be called the second software program, 5 described the first software programs are installed in windows XP operating system, be respectively the first software program A, the first software program B, the first software program C, the first software program D and the first software program E.
The user determines to be needed to use described the first software program A, described the first software program B, described the first software program C, described the first software program D and described the first software program E in windows XP operating system, needs to use in windows XP all software programs of installing.At first obtain the first software information D of the first software information C, described the first software program D of the first software information A, described the first software program C of described the first software program A and the first software information E of described the first software program E under windows 2000 operating systems.
Windows XP operating system is 64bit operating system, windows2000 operating system is 32bit operating system, the software program that described the first software program A is 32bit, the software program that described the first software program B is 64bit, the software program that described the first software program C is 32bit, the software program that described the first software program D is 32bit, the software program that described the first software program E is 32bit, described the first software program A is determined in judgement, described the first software program C, described the first software program D and described the first software program E are all available, described the first software program B is unavailable.After judgement, can provide a dialog box to the user, for example in this dialog box, can inform the user, described the first software program A, described the first software program C, described the first software program D and described the first software program E are all available, described the first software program B is unavailable, by the user, selects next step how to operate.In the present embodiment, for example the user has selected to load described the first software program A, described the first software program C and described the first software program D under windows2000 operating system, because of described the first software program B unavailable, determine and described the first software program B is not processed, under windows2000 operating system, do not carry out the operation relevant with described the first software program B.And, although described the first software program E can use, but operate on it because the user is non-selected, therefore also can not determine described the first software program E is processed, under windows2000 operating system, do not carry out the operation relevant with described the first software program E.It should be noted that, although be to select to be operated according to the user, unavailable because of described the first software program B, even the user has selected to operate on it, system also can't be operated.Be equivalent to, determine unavailablely if described first software program has judged, system can't operate on it under current operation system.
Determine the position at the disk image file A place of the first software program A according to the first software information A of the first software program A, determine the position at the disk image file C place of the first software program C according to the first software information C of the first software program C, reach the position of determining the disk image file D place of the first software program D according to the first software information D of the first software program D, load respectively described disk image file A, described disk image file C and described disk image file D under windows XP operating system, loading sequence can be any.
Determine the second registry information A of the first software program A correspondence in windows7 operating system according to the first software information A of the first software program A, obtain described the second registry information A, determine the second registry information C of the first software program C correspondence in windows7 operating system according to the first software information C of the first software program C, obtain described the second registry information C, determine the second registry information D of the first software program D correspondence in windows7 operating system according to the first software information D of the first software program D, obtain described the second registry information D.Wherein, the corresponding registry information in described the second registration table that described the second registry information is described the first software program correspondence in windows7 operating system.
Under windows XP operating system, respectively described the second registry information A, described the second registry information C and described the second registry information D that obtain are loaded into to the relevant position in described the first registration table, loading sequence can be any, after loading completes, obtain described the first registry information.
By after described disk image file A, described disk image file C, described disk image file D, described the second registry information A, described the second registry information C and the equal loaded of described the second registry information D, described the first software program A, described the first software program C and described the first software program D have been obtained under windows XP operating system, the user can directly use described the first software program A, described the first software program C and described the first software program D under windows XP operating system, without being installed again.
Embodiment tetra-:
Described electronic equipment is a computer, and described the first subsystem is windows 2000 operating systems, and described the second subsystem is windows XP operating system.The work at present system is windows 2000 operating systems.
18 software programs are installed in windows 2000 operating systems, can be called the second software program, 5 described the first software programs are installed in windows XP operating system, be respectively the first software program A, the first software program B, the first software program C, the first software program D and the first software program E.
The user determines to be needed to use described the first software program A, described the first software program B, described the first software program C, described the first software program D and described the first software program E in windows XP operating system, needs to use in windows XP all software programs of installing.At first obtain the first software information D of the first software information C, described the first software program D of the first software information A, described the first software program C of described the first software program A and the first software information E of described the first software program E under windows 2000 operating systems.
Windows XP operating system is 64bit operating system, windows2000 operating system is 32bit operating system, the software program that described the first software program A is 32bit, the software program that described the first software program B is 64bit, the software program that described the first software program C is 32bit, the software program that described the first software program D is 32bit, the software program that described the first software program E is 32bit, described the first software program A is determined in judgement, described the first software program C, described the first software program D and described the first software program E are all available, described the first software program B is unavailable.Determine because judging have in 5 described the first software programs that the user need to use unavailable, the present embodiment can be not be operated any one described first software program in these 5, under windows2000 operating system, does not carry out and these 5 operations that described the first software program is relevant.
Referring to Fig. 2, the present invention also provides a kind of electronic equipment, and it can comprise described the first subsystem and described the second subsystem, and described the first subsystem is the work at present system.M described the first software program can be installed in described the second subsystem, and M is positive integer.Described electronic equipment can also comprise acquisition module 201, the first load-on module 202 and the second load-on module 203.Described electronic equipment can also comprise judge module 204 and enquiry module 205.
When acquisition module 201 needs to use N described the first software program of described the second subsystem for determining, obtain the first software information of N described the first software program; N is the integer that is not more than M.
The first load-on module 202 is for loading the disk image file of N described the first software program at described the first subsystem according to N described the first software information.
The first load-on module 202, specifically for when judgment result is that of judge module 204 is, loads the disk image file of N described the first software program in described the first subsystem according to N described the first software information.
The first load-on module 202 is determined the position at the disk image file place of N described the first software program specifically for the described positional information according to N described the first software program, load the disk image file of N described the first software program in described the first subsystem.
The second load-on module 203 for loading the second registry information of N described the first software program in the first registration table of described the first subsystem according to N described the first software information, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
The second load-on module 203 is determined the second registry information of N described the first software program correspondence in described the second subsystem specifically for the described positional information according to N described the first software program, described the second registry information is loaded into to the relevant position in the first registration table in described the first subsystem, obtains described the first registry information; Wherein, the corresponding registry information in the second registration table that described the second registry information is described the first software program correspondence in described the second subsystem.
Judge module 204 for described the first software information that obtains N described the first software program at acquisition module 201 after judgement need N described the first software program of described the second subsystem of using whether available.
Judge module 204 is specifically for when described the first subsystem is 32 systems, in N described the first software program in described the second subsystem that judgement needs to use, whether described first software program of 64 is arranged, determine in N described the first software program in described the second subsystem that needs to use there is no described first software program of 64 when judgement, determine that whether N described the first software program in described the second subsystem that needs to use be available.
Enquiry module 205 is provided for the software information list provided according to described the second subsystem by N described the first software program that needs to use described the second subsystem; Or determine that from the second registration table of the second subsystem needs are used N described the first software program in described the second subsystem; Or N described the first software program that needs to use in described the second subsystem determined in inquiry in described the second subsystem.
The method that the embodiment of the present invention obtains software resource is while determining N described the first software program that needs to use in described the second subsystem, the first software information of N described the first software program of acquisition; N is the integer that is not more than M; Load the disk image file of N described the first software program in described the first subsystem according to N described the first software information; According to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.Load disk image file and the registry information of described the first software program according to described first software information of described the first software program, thereby make the user also can directly apply the software resource in described the second subsystem in described the first subsystem, and without reinstalling, saved storage space, make to operate more convenient, improve operating efficiency.
In the embodiment of the present invention, before the disk image file that loads described the first software program, also at first judge that whether described the first software program is available, to avoid occurring mistake as far as possible, improve operating accuracy.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt complete hardware implementation example, implement software example or in conjunction with the form of the embodiment of software and hardware aspect fully.And the present invention can adopt the form that wherein includes the upper computer program of implementing of computer-usable storage medium (including but not limited to magnetic disk memory and optical memory etc.) of computer usable program code one or more.
The present invention describes with reference to process flow diagram and/or the block scheme of method, equipment (system) and computer program according to the embodiment of the present invention.Should understand can be in computer program instructions realization flow figure and/or block scheme each flow process and/or the flow process in square frame and process flow diagram and/or block scheme and/or the combination of square frame.Can provide these computer program instructions to the processor of multi-purpose computer, special purpose computer, Embedded Processor or other programmable data processing device to produce a machine, make the instruction of carrying out by the processor of computing machine or other programmable data processing device produce for realizing the device in the function of flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, make the instruction be stored in this computer-readable memory produce the manufacture that comprises command device, this command device is realized the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
These computer program instructions also can be loaded on computing machine or other programmable data processing device, make and carry out the sequence of operations step to produce computer implemented processing on computing machine or other programmable devices, thereby the instruction of carrying out on computing machine or other programmable devices is provided for realizing the step of the function of appointment in flow process of process flow diagram or a plurality of flow process and/or square frame of block scheme or a plurality of square frame.
Obviously, those skilled in the art can carry out various changes and modification and not break away from the spirit and scope of the present invention the present invention.Like this, if within of the present invention these are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention also is intended to comprise these changes and modification interior.

Claims (14)

1. a method that obtains software resource, be applied to be equipped with in the electronic equipment of the first subsystem and the second subsystem, wherein, described the first subsystem is the work at present system, and M the first software program is installed in described the second subsystem, and M is positive integer, it is characterized in that, comprise the following steps:
While determining N described the first software program that needs to use in described the second subsystem, obtain the first software information of N described the first software program; N is the integer that is not more than M;
Load the disk image file of N described the first software program in described the first subsystem according to N described the first software information;
According to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
2. the method for claim 1, it is characterized in that, also comprise step before described the first software program of the N in determine to need using described the second subsystem: the software information list provided according to described the second subsystem determines that needs are used individual described the first software program of N in described the second subsystem; Or determine that from the second registration table of the second subsystem needs are used N described the first software program in described the second subsystem; Or N described the first software program that needs to use in described the second subsystem determined in inquiry in described the second subsystem.
3. the method for claim 1, it is characterized in that, also comprise step after the disk image file that loads N described the first software program according to N described the first software information in described the first subsystem: whether N described the first software program in described the second subsystem that the judgement needs are used be available;
The step that loads the disk image file of N described the first software program according to N described the first software information in described the first subsystem comprises: when judgment result is that while being, load the disk image file of individual described the first software program of N according to N described the first software information in described the first subsystem.
4. method as claimed in claim 3, it is characterized in that, N the whether available step of described the first software program in described the second subsystem that judgement needs to use comprises: when described the first subsystem is 32 systems, in N described the first software program in described the second subsystem that judgement needs to use, whether described first software program of 64 is arranged, determine in N described the first software program in described the second subsystem that needs to use there is no described first software program of 64 when judgement, determine that whether N described the first software program in described the second subsystem that needs to use be available.
5. as the described method of claim 1-4 any one, it is characterized in that, described the first software information at least comprises the positional information of described the first software program.
6. method as claimed in claim 5, it is characterized in that, the step that loads the disk image file of N described the first software program according to N described the first software information in described the first subsystem comprises: determine the position at the disk image file place of N described the first software program according to the described positional information of N described the first software program, load the disk image file of N described the first software program in described the first subsystem.
7. method as claimed in claim 5, it is characterized in that, according to loading the second registry information of N described the first software program in N first registration table of described the first software information in described the first subsystem, the step that obtains the first registry information comprises: the second registry information of determining N described the first software program correspondence in described the second subsystem according to the described positional information of N described the first software program, described the second registry information is loaded into to the relevant position in the first registration table in described the first subsystem, obtain described the first registry information, wherein, the corresponding registry information in the second registration table that described the second registry information is described the first software program correspondence in described the second subsystem.
8. an electronic equipment, it is equipped with the first subsystem and the second subsystem, and described the first subsystem is the work at present system, and M the first software program is installed in described the second subsystem, and M is positive integer, it is characterized in that, comprising:
Acquisition module, while needing to use N described the first software program of described the second subsystem for determining, obtain the first software information of N described the first software program; N is the integer that is not more than M;
The first load-on module, for loading the disk image file of N described the first software program at described the first subsystem according to N described the first software information;
The second load-on module, for load the second registry information of N described the first software program in the first registration table of described the first subsystem according to N described the first software information, obtain the first registry information, thereby obtain the first software resource of N described the first software program.
9. electronic equipment as claimed in claim 8, is characterized in that, also comprises: enquiry module, N described the first software program that needs to use described the second subsystem is provided for the software information list provided according to described the second subsystem; Or determine that from the second registration table of the second subsystem needs are used N described the first software program in described the second subsystem; Or N described the first software program that needs to use in described the second subsystem determined in inquiry in described the second subsystem.
10. electronic equipment as claimed in claim 9, is characterized in that, also comprises: judge module, and whether available for N described the first software program that judges described the second subsystem that needs use;
Described the first load-on module, specifically for when judgment result is that while being, loads the disk image file of individual described the first software program of N in described the first subsystem according to N described the first software information.
11. electronic equipment as claimed in claim 10, it is characterized in that, described judge module is specifically for when described the first subsystem is 32 systems, in N described the first software program in described the second subsystem that judgement needs to use, whether described first software program of 64 is arranged, determine in N described the first software program in described the second subsystem that needs to use there is no described first software program of 64 when judgement, determine that whether N described the first software program in described the second subsystem that needs to use be available.
12. as the described electronic equipment of claim 8-11 any one, it is characterized in that, described the first software information at least comprises the positional information of described the first software program.
13. electronic equipment as claimed in claim 12, it is characterized in that, described the first load-on module is determined the position at the disk image file place of N described the first software program specifically for the described positional information according to N described the first software program, load the disk image file of N described the first software program in described the first subsystem.
14. electronic equipment as claimed in claim 12, it is characterized in that, described the second load-on module is determined the second registry information of N described the first software program correspondence in described the second subsystem specifically for the described positional information according to N described the first software program, described the second registry information is loaded into to the relevant position in the first registration table in described the first subsystem, obtains described the first registry information; Wherein, the corresponding registry information in the second registration table that described the second registry information is described the first software program correspondence in described the second subsystem.
CN2012101702267A 2012-05-28 2012-05-28 Method for obtaining software resource and electronic device Pending CN103455365A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012101702267A CN103455365A (en) 2012-05-28 2012-05-28 Method for obtaining software resource and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012101702267A CN103455365A (en) 2012-05-28 2012-05-28 Method for obtaining software resource and electronic device

Publications (1)

Publication Number Publication Date
CN103455365A true CN103455365A (en) 2013-12-18

Family

ID=49737772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012101702267A Pending CN103455365A (en) 2012-05-28 2012-05-28 Method for obtaining software resource and electronic device

Country Status (1)

Country Link
CN (1) CN103455365A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6332219B1 (en) * 1999-03-29 2001-12-18 International Business Machines Corporation Cross-platform program, system, and method having a global registry object for mapping registry functions in a windows operating system environment
CN101894042A (en) * 2010-06-24 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Realization method for sharing application among a plurality of operating systems, system and mobile terminal
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6332219B1 (en) * 1999-03-29 2001-12-18 International Business Machines Corporation Cross-platform program, system, and method having a global registry object for mapping registry functions in a windows operating system environment
CN101894042A (en) * 2010-06-24 2010-11-24 宇龙计算机通信科技(深圳)有限公司 Realization method for sharing application among a plurality of operating systems, system and mobile terminal
CN102402446A (en) * 2011-11-22 2012-04-04 成都市华为赛门铁克科技有限公司 Method and device for installing application software

Similar Documents

Publication Publication Date Title
US10764202B2 (en) Container-based mobile code offloading support system in cloud environment and offloading method thereof
CN104978258A (en) Software automation test method and system
CN104199706A (en) Firmware upgrade method and device for eMMC
CN102999423B (en) A kind of method and apparatus of multinuclear test
CN104077161A (en) Client application updating method and device
CN105704188A (en) Deployment method and apparatus of applications and services
US8447346B2 (en) SDR terminal and reconfiguration method
CN103593281A (en) Test system and test method
CN104516747A (en) System switching method and electronic device
CN104778081A (en) Method for switching operating system and electronic device
CN105320558A (en) Mobile terminal and start method thereof
CN102419753A (en) Information processing equipment, information processing method and information processing system
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN109507991B (en) Double-shaft servo control platform debugging system and method
CN107222527B (en) Method for controlling internet of things equipment to operate in different modes through configuration file
CN104169883A (en) Information processing device, information processing method, server device, retrieval method, and information processing system
CN109819674A (en) Computer storage medium, embedded dispatching method and system
CN104572275A (en) Process loading method, process loading device and process loading system
CN103455365A (en) Method for obtaining software resource and electronic device
US20100228933A1 (en) Automatic selection of storage volumes in a data storage system
CN106843768B (en) Hard disk data erasing method and device
CN113821219B (en) Method and system for realizing application program containerization
CN105204876A (en) System starting method and electronic equipment
CN104090845A (en) Automatic game testing method and system and related device
CN111400281B (en) GIS data quality inspection and storage method for OSS object storage

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131218

RJ01 Rejection of invention patent application after publication