CN1797327A - Method for selecting software in multiple versions, and selection device - Google Patents

Method for selecting software in multiple versions, and selection device Download PDF

Info

Publication number
CN1797327A
CN1797327A CN 200410093287 CN200410093287A CN1797327A CN 1797327 A CN1797327 A CN 1797327A CN 200410093287 CN200410093287 CN 200410093287 CN 200410093287 A CN200410093287 A CN 200410093287A CN 1797327 A CN1797327 A CN 1797327A
Authority
CN
China
Prior art keywords
software
version
selection
once
memory storage
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
CN 200410093287
Other languages
Chinese (zh)
Other versions
CN100356320C (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.)
Nokia Shanghai Bell Co Ltd
Original Assignee
Alcatel Lucent Shanghai Bell 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 Alcatel Lucent Shanghai Bell Co Ltd filed Critical Alcatel Lucent Shanghai Bell Co Ltd
Priority to CNB2004100932873A priority Critical patent/CN100356320C/en
Publication of CN1797327A publication Critical patent/CN1797327A/en
Application granted granted Critical
Publication of CN100356320C publication Critical patent/CN100356320C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a method for selecting multi-version software in a computer system, comprising the steps of: judging if the previous operation of a software version succeeds; if the pervious software operation succeeds, selecting the software version as a current version for this operation and otherwise selecting lower version as a current version for this operation; and operating the current version and monitoring the operating condition, closing the monitoring as the current version succeeds in operating and stopping operating the current version as the current version fails in operating and starting up one selection of a new software version. The invention also provides a device for selecting multi-version software. The invention can implement automatic selection of multi-version software.

Description

