The invention provides a processing method of the top structure of a house-type container. The method includes the following steps that 1, a rectangular frame is manufactured, wherein the rectangular frame has a containing space, a circle of fence is arranged on the periphery of the frame, the side, facing the containing space, of the fence extends horizontally inwards to form a platform, the free end of the platform extends vertically upwards to form a surrounding edge, the free end of the surrounding edge extends horizontally in the direction away from the containing space to form a skirt edge, and a containing groove is formed between the surrounding edge and the side face, facing the containing space, of the fence; 2, a top plate is placed in the containing space, wherein locking edges are arranged around the top plate, and when the top plate is placed in the containing space, one part of each locking edge covers the upper surface of the skirt edge, and the other part of each locking edge hangs down along the free end of the skirt edge; 3, an edge locking machine is placed on the surrounding edge, a squeezing mechanism of the edge locking machine is placed in the containing groove, and when the edge locking machine moves, the squeezing mechanism makes contact with and squeezes the hanging parts of the locking edges to make the hanging parts bent in the direction close to the lower surface of the skirt edge.