Module Design Specification Document No :
Table of Content
PROJECT NAME:.................................................................................................................................................................1
DT E-SIGNAGE......................................................................................................................................................................1
VERSION:...............................................................................................................................................................................1
3.0..............................................................................................................................................................................................1
MODULE NAME:..................................................................................................................................................................1
PATCH DISPATCHING........................................................................................................................................................1
DOCUMENT NAME:............................................................................................................................................................1
WCM3.0 PATCH DISPATCHING DESIGN FOR DTPLAYER&ES...............................................................................1
TABLE OF CONTENT..........................................................................................................................................................3
1 SUMMARY..........................................................................................................................................................................4
2 DOWNLOAD A PATCH PACKAGE FROM PS AND VERIFY IT...............................................................................5
2.1 VERSION RESOURCE........................................................................................................................................................5
2.2 A PATCH PACKAGE...........................................................................................................................................................5
2.3 ADD A NEW CLASS CPATCHINFO....................................................................................................................................5
2.4 ADD COMAND WORD FOR PATCH DISPATCHING COMMAND.............................................................................................6
2.5 ADD A DATA MEMBER TO CLASS COMMANDITEM..........................................................................................................6
2.6 MODIFY FUNCTION COMMANDQUEUE::SAVE.................................................................................................................6
2.7 MODIFY FUNCTION COMMANDQUEUE::CONSTRUCTONEITEM......................................................................................6
2.8 ADD FUNCTION CALCULATEMD5...................................................................................................................................6
2.9 ADD A CLASS CPATCHDOWNLOAD................................................................................................................................7
2.10 ADD DATA MEMBER M_PPATCHDOWNLOAD.................................................................................................................7
2.11 MODIFY FUNCTION EXECCOMMAND............................................................................................................................7
2.12 ADD FUNCTION UPDATEBYPATCH................................................................................................................................8
2.13 ADD FUNCTION GETWHOLEPRODUCTVERSION.........................................................................................................10
2.14 MODIFY FUNCTION LOGIN..........................................................................................................................................10
3 APPLY A PATCH TO THE APPLICATION...................................................................................................................11
4 MODULE TEST CASES...................................................................................................................................................14
4.1 GET A COMMAND OF DISPATCHING A PATCH.................................................................................................................14
4.2 DOWNLOAD A PATCH PACKAGE FILE.............................................................................................................................14
4.3 CHECK A PATCH PACKAGE FILE.....................................................................................................................................14
4.4 UNZIP A PATCH PACKAGE FILE......................................................................................................................................14
4.5 CREATE APPLYING PROCESS..........................................................................................................................................14
4.6 APPLY THE PATCH.........................................................................................................................................................14
4.7 CHECK APPLYING RESULT AND REPORT STATUS............................................................................................................14
- 3 -