Patent ID: 8120460

Claim:
A method of initializing an electronic lock comprising: a point-of-sale terminal reading electronic lock identification information from the electronic lock; the point-of-sale terminal receiving confidential information from a mobile electronic device; an inventory control system transmitting an electronic lock registration message, the registration message containing at least some of the confidential information and at least some of the identification information, the inventory control system coupled to the point-of-sale terminal; the inventory control system receiving an electronic access code in response to the electronic lock registration message; the point-of-sale terminal transmitting the electronic access code to the mobile electronic device, wherein the electronic access code is operable to lock and unlock the electronic lock when transmitted using near-field communication technology to the electronic lock; the mobile electronic device transmitting an ownership transfer message to a trusted service manager (TSM) containing lock identification information and confidential information associated with a second mobile electronic device; the trusted service manager determining a second electronic access code based on a primary access code; the trusted service manager transmitting the second electronic access code to the second mobile electronic device, wherein the second electronic access code is operable to lock and unlock the electronic lock when transmitted using near-field-communication technology to the electronic lock; and the trusted service manager transmitting an access code deletion message to the mobile electronic device, wherein the mobile electronic device is instructed to delete the electronic access code.