Presently, the tax of levy and management by the Internet has been a technological trend. The technique tends to adopt client-server mode. Namely, taxpayers transmit their information on the Internet to servers settled in customs bureaus. To realize the technique, personal computers usually are adopted as terminals in logging on the network for declaration. Although this kind of terminal has strong power in function, it costs too much. On the other hand, sometimes, a terminal that is designed only for declaration usually carries out some easy tasks. So, economically, it is not suitable to apply PC to all of fields that relate to declaration, especially to the declaration of individual enterprises that operate on small scale. A sort of device designed to invoice customers for their expenses is widely used in the individual enterprises. This kind of device not only costs little but also is embedded with a common singlechip that makes the device to be a kind of embedded system. Thus, this project is designed to explore how to make this kind of embedded system to access to the Internet.So far, majority of terminals or devices that can successfully carry out TCP/IP protocols have been personal computers, while the devices based on embedded systems are seldom used for the terminals of the Internet, which results from two facets: on the one hand, all of protocols running on the Internet need support of the computer that must own high performance and configuration, such as high speed and large memory, on the other hand, the cores of most of embedded systems are 8 bits or 16bits singlechips that own limited resources of hardwares. If these 8 bits or 16bits singlechips perform TCP/IP protocols, their limited resources would be exhausted. So, it is impossible for the embedded systems based on the singlechips to directly access to the Internet. In regard of the problems above, the project presents a method that the platform of transforming protocols is developed with a special chip that can be used to transform protocols. Via this kind of platform, any terminal based on all kinds of embedded systems can easily access to the Internet. The platform not only settles the long-distance declaration, but also, more importantly, provides an efficient means by which any sort of embedded systems can enter the Internet.The project creates an SMTP server with C++ to simulate the long-distance server. Some experiments show that the platform can perfectly and precisely finish task of transmitting information. |