The invention discloses an entrance-exit control circuit comprises a main control board circuit. The main control board circuit comprises a network interaction control circuit having a main control chip, a network transformer circuit, a network protection circuit, an RJ45 interface circuit and a main control chip power source circuit, the network interaction control circuit is electrically connected with the network transformer circuit which is electrically connected with the network protection circuit, and the network protection circuit is electrically connected with the RJ45 interface circuit; the network interaction control circuit further comprises an internal voltage compensation circuit, a clock circuit, a working indication circuit, a filter circuit, a resetting circuit and an impedance matching circuit which are electrically connected with the main control chip, and the network transformer circuit is connected with the impedance matching circuit. The main control chip is made to directly control a network switchboard chip, multiple RJ45 interfaces are provided, and network switchboard equipment in the middle is removed, so that cost is lowered, assembly space is reduced, wiring is simple, convenience is brought to mounting and maintaining, and overall performance of equipment is improved.