Valves and ring of compressor