Rotary hydraulic control system with segmented control function and crane

The invention relates to a rotary hydraulic control system with the segmented control function and a crane. The rotary hydraulic control system with the segmented control function comprises a rotary motor, a rotating stopper, a stopper control valve and a rotary valve. The rotating stopper is used for stopping the rotary motor; the stopper control valve is used for controlling whether the rotating stopper performs stopping or not; the rotary valve comprises a first reversing valve and a second reversing valve; during rotating, an oil channel where the first reversing valve is located is used for controlling oil feeding of a first oil opening or a second oil opening of the rotary motor, and right turning or left turning of the rotary motor is achieved; the first oil opening and the second oil opening of the rotary motor are communicated through the second reversing valve; during rotating stop, the first reversing valve is closed, the first oil opening and the second oil opening of the rotary motor are communicated through the second reversing valve; after rotating stop, the second reversing valve is closed, the first oil opening and the second oil opening of the rotary motor are disconnected. By means of the rotary hydraulic control system with the segmented control function and the crane, stable rotating can be guaranteed, automatic alignment is prevented after rotating stop, and the safety and reliability are improved.