CN101271391A - Production and use method of software system - Google Patents

Production and use method of software system Download PDF

Info

Publication number
CN101271391A
CN101271391A CNA2008100944474A CN200810094447A CN101271391A CN 101271391 A CN101271391 A CN 101271391A CN A2008100944474 A CNA2008100944474 A CN A2008100944474A CN 200810094447 A CN200810094447 A CN 200810094447A CN 101271391 A CN101271391 A CN 101271391A
Authority
CN
China
Prior art keywords
module
modules
needed
installation
software systems
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
CNA2008100944474A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CNA2008100944474A priority Critical patent/CN101271391A/en
Publication of CN101271391A publication Critical patent/CN101271391A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a manufacturing and using method for a software system. The manufacturing method includes the following steps: a plurality of modules are determined in the code written for a software system and each module is used for achieving the function; a required module for realizing prearranging function is determined from a plurality of modules and each required module is respectively manufactured into an installation package. The method reduces the installation time and space and facilitates the software use.

Description

The making and use method of software systems
Technical field
The present invention relates to the communications field, in particular to a kind of making and use method of software systems.
Background technology
The manufacturing process of common software systems version needs first compiled code, and code may comprise a plurality of modules, then could the fabrication and installation file.Existing install software is made, and can make all modules, and all modules all are produced in the installation kit in the installation procedure, when software is installed whole modules can only be installed.
In realizing process of the present invention, the inventor finds that there are the following problems at least in the prior art:
1. when install software is made, can make all modules;
2. all modules all are produced in the installation kit in the installation procedure, cause installation kit too huge;
3. can't realize certain module in the update contruction bag,, can only all make again by the whole erection bag if upgrade;
4. when software is installed whole modules can only be installed, can't select as required; And
5. mounted software can't be disposed dynamically to module.
Summary of the invention
The present invention aims to provide a kind of making and use method of software systems, can solve present software systems install in installation function module selectively, during using, can't dynamically dispose the installation kit of certain module in the update contruction file, and software separately problems such as functional module.
In an embodiment of the present invention, provide a kind of method for making of software systems, comprised the steps: to determine a plurality of modules from the code of writing for software systems, each module is used to realize a function; From a plurality of modules, determine to realize the needed module of predetermined function; And be each needed module fabrication and installation bag respectively.
Preferably, determine that from the code of writing for software systems a plurality of modules specifically comprise: set up configuration file; The a plurality of modules of configuration in configuration file.
Preferably, determine from a plurality of modules to realize that the needed module of predetermined function specifically comprises: revise configuration file; The needed module of configuration in configuration file.
Preferably, for each needed module respectively the fabrication and installation bag specifically comprise: the code that compiles each needed module; Judge whether the compiling result is successful; And if, then to compiling successful needed module fabrication and installation bag respectively.
Preferably, for each needed module respectively the fabrication and installation bag also comprise: if unsuccessful, then analyze failure cause, and the module of compiling failure recompilated.
A kind of using method of software systems comprises the steps: to determine a plurality of modules that in the installed software system each module is used to realize a function; From a plurality of modules, determine to realize the needed module of predetermined function; And load needed module.
Preferably, determine that in the installed software system a plurality of modules specifically comprise: set up deployment file; The a plurality of modules of configuration in deployment file.
Preferably, determine from a plurality of modules to realize that the needed module of predetermined function specifically comprises: revise deployment file; The needed module of configuration in deployment file.
Preferably, loading needed module specifically comprises: the code that loads each needed module; Judge whether loading result is successful; And if then operation loads needed module successfully.
Preferably, use installation kit respectively for each needed module and also comprise: if unsuccessful, then analyze failure cause, and the module of load failure is reloaded.
This embodiment is because adopt software version to make the time-division module compiles, the method of fabrication and installation bag and use time-division module loading, so overcome present software systems install in installation function module selectively, the installation kit of certain module in the update contruction file separately, and software can't dynamically be disposed problems such as functional module in using, the corresponding module installation kit of function selecting that can be as required when software is installed, software installs when in use, also can redeploy mounted functional module as required, and then reduced set-up time and installing space, made things convenient for the use of software.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the process flow diagram according to the method for making of the software systems of the embodiment of the invention;
Fig. 2 shows the process flow diagram according to the using method of the software systems of the embodiment of the invention;
Fig. 3 shows the process flow diagram of software systems version making according to the preferred embodiment of the invention;
Fig. 4 shows the process flow diagram of software systems installation process according to the preferred embodiment of the invention; And
Fig. 5 shows the process flow diagram of software systems use according to the preferred embodiment of the invention.
Embodiment
Below with reference to the accompanying drawings and in conjunction with the embodiments, describe the present invention in detail.
Fig. 1 shows the process flow diagram according to the method for making of the software systems of the embodiment of the invention, comprises the steps:
Step S110 determines a plurality of modules from the code of writing for software systems, each module is used to realize a function;
Step S120 determines to realize the needed module of predetermined function from a plurality of modules; And
Step S130 is each needed module difference fabrication and installation bag.
This embodiment is because adopt software version to make the time-division module compiles, the method of fabrication and installation bag, so overcome present software systems install in installation function module selectively, the problems such as installation kit of certain module in the update contruction file separately, the corresponding module installation kit of function selecting that can be as required when software is installed, and then reduced set-up time and installing space.
Preferably, determine that from the code of writing for software systems a plurality of modules specifically comprise: set up configuration file; The a plurality of modules of configuration in configuration file.
Preferably, determine from a plurality of modules to realize that the needed module of predetermined function specifically comprises: revise configuration file; The needed module of configuration in configuration file.
Preferably, for each needed module respectively the fabrication and installation bag specifically comprise: the code that compiles each needed module; Judge whether the compiling result is successful; And if, then to compiling successful needed module fabrication and installation bag respectively.
Preferably, for each needed module respectively the fabrication and installation bag also comprise: if unsuccessful, then analyze failure cause, and the module of compiling failure recompilated.
Fig. 2 shows the process flow diagram according to the using method of the software systems of the embodiment of the invention, comprises the steps:
Step S210 determines a plurality of modules in the installed software system, each module is used to realize a function;
Step S220 determines to realize the needed module of predetermined function from a plurality of modules; And
Step S230 loads needed module.
This embodiment is because adopt software version to use the method for time-division module loading, so overcome problems such as dynamically to dispose functional module in the present software use, can redeploy mounted functional module as required, and then make things convenient for the use of software.
Preferably, determine that in the installed software system a plurality of modules specifically comprise: set up deployment file; The a plurality of modules of configuration in deployment file.
Preferably, determine from a plurality of modules to realize that the needed module of predetermined function specifically comprises: revise deployment file; The needed module of configuration in deployment file.
Preferably, loading needed module specifically comprises: the code that loads each needed module; Judge whether loading result is successful; And if then operation loads needed module successfully.
Preferably, use installation kit respectively for each needed module and also comprise: if unsuccessful, then analyze failure cause, and the module of load failure is reloaded.
The making and use method of the software systems of this embodiment has following characteristics:
1. can select to make which module when making software, not make which module; Be meant when making software and can make the installation kit of all modules, installation kit that also can preparing department's sub-module;
2. the software installation procedure of making also is a sub-module, and each module all has corresponding installation kit; Be meant that the installation procedure of making must be according to Module Division, each independently module oneself installation kit is all arranged, can make the installation file modularization like this, allow the people come into plain view, it is too huge also can to reduce the file that each module in the past uses an installation kit to cause.
3. the software installation procedure of making if want to upgrade certain module, then as long as separately this module is compiled and the fabrication and installation bag, is replaced just passable then;
4. when software is installed, can select to install which module as required, which module is not installed; Be meant the installation kit that comprises each module under the installation file, function that need to use which module to provide is just selected the installation kit of which module.Can avoid having installed in the installation in the past the problem of unnecessary module like this.
5. for mounted module, also can pass through revised file, this module not disposed, and then make this module not be loaded and can't use; Be meant the problem that can't redeploy loading after the module again to module has been installed in the solution system in the past.
Fig. 3 shows the process flow diagram of software systems version making according to the preferred embodiment of the invention, and its data processing method flow process is as follows:
Step S302: revise configuration file, the configuration file that revision is made.Purpose is to determine which module of compiling, shields which module;
Step S304: the making of beginning version promptly begins to carry out the action of making version.According to the definition in the configuration file, beginning compiles each module according to named order;
Step S306: collector, the code of beginning collector 1.Module 1 also can contain each sub-function module, and the compiling order according to this module defines in configuration file compiles;
Step S308: whether success, i.e. the compiling result of determining step S306.If module 1 compiling failure, then execution in step S310; If do not have then the process of execution in step S312;
Step S310: revise configuration file and code, after module 1 compiling failure, check daily record, analyze failure cause; If the problem of code then needs to revise code, revise corresponding configuration file then, directly the module from the compiling failure begins compiling rather than the compiling that starts anew;
Step S312: make the installation kit of module 1, make the installation kit of module 1; After module 1 successfully compiles, to module 1 fabrication and installation bag; The purpose of doing like this is to make the installation kit of each module independent;
Step S314: collector n, the code of beginning collector n; Software systems may comprise n module, compile according to the code of order one a pair of these modules that define in the configuration file;
Step S316: whether success, i.e. the compiling result of determining step S314; If module n compiles failure, then carry out S318; If do not have then the process of execution in step S320;
Step S318: revise configuration file and code, after module n compiling failure, check daily record, analyze failure cause; If the problem of code then needs to revise code, revise corresponding configuration file then, directly the module from the compiling failure begins compiling rather than the compiling that starts anew; And
Step S320: make the installation kit of module n, make the installation kit of module n.After module n successfully compiles, to module n fabrication and installation bag; Flow process finishes.
Fig. 4 shows the process flow diagram of software systems installation process according to the preferred embodiment of the invention, and its data processing method flow process is as follows:
Step S402: install software system, the installation of beginning system.The operation installation file is carried out the installation of system;
Step S404: necessary software package is installed, and software systems also have some necessary installation kits of operational system, as platform bag, kit except separate module installation kit; This process is exactly the process that these bags are installed;
Step S406: whether the installation kit of module 1 is arranged, judge the installation kit whether module 1 is arranged in the installation file; If the installation kit of module 1 arranged in the installation file then continue the action of execution in step S408; If do not have then the action of execution in step S410;
Step S408: the installation kit of installed module 1, carry out installation to module 1;
Step S410: whether the installation kit of module n is arranged, judge the installation kit whether module n is arranged in the installation file; If the installation kit of module n arranged in the installation file then continue execution in step S412; If not installation process finish, flow process finishes; And
Step S412: the installation kit of installed module n, carry out installation to module n.
Fig. 5 shows the process flow diagram of software systems use according to the preferred embodiment of the invention, and its data processing method flow process is as follows:
Step S502 revises deployment file, and customization is good to be needed to load which software module, does not need to load which software module;
Step S504 starts software systems, and operating file starts software systems;
Step S506, all deployment file under the search system, in the time of system start-up, all deployment files of writing according to unified naming method and form under can search system;
Step S508 loads the module that defines in the deployment file according to rule, and for the Search Results of process steps S506, the module according to defining in the deployment file loads.The order that loads is carried out according to the rule that has customized.
Step S510, according to the sub-function module under the definition load-on module in each module deployment file, contain submodule below the module, whether can define in the deployment file of module and load, system can load according to the loading sequence of the deployment file definition of module and the submodule of required loading.Comprise submodule loaded all under the module up to all modules.Flow process finishes.
This embodiment provides a kind of software systems sub-module fabrication and installation bag, the method that sub-module is installed and sub-module uses.Solve present software systems install in installation function module selectively, can't dynamically dispose the problem of functional module in the use of the installation kit of certain module in the update contruction file, and software separately.
The maximum characteristics of this embodiment provide a kind of software systems sub-module fabrication and installation bag and in use dynamically update the method that module is disposed.
1. software version is made time-division module compiles, fabrication and installation bag.Except some public necessary modules, other modules all are separate each other.The benefit of doing like this:
1) when version is made, can compile separately, make the installation kit of a certain module.
2) a certain installation kit under the update contruction file and do not influence other installation kit separately.
2. the corresponding module installation kit of function selecting that can be as required when software is installed.Can select corresponding functional modules to install as required when installing, and module that needn't be all be all installed, and has significantly reduced set-up time and installing space like this.
3. software installs when in use, also can redeploy mounted functional module as required.The dynamic deployment method of installed module is provided.Even some functional module has been installed,, can makes amendment at any time and shield this module if do not want to use the function of this module.This has brought convenience for the use of software, has avoided reinstalling the trouble of software systems.
Adopt this embodiment, can solve the following problem of existing in prior technology:
1. can't compile some functional module selectively when software systems are made.
2. all functional modules all were produced in the installation kit when software systems were made, and caused installation kit too huge.
3. can only all install when software systems are installed, corresponding functional modules can't be installed as required.
4. can't dynamically dispose mounted functional module again in the software systems use.
This embodiment is because adopt software version to make the time-division module compiles, the method of fabrication and installation bag and use time-division module loading, so overcome present software systems install in installation function module selectively, the installation kit of certain module in the update contruction file separately, and software can't dynamically be disposed problems such as functional module in using, the corresponding module installation kit of function selecting that can be as required when software is installed, software installs when in use, also can redeploy mounted functional module as required, and then reduced set-up time and installing space, made things convenient for the use of software.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the memory storage and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. the method for making of software systems is characterized in that, comprises the steps:
Determine a plurality of modules from the code of writing for described software systems, each described module is used to realize a function;
From described a plurality of modules, determine to realize the needed module of predetermined function; And be each needed module fabrication and installation bag respectively.
2. method for making according to claim 1 is characterized in that, determines that from the code of writing for described software systems a plurality of modules specifically comprise:
Set up configuration file;
The described a plurality of modules of configuration in described configuration file.
3. method for making according to claim 2 is characterized in that, determines from described a plurality of modules to realize that the needed module of predetermined function specifically comprises:
Revise described configuration file;
The needed module of configuration in described configuration file.
4. method for making according to claim 1 is characterized in that, for each needed module respectively the fabrication and installation bag specifically comprise:
Compile the code of each needed module;
Judge whether described compiling result is successful; And
If then make described installation kit respectively to compiling successful needed module.
5. method for making according to claim 4 is characterized in that, for each needed module respectively the fabrication and installation bag also comprise:
If unsuccessful, then analyze failure cause, and the module of described compiling failure is recompilated.
6. the using method of software systems is characterized in that, comprises the steps:
Determine a plurality of modules in the described software systems of installing, each described module is used to realize a function;
From described a plurality of modules, determine to realize the needed module of predetermined function; And load needed module.
7. using method according to claim 6 is characterized in that, determines that in the described software systems of installing a plurality of modules specifically comprise:
Set up deployment file;
The described a plurality of modules of configuration in described deployment file.
8. using method according to claim 7 is characterized in that, determines from described a plurality of modules to realize that the needed module of predetermined function specifically comprises:
Revise described deployment file;
The needed module of configuration in described deployment file.
9. using method according to claim 6 is characterized in that, loads needed module and specifically comprises:
Load the code of each needed module;
Judge whether described loading result is successful; And
If then operation loads needed module successfully.
10. using method according to claim 9 is characterized in that, uses installation kit respectively for each needed module and also comprises:
If unsuccessful, then analyze failure cause, and the module of load failure is reloaded.
CNA2008100944474A 2008-04-30 2008-04-30 Production and use method of software system Pending CN101271391A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100944474A CN101271391A (en) 2008-04-30 2008-04-30 Production and use method of software system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100944474A CN101271391A (en) 2008-04-30 2008-04-30 Production and use method of software system

