The application provides a cylinder structure and a compressor, which comprise a cylinder, the cylinder comprising a compression cavity and an air
inlet channel in communication with the compression cavity, one end of the air
inlet channel being in communication with the compression cavity, and the other end of the air
inlet channel being in communication with the outside of the cylinder; and a sound
elimination cavity in communication with the air inlet channel, so that fluid in the air inlet channel enters the sound
elimination cavity, thereby eliminating
noise caused by the fluid; wherein the volume of the sound
elimination cavity is adjustably arranged. The cylinder structure and the compressor solve the technical problem of poor sound elimination effect of the compressor in the prior art.