A two-stage method of traffic conflict analysis was proposed based on risk region. By using the inD dataset, traffic conflicts were recognized with the calculation of time to risk region(tTTR), and then the degree of traffic conflict risk was judged by risk region duration. Compared with the method based on time-to-collision(tTTC), the proposed method can not only identify rear-end conflicts and crossing conflicts more effectively, but also characterize the degree of traffic conflict risk at different times.