The technological revolution in the times of artificial intelligence and a series of practical problems which caused by it have taken a lot of opportunities and challenges to the scholars whom take the legal history as the major. In order to meet the need of the development of AI Times, the study of legal history should carry out a self-revolution from the aspects of research purpose, research value and cognitive approach to ontological issues. It is found that the purpose of legal history research will break away from the traditional “human-human relationship” and “human-social relationship” and evolve into a new mode which approaches to constructing a positive “human-human order”, “human-machine order” and “machine-machine order” in the times of artificial intelligence. At the same time, the research value of legal history will change from the aspects of idealism, technologism and realism. The exploration of the concept of law in the sense of legal history, the source of law and the development process of ancient law will also be implanted a technical “brand”. With the deepening study of legal history in the times of artificial intelligence, “how technology serves for research” will be another topic which worth studying in the field of legal history.