CN109408075A - A kind of method and apparatus for retaining current business and carrying out remote upgrade - Google Patents

A kind of method and apparatus for retaining current business and carrying out remote upgrade Download PDF

Info

Publication number
CN109408075A
CN109408075A CN201811224096.4A CN201811224096A CN109408075A CN 109408075 A CN109408075 A CN 109408075A CN 201811224096 A CN201811224096 A CN 201811224096A CN 109408075 A CN109408075 A CN 109408075A
Authority
CN
China
Prior art keywords
data
current
stamper
saved
temp directory
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811224096.4A
Other languages
Chinese (zh)
Inventor
林晓飞
蒋欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
In Global (beijing) Technology Co Ltd
Original Assignee
In Global (beijing) Technology 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 In Global (beijing) Technology Co Ltd filed Critical In Global (beijing) Technology Co Ltd
Priority to CN201811224096.4A priority Critical patent/CN109408075A/en
Publication of CN109408075A publication Critical patent/CN109408075A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of methods that reservation current business carries out remote upgrade, this method comprises: S1: the data that the data, the data of current application software and software configuration and current operating environment of TMS system current in system disk configure being copied under temp directory and are saved;S2: it is saved in above-mentioned temp directory from external object position acquisition stamper mirror image, and by the stamper mirror image of downloading;S3: formatting the system disk, after the completion of formatting, by the stamper mirror-image copies saved in above-mentioned temp directory into the system disk;S4: the data that the data of the current TMS saved in temp directory, the data of current application software and software configuration and current operating environment configure are restored in the system disk;S5: temp directory is deleted.The invention enables the work of mailing and original manually insertion stamper and upgrade-system without carrying out stamper, while the present invention has retained business advantage, optimizes user experience.

Description