Be used to select the method and the selection equipment of multiversion software
Technical field
The present invention relates generally to multiversion software, relates in particular in the system of the software with a plurality of versions, is used to select the method and the selection equipment of software version.
Background technology
For computer software,, often need software is made amendment and upgraded, thereby form new software in order to correct some mistake in the software, improve the performance of software or to satisfy the user to the needs that software uses.Usually this new software that forms of making amendment is called the upgraded version software or the highest version software of former software on former basis of software, and will be called lowest version software with respect to highest version software as the former software of revising the basis.According to the each software version of institute's foundation and number of times of modification revised, software can be divided into first published software, second edition software or the like.Former software is first published software, and the software after first revision on the first published basis of software is second edition software, and amended once more software is third edition software or the like on the second edition basis of software, and the like.
Because new highest version software usually directly is installed in the computer system that lowest version software has been installed, perhaps for the continuous firing of assurance system, with the reasons such as standby version of lowest version software as the highest version software of trial run, in a computer system, the phenomenon of the software coexistence of a plurality of versions appears sometimes.How thereby these softwares being selected the operation of beginning appropriate software, is the ubiquitous problem of computer system with multiversion software.
In the prior art, all be to adopt manual operations to select the appropriate software version from multiversion software, promptly the software by the suitable version of operator's start-up by hand carries out follow-up operation.This manual method and apparatus of software version of selecting has following two shortcomings: at first, the real supervision when needing the operator that computer system is carried out, so that when the running software fault, the running software of another version of start-up by hand; Secondly, the characteristics of start-up by hand make this task be difficult to carry out Long-distance Control.
Therefore, need a kind of operations of operators that do not rely on, just method and the selection equipment that can select multiversion software.
Summary of the invention
In order to address the above problem, the invention provides the method for the selection multiversion software in a kind of computer system, comprise the steps:
Determining step, once whether successful operation of the software version of operation before being used to judge;
Select step, be used for when before judging once the operation the software version successful operation time, the software version that once moves before the selection when once the operation of the software version of operation is failed before judging, is selected the current version of lower version as this operation as the current version of this operation; And
The operation monitoring step, the described current version that is used for operating software, and its ruuning situation monitored, when the running software success of current version, close supervision to the running software situation, when the failure of the running software of current version, the software of described current version out of service, and start the selection of once new software version.
The present invention also provides the selection equipment of the selection multiversion software in a kind of computer system, comprising:
The judgment processing device, be used for reading the relevant preceding once software version information of operation from memory storage, once whether successful operation of the software version of operation before the judgement, before the judgment processing device is judged once during the software version successful operation of operation, then from memory storage, read the current version of this software version, it is sent into the operation of running software device as this operation;
Memory storage is used to store the software and the software version information thereof of a plurality of versions, and software version information is stored the preceding once state of operation of the software correspondence of each version; And
The running software device is used to move the software of the current version that the judgment processing device sends into, and when the software successful operation of current version, with the success status information stores in the memory storage in the software version information corresponding with this software version; And when the failure of the running software of current version, the status of fail information stores in the software version information corresponding with this software version, is started another time selection that the judgment processing device begins software version in the memory storage afterwards.
Need not the automatic selection that manual operations can realize multiversion software according to multiversion software automatic selecting method of the present invention and equipment.Thereby solved the manual defective of selecting software version in the prior art, improved the efficient and the reliability of system.
By the content below in conjunction with the description of the drawings and claims, and along with understanding more comprehensively of the present invention, other purposes of the present invention and effect will become and know more and easy to understand.
Description of drawings
Fig. 1 is the synoptic diagram according to the method for selection multiversion software of the present invention; And
Fig. 2 is the synoptic diagram according to the selection equipment of selection multiversion software of the present invention.
Embodiment
Below will be described in detail preferred implementation of the present invention with reference to the accompanying drawings, in the accompanying drawings, identical label is represented same or analogous parts.
Fig. 1 is the synoptic diagram according to the method for selection multiversion software of the present invention.Referring to Fig. 1, the method according to this invention starts from step S101.In step S102, judge the whether successful operation of software version of the preceding once operation in nonvolatile memory, store.In the present embodiment, the nonvolatile memory of employing for example is highly dense flash card, flash chip or hard disk etc., even these storeies can guarantee also can not lose the data that are stored in wherein under the situation of outage.
When in step S102 through judging, preceding once when the software version of operation moves successfully, flow process then shown in Figure 1 enters step S103.In step S103, select the current version of previous version as this operation.Afterwards, flow process enters step S104.At step S104, start the running software supervisory programme.Afterwards, at step S105, the software of the current version that operation is selected.And, judge whether the running software of current version is successful at step S106.When judgement moves successfully, flow process shown in Figure 1 enters step S107.At step S107, close the running software supervisory programme.Then, flow process shown in Figure 1 ends at step S108.
When at step S106, when the running software through judging current version was unsuccessful, flow process shown in Figure 1 entered step S109.At step S109, stop the operation of current version software, restart the selection of software version next time.At this moment, flow process is returned step S102, carries out the judgement of step S102 again.
When at step S102, when once the software version of operation did not have successful operation before judging, flow process then shown in Figure 1 entered step S110.At step S110, judge whether to exist than the preceding once lower version of software version of operation.When having more lowest version through judgement, flow process shown in Figure 1 enters step S111.At step S111, the low one-level version of the software version that once moves before the selection is as the current version of this operation.Afterwards, flow process enters step S104, and continues to carry out above-mentioned steps S104 and follow-up operation, monitoring step.
When at step S110, when not having more lowest version through judging, flow process then shown in Figure 1 enters step S112.At step S112, start diagnostic software, determine whether computer system is normal.Afterwards, flow process ends at step S108.
By foregoing description as can be known, can finish the automatic selection of computer system, solve the manual defective of selecting software version in the prior art, improve the efficient and the reliability of system multiversion software by method of the present invention.
The present invention also provides a kind of selection equipment of selecting multiversion software.Fig. 2 is the synoptic diagram according to the selection equipment 200 of selection multiversion software of the present invention.
As shown in Figure 2, selection equipment 200 comprises judgment processing device 201, memory storage 202 and running software device 203.
Judgment processing device 201 reads the relevant preceding once software version information of operation from memory storage 202, once whether successful operation of the software version of operation before the judgement.Before judgment processing device 201 is judged, once during the software version successful operation of operation, then from memory storage 202, read the current version of this software version, it is sent into running software device 203 move as this operation.When the software successful operation in the running software device 203, running software device 203 is sent the information of software version successful operation into memory storage 202, by memory storage 202 with the successful sign of this version operation be stored in the corresponding software version information of the software of this version in.
When the running software of running software device 203 operations was failed, running software device 203 these software versions out of service sent the operation failure signals to memory storage 202 simultaneously.By memory storage 202 with the sign of this version operation failure be stored in the corresponding software version information of the software of this version in.Afterwards, running software device 203 sends to judgment processing device 201 and starts the signal that another time software version is selected, thereby makes the once new version selection operation of running software device 203 beginnings.
The relevant preceding once software version information of operation that reads from memory storage 202 when judgment processing device 201 shows, before software version when failure operation of operation once, then judgment processing device 201 retrieve from memory storage 202 and whether is had the lower version of software version that once moves than preceding.When not having lower software version by retrieval, judgment processing device 201 starts diagnostic routine whole computer system is diagnosed.When having lower software version by retrieval, judgment processing device 201 reads the low one-level version of the software version of last operation from memory storage 202, with its current version as this operation, send into running software device 202 and move, and carry out operations such as above-mentioned similar operation, information stores by running software device 203.
Among the present invention, memory storage 202 is for example to be nonvolatile memories such as highly dense flash card, flash chip or hard disk.
Selection equipment 200 according to the present invention has been realized the automatic selection of multiversion software.
According to method and the selection equipment that is used to select multiversion software of the present invention, the situation of the system software of a plurality of versions that are particularly useful for coexisting simultaneously in the computer system.Utilize method and the selection equipment that is used to select multiversion software of the present invention, computer system can be when each start-up system, automatically select to use optimal system software, the software of highest version makes when can't normally move, can automatically select system software restarting systems successively, for the normal operation of system with stablely provide a kind of reliable method and apparatus than lowest version.
Do not depart from the scope of the present invention and conceive, can make multiple change and distortion the present invention.The invention is not restricted to previous embodiment.Scope of the present invention is limited by appended claims.

