CN108776591B - System and method for packaging domestic platform software - Google Patents
System and method for packaging domestic platform software Download PDFInfo
- Publication number
- CN108776591B CN108776591B CN201810585238.3A CN201810585238A CN108776591B CN 108776591 B CN108776591 B CN 108776591B CN 201810585238 A CN201810585238 A CN 201810585238A CN 108776591 B CN108776591 B CN 108776591B
- Authority
- CN
- China
- Prior art keywords
- software
- platform
- packaging
- file
- domestic
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Abstract
The invention discloses a packaging system and a packaging method for domestic platform software, which comprises an automatic acquisition module, a data processing module and a data processing module, wherein the automatic acquisition module is used for automatically acquiring relevant information of a domestic platform system and generating a system information file; and the packaging module is used for receiving the system information file from the automatic acquisition module, installing the packaged software in the corresponding domestic platform system according to the system information file and packaging the software. Compared with the prior art, the domestic platform software packaging system and the domestic platform software packaging method are high in practicability, binary executable programs of corresponding platforms are generated under different platforms through packaging software, the installation method of the executable programs is the same as that of the windows platform, the application range is wide, and the domestic platform software packaging system and the method are convenient to popularize and use.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a system and a method for packaging domestic platform software with strong practicability.
Background
With the increasing importance of the state on information security, the localization trend is windy and cloudy across the country, and a large number of localization platforms are generated at the same time. Due to various reasons, most of systems installed on a domestic platform are similar to UNIX systems, the operation of the similar UNIX systems is different from that of windows systems, and the rising of an XWindow graphical interface system in the development process of the similar UNIX systems provides convenience for the operation of the similar UNIX systems, so that the operation method of the similar UNIX systems is closer to the windows systems. However, different UNIX-like systems have their own commands and installation methods in terms of software installation, and the same thing is that most software installations are performed under the command line, which makes users familiar with the software installation interface of windows system feel awkward and even difficult.
Based on this, a technology for packaging the software of the domestic platform is needed.
Disclosure of Invention
Aiming at the defects, the technical task of the invention is to provide a system and a method for packaging domestic platform software, which have strong practicability.
A packaging system for domestic platform software comprises,
the automatic acquisition module is used for automatically acquiring relevant information of the domestic platform system and generating a system information file;
and the packaging module is used for receiving the system information file from the automatic acquisition module, installing the packaged software in the corresponding domestic platform system according to the system information file and packaging the software.
And configuring a platform library in the packaging module, storing the system information file acquired by the packaging module in the platform library, adding the name of the current domestic platform into a management software library under the platform library, and finally changing the name of the domestic platform into the name of the current management software library.
Packing software adopts installjammer software, and the platform storehouse of its configuration is the Binaries file, and is corresponding, and in the system information file of current domestic platform added the Binaries file, still configured the storehouse of management software in the Binaries file: and the name of the current domestic platform is copied to the platform file and then modified into the name of the current Binaries file.
A packaging method for domestic platform software comprises the following implementation processes:
firstly, acquiring related information of a domestic platform system to generate a system information file;
secondly, the system information file is sent to a packaging software file directory, and then packaging software is installed for software packaging.
The first step is realized by a software program, and the software program adopts an installkit program; and the packaging software in the second step adopts installjammer software.
The specific process of the step one is as follows:
firstly, installing a software program installkit on a domestic platform, executing configuration and compiling of system information of the domestic platform under an installkit directory, storing the compiled information in a kit file under the installkit directory, and correspondingly, when the system information file is sent to packaging software, only copying the platform information file under the kit directory into the packaging software.
After receiving the platform information file, the packaging software in the second step is stored under a platform library file Binaries file of the packaging software, then the name of the current domestic platform is added into a platform file under the Binaries file, and then the name of the domestic platform is changed into the name of the current Binaries file; and finally, installing the installjammer file to the current domestic platform to perform software packaging work.
The system and the method for packaging the domestic platform software have the following advantages that:
the system and the method for packaging the domestic platform software have strong practicability, the binary executable programs of corresponding platforms are generated under different platforms through the packaged software, the installation method of the executable programs is the same as that under a windows platform, various software structures are designed, and the system and the method are suitable for various kinds of software which stops maintenance and comprise Installjammer packaged software, have wide application range and are convenient to popularize and use.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of the implementation of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific embodiments in order to make the technical field better understand the scheme of the present invention. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a home platform software packaging system includes,
the automatic acquisition module is used for automatically acquiring relevant information of the domestic platform system and generating a system information file;
and the packaging module is used for receiving the system information file from the automatic acquisition module, installing the packaged software in the corresponding domestic platform system according to the system information file and packaging the software.
And configuring a platform library in the packaging module, storing the system information file acquired by the packaging module in the platform library, adding the name of the current domestic platform into a management software library under the platform library, and finally changing the name of the domestic platform into the name of the current management software library.
Packing software adopts installjammer software, and the platform storehouse of its configuration is the Binaries file, and is corresponding, and in the system information file of current domestic platform added the Binaries file, still configured the storehouse of management software in the Binaries file: and the name of the current domestic platform is copied to the platform file and then modified into the name of the current Binaries file.
The Installjar packaging software is an open-source, free and cross-platform software packaging software, and can generate binary executable programs of corresponding platforms under different platforms, and the installation method of the executable programs is the same as that of a windows platform. However, the Installjammer only supports the platform contained in the platform library to perform the packaging operation, and cannot perform the packaging operation on the platform not contained in the platform library. Since the Installjammer stops development and maintenance in 2011, platforms in the platform library can not be increased any more, and the platform library can not provide support for newly appeared platforms any more, the structure is designed in the invention.
A packaging method for domestic platform software comprises the steps of firstly extracting platform information, copying a file to an installjammer platform library after a platform related information file is generated, and finally installing installjammer.
The realization process is as follows:
firstly, acquiring related information of a domestic platform system to generate a system information file;
secondly, the system information file is sent to a packaging software file directory, and then packaging software is installed for software packaging.
The first step is realized by a software program, and the software program adopts an installkit program; and the packaging software in the second step adopts installjammer software.
The specific process of the step one is as follows:
firstly, installing a software program installkit on a domestic platform, executing configuration and compiling of system information of the domestic platform under an installkit directory, storing the compiled information in a kit file under the installkit directory, and correspondingly, when the system information file is sent to packaging software, only copying the platform information file under the kit directory into the packaging software.
After receiving the platform information file, the packaging software in the second step is stored under a platform library file Binaries file of the packaging software, then the name of the current domestic platform is added into a platform file under the Binaries file, and then the name of the domestic platform is changed into the name of the current Binaries file; and finally, installing the installjammer file to the current domestic platform to perform software packaging work.
For a more detailed description of the invention, the following takes as an example the software packaging operations that need to be performed on a Loongson-based platform.
The method comprises the following concrete steps:
1. the software containing the installkit and the original installjammer is uploaded onto a Loongson-based platform.
2. Decompressing the installkit, executing configuration and compiling under the installkit directory, and finding a kit directory under the installkit directory after compiling is completed.
3. Platform information files under a kit directory are copied to a Binaries directory under installjammer software, and the directory is a platform library of installjammer. Therefore, the information of the current platform is added into the platform library of the installjammer, the name of the platform is added into a platform file under the Binaries directory, the information format can be copied according to the styles of other platforms, and then the name of the platform is changed into the name of the current directory.
4. And installing the installjammer file to the current platform to perform software packaging work.
The above embodiments are only specific cases of the present invention, and the protection scope of the present invention includes but is not limited to the above embodiments, and any suitable changes or substitutions that are consistent with the claims of the home platform software packaging system and method of the present invention and are made by those of ordinary skill in the art shall fall within the protection scope of the present invention.
Claims (3)
1. A packaging system for domestic platform software is characterized by comprising,
the automatic acquisition module is used for automatically acquiring relevant information of the domestic platform system and generating a system information file;
the packaging module is used for receiving the system information file from the automatic acquisition module, installing packaging software in a corresponding domestic platform system according to the system information file and packaging the software;
a platform library is configured in a packaging module, a system information file acquired by the packaging module is stored in the platform library, then the name of the current domestic platform is added into a management software library under the platform library, and finally the name of the domestic platform is changed into the name of the current management software library;
packing software adopts installjammer software, and the platform storehouse of its configuration is the Binaries file, and is corresponding, and in the system information file of current domestic platform added the Binaries file, still configured the storehouse of management software in the Binaries file: and the name of the current domestic platform is copied to the platform file and then modified into the name of the current Binaries file.
2. A packaging method for domestic platform software is characterized in that the implementation process is as follows:
firstly, acquiring related information of a domestic platform system to generate a system information file;
secondly, sending the system information file to a packaging software file directory, installing packaging software, and packaging the software;
the first step is realized by a software program, and the software program adopts an installkit program; packaging software in the second step adopts installjammer software;
the specific process of the step one is as follows:
firstly, installing a software program installkit on a domestic platform, executing configuration and compiling of system information of the domestic platform under an installkit directory, storing the compiled information in a kit file under the installkit directory, and correspondingly, when the system information file is sent to packaging software, only copying the platform information file under the kit directory into the packaging software.
3. The packaging method of home platform software according to claim 2, wherein the packaging software in the second step stores the platform information file under a Binaries file of the platform library after receiving the platform information file, then adds the name of the current home platform to a platform file under the Binaries file, and then changes the name of the home platform to the name of the current Binaries file; and finally, installing the installjammer file to the current domestic platform to perform software packaging work.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810585238.3A CN108776591B (en) | 2018-06-08 | 2018-06-08 | System and method for packaging domestic platform software |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810585238.3A CN108776591B (en) | 2018-06-08 | 2018-06-08 | System and method for packaging domestic platform software |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108776591A CN108776591A (en) | 2018-11-09 |
CN108776591B true CN108776591B (en) | 2021-11-02 |
Family
ID=64026019
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810585238.3A Active CN108776591B (en) | 2018-06-08 | 2018-06-08 | System and method for packaging domestic platform software |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108776591B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679523A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Graphical packaged software realization method based on domestic platform |
CN105468378A (en) * | 2015-12-11 | 2016-04-06 | 上海爱数信息技术股份有限公司 | Software continuous integration configuration management method and system |
CN107133043A (en) * | 2017-05-04 | 2017-09-05 | 山东浪潮云服务信息科技有限公司 | Web project packaging method and device based on domestic CPU and operating system |
CN107992291A (en) * | 2017-11-16 | 2018-05-04 | 上海南潮信息科技有限公司 | Ruff OS Internet of Things operating systems applied to built-in application program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106445608A (en) * | 2010-01-27 | 2017-02-22 | 中兴通讯股份有限公司 | Software installation pack installing method and installing device |
-
2018
- 2018-06-08 CN CN201810585238.3A patent/CN108776591B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104679523A (en) * | 2015-03-17 | 2015-06-03 | 浪潮集团有限公司 | Graphical packaged software realization method based on domestic platform |
CN105468378A (en) * | 2015-12-11 | 2016-04-06 | 上海爱数信息技术股份有限公司 | Software continuous integration configuration management method and system |
CN107133043A (en) * | 2017-05-04 | 2017-09-05 | 山东浪潮云服务信息科技有限公司 | Web project packaging method and device based on domestic CPU and operating system |
CN107992291A (en) * | 2017-11-16 | 2018-05-04 | 上海南潮信息科技有限公司 | Ruff OS Internet of Things operating systems applied to built-in application program |
Non-Patent Citations (1)
Title |
---|
InstallJammer打包方法;niehaijiao;《百度文库》;20100613;正文1-9页 * |
Also Published As
Publication number | Publication date |
---|---|
CN108776591A (en) | 2018-11-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10447814B2 (en) | Joint servicing of software packages | |
CN103440156B (en) | A kind of Linux software kit preparation method being used under multiple systems | |
CN110020323B (en) | Page switching method and system for hybrid application, computer equipment and storage medium | |
CN104885055A (en) | Method and device for application data synchronization | |
CN105487980A (en) | Method and device for repairing running abnormity of application program | |
CN108897547B (en) | Software automation deployment method and device | |
CN106371881B (en) | Method and system for updating program version in server | |
CN110389766B (en) | HBase container cluster deployment method, system, equipment and computer readable storage medium | |
US10248409B1 (en) | Limiting the effects of source code patches on corresponding native-code patches | |
CN105446712A (en) | Defect mending method and device for application program | |
CN103377079A (en) | Terminal, device and method for terminal application running and application program running method | |
CN105893545A (en) | Efficient Hadoop cluster deployment method | |
CN104935618A (en) | Cluster disposition method | |
CN103902562A (en) | Method and device for upgrading terminal databases | |
CN104881311A (en) | Method and apparatus for judging version compatibility | |
CN116820493A (en) | Mirror image file deployment method, system, equipment and storage medium | |
CN103645888A (en) | System and method for automatically building operation system | |
CN102768628A (en) | Method and device for preinstallation of third party application | |
CN105320540A (en) | Batch installation method and system for Android applications | |
CN110795105A (en) | Automatic compiling and deploying method and system for power distribution automation master station system | |
CN108776591B (en) | System and method for packaging domestic platform software | |
CN103793231A (en) | Processing method and system for mobile terminal parameters | |
CN104182344A (en) | Overwrite installation testing method and overwrite installation testing device | |
CN109032612B (en) | Interface calling method and device of hybrid application and computer readable storage medium | |
CN105446788B (en) | A kind of information processing method and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province Applicant after: Chaoyue Technology Co.,Ltd. Address before: 250100 No. 2877 Kehang Road, Sun Village Town, Jinan High-tech District, Shandong Province Applicant before: SHANDONG CHAOYUE DATA CONTROL ELECTRONICS Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |