The method is suitable for the technical field of distributed systems. The invention provides a unique key generation method, device and terminal equipment, The method comprises the following steps of: Obtaining data to be generated, correspondingly generating a service instance code according to the service instance sequence of the to-be-generated data, correspondingly generating a year, a week,weekdays and a second according to actual time, correspondingly generating a serial number, an expansion bit and a version according to a preset rule, synthesizing the generated field into a unique key according to a unique key basic data structure, and labeling the unique key in the to-be-generated data; Wherein the generation field comprises service instance codes, years, weeks, weekdays and seconds, serial numbers, extension bits and versions. The method can ensure that the unique key data is not repeated in a single-machine scene, and meets the basic requirements of distributed global uniqueness, orderliness, inverse solvability, high performance, expandability, readability and the like.