Claims (9)

1. the method for the selection multiversion software in the computer system comprises the steps:
Determining step, once whether successful operation of the software version of operation before being used to judge;
Select step, be used for when before judging once the operation the software version successful operation time, the software version that once moves before the selection when once the operation of the software version of operation is failed before judging, is selected the current version of lower version as this operation as the current version of this operation; And
The operation monitoring step, the described current version that is used for operating software, and its ruuning situation monitored, when the running software success of current version, close supervision to the running software situation, when the failure of the running software of current version, the software of described current version out of service, and start the selection of once new software version.
2. the method for selection multiversion software according to claim 1, wherein said selection step comprises:
Judge a preceding running software situation step, once whether successful operation of the software version of operation before being used to judge;
Select last version step, be used for when before judging once the operation the software version successful operation time, before the selection once the operation software version be current version;
Judge the lowest version step, be used for when once the operation of the software version of operation is failed before judging, judging whether there is the more software of lowest version in the computer system;
The lowest version treatment step, be used for when when judging that there is the software of lowest version more in computer system, the low one-level version of the software version that once moves before the selection is as the current version of this operation, when when judging the software there is not lowest version more, the software of diagnosis version in the operation computer system.
3. the method for selection multiversion software according to claim 1, wherein said software are system software.
4. the method for selection multiversion software according to claim 3, in the wherein said operation monitoring step, when the system software operation failure of current version, the system software of described current version out of service, and restart the selection that computer system begins new system software release.
5. the selection equipment (200) of the selection multiversion software in the computer system comprises:
Judgment processing device (201), be used for reading the relevant preceding once software version information of operation from memory storage (202), once whether successful operation of the software version of operation before the judgement, before judgment processing device (201) is judged once during the software version successful operation of operation, then from memory storage (202), read the current version of this software version, it is sent into running software device (203) operation as this operation;
Memory storage (202) is used to store the software and the software version information thereof of a plurality of versions, and software version information is stored the preceding once state of operation of the software correspondence of each version; And
Running software device (203), be used to move the software of the current version that judgment processing device (201) sends into, and when the software successful operation of current version, the success status information stores is arrived in the software version information corresponding with this software version in the memory storage (202); And when the running software failure of current version, the status of fail information stores is arrived in the software version information corresponding with this software version in the memory storage (202), start another time selection of judgment processing device (201) beginning software version afterwards.
6. the selection equipment (200) of selection multiversion software according to claim 5, when wherein once the operation of the software version of operation is failed before described judgment processing device (201) is judged, then whether retrieval exists than the preceding once lower version of software version of operation from memory storage (202), when when there is lower version in judgement, the low one-level version of the software version that once moves before then reading from memory storage (202) is as the current version of this operation, it is sent into running software device (203) operation, when when there is not lower version in judgement, then from memory storage (202), reads the software of diagnosis version and send into running software device (203) operation.
7. the selection equipment (200) of selection multiversion software according to claim 6, wherein said software is system software.
8. the selection equipment (200) of selection multiversion software according to claim 7, also comprise monitoring arrangement (204), be used for after judgment processing device (201) reads the system software of current version from memory storage (202), start by judgment processing device (201), and after the running software failure of current version, another time selection that is used to restart judgment processing device (201) beginning system software release.
9. according to the selection equipment (200) of each described selection multiversion software of claim 5 to 8, described memory storage (202) is one of nonvolatile memories such as highly dense flash card, flash chip or hard disk.
CNB2004100932873A 2004-12-20 2004-12-20 Method for selecting software in multiple versions, and selection device Active CN100356320C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100932873A CN100356320C (en) 2004-12-20 2004-12-20 Method for selecting software in multiple versions, and selection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100932873A CN100356320C (en) 2004-12-20 2004-12-20 Method for selecting software in multiple versions, and selection device