A kind of method and apparatus for retaining current business and carrying out remote upgrade
Technical field
The present invention relates to a kind of fields of communication technology, and in particular to a method of retain current business and carries out remote upgrade And device.
Background technique
TMS operating system is lasting to be optimized and upgrades, and new version publication speed is getting faster.And existing market Upper common TMS operating system update method is stamper insertion, it may be assumed that stamper is posted to user from TMS system research and development company In hand, stamper is inserted into server and is upgraded manually by user.Such method consumption fund, waste of manpower resource, when Effect property is poor, it is difficult to meet the quick upgrade requirement of user in actual use.
Summary of the invention
The purpose of the present invention is to provide a kind of methods that reservation current business carries out remote upgrade, to solve above-mentioned background The problem of being proposed in technology.
To achieve the above object, the invention provides the following technical scheme:
In a first aspect, the embodiment of the invention provides a kind of method that reservation current business carries out remote upgrade, this method Include:
S1: by the data of TMS system current in system disk, the data of current application software and software configuration and current operation The data of environment configurations are copied under temp directory and are saved;
S2: it is saved in above-mentioned temp directory from external object position acquisition stamper mirror image, and by the stamper mirror image of downloading;
S3: formatting the system disk, and after the completion of formatting, the stamper mirror-image copies saved in above-mentioned temp directory are arrived In the system disk;
S4: by the data of the current TMS saved in temp directory, data of current application software and software configuration and current The data of running environment configuration are restored in the system disk;
S5: temp directory is deleted.
As a further solution of the present invention: after step s4 further include:
N1: formatting back-up disk, after the completion of formatting, by the stamper mirror-image copies saved in the temp directory described in In back-up disk;
N2: by the data of the current TMS saved in temp directory, data of current application software and software configuration and current The data of running environment configuration are restored in the back-up disk.
As a further solution of the present invention: the related data of current TMS system includes: the network condition of TMS system, number According to library, film, advertisement.
As a further solution of the present invention: from the detailed process of external object position acquisition stamper mirror image in 1. step S2 Are as follows:
Stamper mirror image is downloaded from specified link.
Second aspect, the embodiment of the invention provides the device that a kind of reservation current business carries out remote upgrade, the devices It include: backup module, download module, the first refitting module, the first reservation module and removing module, wherein
Backup module, for by data, the data of current application software and software configuration of TMS system current in system disk It copies under temp directory and is saved with the data of current operating environment configuration;
Download module for from external object position acquisition stamper mirror image, and the stamper mirror image of downloading is saved in above-mentioned In temp directory;
First refitting module, for formatting the system disk, after the completion of formatting, by what is saved in above-mentioned temp directory Stamper mirror-image copies are into the system disk;
First reservation module, for matching the data of the current TMS saved in temp directory, current application software and software The data for data and the current operating environment configuration set are restored in the system disk;
Removing module, for deleting temp directory.
As a further solution of the present invention: the device further include: the second refitting module and the second reservation module, wherein
Second refitting module, for formatting back-up disk, after the completion of formatting, the stamper that will be saved in the temp directory Mirror-image copies are into the back-up disk;
Second reservation module, for matching the data of the current TMS saved in temp directory, current application software and software The data for data and the current operating environment configuration set are restored in the back-up disk.
As a further solution of the present invention: the related data of current TMS system includes: the network condition of TMS system, number According to library, film, advertisement.
As a further solution of the present invention: download module is specifically used for downloading stamper mirror image from specified link, and The stamper mirror image of downloading is saved in above-mentioned temp directory.
Compared with prior art, the beneficial effects of the present invention are:
1, the present invention has remote upgrade advantage, can be female with original manually insertion without carrying out posting for stamper The work of disk and upgrade-system saves the time and reduces fund cost, has high efficiency, reliability, safety.
2, the present invention has retained business advantage, i.e., can not retain software relative to stamper inserted mode and various with confidence Breath, the present invention can retain original service while realizing upgrading operation system, including original installation is applied and application configuration, The business such as environment configurations optimize user experience.
Detailed description of the invention
Fig. 1 is a kind of process for retaining current business and carrying out the method for remote upgrade provided by one embodiment of the present invention Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, providing a kind of method that reservation current business carries out remote upgrade, the party in the embodiment of the present invention Method may comprise steps of:
S1: by the data of TMS system current in system disk, the data of current application software and software configuration and current operation The data of environment configurations are copied under temp directory and are saved.
S2: it is saved in above-mentioned temp directory from external object position acquisition stamper mirror image, and by the stamper mirror image of downloading.
S3: formatting the system disk, and after the completion of formatting, the stamper mirror-image copies saved in above-mentioned temp directory are arrived In the system disk.
S4: by the data of the current TMS saved in temp directory, data of current application software and software configuration and current The data of running environment configuration are restored in the system disk.
S5: temp directory is deleted.
In this embodiment, the data information in system disk is backuped in temp directory automatically, and automatically from designated strands Connect downloading stamper mirror image and be saved in temp directory (temp directory can be located at system disk in, as long as the not overall lattice of system disk Formula, that is to say, that also include temp directory in formatted system disk), and what stamper mirror image was obtained by downloading TMS operating system, system automatically successive formatting system disk and back-up disk and replicated from temp directory new TMS operating system and Restore application and application configuration and environment configurations, after update, the present invention is automatically deleted temp directory, so that the present invention is not necessarily to Carry out the mailing of stamper and the work of original manually insertion stamper and upgrade-system, save time and reduction fund at This, has high efficiency, reliability, safety.There is retained business advantage simultaneously, i.e., can not retain relative to stamper inserted mode Software and various configuration informations can retain original service, including original installation application while realizing upgrading operation system And the business such as application configuration, environment configurations, optimize user experience.
It is worth noting that TMS (Theater Management System, digital camera management system) is responsible for movie theatre The concentration of projection equipment, presentation content, projection authorization, projection plan, equipment state, projection log and cinema automation facility etc. Management, to provide the automatic management level and efficiency of high movie theatre.500G disk can be used in system disk, is provided with TMS operation System, hardware, software and data resource, the operation of control program, offer TMS and other installations for managing computer system are soft The running environment of part.
In an embodiment of the invention, after step s4 can with the following steps are included:
N1: formatting back-up disk, after the completion of formatting, by the stamper mirror-image copies saved in the temp directory described in In back-up disk;
N2: by the data of the current TMS saved in temp directory, data of current application software and software configuration and current The data of running environment configuration are restored in the back-up disk.
In the embodiment, 500G disk is can be used in back-up disk, and for the content of standby system disk, main includes operation system The backup of system, running environment, installation software and configuration information etc., content is consistent with system disk, guarantees in back-up disk and system disk Content synchronization.
In an embodiment of the invention, the related data of current TMS system includes: network condition, the data of TMS system Library, film, advertisement.From the detailed process of external object position acquisition stamper mirror image in step S2 are as follows: under in specified link Carry stamper mirror image.
In order to more clearly illustrate technical solution of the present invention, the present invention is carried out specifically below in conjunction with practice It is bright.
A kind of method that reservation current business carries out remote upgrade is provided in the embodiment of the present invention, this method may include Following steps:
Step 1: by network condition, database, film, the advertisement etc. of TMS system current in system disk, application software and Software configuration, the data such as environment configurations are copied under a temp directory (abbreviation temporary catalogue) and are saved.
Step 2: downloading stamper mirror image from specified link, the stamper mirror image of downloading is equally saved in temporary catalogue In.
Step 3: formatting system disk, after the completion of formatting, the stamper mirror image that will be saved in temporary catalogue file File copy forms available, new TMS operating system into system disk in system disk.
Step 4: the information such as the TMS related data, application software and the environment configurations that save in temporary catalogue are extensive Again into system disk, by the configuration information recovery of each application software into application software, normally effectively run in guarantee new system While, retain old service.
Step 5: formatting back-up disk, after the completion of formatting, the stamper mirror image that will save in temporary catalogue file File copy forms available, new TMS operating system into back-up disk in back-up disk.
Step 6: the information such as the TMS related data, application software and the environment configurations that save in temporary catalogue are extensive It is multiple into back-up disk, by the configuration information recovery of each application software into application software, guarantee back-up disk with it is interior in system disk Hold and synchronizes.
Step 7: deleting temporary catalogue after upgrading.
Compared with the existing method for carrying out operating system update by the way that stamper to be inserted into server, the present invention can be real Existing two kinds of functionality advantages of remote upgrade and retained business.
Remote upgrade advantage: without carrying out the mailing of stamper and the work of original manually insertion stamper and upgrade-system Make, save the time and reduce fund cost, there is high efficiency, reliability, safety.
Retained business advantage: software and various configuration informations can not be retained relative to stamper inserted mode, the present invention is in reality Original service, including the industry such as original installation application and application configuration, environment configurations can be retained while existing upgrading operation system Business optimizes user experience.
A kind of device of reservation current business progress remote upgrade is provided in the embodiment of the present invention, which includes: standby Part module, download module, the first refitting module, the first reservation module and removing module, wherein
Backup module, for by data, the data of current application software and software configuration of TMS system current in system disk It copies under temp directory and is saved with the data of current operating environment configuration;
Download module for from external object position acquisition stamper mirror image, and the stamper mirror image of downloading is saved in above-mentioned In temp directory;
First refitting module, for formatting the system disk, after the completion of formatting, by what is saved in above-mentioned temp directory Stamper mirror-image copies are into the system disk;
First reservation module, for matching the data of the current TMS saved in temp directory, current application software and software The data for data and the current operating environment configuration set are restored in the system disk;
Removing module, for deleting temp directory.
As a further solution of the present invention: the device further include: the second refitting module and the second reservation module, wherein
Second refitting module, for formatting back-up disk, after the completion of formatting, the stamper that will be saved in the temp directory Mirror-image copies are into the back-up disk;
Second reservation module, for matching the data of the current TMS saved in temp directory, current application software and software The data for data and the current operating environment configuration set are restored in the back-up disk.
As a further solution of the present invention: the related data of current TMS system includes: the network condition of TMS system, number According to library, film, advertisement.
As a further solution of the present invention: download module is specifically used for downloading stamper mirror image from specified link, and The stamper mirror image of downloading is saved in above-mentioned temp directory.
The contents such as information exchange, the implementation procedure between each module in above-mentioned apparatus, due to implementing with the method for the present invention Example is based on same design, and for details, please refer to the description in the embodiment of the method for the present invention, and details are not described herein again.
It should be noted that, in this document, such as first and second etc relational terms are used merely to an entity Or operation is distinguished with another entity or operation, is existed without necessarily requiring or implying between these entities or operation Any actual relationship or order.Moreover, the terms "include", "comprise" or its any other variant be intended to it is non- It is exclusive to include, so that the process, method, article or equipment for including a series of elements not only includes those elements, It but also including other elements that are not explicitly listed, or further include solid by this process, method, article or equipment Some elements.In the absence of more restrictions, the element limited by sentence " including one ", is not arranged Except there is also other identical factors in the process, method, article or apparatus that includes the element.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can store in computer-readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light In the various media that can store program code such as disk.
Finally, it should be noted that the foregoing is merely presently preferred embodiments of the present invention, it is merely to illustrate skill of the invention Art scheme, is not intended to limit the scope of the present invention.Any modification for being made all within the spirits and principles of the present invention, Equivalent replacement, improvement etc., are included within the scope of protection of the present invention.

