CN109614130A - A kind of cloud broadcast upgrade method and system with trial operation, self-check - Google Patents

A kind of cloud broadcast upgrade method and system with trial operation, self-check Download PDF

Info

Publication number
CN109614130A
CN109614130A CN201811514678.6A CN201811514678A CN109614130A CN 109614130 A CN109614130 A CN 109614130A CN 201811514678 A CN201811514678 A CN 201811514678A CN 109614130 A CN109614130 A CN 109614130A
Authority
CN
China
Prior art keywords
upgrade
trial operation
reset
trial
file
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
CN201811514678.6A
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.)
Hunan Kang Tong Electronic Ltd By Share Ltd
Original Assignee
Hunan Kang Tong Electronic Ltd By Share 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 Hunan Kang Tong Electronic Ltd By Share Ltd filed Critical Hunan Kang Tong Electronic Ltd By Share Ltd
Priority to CN201811514678.6A priority Critical patent/CN109614130A/en
Publication of CN109614130A publication Critical patent/CN109614130A/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/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1433Saving, restoring, recovering or retrying at system level during software upgrading

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a kind of, and the cloud with trial operation, self-check broadcasts upgrade method, and system upgrade file is downloaded from cloud according to the upgrade request and upgrade area is written by the upgrade request for obtaining cloud broadcast;The system upgrade file integrality of downloading is examined, and upgrading mark is arranged to the system upgrade file;Indicated according to the upgrading, from the system upgrade file restarting systems of the upgrade area, and test run line flag is arranged to the secondary starting state, start house dog monitoring system operation simultaneously, if each function initialization of the system of trial operation is normal, system trial run mark is denoted as trial operation Success Flag, if one of each function of the system of trial operation or a variety of initialization exceptions, system trial run mark is denoted as trial operation failure flags, according to the test run line flag, trial operation Success Flag and trial operation failure flags, judging the system upgrade file, whether trial operation is successful, according to result of trial operation, to execute upgrading or go back original system.

Description

