CPC G06Q 10/087 (2013.01) [B65D 25/56 (2013.01); B65D 51/24 (2013.01); B65D 51/245 (2013.01); G06Q 30/0633 (2013.01); G16Y 10/45 (2020.01); B65D 2203/00 (2013.01); B65D 2203/04 (2013.01)] | 4 Claims |
4. A computer system comprising:
an electronic device integrated with a cap of a container of a product, wherein the electronic device comprises a sensor configured to periodically measure the amount of product in the container, and determine information regarding times when the cap is opened and when the cap is closed, and wherein the electronic device is configured to transmit the amount of product in the container measured by the sensor and the information regarding times when the cap is opened and when the cap is closed determined by the sensor; and
a processor configured to:
periodically receive, from the electronic device integrated with a cap of a container of a product:
the amount of product in the container measured by a sensor of the electronic device, and
the information regarding times when the cap is opened and when the cap is closed determined by the sensor of the electronic device;
based on the periodically received amount of product in the container and information regarding times when the cap was opened and when the cap was closed, determine:
a first amount of product consumed from the container within a first usage of the container, and
a second amount of product consumed from the container within a second usage of the container,
calculate a usage pattern for consumption of the product from the container based on at least the first amount of the product consumed, the second amount of the product consumed, and an amount of time difference in between the first usage and the second usage of the container;
based on the usage pattern and the amount of product in the container, calculate an estimated run-out time of the product in the container; and
based on an automatic-refill parameter, perform at least one of:
notify a user of the estimated run-out time of the product in the container; and
automatically order a refill of the product based on the estimated run-out time.
|