CN101159605B - Flow control method capable of implementing state memory and recovery - Google Patents
Flow control method capable of implementing state memory and recovery Download PDFInfo
- Publication number
- CN101159605B CN101159605B CN200710167338A CN200710167338A CN101159605B CN 101159605 B CN101159605 B CN 101159605B CN 200710167338 A CN200710167338 A CN 200710167338A CN 200710167338 A CN200710167338 A CN 200710167338A CN 101159605 B CN101159605 B CN 101159605B
- Authority
- CN
- China
- Prior art keywords
- file
- state
- flow
- upgrade
- upgrading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Stored Programmes (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
A flow control method is provided for implementing the state memory and recovery, which comprises the steps: (1) a user establishes an equipment upgrade task file while dividing the transaction into a plurality of processing procedures based on the transaction processing type of upgrade flow control, each processing procedure has several time sequences, each time sequence of the processing procedure is added with a mapping relationship between the time sequence and the state; (2) the equipment update operation is performed based on the equipment upgrade task file, and the operational state is solidified in real time during the flow operation process, to allow each time sequence to correspond to the related state; (3) if the flow is exited during the flow operation process, the correspondingly-stored state information can be found out by the time sequence of the exit and the state is recovered. The invention can reduce the workload of failure repair, realize the manual control of the flow operation effect, and can reduce the time of failure repair of automated flow control.
Description
Technical field
The present invention relates to automatic flow control field, relate in particular to a kind of flow control method of realizing state memorization and recovery.
Background technology
The control of current automatic flow generally is to be guaranteed by the flow process Control Software that runs on or several the computers.The method of current flow process control and treatment generally is: according to transaction type, be divided into several treatment steps to affairs, each treatment step can be divided into several sequential again, has strict dependence between the sequential and between the step.The method of this flow process control is widely used in industrial automation production and the office automation.
Yet this type of flow control method has some very big defectives:
1) if the variation that running environment takes place in the processing of flow process makes certain sequential can not produce correct result, then can make whole flow process be parked in the original place can't down move;
2) withdrawing from unusually appears in the flow process Control Software, perhaps moves the server outage or the deadlock of this software, then can make whole flow process be parked in the original place equally and can't continue operation.
When two kinds of situation in front or analogue occurring, the recovery of equipment and application state and function is wasted time and energy, and causes easily when carrying out batch processing that all that has been achieved is spoiled.
Simultaneously, existence at present need be to the cycle of operation the long and demand that needs the flow process of artificial monitoring to control, and the control of traditional flow process can only cooperate machine and can not make machine cooperate manpower through manpower, can not make the user satisfied.
Summary of the invention
The present invention provides a kind of flow control method of realizing state memorization and recovery, and whole flow process is parked in the problem that the original place can't continue to move when going wrong in the automatic flow control to solve.
In order to solve the problems of the technologies described above, the invention provides a kind of flow control method of realizing state memorization and recovery, it is characterized in that, comprise the steps:
(1) user's apparatus for establishing upgrading assignment file; This moment is according to the transaction type of upgrading flow process control; Be divided into several treatment steps to the affairs of said upgrading flow process control, each treatment step is divided into several sequential, in each sequential of said step, adds the mapping relations of sequential and state;
(2) carry out device upgrade according to said device upgrade assignment file, in the process flow operation process, solidify running status in real time, make each sequential all have relevant state corresponding;
(3) if in said process flow operation process, withdraw from flow process, then the sequential when withdrawing from finds its corresponding state information of preserving, and returns to the state when withdrawing from.
Further, said method also can have following characteristics: the situation that in said process flow operation process, withdraws from flow process comprises that equipment is carrying out in the batch plan escalation process manual work and closing upgrading, or computer circuit breaking, or software anomaly withdraws from.
Further, said method also can have following characteristics: in the step (1), said user's apparatus for establishing upgrading assignment file comprises the steps:
(a) user's apparatus for establishing file, said device file comprises the facility information that need upgrade;
(b) set up device file compressed package and the staging business logic-control file that needs upgrade according to the facility information of said device file then; Wherein, When setting up said staging business logic-control file, the transaction type according to the control of upgrading flow process is divided into several treatment steps to said affairs; Each treatment step is divided into several sequential, in each sequential of said step, adds the mapping relations of sequential and state;
(c) generate the device upgrade assignment file through parsing at last to said device file and staging business logic-control file.
Further, said method also can have following characteristics: in the step (a), said facility information comprises equipment Intranet IP, equipment outer net IP, device name and port.
Further, said method also can have following characteristics: in the step (b), said device file compressed package comprises the file that certain software upgrading need be upgraded on the equipment.
Further, said method also can have following characteristics: said device upgrade flow process is: backup, equipment are correlated with and device independent disposes, issues, upgrades, tests; Just carry out the next item down after each completion.
Further, said method also can have following characteristics: in the step (2), in the process flow operation process, solidify running status in real time, be kept in the said device upgrade assignment file.
Further, said method also can have following characteristics: in the step (3), return to the state when withdrawing from after, proceed device upgrade.
Flow control method of the present invention can be realized the real-time memory and the recovery of flow state.Even if in the flow processing process, be responsible for the processor outage of flow process control; But can make flow process return to state before the outage after starting rapidly through the state information of the flow process of solidifying; Thereby reduced the workload of fault restoration; Reach the effect of control flow operation artificially, and can reduce the fault modification time of automatic flow control.
Description of drawings
Fig. 1 is IPTV (Web TV) device upgrade grid sketch map;
Fig. 2 is the flow control method flow chart that application example of the present invention can be realized state memorization and recovery.
Embodiment
Below in conjunction with accompanying drawing and embodiment technical scheme according to the invention is described in detail.
As shown in Figure 1, IPTV device upgrade grid sketch map.Whole upgrade process by device upgrade client, upgrade server and need upgrading equipment (updating apparatus-1, updating apparatus-2 ..., updating apparatus-n) constitute.The device upgrade client is controlled the flow process of upgrading, and upgrade server is responsible for the transmission of upgrade file.Carry out alternately through message between updating client and the updating apparatus, carry out file transfer through FTP (File Transfer Protocol, FTP) between upgrade server and updating apparatus, the updating client.
As shown in Figure 2, application example of the present invention can be realized the flow control method flow process of state memorization and recovery, comprises the steps:
Step 204 is carried out device upgrade according to said device upgrade assignment file, and said device upgrade flow process is: backup 204.1, device independent configuration 204.2, equipment relevant configuration 204.3, issue 204.4, upgrading 204.5, test 204.6; Just carry out the next item down after each completion; In the process flow operation process, solidify running status in real time, be kept in the said device upgrade assignment file, make each sequential all have relevant state corresponding;
Batch plan upgrades to because very long and need the device upgrade operation under the situation that the professional guards at some escalation processs, when being upgraded to certain percentage or certain hour, closes the upgrading flow process every day, continues upgrading in second day again.
Because preserve when state is the fructufy according to current operation and to solidify, the successful state of last action-item has cured and has stored when fault takes place, so the recovery that makes state very simply and be not easy to produce mistake.
The above is merely the preferred embodiments of the present invention, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.All within spirit of the present invention and principle, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (7)
1. the flow control method that can realize state memorization and recovery is characterized in that, comprises the steps:
(1) user's apparatus for establishing upgrading assignment file; This moment is according to the transaction type of upgrading flow process control; Be divided into several treatment steps to the affairs of said upgrading flow process control, each treatment step is divided into several sequential, in each sequential of said step, adds the mapping relations of sequential and state;
(2) carry out device upgrade according to said device upgrade assignment file, in the process flow operation process, solidify running status in real time, make each sequential all have relevant state corresponding;
(3) if in said process flow operation process, withdraw from flow process, then the sequential when withdrawing from finds its corresponding state information of preserving, and returns to the state when withdrawing from,
In the step (1), said user's apparatus for establishing upgrading assignment file comprises the steps:
(a) user's apparatus for establishing file, said device file comprises the facility information that need upgrade;
(b) set up device file compressed package and the staging business logic-control file that needs upgrade according to the facility information of said device file then;
(c) generate the device upgrade assignment file through parsing at last to said device file and staging business logic-control file.
2. method according to claim 1 is characterized in that, the situation that in said process flow operation process, withdraws from flow process comprises that equipment is carrying out in the batch plan escalation process manual work and closing upgrading, or computer circuit breaking, or software anomaly withdraws from.
3. method according to claim 1 is characterized in that in the step (a), said facility information comprises equipment Intranet IP, equipment outer net IP, device name and port.
4. method according to claim 1 is characterized in that, in the step (b), said device file compressed package comprises the file of designated software upgrading needs renewal on the equipment.
5. method according to claim 1 is characterized in that said device upgrade flow process is: backup, equipment is relevant disposes, issues, upgrades, tests with device independent; Just carry out the next item down after each completion.
6. method according to claim 1 is characterized in that, in the step (2), in the process flow operation process, solidifies running status in real time, and said state is kept in the said device upgrade assignment file.
7. method according to claim 1 is characterized in that, in the step (3), return to the state when withdrawing from after, proceed device upgrade.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710167338A CN101159605B (en) | 2007-10-25 | 2007-10-25 | Flow control method capable of implementing state memory and recovery |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710167338A CN101159605B (en) | 2007-10-25 | 2007-10-25 | Flow control method capable of implementing state memory and recovery |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101159605A CN101159605A (en) | 2008-04-09 |
CN101159605B true CN101159605B (en) | 2012-09-05 |
Family
ID=39307532
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710167338A Expired - Fee Related CN101159605B (en) | 2007-10-25 | 2007-10-25 | Flow control method capable of implementing state memory and recovery |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101159605B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106326089B (en) * | 2015-06-16 | 2020-03-27 | 中兴通讯股份有限公司 | Automatic testing method, device and system |
CN107341024B (en) * | 2016-04-28 | 2020-02-14 | 华为技术有限公司 | System upgrading method and system upgrading device |
CN106547613B (en) * | 2016-10-20 | 2020-04-03 | 西北工业大学 | Scheduling and fault recovery method for task processing flow |
CN110134412B (en) * | 2019-03-25 | 2024-04-12 | 北京车和家信息技术有限公司 | Software updating method, device, vehicle and computer readable storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960452A (en) * | 2005-10-31 | 2007-05-09 | 索尼株式会社 | Separate-type signal processing apparatus and software version updating method thereof |
-
2007
- 2007-10-25 CN CN200710167338A patent/CN101159605B/en not_active Expired - Fee Related
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1960452A (en) * | 2005-10-31 | 2007-05-09 | 索尼株式会社 | Separate-type signal processing apparatus and software version updating method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN101159605A (en) | 2008-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8954397B2 (en) | Creation and replay of a simulation workload using captured workloads | |
WO2023151523A1 (en) | Deep learning programming method and system based on digital twin daas platform | |
CN101159605B (en) | Flow control method capable of implementing state memory and recovery | |
CN105373407A (en) | DSP and FPGA online upgrading method for embedded system | |
CN105204880B (en) | computer system and setting method of basic input and output system | |
CN109144701A (en) | A kind of task flow management method, device, equipment and system | |
EP2508954A1 (en) | System and method for the configuration of a clustered simulation network | |
CN105843707A (en) | Quick recovery method and equipment of database | |
CN107819611B (en) | Client test method based on IEC61850 multi-server simulation | |
CN105024849A (en) | Method for batch operation of high-density cabinet server on each node BMC | |
CN104965727A (en) | Method and device for restarting server | |
CN102023882A (en) | System and method for computer to automatically identify mobile phone and install mobile phone driver | |
CN104461521A (en) | Application program playback method and system | |
CN105653401A (en) | Method and device for scheduling disaster recovery, operation and maintenance, monitoring and emergency start-stop of application systems | |
CN102662428A (en) | Clock synchronization method for network simulation environment of discrete event | |
WO2021249920A1 (en) | Configuration device, update server and method for updating software of a technical installation | |
CN106775884A (en) | Method and equipment for upgrading control program of wind generating set | |
CN108459923A (en) | A kind of more equipment operation management methods based on Actor models | |
CA3232808A1 (en) | Window parameter configuration method and system, computer-readable media | |
CN106775806A (en) | A kind of method of private clound application of upgrading | |
CN105005492B (en) | A kind of embedded device and a kind of method for upgrading software | |
CN105849699B (en) | Method for controlling data center architecture equipment | |
CN109445800A (en) | A kind of version automatic deployment method and system based on distributed system | |
CN110764785A (en) | Power industry cloud platform tool chain based on open source assembly and cloud platform operation and maintenance method | |
CN104283958B (en) | A kind of system task dispatching method |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20120905 Termination date: 20161025 |