CN103605505A - Sharing method of software configuration files - Google Patents
Sharing method of software configuration files Download PDFInfo
- Publication number
- CN103605505A CN103605505A CN201310473157.1A CN201310473157A CN103605505A CN 103605505 A CN103605505 A CN 103605505A CN 201310473157 A CN201310473157 A CN 201310473157A CN 103605505 A CN103605505 A CN 103605505A
- Authority
- CN
- China
- Prior art keywords
- software
- configuration file
- software configuration
- registration table
- configuration
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to the software operating environment parameter configuration. A sharing method of software configuration files comprises the steps of uploading the software configuration files with software into a database; downloading the software configuration files together when the software is downloaded; initializing or sharing operating parameters of the software according to configuration information in the software configuration files. According to the sharing method of the software configuration files, the initial conditions of the normal operation of the software can be guaranteed and the work of repeated configuration of program operating parameters can be omitted due to the fact that configuration files or folders in the original software are copied to a specified path of the current software.
Description
Technical field
The present invention relates to software environment parameter configuration.
Background technology
The configuration information of software comprises registration table, configuration file and configuration folder, at same test step according to the difference of product, moving a plurality of versions of same operation testing software, and the normal operation of software itself needs many parameters such as configure instrument equipment, station calibration, when disposing the redaction of operation testing software, need the parameters such as repeated configuration instrument and equipment, station calibration, cause repeated workload large.
Summary of the invention
The object of the invention is to overcome existing above-mentioned deficiency in prior art, a kind of shared method of software configuration file is provided, realize the automatic configuration of running software parameter environment.In order to realize foregoing invention object, the invention provides following technical scheme: a kind of shared method of software configuration file, comprises the following steps:
A, software configuration file is uploaded in database together with software;
B, when downloading described software, described software configuration file is together downloaded;
C, according to the configuration information in described software configuration file, initialization or share the operational factor of described software.
Described step C specifically, if described software configuration file comprises configuration file or configuration folder, auto-control software, according to the description of new software configuration file, copies the configuration file in early version software and configuration folder in the specified path under described software installation directory to.
Described step C specifically, if described software configuration file comprises registration table, described software configuration file comprises the demand to registration table integrality, whether auto-control software detects registration table automatically complete, when registration table being detected when imperfect, can provide predefined response prompting in described software configuration file, meanwhile, auto-control software can carry out to registration table the requirement that initialization reaches initial software running environment according to the requirement in described software configuration file.
Compared with prior art, beneficial effect of the present invention:
While downloading software, software configuration file is together downloaded, according to the configuration information in software configuration file, configuration file or the file of initialization registration table configuration item, shared other software.So, when deployment software, corresponding configuration has been initialised or has shared, and has removed the work that repeats manual configuration running software parameter from.
Accompanying drawing explanation:
Fig. 1 is the process flow diagram of technical solution of the present invention.
Fig. 2 is the compiling result diagram of embodiments of the invention one.
Fig. 3 is the compiling result diagram of embodiments of the invention two.
Embodiment
Below in conjunction with test example and embodiment, the present invention is described in further detail.But this should be interpreted as to the scope of the above-mentioned theme of the present invention only limits to following embodiment, all technology realizing based on content of the present invention all belong to scope of the present invention.
As shown in Figure 1, a kind of shared method of software configuration file, comprises the following steps:
A, software configuration file is uploaded to together with software in database to 1;
B, when downloading described software, described software configuration file is together downloaded to 2;
C, according to the configuration information in described software configuration file, initialization or share the operational factor 3 of described software.
Described step C specifically, if described software configuration file comprises configuration file or configuration folder, auto-control software, according to the description of new software configuration file, copies the configuration file in early version software and configuration folder in the specified path under described software installation directory to.
Described step C specifically, if described software configuration file comprises registration table, described software configuration file comprises the demand to registration table integrality, whether auto-control software detects registration table automatically complete, when registration table being detected when imperfect, can provide predefined response prompting in described software configuration file, meanwhile, auto-control software can carry out to registration table the requirement that initialization reaches initial software running environment according to the requirement in described software configuration file.
A new software is installed on production line and need to be done a lot of configurations to computing machine, process is loaded down with trivial details.In the software of new upgrading exploitation, all comprise a software configuration file.Configure shared type and be divided into 3 kinds: registration table, configuration file, configuration folder.For configuration file and configuration folder: automatic control system, according to the description of software configuration file in new software, copies the configuration file in early version and configuration folder in the specified path under new software installation directory to.Registration table: in the software configuration file of new software, comprise the demand of new software to registration table integrality, as: registration table path, key and key assignments.In to the escalation process of software, system can be checked registration table, when registration table being detected when imperfect, can provide the prompting of the response of finishing writing in advance in software configuration file.In this simultaneously, automatic control system can carry out to registration table the object that initialization reaches initial software running environment according to the requirement in software configuration file.
Embodiment mono-:
Hereinafter " ACS " represents auto-control software, and " frp.config " represents software configuration file.
Background: the 1630-00107-02 of ATE testing software series is at Rapter station commissioning 10G10KM optical module, in the latest edition of using, be 1630-00107-02-00-0000-09 at present, debugging algorithm wherein because ATE slip-stick artist optimizes, carries out commissioning so suggestion RD slip-stick artist is all upgraded to 1630-00107-02-00-0000-10 by the product that uses 1630-00107-02-00-0000-09ATE software to carry out commissioning.
1, ATE slip-stick artist compiles and generates ATE software 1630-00107-02-00-0000-10, generate result as shown in Figure 2: wherein by frame middle part, be divided into the necessary configuration file of running software and configuration folder, during software issue, these configuration files and configuration folder all Use Defaults, PE slip-stick artist need to carry out after corresponding configuration it according to the field condition of production line, and software could normal operation.
2, ATE slip-stick artist's confirmation has been applicable to be about to the 1630-00107-02-00-0000-10 of issue completely at the situ configuration file of the 1630-00107-02-00-0000-09 using.
So 3 ATE slip-stick artists start to write software configuration file frp.config, which configuration file and configuration folder that 1630-00107-02-00-0000-10 can share early version program have been described in frp.config.
4, ATE slip-stick artist packs frp.config together and uploads in the middle of ACS software library with program file.
5, RD slip-stick artist will originally use the product of 1630-00107-02-00-0000-09 all to use 1630-00107-02-00-0000-10 in ACS instead.
6, on production line, running ACS finds that the product needed of originally using 1630-00107-02-00-0000-09 to carry out commissioning is upgraded to 1630-00107-02-00-0000-10 and carries out commissioning, so ACS determines to download 1630-00107-02-00-0000-10ATE software from ACS software database.
7, when 1630-00107-02-00-0000-10 is downloaded on product lineman bit machine by ACS after, can find the frp.config file wherein comprising, under the installation directory that ACS copies the specified configuration file under 1630-00107-02-00-0000-09 installation directory and configuration folder to 1630-00107-02-00-0000-10 according to the description in frp.config, when ACS starts 1630-00107-02-00-0000-10ATE software, just do not need to carry out again software configuration, can carry out immediately duty.
Embodiment bis-
Background: the 1630-00110-00 of ATE testing software series is at Rapter station commissioning 10G40KM optical module, in the latest edition of using, be 1630-00110-00-00-0000-27 at present, debugging algorithm wherein because ATE slip-stick artist optimizes, carries out commissioning so suggestion RD slip-stick artist is all upgraded to 1630-00110-00-00-0000-28 by the product that uses 1630-00110-00-00-0000-27ATE software to carry out commissioning.
1, ATE slip-stick artist compiles and generates ATE software 1630-00110-00-00-0000-28, generate result as Fig. 3, frame middle part is divided into the registry file of the necessary configuration file of running software and the configuration of initial registration table, because 1630-00110-00-00-0000-28 has increased new registration table configuration item with respect to 1630-00110-00-00-0000-27, therefore before 1630-00110-00-00-0000-28 operation, must guarantee that host computer merges to the registry file in frame in its registration table, host computer registration table just can have this value like this, software could normal operation.
2, ATE slip-stick artist's confirmation has been applicable to be about to the 1630-00110-00-00-0000-28 of issue completely at the situ configuration file of the 1630-00110-00-00-0000-27 using, but registration table configuration does not meet the requirement of 1630-00110-00-00-0000-28, need to before operation, allow host computer merge registration table configuration original document.
So 3 ATE slip-stick artists start to write configuration, share description document frp.config, in frp.config, described 1630-00110-00-00-0000-28 and can share which configuration file of early version program and should before operation, check whether host computer registration table meets particular demands.
4, ATE slip-stick artist packs frp.config together and uploads in the middle of ACS software library with program file.
5, RD slip-stick artist will originally use the product of 1630-00110-00-00-0000-27 all to use 1630-00110-00-00-0000-28 in ACS instead.
6, the product needed that on production line, running ACS system discovery was used 1630-00110-00-00-0000-27 to carry out commissioning is originally upgraded to 1630-00110-00-00-0000-28 and carries out commissioning, so ACS determines to download 1630-00110-00-00-0000-28ATE software from ACS software database.
7, when 1630-00110-00-00-0000-28 is downloaded on product lineman bit machine by ACS after, can find the frp.config file wherein comprising, ACS according to the description in frp.config by the specified configuration file copy under 1630-00110-00-00-0000-27 installation directory under the installation directory of 1630-00110-00-00-0000-28, and can detect in the registration table of host computer, whether comprise path " HKEY_LOCAL_MACHINE SOFTWARE SourcePhotonics RAPTER_CFP " and registry key " MfgDB.SpecMode ", if do not comprised, ACS will merge init.reg file in the middle of the registration table of host computer so, and eject prompting frame " please configuration database SPEC pattern after ATE software startup ".When ACS starts 1630-00110-00-00-0000-28ATE software, can guarantee that software can normally move.
Claims (3)
1. a shared method for software configuration file, is characterized in that, comprises the following steps:
A, software configuration file is uploaded in database together with software;
B, when downloading described software, described software configuration file is together downloaded;
C, according to the configuration information in described software configuration file, initialization or share the operational factor of described software.
2. the shared method of software configuration file as claimed in claim 1, it is characterized in that, described step C specifically, if described software configuration file comprises configuration file or configuration folder, auto-control software, according to the description of new software configuration file, copies the configuration file in early version software and configuration folder in the specified path under described software installation directory to.
3. the shared method of software configuration file as claimed in claim 1, it is characterized in that, described step C specifically, if described software configuration file comprises registration table, described software configuration file comprises the demand to registration table integrality, whether auto-control software detects registration table automatically complete, when registration table being detected when imperfect, can provide predefined response prompting in described software configuration file, meanwhile, auto-control software can carry out to registration table the requirement that initialization reaches initial software running environment according to the requirement in described software configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310473157.1A CN103605505A (en) | 2013-10-11 | 2013-10-11 | Sharing method of software configuration files |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310473157.1A CN103605505A (en) | 2013-10-11 | 2013-10-11 | Sharing method of software configuration files |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103605505A true CN103605505A (en) | 2014-02-26 |
Family
ID=50123735
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310473157.1A Pending CN103605505A (en) | 2013-10-11 | 2013-10-11 | Sharing method of software configuration files |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103605505A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418717A (en) * | 2018-03-02 | 2018-08-17 | 平安科技(深圳)有限公司 | Android application is packaged method for uploading, device, computer equipment and storage medium |
CN110908818A (en) * | 2019-11-29 | 2020-03-24 | 上海联影医疗科技有限公司 | Verification method, device, equipment and storage medium |
WO2021212757A1 (en) * | 2020-04-23 | 2021-10-28 | 平安科技(深圳)有限公司 | Upgrade maintenance method and apparatus for cluster, and electronic device and storage medium |
US11762676B2 (en) | 2021-07-30 | 2023-09-19 | Uipath Inc | Optimized software delivery to airgapped robotic process automation (RPA) hosts |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5555416A (en) * | 1992-09-20 | 1996-09-10 | Sun Microsystems, Inc. | Automated software installation and operating environment configuration for a computer system based on classification rules |
US7584470B2 (en) * | 2004-04-22 | 2009-09-01 | International Business Machines Corporation | Method and system for peer-to-peer software distribution with a package builder |
CN101984410A (en) * | 2010-11-12 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating and unloading software installation package |
CN102479093A (en) * | 2010-11-25 | 2012-05-30 | 英业达股份有限公司 | Software installing system for providing verification and updating original file and register table and method thereof |
CN103259672A (en) * | 2012-02-17 | 2013-08-21 | 阿里巴巴集团控股有限公司 | Software upgrading method and software upgrading system |
-
2013
- 2013-10-11 CN CN201310473157.1A patent/CN103605505A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5555416A (en) * | 1992-09-20 | 1996-09-10 | Sun Microsystems, Inc. | Automated software installation and operating environment configuration for a computer system based on classification rules |
US7584470B2 (en) * | 2004-04-22 | 2009-09-01 | International Business Machines Corporation | Method and system for peer-to-peer software distribution with a package builder |
CN101984410A (en) * | 2010-11-12 | 2011-03-09 | 中兴通讯股份有限公司 | Method and device for generating and unloading software installation package |
CN102479093A (en) * | 2010-11-25 | 2012-05-30 | 英业达股份有限公司 | Software installing system for providing verification and updating original file and register table and method thereof |
CN103259672A (en) * | 2012-02-17 | 2013-08-21 | 阿里巴巴集团控股有限公司 | Software upgrading method and software upgrading system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108418717A (en) * | 2018-03-02 | 2018-08-17 | 平安科技(深圳)有限公司 | Android application is packaged method for uploading, device, computer equipment and storage medium |
CN108418717B (en) * | 2018-03-02 | 2020-04-07 | 平安科技(深圳)有限公司 | Android application packaging and uploading method and device, computer equipment and storage medium |
CN110908818A (en) * | 2019-11-29 | 2020-03-24 | 上海联影医疗科技有限公司 | Verification method, device, equipment and storage medium |
WO2021212757A1 (en) * | 2020-04-23 | 2021-10-28 | 平安科技(深圳)有限公司 | Upgrade maintenance method and apparatus for cluster, and electronic device and storage medium |
US11762676B2 (en) | 2021-07-30 | 2023-09-19 | Uipath Inc | Optimized software delivery to airgapped robotic process automation (RPA) hosts |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9569226B2 (en) | Baseboard management controller and method of loading firmware | |
CN101325513B (en) | Method, equipment and system for upgrading software | |
KR101038965B1 (en) | How to Configure Test Systems, Computer-readable Media, and Computing Systems | |
CN102880495A (en) | Mobile terminal and software upgrading method for same | |
CN103605505A (en) | Sharing method of software configuration files | |
US7827548B1 (en) | Environment-neutral application build | |
CN105791362A (en) | Server operating system deployment method and server | |
CN102334100A (en) | Program update device, program update method, and information processing device | |
CN103164238A (en) | Method for automatically and continuously installing operating system | |
CN109070345B (en) | Robot controller system and method | |
US9690567B2 (en) | Runtime detection of software configurations and upgrades | |
CN103914323A (en) | Baseboard management controller updating system and updating method | |
CN101169729A (en) | Embedded type system and method for renewing application program | |
CN112256348B (en) | Cloud service platform creation method and system, electronic equipment and storage medium | |
CN103677915A (en) | Automatic burning method of flash mirror image based on TF starting card | |
CN105824678A (en) | Method and device for installing operating system | |
CN106569863B (en) | Resource and code modularization-based android app resource updating and repairing method | |
CN102662647A (en) | Lunix operating system and security update method of same | |
CN103677887A (en) | Information processing method and electronic device | |
CN104063256A (en) | Partition and firmware upgrading method based on minimum operating system | |
CN104423993A (en) | Automotive electronic equipment software updating method and terminal and automotive electronic system | |
US9454325B2 (en) | Method and system for offline data access on computer systems | |
CN104834526A (en) | Manufacturing method for motion control card driver installation package | |
CN104166609A (en) | Computer hardware device repairing method and device | |
CN103885798A (en) | Data processing method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140226 |
|
RJ01 | Rejection of invention patent application after publication |