The invention relates to a method for realizing automatic unlocking based on an
ibeacon geo-fence, which comprises the following steps that: a door lock end broadcasts an
ibeacon broadcast and a
Bluetooth broadcast in a time-sharing manner, and when an IOS (
Internet Operating System) device is close to a door lock, an IOS
system detects the
ibeacon broadcast and acquires corresponding distance information according to a Measured Power value after successful identification; detecting whether the obtained distance information accords with a set middle distance range or a set
short distance range, and if so, pushing the ibeacon to broadcast information to the APP by the IOS
system; when the APP detects the pushed ibeacon broadcast information, marking the geo-fence as a close home mode, and starting to scan surrounding
Bluetooth broadcasts; after searching the
Bluetooth broadcast of the bound door lock end, the APP initiates Bluetooth connection to the door lock end; by means of the ibeacon and Bluetooth technology, the method for automatically unlocking after the person gets close to the door lock is achieved, a user does not need to take out a
mobile phone to open an APP and then use the APP to open the door, an unlocking mode different from the methods is provided, and the method is convenient, fast, high in reliability and high in safety.