Claims (8)

1. a kind of method for retaining current business and carrying out remote upgrade, which is characterized in that this method comprises:
S1: by the data of TMS system current in system disk, the data and current operating environment of current application software and software configuration The data of configuration are copied under temp directory and are saved;
S2: it is saved in above-mentioned temp directory from external object position acquisition stamper mirror image, and by the stamper mirror image of downloading;
S3: formatting the system disk, after the completion of formatting, by the stamper mirror-image copies saved in above-mentioned temp directory described in In system disk;
S4: by the data of the current TMS saved in temp directory, the data of current application software and software configuration and current operation The data of environment configurations are restored in the system disk;
S5: temp directory is deleted.
2. it is according to claim 1 retain current business carry out remote upgrade method, which is characterized in that step S4 it Afterwards further include:
N1: back-up disk is formatted, after the completion of formatting, by the stamper mirror-image copies saved in the temp directory to the backup In disk;
N2: by the data of the current TMS saved in temp directory, the data of current application software and software configuration and current operation The data of environment configurations are restored in the back-up disk.
3. the method according to claim 1 for retaining current business and carrying out remote upgrade, which is characterized in that current TMS system The related data of system includes: the network condition of TMS system, database, film, advertisement.
4. it is according to claim 1 retain current business carry out remote upgrade method, which is characterized in that in step S2 from The detailed process of external object position acquisition stamper mirror image are as follows:
Stamper mirror image is downloaded from specified link.
5. a kind of device for retaining current business and carrying out remote upgrade, which is characterized in that the device includes: backup module, downloading Module, the first refitting module, the first reservation module and removing module, wherein
Backup module, for by the data of TMS system current in system disk, the data of current application software and software configuration and working as The data of preceding running environment configuration, which copy under temp directory, to be saved;
Download module for from external object position acquisition stamper mirror image, and the stamper mirror image of downloading is saved in above-mentioned interim In catalogue;
First refitting module, for formatting the system disk, after the completion of formatting, the stamper that will be saved in above-mentioned temp directory Mirror-image copies are into the system disk;
First reservation module, for by the data of the current TMS saved in temp directory, current application software and software configuration Data and the data of current operating environment configuration are restored in the system disk;
Removing module, for deleting temp directory.
6. the device according to claim 5 for retaining current business and carrying out remote upgrade, which is characterized in that the device also wraps It includes: the second refitting module and the second reservation module, wherein
Second refitting module, for formatting back-up disk, after the completion of formatting, the stamper mirror image that will be saved in the temp directory It copies in the back-up disk;
Second reservation module, for by the data of the current TMS saved in temp directory, current application software and software configuration Data and the data of current operating environment configuration are restored in the back-up disk.
7. the device according to claim 5 for retaining current business and carrying out remote upgrade, which is characterized in that current TMS system The related data of system includes: the network condition of TMS system, database, film, advertisement.
8. the device according to claim 5 for retaining current business and carrying out remote upgrade, which is characterized in that download module tool Body is used to download stamper mirror image from specified link, and the stamper mirror image of downloading is saved in above-mentioned temp directory.
CN201811224096.4A 2018-10-19 2018-10-19 A kind of method and apparatus for retaining current business and carrying out remote upgrade Pending CN109408075A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811224096.4A CN109408075A (en) 2018-10-19 2018-10-19 A kind of method and apparatus for retaining current business and carrying out remote upgrade

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811224096.4A CN109408075A (en) 2018-10-19 2018-10-19 A kind of method and apparatus for retaining current business and carrying out remote upgrade

