CN103761107B - Software package customizing device and method - Google Patents

Software package customizing device and method Download PDF

Info

Publication number
CN103761107B
CN103761107B CN201410049759.9A CN201410049759A CN103761107B CN 103761107 B CN103761107 B CN 103761107B CN 201410049759 A CN201410049759 A CN 201410049759A CN 103761107 B CN103761107 B CN 103761107B
Authority
CN
China
Prior art keywords
file
operating system
software kit
software
module
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.)
Expired - Fee Related
Application number
CN201410049759.9A
Other languages
Chinese (zh)
Other versions
CN103761107A (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 Communication 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 Communication Co Ltd filed Critical Fujian Star Net Communication 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

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 kit customization
Technical field
The present invention relates to assembly management field, more particularly to a kind of device and method of software kit customization.
Background technology
In existing software customized service, usually code is changed according to the real needs of client, then in modification generation Formation component on the basis of code, so because being related to code revision, it is therefore desirable to do again regression test, and need to be every The a set of code of one customer care, development amount and maintenance workload it is all very big.
In addition, existing operating system, such as Android operation system, upgrading software typically one has been packed Into software kit.Change this software customized technological means of code according to demand to have a problem that, when source code In the case of loss, it is impossible to which existing software is modified.
The content of the invention
The main object of the present invention is to provide a kind of device and method of software kit customization, in the feelings that software source code is lost Original software can also be updated and be safeguarded under condition, so as to lift the efficiency of client software bag customization.
The present invention provides a kind of device of software kit customization, and the device is mounted with the first operating system and the second operation system System, the device include:
Software kit splits module, for the software kit for needing modification is obtained in the backup of first operating system and right The software kit is disassembled to obtain the file in the system partitioning in the software kit, and this document is stored in the first operating system Under system folder in, the file in the system partitioning includes system file.
Creation module, for temporary folder is created under the second operating system, and replicates first operating system File in system partitioning, and be stored in the temporary folder.
Program writing module, needs the application program of increase and corresponding storehouse for the write under second operating system File, and the application program and corresponding library file of write are stored in the temporary folder, and by the temporary file The file preserved in folder is copied in the system folder under the first operating system.
Software package module, for obtaining the file stored in the system folder of first operating system, and this is obtained The file for taking is packed to generate corresponding software kit.And
Burning module, for the software kit of generation is burned onto in relevant device to complete the software customized of the equipment and more Newly.
Further, the present invention also provides a kind of method of software kit customization, and the method includes:
The software kit for needing modification is obtained in the backup of the first operating system, and the software kit is disassembled to obtain The file in system partitioning in the software kit, this document is stored in the system folder under first operating system, should File in system partitioning includes system file.
Temporary folder is created under the second operating system.
The file in the system partitioning of first operating system is replicated, and is stored in the temporary folder.
The write under second operating system needs increased application program and corresponding library file, and being somebody's turn to do write Application program and corresponding library file are stored in the temporary folder.
The file preserved in the temporary folder is copied in the system folder of the first operating system.
The file stored in the system folder for obtaining first operating system, and by the file of the acquisition packed with Generate corresponding software kit.
The software kit of the generation is burned onto in corresponding equipment to complete the software customized of the equipment and update.
A kind of device and method of software kit customization that the present invention is provided, by disassembling for the backup software bag to obtaining, By in the tmp files in the file mount in system partitioning to another operating system, and write need increased application program with And the new software kit of generation is repacked, can be in the case where software source code be lost to original software relative to prior art It is updated and safeguards, so as to lifts the efficiency of client software bag customization.
Description of the drawings
High-level schematic functional block diagrams of the Fig. 1 for the software kit customizing device in embodiment of the present invention;
Flow charts of the Fig. 2 for the software kit method for customizing in embodiment of the present invention.
Label declaration:
Device 10
Browsing module 11
Software kit splits module 12
Creation module 13
Program writing module 14
Software package module 15
Burning module 16
Specific embodiment
By describing technology contents of the invention, structural features in detail, realizing purpose and effect, below in conjunction with embodiment And coordinate accompanying drawing to be explained in detail.
Fig. 1 is refer to, is a kind of high-level schematic functional block diagram of the software kit customizing device in embodiment of the present invention, at this In embodiment, the device 10 is mounted with Android operation system the basic operation for realizing user, and the device 10 can be with It is the intelligent electronic devices such as mobile phone, panel computer, personal digital assistant.The device 10 includes that browsing module 11, software kit splits Module 12, creation module 13, program writing module 14, Software package module 15 and burning module 16.
The browsing module 11 is used for presentation user's operation interface, and user selects needs fixed by the user interface for presenting The content of system:The software kit of needs, application program, configuration information etc..The software kit splits module 12 to be used to respond user clear The selection operation of module 11 of looking at obtains the software kit for needing modification in the backup of the first operating system, and the software kit is carried out Disassemble to obtain the file in the system partitioning in the software kit, the file in the system partitioning includes system file, and stores In system folder under the first operating system, in the present embodiment, this document is stored in catalogue for system files In.
When it is determined that needing to make the software kit of correspondence a certain customizing operating system, the exploitation of the customizing operating system is obtained Tool-file, the developing instrument that software kit fractionation module 12 obtains the customizing operating system are disassembled to the software kit.
The creation module 13 is for creating temporary folder (tmp files) under the second operating system, and first is grasped Making the file in the system partitioning of system carries out being duplicated and stored in the temporary folder, so as to by first operating system File mount in system partitioning is in the tmp files in the second operating system.In the present embodiment, the first operation system Unite as Android operation system, second operating system is linux operating systems, the creation module 13 is created under linux environment Build the tmp files.
The program writing module 14 needs increased application program and corresponding for the write under the second operating system Library file, and the application program and library file are stored in the temporary folder.In the present embodiment, the program writes mould The application program of the write is stored under the file that catalogue is tmp/app by block 14, while the corresponding library file is replicated To under file of the catalogue for tmp/lib.
After the program writing module 14 completes the increase of required application program, the creation module 13 is additionally operable to this is interim The file preserved in file is copied in the system folder under the first operating system.
The file that the Software package module 15 is stored in being used to obtain the system folder, and the file of the acquisition is carried out Pack to generate corresponding software kit.The burning module 16 is for the software kit that Software package module 15 is generated is burned onto accordingly Equipment in, so as to complete the software customized of the equipment and update.Wherein, the equipment can carry out communication link with the device 10 The electronic equipment for connecing, and it is mounted with android system.
Fig. 2 is referred to, is the flow chart of invention software bag method for customizing, the method includes:
Step S20, the software kit split selection operation of the response user of module 12 in browsing module 11 in system backup Obtaining needs the software kit of modification, and the software kit is disassembled to obtain the file in the system partitioning in the software kit, Wherein, during the file in the system partitioning includes system file, and the system folder being stored under the first operating system.
In the present embodiment, this document is stored in catalogue in system files.
11 presentation user's operation interface of browsing module, user select to need customization by the user interface for presenting Content:The software kit of needs, application program, configuration information etc..
Step S21, the creation module 13 create temporary folder under the second operating system, and by the first operating system File in system partitioning carries out being duplicated and stored in the temporary folder, so as to by the system partitioning of first operating system In file mount in the temporary folder in the second operating system.
In the present embodiment, first operating system is Android operation system, and second operating system is linux Operating system, the creation module 13 create tmp files under linux environment.
Step S22, the program writing module 14 write the application program and right for needing to increase under the second operating system The library file answered, and the application program and library file are stored in the temporary folder.In the present embodiment, the program is write Enter module 14 application program of the write is stored under the file that catalogue is tmp/app, while by the corresponding library file Copy under the file that catalogue is tmp/lib.
Step S23, the creation module 13 copy to the file preserved in the temporary folder under the first operating system In system folder.
Step S24, the file that the Software package module 15 is stored in obtaining the system folder the file by the acquisition Packed to generate corresponding software kit.
Step S25, the burning module 16 are burned onto the software kit that Software package module 15 is generated in corresponding equipment, from And complete the software customized of the equipment and update.Wherein, the equipment can be that the electronics being communicatively coupled with the device 10 is set It is standby, and it is mounted with android system.
A kind of device and method of software kit customization that the present invention is provided, by disassembling for the backup software bag to obtaining, By in the tmp files in the file mount in system partitioning to another operating system, and write need increased application program with And the new software kit of generation is repacked, can be in the case where software source code be lost to original software relative to prior art It is updated and safeguards, so as to lifts the efficiency of client software bag customization.
Embodiments of the invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this Equivalent structure or equivalent flow conversion that bright description and accompanying drawing content are made, or directly or indirectly it is used in other related skills Art field, is included within the scope of the present invention.

Claims (8)

1. the device that a kind of software kit is customized, described device are mounted with the first operating system and the second operating system, and its feature exists In described device includes:
Software kit splits module, for the software kit for needing modification is obtained in the backup of first operating system, and to institute State software kit to be disassembled to obtain the file in the system partitioning in the software kit, the file is stored in into described first In system folder under operating system, the file in the system partitioning includes system file;
Creation module, for creating temporary folder under the second operating system, and replicate first operating system be File in system subregion, and be stored in the temporary folder;
Program writing module, needs the application program and corresponding library text of increase for the write under second operating system Part, and the application program and corresponding library file of write are stored in the temporary folder, and will be described interim The file preserved in file is copied in the system folder under the first operating system;
Software package module, for obtaining the file stored in the system folder of first operating system, and obtains described The file for taking is packed to generate corresponding software kit;
And burning module, it is fixed to complete the software of the equipment for the software kit of the generation is burned onto in relevant device System and renewal.
2. the device that software kit as claimed in claim 1 is customized, it is characterised in that also include:
Browsing module, for presentation user's operation interface, selects to need the software kit of customization by the interface.
3. the device that software kit as claimed in claim 1 is customized, it is characterised in that first operating system is Android Operating system, second operating system are linux operating systems.
4. the device that software kit as claimed in claim 3 is customized, it is characterised in that the text in the system partitioning of the software kit Part is stored under the system folder under system files;Described program writing module will be needed in the second operating system The application program of increase and corresponding library file are saved in app the and lib files in the temporary folder tmp respectively In.
5. a kind of method that software kit is customized, it is characterised in that methods described includes:
The software kit for needing modification is obtained in the backup of the first operating system, and the software kit is disassembled to obtain The file in the system partitioning in software kit is stated, the file is stored in the system folder of first operating system, File in the system partitioning includes system file;
Temporary folder is created under the second operating system;
The file in the system partitioning of first operating system is replicated, is stored in the temporary folder;
The write under second operating system needs increased application program and corresponding library file, and by described in write Application program and corresponding library file are stored in the temporary folder;
The file preserved in the temporary folder is copied in the system folder of the first operating system;
The file stored in the system folder for obtaining first operating system, and by the file of the acquisition packed with Generate corresponding software kit;
The software kit of the generation is burned onto in corresponding equipment to complete the software customized of the equipment and update.
6. the method that software kit as claimed in claim 5 is customized, it is characterised in that require 5 methods describeds in perform claim Before all steps, methods described also includes:
Presentation user's operation interface, selects to need the software kit of customization by the interface.
7. the method that software kit as claimed in claim 5 is customized, it is characterised in that first operating system is Android Operating system, second operating system are linux operating systems.
8. the method that software kit as claimed in claim 7 is customized, it is characterised in that the text in the system partitioning of the software kit Part is stored in the system files under the system folder;
The write under second operating system needs increased application program and corresponding library file to be stored in institute respectively State in app the and lib files in 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 CN103761107A (en) 2014-04-30
CN103761107B true 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)

