Nothing Special   »   [go: up one dir, main page]

CN103761107A - Software package customizing device and method - Google Patents

Software package customizing device and method Download PDF

Info

Publication number
CN103761107A
CN103761107A CN201410049759.9A CN201410049759A CN103761107A CN 103761107 A CN103761107 A CN 103761107A CN 201410049759 A CN201410049759 A CN 201410049759A CN 103761107 A CN103761107 A CN 103761107A
Authority
CN
China
Prior art keywords
file
software package
operating system
module
software
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.)
Granted
Application number
CN201410049759.9A
Other languages
Chinese (zh)
Other versions
CN103761107B (en
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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net eVideo Information Systems Co 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 Fujian Star Net eVideo Information Systems Co Ltd filed Critical Fujian Star Net eVideo Information Systems Co Ltd
Priority to CN201410049759.9A priority Critical patent/CN103761107B/en
Publication of CN103761107A publication Critical patent/CN103761107A/en
Application granted granted Critical
Publication of CN103761107B publication Critical patent/CN103761107B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a software package customizing device. A first operation system and a second operation system are loaded on the software package customizing device. The software package customizing device comprises a software package disassembling module, an establishing module, a program writing-in module, a software packaging module and a programming module. The software package disassembling module obtains software packages which need to be modified in a backup of the first operation system and disassembles the software packages to obtain files in system partitions. The establishing module enables the files in the system partitions to be copied and stored in temporary established folders under the first operation system. The program writing-in module enables application programs and corresponding library files to be written and stored in the established folders under the second operation system. The programming module enables software packages generated by the software packaging module in a packaging mode to be programmed in a corresponding device to complete software customizing and updating. The invention further provides a software package customizing method. Compared with the prior art, the software package customizing device and method have the advantage that original software can be updated and maintained under the condition that software source codes are lost.

Description

The device and method of software package customization
Technical field
The present invention relates to assembly management field, relate in particular to a kind of device and method of software package customization.
Background technology
In existing software customized service, generally to revise code according to client's real needs, then revising formation component on the basis of code, like this because relate to code revision, therefore need to again do regression test, and need to be a set of code of each customer care, development amount and maintenance workload are all very large.
In addition, existing operating system, Android operating system for example, upgrade software is a software package of having packed normally.Revise according to demand this software customized technological means of code and can have a problem, in the situation that source code has been lost, can not modify to existing software.
Summary of the invention
Fundamental purpose of the present invention, for a kind of device and method of software package customization is provided, also can be upgraded and safeguard original software in the situation that software source code is lost, thereby promotes the efficiency of client software bag customization.
The device that the invention provides a kind of software package customization, this device is mounted with the first operating system and the second operating system, and this device comprises:
Software package splits module, for obtain the software package that needs modification in the backup of this first operating system, and this software package is disassembled to obtain the file in the system partitioning in this software package, this document is stored in the system folder under the first operating system, and the file in this system partitioning comprises system file.
Creation module, for create temporary folder under the second operating system, and copies the file in the system partitioning of this first system, and is stored in this temporary folder.
Program writing module, for writing, need the application program of increase and corresponding library file under this second operating system, and this application program writing and corresponding library file are kept in this temporary folder, and by the file copy of preserving in this temporary folder in the system folder under the first operating system.
Software package module, the file of storing for obtaining the system folder of this first operating system, and the file that this is obtained packs to generate corresponding software package.And
Burning module, for being burned onto the software package of generation relevant device to complete the software customized of this equipment and to upgrade.
Further, the present invention also provides a kind of method of software package customization, and the method comprises:
In the backup of the first operating system, obtain the software package that needs modification, and this software package is disassembled to obtain the file in the system partitioning in this software package, this document is stored in the system folder under this first operating system, and the file in this system partitioning comprises system file.
Under the second operating system, create temporary folder.
Copy the file in the system partitioning of this first system, and be stored in this temporary folder.
Under this second operating system, write and need the application program of increase and corresponding library file, and this application program writing and corresponding library file are kept in this temporary folder.
By the file copy of preserving in this temporary folder in the system folder of the first operating system.
Obtain the file of storing in the system folder of this first operating system, and the file that this is obtained packs to generate corresponding software package.
The software package of this generation is burned onto in corresponding equipment to complete the software customized of this equipment and to upgrade.
The device and method of a kind of software package customization provided by the invention, by disassembling of the backup software bag to obtaining, by the file mount in system partitioning to the tmp file in another operating system, and write the application program that need to increase and repack the new software package of generation, with respect to prior art, can in the situation that software source code be lost, original software be upgraded and be safeguarded, thereby promote the efficiency that client software bag customizes.
Accompanying drawing explanation
Fig. 1 is the high-level schematic functional block diagram of the software package customizing device in embodiment of the present invention;
Fig. 2 is the process flow diagram of the software package method for customizing in embodiment of the present invention.
Label declaration:
Device 10
Browse module 11
Software package splits module 12
Creation module 13
Program writing module 14
Software package module 15
Burning module 16
Embodiment
By describing technology contents of the present invention, structural attitude in detail, being realized object and effect, below in conjunction with embodiment and coordinate accompanying drawing to be explained in detail.
Please refer to Fig. 1, high-level schematic functional block diagram for a kind of software package customizing device in embodiment of the present invention, in the present embodiment, this device 10 is mounted with Android operating system and for realizing user's basic operation, this device 10 can be the intelligent electronic devices such as mobile phone, panel computer, personal digital assistant.This device 10 comprises browses module 11, software package fractionation module 12, creation module 13, program writing module 14, Software package module 15 and burning module 16.
This browses module 11 for presenting user interface, and user selects the content of needs customization by the user interface presenting: the software package of needs, application program, configuration information etc.This software package splits module 12 and obtains and need the software package revised for the backup that responds user and operate in the first operating system in the selection of browsing module 11, and this software package is disassembled to obtain the file in the system partitioning in this software package, file in this system partitioning comprises system file, and be stored in the system folder under the first operating system, in the present embodiment, to be stored in catalogue be in system file to this document.
When determining while need to make the software package of corresponding a certain customizing operating system, obtain the developing instrument file of this customizing operating system, this software package splits module 12 and obtains the developing instrument of this customizing operating system this software package is disassembled.
This creation module 13 for creating temporary folder (tmp file) under the second operating system, and the file in the system partitioning of the first system is copied and is stored in this temporary folder, thereby by the file mount in the system partitioning of this first system in the tmp file in the second operating system.In the present embodiment, this first operating system is Android operating system, and this second operating system is linux operating system, and this creation module 13 creates this tmp file under linux environment.
This program writing module 14 needs the application program of increase and corresponding library file for writing under the second operating system, and this application program and library file are kept in this temporary folder.In the present embodiment, the application program that this program writing module 14 writes this is kept under the file that catalogue is tmp/app, this corresponding library file is copied under the file that catalogue is tmp/lib simultaneously.
When this program writing module 14 completes after the increase of required application program, this creation module 13 also for file copy that this temporary folder is preserved in the system folder under the first operating system.
The file that this Software package module 15 is stored for obtaining this system folder, and the file that this is obtained packs to generate corresponding software package.This burning module 16 is burned onto corresponding equipment for the software package that Software package module 15 is generated, thereby completes the software customized of this equipment and upgrade.Wherein, this equipment can be to communicate with this device 10 electronic equipment being connected, and is mounted with Android system.
Referring to Fig. 2, is the process flow diagram of software package method for customizing of the present invention, and the method comprises:
Step S20, this software package splits module 12 response users and in the selection of browsing module 11 operates in system backup, obtains the software package that needs modification, and this software package is disassembled to obtain the file in the system partitioning in this software package, wherein, file in this system partitioning comprises system file, and is stored in the system folder under the first operating system.
In the present embodiment, to be stored in catalogue be in system file to this document.
This is browsed module 11 and presents user interface, and user selects the content of needs customization by the user interface presenting: the software package of needs, application program, configuration information etc.
Step S21, this creation module 13 creates temporary folder under the second operating system, and the file in the system partitioning of the first system is copied and is stored in this temporary folder, thereby by the file mount in the system partitioning of this first system in the temporary folder in the second operating system.
In the present embodiment, this first operating system is Android operating system, and this second operating system is linux operating system, and this creation module 13 creates tmp file under linux environment.
Step S22, this program writing module 14 writes under the second operating system needs the application program of increase and corresponding library file, and this application program and library file are kept in this temporary folder.In the present embodiment, the application program that this program writing module 14 writes this is kept under the file that catalogue is tmp/app, this corresponding library file is copied under the file that catalogue is tmp/lib simultaneously.
Step S23, this creation module 13 by the file copy of preserving in this temporary folder in the system folder under the first operating system.
Step S24, this Software package module 15 obtains the file of storing in this system folder and the file that this is obtained packs to generate corresponding software package.
Step S25, the software package that this burning module 16 generates Software package module 15 is burned onto in corresponding equipment, thereby completes the software customized of this equipment and upgrade.Wherein, this equipment can be to communicate with this device 10 electronic equipment being connected, and is mounted with Android system.
The device and method of a kind of software package customization provided by the invention, by disassembling of the backup software bag to obtaining, by the file mount in system partitioning to the tmp file in another operating system, and write the application program that need to increase and repack the new software package of generation, with respect to prior art, can in the situation that software source code be lost, original software be upgraded and be safeguarded, thereby promote the efficiency that client software bag customizes.
The foregoing is only embodiments of the invention; not thereby limit the scope of the claims of the present invention; every equivalent structure or conversion of equivalent flow process that utilizes instructions of the present invention and accompanying drawing content to do; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (8)

1. the device that software package customizes, described device is mounted with the first operating system and the second operating system, it is characterized in that, and described device comprises:
Software package splits module, for obtain the software package that needs modification in the backup of described the first operating system, and described software package is disassembled to obtain the file in the system partitioning in described software package, described file is stored in the system folder under described the first operating system, and the file in described system partitioning comprises system file;
Creation module, for create temporary folder under the second operating system, and copies the file in the system partitioning of described the first system, and is stored in described temporary folder;
Program writing module, for writing, need the application program of increase and corresponding library file under described the second operating system, and the described application program writing and corresponding library file are kept in described temporary folder, and by the file copy of preserving in described temporary folder in the system folder under the first operating system;
Software package module, the file of storing for obtaining the system folder of described the first operating system, and the described file obtaining is packed to generate corresponding software package;
And burning module, for the software package of described generation being burned onto to relevant device to complete the software customized of described equipment and to upgrade.
2. the device of software package customization as claimed in claim 1, is characterized in that, also comprises:
Browse module, for presenting user interface, by described interface, select to need the software package of customization.
3. the device of software package customization as claimed in claim 1, is characterized in that, described the first operating system is Android operating system, and described the second operating system is linux operating system.
4. the device of software package as claimed in claim 3 customization, is characterized in that, the file in described system partitioning is stored under described system folder under system file; The application program that described program writing module increases needs in the second operating system and corresponding library file are saved in respectively in the app and lib file in described temporary folder tmp.
5. a method for software package customization, is characterized in that, described method comprises:
In the backup of the first operating system, obtain the software package that needs modification, and described software package is disassembled to obtain the file in the system partitioning in described software package, described file is stored in the system folder of described the first operating system, the file in this system partitioning comprises system file;
Under the second operating system, create temporary folder;
Copy the file in the system partitioning of described the first system, be stored in described temporary folder;
Under described the second operating system, write and need the application program of increase and corresponding library file, and the described application program writing and corresponding library file are kept in described temporary folder;
By the file copy of preserving in described temporary folder in the system folder of the first operating system;
Obtain the file of storing in the system folder of described the first operating system, and the described file obtaining is packed to generate corresponding software package;
The software package of described generation is burned onto in corresponding equipment to complete the software customized of described equipment and to upgrade.
6. the method for software package customization as claimed in claim 5, is characterized in that, before step described in executing claims 5, described method also comprises:
Present user interface, by described interface, select to need the software package of customization.
7. the method for software package customization as claimed in claim 5, is characterized in that, described the first operating system is Android operating system, and described the second operating system is linux operating system.
8. the method for software package customization as claimed in claim 7, is characterized in that, the file in described system partitioning is stored in the system file under described system folder;
Under described the second operating system, write and need the application program and the corresponding library file that increase to be stored in respectively in the app and lib file in described temporary folder tmp.
CN201410049759.9A 2014-02-13 2014-02-13 Software package customizing device and method Expired - Fee Related CN103761107B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410049759.9A CN103761107B (en) 2014-02-13 2014-02-13 Software package customizing device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410049759.9A CN103761107B (en) 2014-02-13 2014-02-13 Software package customizing device and method

Publications (2)

Publication Number Publication Date
CN103761107A true CN103761107A (en) 2014-04-30
CN103761107B CN103761107B (en) 2017-05-03

Family

ID=50528351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410049759.9A Expired - Fee Related CN103761107B (en) 2014-02-13 2014-02-13 Software package customizing device and method

Country Status (1)

Country Link
CN (1) CN103761107B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof
CN104317643A (en) * 2014-10-12 2015-01-28 福州瑞芯微电子有限公司 Method, system and device capable of realizing partition migration
CN104820602A (en) * 2015-05-18 2015-08-05 北京瑞星信息技术有限公司 Method, device and system for publishing software package
CN110554885A (en) * 2019-08-29 2019-12-10 五八有限公司 Sub-application generation method and device, electronic equipment and storage medium
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN112631608A (en) * 2021-01-05 2021-04-09 北京字节跳动网络技术有限公司 Compiling method, device, terminal and storage medium
CN113821221A (en) * 2021-06-15 2021-12-21 荣耀终端有限公司 Method, apparatus, storage medium, and computer program product for installing operating system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334677A (en) * 2003-05-09 2004-11-25 Canon Inc Split installation system
US20080028386A1 (en) * 2006-07-31 2008-01-31 Fujitsu Limited Transmission apparatus and method of automatically updating software
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
CN102129381A (en) * 2011-03-14 2011-07-20 兰雨晴 Method for customizing linux operating system
CN102455931A (en) * 2010-10-28 2012-05-16 Tcl集团股份有限公司 Method and system for developing Android platform engineering

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004334677A (en) * 2003-05-09 2004-11-25 Canon Inc Split installation system
US20080028386A1 (en) * 2006-07-31 2008-01-31 Fujitsu Limited Transmission apparatus and method of automatically updating software
CN102455931A (en) * 2010-10-28 2012-05-16 Tcl集团股份有限公司 Method and system for developing Android platform engineering
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
CN102129381A (en) * 2011-03-14 2011-07-20 兰雨晴 Method for customizing linux operating system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199791A (en) * 2014-08-15 2014-12-10 深圳市中兴移动通信有限公司 Mobile terminal and dual-system file transfer method and device thereof
CN104317643A (en) * 2014-10-12 2015-01-28 福州瑞芯微电子有限公司 Method, system and device capable of realizing partition migration
CN104820602A (en) * 2015-05-18 2015-08-05 北京瑞星信息技术有限公司 Method, device and system for publishing software package
CN110554885A (en) * 2019-08-29 2019-12-10 五八有限公司 Sub-application generation method and device, electronic equipment and storage medium
CN110795143A (en) * 2019-10-22 2020-02-14 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional module
CN110795143B (en) * 2019-10-22 2023-11-07 中国工商银行股份有限公司 Method, apparatus, computing device, and medium for processing functional modules
CN112631608A (en) * 2021-01-05 2021-04-09 北京字节跳动网络技术有限公司 Compiling method, device, terminal and storage medium
CN113821221A (en) * 2021-06-15 2021-12-21 荣耀终端有限公司 Method, apparatus, storage medium, and computer program product for installing operating system
CN113821221B (en) * 2021-06-15 2022-09-23 荣耀终端有限公司 Method, apparatus and storage medium for installing operating system

Also Published As

Publication number Publication date
CN103761107B (en) 2017-05-03

Similar Documents

Publication Publication Date Title
US11467854B2 (en) Method and apparatus for loading multiple differing versions of a native library into a native environment
CN103761107A (en) Software package customizing device and method
CN106775723B (en) Android platform-based system firmware customization method and Android device
EP3336690B1 (en) Extensible data transformation authoring and validation system
EP3188009B1 (en) Development, delivery, deployment and operation of an application
CN104793946B (en) Dispositions method and system are applied based on cloud computing platform
CN109491695A (en) A kind of increment updating method of integrated Android application
CN102289378B (en) Method for automatically generating APP (Application)
CN103955363B (en) A kind of manufacture method of program upgrade installation package
US8185889B2 (en) Methods and systems for porting software packages from one format to another
CN103106091A (en) Start-up system and method of operating system based on removable storage media
JP6412276B2 (en) Virtual machine creation method and apparatus
CN106648724B (en) Application program hot repair method and terminal
CN103365644A (en) Method and device for expanding software functions
US20170052764A1 (en) Pluggable components for runtime-image generation
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN114756296B (en) Readable-writable mounting starting method and device, storage medium and electronic equipment
CN103995696A (en) Custom-built system and method of software package of mobile terminal
CN106202158A (en) The using method of a kind of graphics file format and device
KR102052776B1 (en) Installation engine and package format for parallelizable, reliable installations
CN112286504A (en) Method for realizing development and loading of small program based on Reactnative in mobile APP
CN103823703A (en) Method and device in compatibility with different equipment with same firmware
US10514940B2 (en) Virtual application package reconstruction
KR102141749B1 (en) APP program execution method and device
CN104484207A (en) Mirror image upgrading method for switch, linux operation system and switch

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170308

Address after: Cangshan District of Fuzhou City, Fujian province 350008 Jinshan Road No. 618 juyuanzhou Ruijie Science Park building 19-22

Applicant after: Fujian Star-net Communication Co., Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350000 to build a new town, Jinshan Road No. 618 juyuanzhou Industrial Zone No. 19 building one or two layer

Applicant before: Fujian Starnet e-Video Information System Co., Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170503

Termination date: 20180213