A kind of cloud broadcast upgrade method and system with trial operation, self-check
Technical field
The present invention relates to the aerial upgrade technologies of field of computer technology, more particularly to one kind to have trial operation, self-check Cloud broadcast upgrade method and system.
Background technique
In the prior art, the system upgrade request of new version is received;It requests to generate using the system upgrade of the new version Version updating activation signal;The system of electronic equipment is based on the upgrade signal and executes system internal program manifolding program, with the new edition This system program replaces the old program in system;And start new procedures.Specifically, there are the following problems: simple Escalation target selection: only escalation target is given to an address area in the system version upgrade method of the prior art, every time All can only point-to-point mode carry out data exchange;Simple program upgrading processing: existing system version upgrade method, be all by The new version system that downloading comes, simply covers old system file.Old software function is not backed up, i.e., when new software upgrading fails Afterwards, the program of original version cannot be restored.The error handling processing mechanism of stem version data transmission is not carried out;It can not region liter Grade: the prior art is all the upgrading of entire program, not individually to the function of some zone procedures upgrading.
In addition, software needs first to wipe the data in flash storage unit in software upgrade process, it then will upgrading File re-writes flash storage unit, in case of equipment accident power-off or brushing into third in the operation implementation procedure There are problems for method, system, and the data that will lead in flash storage unit are illegal, if when equipment next time is switched on from flash Illegal region starting, will lead to system in case of system halt, equipment can not work normally again.In order to avoid crashing in escalation process, and lead Cause needs to repair equipment, and many manufacturers do not provide software upgrade service;In addition, a small number of provide the factory of software upgrade service In order to avoid system in case of system halt, universal solution is to be further added by one piece of flash storage unit in the electronic device to back up for family Program can be standby from other one piece if the data detected in one of flash storage unit are destroyed after device power Part flash storage unit starting, but in addition this mode is due to increasing one piece of flash storage unit needs additional hard Part cost.
When system needs to upgrade, if there are problems for upgraded version, it will cause new engine that can not start, and cause to set It is standby must technical staff's manual intervention could restore original system or upgrade new system.Therefore, in the system version to electronic equipment When this is upgraded, needs one kind to can be avoided operation damage program and bring harm to system, and have easy to operate, safety can It leans on, convenient for a kind of method for upgrading system and device of large-scale use in production.
Summary of the invention
In view of this, the main purpose of the present invention is to provide one kind to carry out aerial upgrade to upgrade-system file, And a kind of upgrade method and system for avoiding the upgrade information of mistake from influencing electronic equipment.
The present invention is directed at least solve one of the technical problems existing in the prior art.For this purpose, open a kind of with test run It goes, the cloud of self-check broadcasts upgrade method, which is characterized in that this method comprises: the upgrade request of cloud broadcast is obtained, according to described System upgrade file is downloaded from cloud and upgrade area is written by upgrade request;Examine the system upgrade file of downloading complete Whole property, and upgrading mark is arranged to the system upgrade file;Indicated according to the upgrading, from the system upgrade of the upgrade area File restarting systems, and test run line flag is arranged to the secondary starting state, while starting house dog monitoring system operation, if Each function initialization of the system of trial operation is normal, and system trial run mark is denoted as trial operation Success Flag, if trial operation System trial run mark is denoted as trial operation failure flags by one of each function of system or a variety of initialization exceptions, according to The test run line flag, trial operation Success Flag and trial operation failure flags, judge the system upgrade file whether trial operation Success, according to result of trial operation, to execute upgrading or go back original system.
Preferably, described to judge whether trial operation successfully, further comprises system upgrade file: if judging system upgrade text When part is trial operation failure, judge whether system can normally restart, if system can normally restart, electronic equipment is literary from system Part storage area normally starts original system, if judgement system can not normally start, house dog can be when reaching preset condition to system Reboot operation is carried out, after system reboot, electronic equipment normally starts original system from system file storage area.
Preferably, when system trial run mark is denoted as trial operation Success Flag, house dog setting is carried out to reset weight It opens.
Preferably, described while starting house dog monitoring system operation, further comprise: the house dog being carried out initial Change;House dog execution system reset is restarted and system upgrade exception information writing function, guards the gate when there is reset Restart Signal to enter When controller is restarted in dog reset, reset restarts controller generation reset and restarts interrupt signal to processor, and it is fixed that opening reset is restarted When device;Processor, which calls to reset, restarts interrupt service routine, and interrupt type mark is restarted in reset and some other reset is restarted Information and abnormal log are stored in the relative data area of storage equipment;It calls to reset and restarts interrupt processing function, execute record Exception information saves information data and stops the safeguard measure of storage equipment operation;Interrupt processing function is restarted in judgement reset is No calling is finished, and is finished if do not called, continues to call;Reset is restarted timer timing and is arrived, and resets Restart controller output and reset Restart Signal, promotes processor and relevant device to complete reset and restart function.
Preferably, the upgrade area and system file storage area can make the mode of subregion or make file Mode system file is stored.
The invention also discloses a kind of, and the cloud with trial operation, self-check broadcasts upgrade-system, which is characterized in that the system It include: electronic equipment, the upgrade request for obtaining cloud broadcast will be after the electronic equipment is according to the upgrade request Upgrade area is downloaded from cloud and be written to system upgrade file, examines the system upgrade file integrality of downloading, and be to this Upgrade file setting upgrading of uniting indicates;System trial run initialization module, for being marked in the electronic equipment according to the upgrading Test run line flag is arranged from the system upgrade file start system of the upgrade area, and to the secondary starting state in will;Reset mould Block starts house dog monitoring system operation when starting state is set as test run line flag;System judgment module, if trial operation Each function initialization of system is normal, system trial run mark is denoted as trial operation Success Flag, if each function of the system of trial operation One of energy or a variety of initialization exceptions, are denoted as trial operation failure flags for system trial run mark, according to the test run Line flag, trial operation Success Flag and trial operation failure flags, judging the system upgrade file, whether trial operation is successful;System Selecting module, according to result of trial operation, to execute upgrading or go back original system.
Preferably, described to judge whether trial operation successfully, further comprises system upgrade file: if judging system upgrade text When part is trial operation failure, judge whether system can normally restart, if system can normally restart, electronic equipment is literary from system Part storage area normally starts original system, if judgement system can not normally start, house dog can be when reaching preset condition to system Reboot operation is carried out, after system reboot, electronic equipment normally starts original system from system file storage area.
Preferably, when system trial run mark is denoted as trial operation Success Flag, house dog setting is carried out to reset weight It opens.
Preferably, described while starting house dog monitoring system operation, further comprise: the house dog being carried out initial Change;House dog execution system reset is restarted and system upgrade exception information writing function, guards the gate when there is reset Restart Signal to enter When controller is restarted in dog reset, reset restarts controller generation reset and restarts interrupt signal to processor, and it is fixed that opening reset is restarted When device;Processor, which calls to reset, restarts interrupt service routine, and interrupt type mark is restarted in reset and some other reset is restarted Information and abnormal log are stored in the relative data area of storage equipment;It calls to reset and restarts interrupt processing function, execute record Exception information saves information data and stops the safeguard measure of storage equipment operation;Interrupt processing function is restarted in judgement reset is No calling is finished, and is finished if do not called, continues to call;Reset is restarted timer timing and is arrived, and resets Restart controller output and reset Restart Signal, promotes processor and relevant device to complete reset and restart function.
Preferably, the upgrade area and system file storage area can make the mode of subregion or make file Mode system file is stored.
The present invention further discloses a kind of electronic equipment characterized by comprising processor;And memory, it uses In the executable instruction for storing the processor;Wherein, the processor is configured to hold via the executable instruction is executed The above-mentioned cloud with trial operation, self-check of row broadcasts upgrade method.
The present invention further discloses a kind of computer readable storage mediums, are stored thereon with computer program, feature It is, the computer program realizes the above-mentioned cloud broadcast upgrade method with trial operation, self-check when being executed by processor.
Detailed description of the invention
From following description with reference to the accompanying drawings it will be further appreciated that the present invention.Component in figure is not drawn necessarily to scale, But it focuses on and shows in the principle of embodiment.In the figure in different views, identical appended drawing reference is specified to be corresponded to Part.
A kind of Fig. 1 structure chart of the cloud broadcast upgrade method with trial operation, self-check that has been of the invention.
Fig. 2 is a kind of module map of cloud broadcast upgrade-system with trial operation, self-check of the invention.
Specific embodiment
Embodiment one
A kind of structure chart of cloud broadcast upgrade method with trial operation, self-check of the invention shown in FIG. 1, specifically such as Shown in Fig. 1, a kind of cloud broadcast upgrade method with trial operation, self-check, which is characterized in that this method comprises: it is wide to obtain cloud System upgrade file is downloaded from cloud according to the upgrade request and upgrade area is written by the upgrade request broadcast;Examine downloading The system upgrade file integrality, and to the system upgrade file be arranged upgrading mark;Indicated according to the upgrading, from institute The system upgrade file restarting systems of upgrade area are stated, and test run line flag is arranged to the secondary starting state, are started simultaneously House dog monitors system operation, if each function initialization of the system of trial operation is normal, system trial run mark is denoted as test run Row Success Flag, if one of each function of the system of trial operation or a variety of initialization exceptions, system trial run mark is indicated The system is judged according to the test run line flag, trial operation Success Flag and trial operation failure flags for trial operation failure flags Whether trial operation is successful for upgrade file of uniting, according to result of trial operation, to execute upgrading or go back original system.
Preferably, described to judge whether trial operation successfully, further comprises system upgrade file: if judging system upgrade text When part is trial operation failure, judge whether system can normally restart, if system can normally restart, electronic equipment is literary from system Part storage area normally starts original system, if judgement system can not normally start, house dog can be when reaching preset condition to system Reboot operation is carried out, after system reboot, electronic equipment normally starts original system from system file storage area.
Preferably, when system trial run mark is denoted as trial operation Success Flag, house dog setting is carried out to reset weight It opens.
Preferably, described while starting house dog monitoring system operation, further comprise: the house dog being carried out initial Change;House dog execution system reset is restarted and system upgrade exception information writing function, guards the gate when there is reset Restart Signal to enter When controller is restarted in dog reset, reset restarts controller generation reset and restarts interrupt signal to processor, and it is fixed that opening reset is restarted When device;Processor, which calls to reset, restarts interrupt service routine, and interrupt type mark is restarted in reset and some other reset is restarted Information and abnormal log are stored in the relative data area of storage equipment;It calls to reset and restarts interrupt processing function, execute record Exception information saves information data and stops the safeguard measure of storage equipment operation;Interrupt processing function is restarted in judgement reset is No calling is finished, and is finished if do not called, continues to call;Reset is restarted timer timing and is arrived, and resets Restart controller output and reset Restart Signal, promotes processor and relevant device to complete reset and restart function.
Preferably, the upgrade area and system file storage area can make the mode of subregion or make file Mode system file is stored.
In this embodiment, 2 regions are set by system partitioning, one is system upgrade document storage area domain, one It is system file storage area, when electronic equipment receives system upgrade packet, system upgrade packet is stored in system upgrade text Part storage area, i.e., be written upgrade area for system upgrade file, and electronic equipment restarting systems start system from upgrade area Whether system, initialize normally, such as whether the hardware of system can work normally according to each functional module of system, setting examination Success Flag is run, if trial operation is successful, the system upgrade packet in system upgrade document storage area domain is upgraded into system text The upgrading of electronic equipment is completed in part storage area, if trial operation has failed, goes back original system, to system file storage area Interior system upgrade packet carries out the operation such as deleting, in this embodiment it is possible to which the BIOS file of system can recorde trial operation mistake The title and feature of the system upgrade packet lost, later again upgrade-system when, to the system upgrade Bao Xuan of same title and feature It selects and does not execute updating operation.
It can be seen that carry out system upgrade to electronic equipment by the upgrade method of embodiment one, when upgrading, increases one Trial operation upgrade file is walked, the ability upgrade-system only in the successful situation of upgrade file trial operation eliminates upgrade procedure not The problem of energy operation, equipment becomes brick, meanwhile, two regions are mutually backups, and solve a district system file corruption, Wu Faqi Dynamic problem.
Embodiment two
System module figure as shown in Figure 2, embodiment two disclose a kind of cloud broadcast upgrading side with trial operation, self-check Method, which is characterized in that this method comprises: the upgrade request of cloud broadcast is obtained, according to the upgrade request, by system upgrade file It is downloaded from cloud and upgrade area is written;The system upgrade file integrality of downloading is examined, and to the system upgrade file Setting upgrading mark;Indicated according to the upgrading, from the system upgrade file restarting systems of the upgrade area, and to this Test run line flag is arranged in secondary starting state, while starting house dog monitoring system operation, if each function of the system of trial operation is initial Change normally, system trial run mark is denoted as trial operation Success Flag, if one of each function of the system of trial operation or more Kind of initialization exception, is denoted as trial operation failure flags for system trial run mark, according to the test run line flag, trial operation at Function mark and trial operation failure flags, judging the system upgrade file, whether trial operation is successful, according to result of trial operation, to hold Original system is gone back in row upgrading.
Preferably, described to judge whether trial operation successfully, further comprises system upgrade file: if judging system upgrade text When part is trial operation failure, judge whether system can normally restart, if system can normally restart, electronic equipment is literary from system Part storage area normally starts original system, if judgement system can not normally start, house dog can be when reaching preset condition to system Reboot operation is carried out, after system reboot, electronic equipment normally starts original system from system file storage area.
Preferably, when system trial run mark is denoted as trial operation Success Flag, house dog setting is carried out to reset weight It opens.
Preferably, described while starting house dog monitoring system operation, further comprise: the house dog being carried out initial Change;House dog execution system reset is restarted and system upgrade exception information writing function, guards the gate when there is reset Restart Signal to enter When controller is restarted in dog reset, reset restarts controller generation reset and restarts interrupt signal to processor, and it is fixed that opening reset is restarted When device;Processor, which calls to reset, restarts interrupt service routine, and interrupt type mark is restarted in reset and some other reset is restarted Information and abnormal log are stored in the relative data area of storage equipment;It calls to reset and restarts interrupt processing function, execute record Exception information saves information data and stops the safeguard measure of storage equipment operation;Interrupt processing function is restarted in judgement reset is No calling is finished, and is finished if do not called, continues to call;Reset is restarted timer timing and is arrived, and resets Restart controller output and reset Restart Signal, promotes processor and relevant device to complete reset and restart function.
Preferably, the upgrade area and system file storage area can make the mode of subregion or make file Mode system file is stored.
Embodiment two essentially discloses a kind of cloud broadcast upgrade-system with trial operation, self-check, which is characterized in that electricity Sub- equipment, for obtaining the upgrade request of cloud broadcast, after the electronic equipment is according to the upgrade request, by system upgrade text Upgrade area is downloaded from cloud and be written to part, examines the system upgrade file integrality of downloading, and to system upgrade text Part setting upgrading mark;System trial run initialization module, for being indicated in the electronic equipment according to the upgrading, from described The system upgrade file start system of upgrade area, and test run line flag is arranged to the secondary starting state;Reseting module is starting State is set as starting house dog monitoring system operation when test run line flag;System judgment module, if each function of the system of trial operation It can initialize normally, system trial run mark is denoted as trial operation Success Flag, if one in each function of the system of trial operation Kind or a variety of initialization exceptions, are denoted as trial operation failure flags for system trial run mark, according to the test run line flag, examination Success Flag and trial operation failure flags are run, judging the system upgrade file, whether trial operation is successful;Systematic selection module, According to result of trial operation, to execute upgrading or go back original system.
Preferably, described to judge whether trial operation successfully, further comprises system upgrade file: if judging system upgrade text When part is trial operation failure, judge whether system can normally restart, if system can normally restart, electronic equipment is literary from system Part storage area normally starts original system, if judgement system can not normally start, house dog can be when reaching preset condition to system Reboot operation is carried out, after system reboot, electronic equipment normally starts original system from system file storage area.
Preferably, when system trial run mark is denoted as trial operation Success Flag, house dog setting is carried out to reset weight It opens.
Preferably, described while starting house dog monitoring system operation, further comprise: the house dog being carried out initial Change;House dog execution system reset is restarted and system upgrade exception information writing function, guards the gate when there is reset Restart Signal to enter When controller is restarted in dog reset, reset restarts controller generation reset and restarts interrupt signal to processor, and it is fixed that opening reset is restarted When device;Processor, which calls to reset, restarts interrupt service routine, and interrupt type mark is restarted in reset and some other reset is restarted Information and abnormal log are stored in the relative data area of storage equipment;It calls to reset and restarts interrupt processing function, execute record Exception information saves information data and stops the safeguard measure of storage equipment operation;Interrupt processing function is restarted in judgement reset is No calling is finished, and is finished if do not called, continues to call;Reset is restarted timer timing and is arrived, and resets Restart controller output and reset Restart Signal, promotes processor and relevant device to complete reset and restart function.
Preferably, the upgrade area and system file storage area can make the mode of subregion or make file Mode system file is stored.
The present embodiment further discloses a kind of electronic equipment characterized by comprising processor;And memory, For storing the executable instruction of the processor;Wherein, the processor is configured to next via the executable instruction is executed Execute the above-mentioned cloud broadcast upgrade method with trial operation, self-check.
The present embodiment further discloses a kind of computer readable storage medium, is stored thereon with computer program, special Sign is that the computer program realizes the above-mentioned cloud broadcast upgrading side with trial operation, self-check when being executed by processor Method.
In the present embodiment, a kind of upgrade-system is provided, the trial operation of the increase system, self-check system normal operation And then upgrade-system;Increase house dog simultaneously to ensure that system is unable to run and can also check, effectively prevents upgrading defect system The case where system.
In the present embodiment, additional design has been carried out to house dog, for example, house dog hardware and CPU are respectively to difference Register write-in status information simultaneously intersects the status information that reading other side writes register, to start handshake procedure, into normal work Operation mode;House dog and CPU regularly update both sides' register respectively in the normal mode of operation, and carry out cross monitoring other side and write The renewal process of register, when discovery, another party does not update the register of write-in, then resets to another party.It can be by pure What hardware, pure software or hardware and software be combined with each other, which power on, shakes hands and monitor mode, can answer mutually after system goes out exception Position other side.Equipment system can also be improved at the same time using the function of realizing software reset in the case where external hard reset chip System reliability of operation, realizes system foolproof function, prevents electronic equipment from becoming brick.
It should also be noted that, the terms "include", "comprise" or its any other variant are intended to nonexcludability It include so that the process, method, commodity or the equipment that include a series of elements not only include those elements, but also to wrap Include other elements that are not explicitly listed, or further include for this process, method, commodity or equipment intrinsic want Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including described want There is also other identical elements in the process, method of element, commodity or equipment.
It will be understood by those skilled in the art that embodiments herein can provide as method, system or computer program product. Therefore, complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in the application Form.It is deposited moreover, the application can be used to can be used in the computer that one or more wherein includes computer usable program code The shape for the computer program product implemented on storage media (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) Formula.
Although describing the present invention by reference to various embodiments above, but it is to be understood that of the invention not departing from In the case where range, many changes and modifications can be carried out.Therefore, be intended to foregoing detailed description be considered as it is illustrative and It is unrestricted, and it is to be understood that following following claims (including all equivalents) is intended to limit spirit and model of the invention It encloses.The above embodiment is interpreted as being merely to illustrate the present invention rather than limit the scope of the invention.It is reading After the content of record of the invention, technical staff can be made various changes or modifications the present invention, these equivalence changes and Modification equally falls into the scope of the claims in the present invention.

