The invention discloses a secure session method and
system for a door lock and a mobile terminal, and the method comprises the steps: periodically collecting the
Bluetooth signal strength of the mobile terminal in a coverage area of a unit door lock according to the unit door lock, dividing the
signal strength into preset gears, generating a corresponding connection state, packaging the
signal strength into an IGMP joining message, and sending the IGMP joining message to a specific
multicast address; receiving an IGMP (
Internet Group Management Protocol) joining message according to the door lock gateway, and registering or refreshing a unit door lock IP (
Internet Protocol), a connection state and a local forwarding interface corresponding to a
Bluetooth address in a
Bluetooth address binding table maintained by the door lock gateway; constructing a
multicast message according to a voice call request initiated by an indoor
extension set, forwarding the
multicast message through a
router network, and binding the table by a rendezvous point RP according to the Bluetooth address; and according to the (S, G) multicast tree, reverse transmission is carried out along the established (S, G) table item path. By utilizing the embodiment of the invention, the quick, accurate and safe direct session establishment between the door lock and the mobile terminal can be realized, and the dependence of communication
delay on an external network is reduced.