Publications (1)

Publication Number Publication Date
CN109408075A true CN109408075A (en) 2019-03-01

Family

ID=65468660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811224096.4A Pending CN109408075A (en) 2018-10-19 2018-10-19 A kind of method and apparatus for retaining current business and carrying out remote upgrade

Country Status (1)

Country Link
CN (1) CN109408075A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770383A (en) * 2010-01-22 2010-07-07 中兴通讯股份有限公司 Method and device for on-line upgrade of cross-platform version
CN103186387A (en) * 2011-12-27 2013-07-03 宏碁股份有限公司 Electronic device and updating method for operating system thereof
CN103530150A (en) * 2013-10-10 2014-01-22 上海爱数软件有限公司 Remote updating method for Linux operating system
CN103870299A (en) * 2012-12-18 2014-06-18 比亚迪股份有限公司 Method for synchronously upgrading main chip mirror image and MODEM (modulator demodulator) chip mirror image
CN104133698A (en) * 2014-07-15 2014-11-05 中国电子科技集团公司第四十一研究所 Software on-line upgrading method of intelligent instrument
CN105893084A (en) * 2016-03-29 2016-08-24 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment
CN106293848A (en) * 2013-03-15 2017-01-04 青岛海信移动通信技术股份有限公司 A kind of method and device of system upgrade
US20170091033A1 (en) * 2015-09-24 2017-03-30 International Business Machines Corporation Considering object health of a multi-region object

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770383A (en) * 2010-01-22 2010-07-07 中兴通讯股份有限公司 Method and device for on-line upgrade of cross-platform version
CN103186387A (en) * 2011-12-27 2013-07-03 宏碁股份有限公司 Electronic device and updating method for operating system thereof
CN103870299A (en) * 2012-12-18 2014-06-18 比亚迪股份有限公司 Method for synchronously upgrading main chip mirror image and MODEM (modulator demodulator) chip mirror image
CN106293848A (en) * 2013-03-15 2017-01-04 青岛海信移动通信技术股份有限公司 A kind of method and device of system upgrade
CN103530150A (en) * 2013-10-10 2014-01-22 上海爱数软件有限公司 Remote updating method for Linux operating system
CN104133698A (en) * 2014-07-15 2014-11-05 中国电子科技集团公司第四十一研究所 Software on-line upgrading method of intelligent instrument
US20170091033A1 (en) * 2015-09-24 2017-03-30 International Business Machines Corporation Considering object health of a multi-region object
CN105893084A (en) * 2016-03-29 2016-08-24 青岛海信移动通信技术股份有限公司 Version upgrading method and terminal equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张爱菊: "一种嵌入式POS机软件远程可靠性升级系统的设计", 《第八届全国测试学术会议》 *