Claims (12)

1. a kind of cloud with trial operation, self-check broadcasts upgrade method, which is characterized in that this method comprises: obtaining cloud broadcast Upgrade request system upgrade file is downloaded from cloud and upgrade area is written according to the upgrade request;Examine downloading The system upgrade file integrality, and upgrading mark is arranged to the system upgrade file;Indicated according to the upgrading, from described The system upgrade file restarting systems of upgrade area, and test run line flag is arranged to the secondary starting state, while starting is seen System trial run mark is denoted as trial operation if each function initialization of the system of trial operation is normal by door dog monitoring system operation Success Flag, if one of each function of the system of trial operation or a variety of initialization exceptions, system trial run mark is denoted as Trial operation failure flags judge the system according to the test run line flag, trial operation Success Flag and trial operation failure flags Whether trial operation is successful for upgrade file, according to result of trial operation, to execute upgrading or go back original system.
2. a kind of cloud with trial operation, self-check as described in claim 1 broadcasts upgrade method, which is characterized in that described Judging system upgrade file, whether trial operation is successful, further comprises: if judge that system upgrade file is trial operation failure, sentencing Whether disconnected system can normally restart, if system can normally restart, electronic equipment normally starts from system file storage area Original system, if judgement system can not normally start, house dog can carry out reboot operation to system when reaching preset condition, in system After restarting, electronic equipment normally starts original system from system file storage area.
3. a kind of cloud with trial operation, self-check as claimed in claim 2 broadcasts upgrade method, which is characterized in that when being When system test run line flag is denoted as trial operation Success Flag, house dog setting reset and is restarted.
4. a kind of cloud with trial operation, self-check as claimed in claim 3 broadcasts upgrade method, which is characterized in that described Start house dog monitoring system operation simultaneously, further comprises: the house dog is initialized;It is multiple that house dog executes system Position is restarted and system upgrade exception information writing function, when have reset Restart Signal and enter watchdog reset and restart controller when, Reset restarts controller generation reset and restarts interrupt signal to processor, opens to reset and restarts timer;Processor, which calls, to be resetted Restart interrupt service routine, interrupt type mark and some other reset restarting information are restarted in reset and abnormal log is stored in In the relative data area for storing equipment;It calls to reset and restarts interrupt processing function, execute recording exceptional information, save information data With the safeguard measure for stopping storage equipment operation;Judge to reset to restart interrupt processing function and whether call to be finished, if do not had There is calling to be finished, then continues to call;Reset is restarted timer timing and is arrived, and reset, which is restarted controller output and resetted, restarts Signal promotes processor and relevant device to complete reset and restarts function.
5. a kind of cloud with trial operation, self-check as claimed in claim 4 broadcasts upgrade method, which is characterized in that described Upgrade area and system file storage area can make the mode of subregion or carry out the mode of file to system file Storage.
6. a kind of cloud with trial operation, self-check broadcasts upgrade-system, which is characterized in that the system includes: electronic equipment, is used In the upgrade request for obtaining cloud broadcast, after the electronic equipment is according to the upgrade request, by system upgrade file from cloud Upgrade area is downloaded and be written, examines the system upgrade file integrality of downloading, and be arranged to the system upgrade file and rise Grade mark;System trial run initialization module, for being indicated in the electronic equipment according to the upgrading, from the upgrade area System upgrade file start system, and test run line flag is arranged to the secondary starting state;Reseting module is arranged in starting state System operation is monitored to start house dog when test run line flag;System judgment module, if each function initialization of the system of trial operation Normally, system trial run mark is denoted as trial operation Success Flag, if one of each function of the system of trial operation or a variety of System trial run mark is denoted as trial operation failure flags by initialization exception, according to the test run line flag, trial operation success Mark and trial operation failure flags, judging the system upgrade file, whether trial operation is successful;Systematic selection module, according to test run Row is as a result, to execute upgrading or go back original system.
7. a kind of cloud with trial operation, self-check as claimed in claim 6 broadcasts upgrade-system, which is characterized in that described Judging system upgrade file, whether trial operation is successful, further comprises: if judge that system upgrade file is trial operation failure, sentencing Whether disconnected system can normally restart, if system can normally restart, electronic equipment normally starts from system file storage area Original system, if judgement system can not normally start, house dog can carry out reboot operation to system when reaching preset condition, in system After restarting, electronic equipment normally starts original system from system file storage area.
8. a kind of cloud with trial operation, self-check as claimed in claim 7 broadcasts upgrade-system, which is characterized in that when being When system test run line flag is denoted as trial operation Success Flag, house dog setting reset and is restarted.
9. a kind of cloud with trial operation, self-check as claimed in claim 8 broadcasts upgrade-system, which is characterized in that described Start house dog monitoring system operation simultaneously, further comprises: the house dog is initialized;It is multiple that house dog executes system Position is restarted and system upgrade exception information writing function, when have reset Restart Signal and enter watchdog reset and restart controller when, Reset restarts controller generation reset and restarts interrupt signal to processor, opens to reset and restarts timer;Processor, which calls, to be resetted Restart interrupt service routine, interrupt type mark and some other reset restarting information are restarted in reset and abnormal log is stored in In the relative data area for storing equipment;It calls to reset and restarts interrupt processing function, execute recording exceptional information, save information data With the safeguard measure for stopping storage equipment operation;Judge to reset to restart interrupt processing function and whether call to be finished, if do not had There is calling to be finished, then continues to call;Reset is restarted timer timing and is arrived, and reset, which is restarted controller output and resetted, restarts Signal promotes processor and relevant device to complete reset and restarts function.
10. a kind of cloud with trial operation, self-check as claimed in claim 9 broadcasts upgrade-system, which is characterized in that described Upgrade area and system file storage area can make the mode of subregion or carry out the mode of file to system file Storage.
11. a kind of electronic equipment characterized by comprising
Processor;And
Memory, for storing the executable instruction of the processor;
Wherein, the processor is configured to require 1-5 described in any item via executing the executable instruction and carry out perform claim Cloud with trial operation, self-check broadcasts upgrade method.
12. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Realize that the described in any item clouds with trial operation, self-check of claim 1-5 broadcast upgrade method when being executed by processor.
CN201811514678.6A 2018-12-12 2018-12-12 A kind of cloud broadcast upgrade method and system with trial operation, self-check Pending CN109614130A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811514678.6A CN109614130A (en) 2018-12-12 2018-12-12 A kind of cloud broadcast upgrade method and system with trial operation, self-check

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811514678.6A CN109614130A (en) 2018-12-12 2018-12-12 A kind of cloud broadcast upgrade method and system with trial operation, self-check

