A quick google search for warehouse management systems with logic for tracking expiration dates brought back this system. While it's not a pantry system and is in fact intended for much larger operations, it does track products and locations, includes "Tracking for Expiration Dated Food", and is mobile. I've never used it so I can't attest to the truth in the advertising.
Relevant search terms in this case would be 'warehouse management' or 'asset management' software. I don't have the abilityI don't have the ability to look up if there's a specific patent on the subject currently.
EDIT
These patents and applications seem to look up if there's a specific patentcover what you're looking for:
- 2010179881 - System for Making Product Purchases (application)
- 6,982,740 (2006) - RFID system and method for tracking food freshness (patent)
- 20120101876 - Method of Managing Household Product Inventory (application)
The first one consists of web-based software plus an in-house terminal; the second is an RFID system; the third is "virtual" on an "electronic device". Of them I think the subject currentlyfirst is the best fit (and kind of cool.)