The invention discloses a gateway of an
internet of things for implementing long-term operation in an environment without
electricity and an implementation method. The gateway of
the internet of things is used for receiving and transmitting acquired data of different sets of sensing equipment at a front end and comprises a
microcontroller, a built-in power supply module, a reset
crystal oscillator module and a
communication interface module, wherein the built-in power supply module is used for supplying
electricity; the reset
crystal oscillator module comprises a
crystal oscillator
chip, a programmable
frequency divider and a reset module; the
crystal oscillator chip and the programmable
frequency divider are used for acquiring a frequency of
positive logic inputting by using a reference frequency pin of the
crystal oscillator chip, and converting an output frequency into a low-frequency
signal which is required by a preset
clock by using a frequency dividing ratio and is used for providing a
clock signal for the
microcontroller regularly or in an event-triggered mode; the reset module is used for triggering the gateway to be reset; and the
microcontroller is connected to the built-in power supply module and the reset
crystal oscillator module respectively, and is used for receiving data and transmitting data to a back end interface through the
communication interface module after being waken by the reset crystal oscillator module and then stopping working to enter a dormant state. By a timed uploading function of the gateway, the
electricity quantity of a built-in battery can be used to the maximum extent to ensure that gateway equipment can work as long as possible, and the gateway can play an important role in particular environments and occasions with special requirements such as
agriculture and
forestry, mines and the like.