2009年9月26日 星期六

RHD 的自動更新流程

Self update flow:
1. Controller --> Workstation Service send
2. Workstation Service --> Monitor Service send [P1]=
3. Monitor Service Turn off the monitor timer.
4. Monitor Service Turn on the WS Terminate timer.
5. Monitor Service --> Workstation Service send
6. Workstation Service Application Terminate.
7. Monitor Service Launch SelfUpdate Service when the WS Terminate timer indicates the Workstation Service is off.
8. Monitor Service Turn off the WS Terminate timer.
9. Monitor Service Turn On the SelfUpdate timer.
10. Monitor Service --> SelfUpdate Service send [P1]=
11. SelfUpdate Service --> Controller send
12. Controller --> SelfUpdate Service send

  **** If SelfUpdate Service Normal...
13. SelfUpdate Service Launch FileReceiver program.
14. FileReceiver --> Controller send
15. Controller --> FileReceiver send the file stream...
16. FileReceiver --> Controller send
17. Controller --> SelfUpdate Service send
18. SelfUpdate Service --> Monitor Service  send
19. Monitor Service  turn on the SelfUpdate Terminate timer.
20. SelfUpdate Service Application Terminate.
21. Monitor Service Turn on the monitor timer when the WS Terminate timer indicates the Workstation Service is off.
22. Complete.

  **** If SelfUpdate Service abnormal,
13. SelfUpdate Service --> Controller  send Fail Reason...
14. SelfUpdate Service --> Monitor Service  send
15. Monitor Service Turn On the SelfUpdate Terminate timer.
16. SelfUpdate Service Application Terminate.
17. Monitor Service Turn on the monitor timer when the WS Terminate timer indicates the Workstation Service is off.
18. Complete.

沒有留言:

張貼留言