The present invention discloses the architecture of an internet of things (IOT). The architecture includes multiple levels of IOT service platforms, wherein a superordinate IOT service platform is configured to manage one or more of the following function entities: IOT terminal, IOT terminal gateway, subordinate IOT service platform, special service platform and service gateway. The present invention also discloses a method for implementing an IOT service. The method includes the steps of: the superordinate IOT service platform providing management for one or more of subordinate IOT service platform, special service platform and service gateway, wherein the management includes one or more of: registration, login, logout, data synchronization and heartbeat. With the present invention, the deployed industries or special service platforms can be integrated into a unified architecture, thus lightening the burden of the IOT service platforms.