Publications (1)

Publication Number Publication Date
CN109614130A true CN109614130A (en) 2019-04-12

Family

ID=66008876

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811514678.6A Pending CN109614130A (en) 2018-12-12 2018-12-12 A kind of cloud broadcast upgrade method and system with trial operation, self-check

Country Status (1)

Country Link
CN (1) CN109614130A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110458989A (en) * 2019-08-19 2019-11-15 深圳坚朗海贝斯智能科技有限公司 Support the intelligent lock system of masterslave switchover and the starting method of masterslave switchover
CN110929262A (en) * 2019-11-20 2020-03-27 上海钧正网络科技有限公司 Online upgrading method and system
CN112527342A (en) * 2020-09-23 2021-03-19 深圳市银星智能科技股份有限公司 Method, device and equipment for upgrading application-programmable IAP (inter-Integrated Access Point) firmware
WO2021096761A1 (en) * 2019-11-15 2021-05-20 Microsoft Technology Licensing, Llc Supervised reimaging of vulnerable computing devices with prioritization, auto healing, and pattern detection
CN113297011A (en) * 2021-06-09 2021-08-24 北京经纬恒润科技股份有限公司 Self-recovery method and system for master-slave MCU upgrading failure
CN113703801A (en) * 2021-07-14 2021-11-26 深圳市有为信息技术发展有限公司 Vehicle-mounted terminal firmware upgrading method and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042651A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Software updating method and system thereof
CN101165630A (en) * 2006-10-19 2008-04-23 中兴通讯股份有限公司 Combined type reset system processing method and device
KR20110002516A (en) * 2009-07-02 2011-01-10 (주)세븐코아 System and method for upgrading program in terminal with dynamic software upgrade technology
CN102761439A (en) * 2012-06-13 2012-10-31 烽火通信科技股份有限公司 Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system
CN107168734A (en) * 2017-04-27 2017-09-15 纳瓦电子(上海)有限公司 A kind of embedded system upgrading backup method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101042651A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Software updating method and system thereof
CN101165630A (en) * 2006-10-19 2008-04-23 中兴通讯股份有限公司 Combined type reset system processing method and device
KR20110002516A (en) * 2009-07-02 2011-01-10 (주)세븐코아 System and method for upgrading program in terminal with dynamic software upgrade technology
CN102761439A (en) * 2012-06-13 2012-10-31 烽火通信科技股份有限公司 Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system
CN107168734A (en) * 2017-04-27 2017-09-15 纳瓦电子(上海)有限公司 A kind of embedded system upgrading backup method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110458989A (en) * 2019-08-19 2019-11-15 深圳坚朗海贝斯智能科技有限公司 Support the intelligent lock system of masterslave switchover and the starting method of masterslave switchover
WO2021096761A1 (en) * 2019-11-15 2021-05-20 Microsoft Technology Licensing, Llc Supervised reimaging of vulnerable computing devices with prioritization, auto healing, and pattern detection
CN110929262A (en) * 2019-11-20 2020-03-27 上海钧正网络科技有限公司 Online upgrading method and system
CN112527342A (en) * 2020-09-23 2021-03-19 深圳市银星智能科技股份有限公司 Method, device and equipment for upgrading application-programmable IAP (inter-Integrated Access Point) firmware
CN113297011A (en) * 2021-06-09 2021-08-24 北京经纬恒润科技股份有限公司 Self-recovery method and system for master-slave MCU upgrading failure
CN113297011B (en) * 2021-06-09 2024-04-12 北京经纬恒润科技股份有限公司 Master-slave MCU upgrade failure self-recovery method and system
CN113703801A (en) * 2021-07-14 2021-11-26 深圳市有为信息技术发展有限公司 Vehicle-mounted terminal firmware upgrading method and electronic device