Publications (1)

Publication Number Publication Date
CN101271391A true CN101271391A (en) 2008-09-24

Family

ID=40005385

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100944474A Pending CN101271391A (en) 2008-04-30 2008-04-30 Production and use method of software system

Country Status (1)

Country Link
CN (1) CN101271391A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314351A (en) * 2011-09-29 2012-01-11 用友软件股份有限公司 Installation program generating device and installation program generating method
WO2013182051A1 (en) * 2012-06-07 2013-12-12 腾讯科技(深圳)有限公司 Software installation method, terminal, system and computer storage medium
CN104063668A (en) * 2013-03-21 2014-09-24 深圳富泰宏精密工业有限公司 Application installation package signing system and method
WO2015067189A1 (en) * 2013-11-07 2015-05-14 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing application
CN104834515A (en) * 2015-03-30 2015-08-12 百度在线网络技术(北京)有限公司 Generation method of object file
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
CN108833659A (en) * 2018-04-12 2018-11-16 维沃移动通信有限公司 A kind of installation method and terminal of application

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017437A (en) * 2006-02-09 2007-08-15 佳能株式会社 Install apparatus and install method

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017437A (en) * 2006-02-09 2007-08-15 佳能株式会社 Install apparatus and install method

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102314351A (en) * 2011-09-29 2012-01-11 用友软件股份有限公司 Installation program generating device and installation program generating method
WO2013182051A1 (en) * 2012-06-07 2013-12-12 腾讯科技(深圳)有限公司 Software installation method, terminal, system and computer storage medium
CN104063668A (en) * 2013-03-21 2014-09-24 深圳富泰宏精密工业有限公司 Application installation package signing system and method
CN104063668B (en) * 2013-03-21 2018-07-27 深圳富泰宏精密工业有限公司 Program installation kit signature system and method
WO2015067189A1 (en) * 2013-11-07 2015-05-14 Tencent Technology (Shenzhen) Company Limited Method and apparatus for installing application
CN104834515A (en) * 2015-03-30 2015-08-12 百度在线网络技术(北京)有限公司 Generation method of object file
CN106610853A (en) * 2015-10-26 2017-05-03 阿里巴巴集团控股有限公司 Application deployment method and device
CN108833659A (en) * 2018-04-12 2018-11-16 维沃移动通信有限公司 A kind of installation method and terminal of application
CN108833659B (en) * 2018-04-12 2021-06-08 维沃移动通信有限公司 Application installation method and terminal

