解:分以下三种情况讨论:
① 当点$P$在线段$OA$上时,
在$△ QOC$中,$\because OC=OQ,$$\therefore ∠ OQC=∠ OCP。$
在$△ OPQ$中,$\because QP=QO,$$\therefore ∠ QOP=∠ QPO。$
$\because ∠ AOC=30°,$$\therefore ∠ QPO=∠ OCP + 30°。$
又$\because ∠ QOP+∠ QPO+∠ OQC=180°,$
即$(∠ OCP+30°)+(∠ OCP+30°)+∠ OCP=180°,$
解得$∠ OCP=40°。$
② 当点$P$在线段$OA$的延长线上时,
在$△ QOC$中,$\because OC=OQ,$
$\therefore ∠ OQP=∠ OCP=\frac{1}{2}(180°-∠ QOC)。$
在$△ OPQ$中,$\because QP=QO,$
$\therefore ∠ OPQ=∠ QOP。$
又$\because ∠ QOP=∠ QOC+∠ AOC=∠ QOC+30°,$
$\therefore ∠ OPQ+∠ QOP+∠ OQP=180°,$
即$(∠ QOC+30°)+(∠ QOC+30°)+\frac{1}{2}(180°-∠ QOC)=180°,$
解得$∠ QOC=20°,$
$\therefore ∠ OQP=80°,$
$\therefore ∠ OCP=∠ QOC+∠ OQP=100°。$
③ 当点$P$在线段$OA$的反向延长线上时,
在$△ QOC$中,$\because OC=OQ,$
$\therefore ∠ OCP=∠ OQC。$
在$△ OPQ$中,$\because QO=QP,$
$\therefore ∠ QPO=∠ QOP=\frac{1}{2}∠ OQC=\frac{1}{2}∠ OCP。$
$\because ∠ AOC=30°,$
$\therefore ∠ QPO+∠ OCP=30°,$
即$\frac{1}{2}∠ OCP+∠ OCP=30°,$
解得$∠ OCP=20°。$
综上所述,$∠ OCP$的度数为$40°$或$100°$或$20°。$