Publications (2)

Publication Number Publication Date
CN1797327A true CN1797327A (en) 2006-07-05
CN100356320C CN100356320C (en) 2007-12-19

Family

ID=36818378

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100932873A Active CN100356320C (en) 2004-12-20 2004-12-20 Method for selecting software in multiple versions, and selection device

Country Status (1)

Country Link
CN (1) CN100356320C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010958B2 (en) 2006-08-11 2011-08-30 Sharp Kabushiki Kaisha Data processing apparatus, program managing apparatus, control program updating method, program managing method, program managing system, updating program, and recording medium
CN104156244A (en) * 2014-08-06 2014-11-19 北京奇虎科技有限公司 Method and device for software upgrading
CN105653328A (en) * 2015-12-29 2016-06-08 百度在线网络技术(北京)有限公司 Multi-version program coexistence method and apparatus for big memory service
CN106304282A (en) * 2015-05-14 2017-01-04 中兴通讯股份有限公司 A kind of communication equipment energy-saving method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6912711B1 (en) * 2000-05-25 2005-06-28 International Business Machines Corporation Method of applying an update to a contained collection of program and data files based upon versions
EP1356377A2 (en) * 2000-10-04 2003-10-29 Siemens Energy & Automation, Inc. Manufacturing system software version management
CN1332557A (en) * 2001-04-23 2002-01-23 倚天资讯股份有限公司 Remote control and radio transmission method of updating software
US7100032B2 (en) * 2002-06-28 2006-08-29 Intel Corporation Method and apparatus for identifying hardware compatibility and enabling stable software images
US7694277B2 (en) * 2003-05-14 2010-04-06 Microsoft Corporation Cross version customization of design environment

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8010958B2 (en) 2006-08-11 2011-08-30 Sharp Kabushiki Kaisha Data processing apparatus, program managing apparatus, control program updating method, program managing method, program managing system, updating program, and recording medium
CN104156244A (en) * 2014-08-06 2014-11-19 北京奇虎科技有限公司 Method and device for software upgrading
CN104156244B (en) * 2014-08-06 2018-09-04 北京奇虎科技有限公司 A kind of method and apparatus of software upgrading
CN106304282A (en) * 2015-05-14 2017-01-04 中兴通讯股份有限公司 A kind of communication equipment energy-saving method and device
CN106304282B (en) * 2015-05-14 2021-05-04 中兴通讯股份有限公司 Energy-saving method and device for communication equipment
CN105653328A (en) * 2015-12-29 2016-06-08 百度在线网络技术(北京)有限公司 Multi-version program coexistence method and apparatus for big memory service
CN105653328B (en) * 2015-12-29 2019-01-25 百度在线网络技术(北京)有限公司 The multi version program of big memory service and deposit method and apparatus