Similar Documents

Publication Publication Date Title
CN101271391A (en) Production and use method of software system
US7698702B2 (en) System and method for implementing data-compatibility-based version scheme
CN102073488B (en) Sofeware integrated method, installation method, software integrated device and installation device
CN101631033B (en) Method, system, server and client for calling remote component
CN105022630B (en) A kind of assembly management system and assembly management method
CN101571809A (en) Implementation method of plug-in registration and device thereof
KR20040022451A (en) Embedded software update system
CN101610499A (en) The upgrade method of wireless data card and system
US20090259990A1 (en) Mobile Device Software Management Method and Apparatus
EP1803313A1 (en) Method and system for controlling software version updates
CN101984410A (en) Method and device for generating and unloading software installation package
CN110888652A (en) Multi-version construction method based on jenkins plug-in and terminal
CN101495963A (en) Methods, systems and computer program products for downloading a Java application based on identification of supported classes
CN112764756B (en) Software resource compiling method and corresponding device, equipment and medium thereof
CN104239098A (en) Automatic software upgrading method and device and mobile terminal
CN101930377B (en) Link library compiling method by dynamically acquiring UID
CN116107590A (en) Implementation method and system for compatible micro-service and monomer architecture in software product development and deployment
CN113296742A (en) APP data processing method and device and mobile terminal
CN103500099A (en) Method for achieving quick software secondary development through expansion points and expansion
CN112764836B (en) Method and device for running fast application and electronic equipment
CN102117219A (en) Method for generating clients, system and terminal equipment
CN111683005B (en) Internet of things intelligent gateway equipment and construction method thereof
CN112235639A (en) Extensible Linux smart television operating system easy to upgrade
CN113050962B (en) Mobile service upgrading method, device and terminal
CN114358936A (en) Intelligent contract operation method based on micro-service block chain

Legal Events

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

Application publication date: 20080924