Similar Documents

Publication Publication Date Title
CN109614130A (en) A kind of cloud broadcast upgrade method and system with trial operation, self-check
TWI530790B (en) System boot code recovery method, computing system, and controller for use in a system
US7716520B2 (en) Multi-CPU computer and method of restarting system
US7877358B2 (en) Replacing system hardware
US9424022B2 (en) Method for updating firmware of an electronic device within a computer
US8245077B2 (en) Failover method and computer system
US8219851B2 (en) System RAS protection for UMA style memory
JP5183542B2 (en) Computer system and setting management method
JP2006527423A (en) Computer operation system repair method
TW201520895A (en) System and method for automatically recovering BIOS of a computer
US20080184023A1 (en) Computer platform boot block program corruption recovery handling method and system
JP2007122552A (en) Memory dumping method, computer system and program
CN104081311A (en) Apparatus and method for managing operation of a mobile device
US9250942B2 (en) Hardware emulation using on-the-fly virtualization
CN113032183A (en) System management method, device, computer equipment and storage medium
CN111984195A (en) Method and device for improving stability of embedded Linux system
US9195529B2 (en) Information processing apparatus and activation method
CN114385418A (en) Protection method, device, equipment and storage medium for communication equipment
TWI461905B (en) Computing device capable of remote crash recovery, method for remote crash recovery of computing device, and computer readable medium
CN102831032A (en) Repair system and method for master boot record of hard disc
JP2010198314A (en) Information management device
JP6911591B2 (en) Information processing device, control device and control method of information processing device
JP2011210117A (en) Pos terminal device and pos terminal control method
KR20140032071A (en) Apparatus and method for managing file system of a computing device
JP2004246621A (en) Information collecting program, information collecting device, and information collecting method

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: 20190412

RJ01 Rejection of invention patent application after publication