Families Citing this family (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
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
CN113821221B (en) * 2021-06-15 2022-09-23 荣耀终端有限公司 Method, apparatus and storage medium for installing operating system

Citations (4)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4751785B2 (en) * 2006-07-31 2011-08-17 富士通株式会社 Transmission apparatus and software automatic update method

Patent Citations (4)

* 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
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

Also Published As

Publication number Publication date
CN103761107A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103761107B (en) Software package customizing device and method
CN102622241B (en) A kind of method for upgrading software and device
CN106775723B (en) Android platform-based system firmware customization method and Android device
CN103955363B (en) A kind of manufacture method of program upgrade installation package
CN104615466B (en) A kind of cloud platform dispositions method and system
CN109725933B (en) Big data document generation method, device, equipment and computer readable storage medium
CN107733985B (en) Method and device for deploying functional components of cloud computing system
CN106933570A (en) Hair control software platform is surveyed in a kind of space flight based on plug-in part technology
CN103425468B (en) Plug-in type software integrating method and device
CN103106091A (en) Start-up system and method of operating system based on removable storage media
CN107193607B (en) Method and apparatus for updating code file, storage medium, processor, and terminal
CN109542459A (en) Application program packaging method and device, computer installation and computer storage medium
CN102880482A (en) System and technical method of automatically updating software in host batch control virtual machine
CN109863474A (en) Update migratory system and method
CN106055330A (en) Management method and system of application program
CN105446712A (en) Defect mending method and device for application program
CN104866391A (en) Terminal information backup method and apparatus based on incremental information system
CN107239309B (en) Patch generation method and device, updating method, electronic device and storage medium
CN103995696B (en) The program bag custom-built system and method for customizing of mobile terminal
CN102693144A (en) Method for upgrading capacitive screen firmware used for Android mobile terminal
US20130325152A1 (en) Parameter setting device and parameter setting system
CN109933364A (en) A kind of code administration method
CN103645888A (en) System and method for automatically building operation system
CN107844300A (en) Script processing method and system
CN103823703A (en) Method and device in compatibility with different equipment with same firmware

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