Similar Documents

Publication Publication Date Title
CN107667351B (en) System and method for automatic cloud-based full data backup and restore on mobile devices
US8949183B2 (en) Continuous and asynchronous replication of a consistent dataset
US9235594B2 (en) Synchronizing updates across cluster filesystems
US8578203B2 (en) Providing a backup service from a remote backup data center to a computer through a network
CN101739314B (en) Method and system for updating ground base data storage of train running monitor
CN107608706A (en) A kind of application program automatic heating update method based on functional module
CN103473065A (en) Virtual machine creation method capable of rapidly restoring system disk
CN100556211C (en) A kind of upgrade method of mobile communication network management system
CN109857455A (en) Installation kit packaging method, system, equipment and storage medium
US20130339307A1 (en) Managing system image backup
US6941430B2 (en) Mirrored disk partition with disk partition modification contemporaneous with client application access
CN109408075A (en) A kind of method and apparatus for retaining current business and carrying out remote upgrade
KR101599471B1 (en) Apparatus, system, method and readable recording medium of managing a project file
US9454361B2 (en) System and method of merging of objects from different replicas
CN107391315A (en) A kind of method and device of standby system file
CN101925094A (en) Updating system and method for network element management system
CN105786650A (en) Data management method and device
CN114840232A (en) Method and device for upgrading application
CN113821249A (en) Project development configuration method and device, electronic equipment and readable storage medium
CN108664656B (en) Knowledge data automatic synchronization and input method, device, system, equipment and medium
CN105867961A (en) System upgrading and degrading method and device
CN110377586A (en) A kind of control method and data base management system of dependent data management
JP2003008573A (en) Network management terminal, communication system and method for backing up and restoring setting information
CN111404760B (en) Method for modifying configuration of cloud host online
US11295253B2 (en) Method and apparatus for asset management

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190301

RJ01 Rejection of invention patent application after publication