Also Published As

Publication number Publication date
CN100356320C (en) 2007-12-19

Similar Documents

Publication Publication Date Title
US6167338A (en) Method for storing and retrieving data in a control system, in particular in a motor vehicle
CN100456246C (en) Method and device for updating firmware program
CN1097225C (en) Method of updating program code for an optical disc drive microcontroller and an optical disc drive
US4491914A (en) Initial program load system
CN1178133C (en) Method for upgrading software under network environment and network apparatus for implementing upgrade
CN1466057A (en) Method for checking sofeware memory leak
US20040268039A1 (en) System and method for storing operational data of a storage automation device to a removable nonvolatile memory component
CN1684427A (en) Method for software upgrading and withdrawing
US6948059B1 (en) Component loader for industrial control device providing resource search capabilities
CN1277209C (en) Hard disk data controlling method
US5712967A (en) Method and system for graceful recovery from a fault in peripheral devices using a variety of bus structures
CN100395713C (en) Method of automatic repairing basic input output system element and module
CA2236170C (en) Fault data collection as part of computer unit restart
CN101051220A (en) Method for centralization of process sequence checking
CN106775674A (en) A kind of equipment and its startup method based on universal guiding loading procedure
CN1797327A (en) Method for selecting software in multiple versions, and selection device
CN112363909B (en) Automatic test method for reliability of file system in relay protection device
JP2868001B1 (en) Disk array device control method and disk array device
CN114546717A (en) Method and device for starting android intelligent terminal, intelligent terminal and storage medium
CN1567199A (en) Staggered form firmware upgrading method
CN1897515A (en) Method for assuring equipment software on-line downloading reliability
CN101158920B (en) Method and apparatus for detecting fault of operating system
CN1684043A (en) Real time monitoring system and method for computer files
CN113656358A (en) Database log file processing method and system
CN112559349A (en) Program running method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: SHANGHAI ALCATEL-LUCENT CO., LTD.

Free format text: FORMER NAME: BEIER AERKATE CO., LTD., SHANGHAI

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201206 Pudong Jinqiao Export Processing Zone, Nanjing Road, No. 388, Shanghai

Patentee after: Shanghai Alcatel-Lucent Co., Ltd.

Address before: 201206 Pudong Jinqiao Export Processing Zone, Nanjing Road, No. 388, Shanghai

Patentee before: Beier Aerkate Co., Ltd., Shanghai

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 201206 Pudong Jinqiao Export Processing Zone, Nanjing Road, No. 388, Shanghai

Patentee after: Shanghai NOKIA Baer Limited by Share Ltd

Address before: 201206 Pudong Jinqiao Export Processing Zone, Nanjing Road, No. 388, Shanghai

Patentee before: Shanghai Alcatel-Lucent Co., Ltd.