| Bill acceptor has been applied in many kinds of auto-self devices,how we monitor and upgrade bill acceptors(identified-arithmetic and character database of bill mainly)in a effective way, it is a problem which is in dire need of solvement.By comparing direct and indirect Internet-connected antilogies,or application examples, this thesis selected a Internet-connected scheme based Embedded Web gateway which is cost-lowly and efficiency-highly , at the same time, gateway was transplanted TCP/IP protocol stack~uIP to overcome resource-limited and compress memorizer-using. The thesis put forward cutting and ameliorating strategies of uIP, and analysed time interface of uIP ,event mechanism between application and uIP , interface between drivers and appication ,at the base of these ,Web Server frame of gateway was constructed. The network architectonic of system was constructed adopting mixed model of C/S and B/S. The thesis designed communication protocols between bill acceptor and gateway ,also at the base of quondam software and hardware of bill acceptor ,it designed leading programe module making use of IAP characteristic of processor of bill acceptor, in the process, the thesis presented storage manner of data subarea to avoid superposition of data and code areas , by compiling key code of programing Flash, realized solving project of leading programe. At the end , thread pool of upgrading server was designed simply ,the system accomplished downloading transmission of file package adopting several buffers and serveral threads based event-driving for long-range upgrading server,via validity of sequence mark and activation mark ,and encrypted upgrading files in the way of DES to advance safety and avoid lawless vicious of lawless breakage. The entire project of the thesis has good-sized significances and applied worthiness for on-line managements and maintenances of other intelligent equipments. |