A compressor, comprising: a housing provided with an air suction port and an air exhaust port; a separating component provided to the housing to divide an interior of the housing into a low-pressure chamber and a high-pressure chamber, the air suction port being in communication with the low-pressure chamber, the air exhaust port being in communication with the high-pressure chamber, the separating component comprising a main bearing having a first end surface located in the low-pressure chamber, and the high-pressure chamber being provided with an oil sump therein; a cylinder component provided in the high-pressure chamber, the main bearing having a second end surface provided to the cylinder component, and the cylinder component being provided with an oil-way passage in communication with the oil sump; a crankshaft fitted with a piston in the cylinder component, the main bearing being fitted over the crankshaft, and the crankshaft having an end extending into the lower pressure chamber; the compressor is characterised by further comprising a plurality of oil transmission grooves and at least one oil transition groove, each oil transmission groove and each oil transition groove extending along an axial direction of the crankshaft, and the plurality of oil transmission grooves and the at least one oil transition groove being staggered in the axial direction of the crankshaft, wherein during rotation of the crankshaft, each oil transition groove is intermittently in communication with oil transmission grooves adjacent thereto, and the oil transition groove is alternately in communication with two oil transmission grooves at two circumferential sides of the oil transition groove; the oil transmission grooves are provided in one of the main bearing and the crankshaft, and the oil transition groove is provided in the other one of the main bearing and the crankshaft; the oil-way passage is in communication with one of the oil transmission grooves, and another one of the oil transmission grooves or the oil transition groove is in communication with the low-pressure chamber. a housing provided with an air suction port and an air exhaust port; a separating component provided to the housing to divide an interior of the housing into a low-pressure chamber and a high-pressure chamber, the air suction port being in communication with the low-pressure chamber, the air exhaust port being in communication with the high-pressure chamber, the separating component comprising a main bearing having a first end surface located in the low-pressure chamber, and the high-pressure chamber being provided with an oil sump therein; a cylinder component provided in the high-pressure chamber, the main bearing having a second end surface provided to the cylinder component, and the cylinder component being provided with an oil-way passage in communication with the oil sump; a crankshaft fitted with a piston in the cylinder component, the main bearing being fitted over the crankshaft, and the crankshaft having an end extending into the lower pressure chamber; the compressor is characterised by further comprising a plurality of oil transmission grooves and at least one oil transition groove, each oil transmission groove and each oil transition groove extending along an axial direction of the crankshaft, and the plurality of oil transmission grooves and the at least one oil transition groove being staggered in the axial direction of the crankshaft, wherein during rotation of the crankshaft, each oil transition groove is intermittently in communication with oil transmission grooves adjacent thereto, and the oil transition groove is alternately in communication with two oil transmission grooves at two circumferential sides of the oil transition groove; the oil transmission grooves are provided in one of the main bearing and the crankshaft, and the oil transition groove is provided in the other one of the main bearing and the crankshaft; the oil-way passage is in communication with one of the oil transmission grooves, and another one of the oil transmission grooves or the oil transition groove is in communication with the low-pressure chamber.