Summary of the invention
The technical problem to be solved in the present invention is to identify food in refrigerator by image recognition technology whether sufficient mode causes algorithm complexity and the high defect of cost in order to overcome in prior art, provide a kind of have there is no complicated algorithm, realize easily, the refrigerator of function that cost is low and workable.
The present invention solves above-mentioned technical problem by following technical proposals:
The invention provides a kind of refrigerator, it comprises that one has casing and a body of multiple storage compartments, its feature is, each storage compartment is used for storing different types of food, centre position, the bottom place of each storage compartment is equipped with a gravity sensor, the side away from this body of this casing is provided with a controller with multiple interfaces, different interface in those interfaces of the equal wired connection of each gravity sensor, and the cable of each gravity sensor access is pasting the bottom cabling of the storage compartment that this gravity sensor is corresponding, finally peg graft in corresponding interface, this controller stores interface, the corresponding relation of food variety and weight threshold,
Each gravity sensor is for detection of the weight of the food in storage compartment corresponding to this gravity sensor, and this weight is transferred to corresponding interface;
This weight that this controller comes for receiving this interface transmission, inquires about weight threshold and food variety that this interface is corresponding, and judges whether this weight is less than this weight threshold, is sent in a mobile terminal if the food that comprises this food variety is lacked to information.
Each gravity sensor in the present invention is all to realize and the wired connection of interface by cable, each gravity sensor is the bottom cabling that cable is pasting the storage compartment that gravity sensor is corresponding with the wire cable layout between corresponding interface, such cabling mode does not take the space in casing substantially, and the wire cable layout that makes casing in order, not disorderly and unsystematic, and then improve user's experience.
Preferably, the outer surface of this body is provided with a control panel, and this control panel is for arranging food variety and the weight threshold corresponding to each food variety of the food that each storage compartment stores for user.
Preferably, on this control panel, be built-in with one for select the food variety drop-down menu and of food variety for select the weight threshold drop-down menu of weight threshold for user for user.
Preferably, the outer surface of this body is also provided with a display, weight and food variety corresponding to weight of this display for showing that this controller transmission comes.
Preferably, each gravity sensor is used for detecting the weight of the food in the storage compartment that this gravity sensor is corresponding every a time period, and this weight is transferred to corresponding interface.
In this programme, gravity sensor is the weight of for example, food in a set time section (1 hour) detects the storage compartment that gravity sensor is corresponding, adopt this detection mode to be conducive to economize on resources, reduce the operation burden of gravity sensor.
Preferably, this controller sends the inquiry request that comprises this food variety to website, and at least one target item matching with this food variety of obtaining that this site search goes out, and the propelling movement order being made up of this at least one target item is sent to this mobile terminal.
In this programme, controller is in detecting that food in a certain storage compartment lacks, send the inquiry request that comprises the food variety in this storage compartment to website, the background management system of website extracts the food variety in inquiry request, and search out at least one target item matching with this food variety according to search rule, at least one target item matching with this food variety that controller obtains that site search goes out, these target item form one and push order, controller sends to propelling movement order user's such as mobile phone of mobile terminal, user is in the time being apprised of the food shortage of a certain kind like this, without oneself online active searching and this kind of food that based food matches, the propelling movement order that only need send according to refrigerator places an order.This programme has reduced user's operation, for user has saved search trouble, is conducive to improve user's experience.
Preferably, this mobile terminal sends the inquiry request that comprises this food variety after receiving this food to lack information to website, and at least one target item matching with this food variety of obtaining that this site search goes out is as pushing order.
In this programme, mobile terminal lacks after information receiving food, initiatively send the inquiry request that comprises food variety to website, the background management system of website extracts the food variety in inquiry request, and search out at least one target item matching with this food variety according to search rule, at least one target item matching with this food variety that mobile terminal automatic acquisition site search goes out, these target item form one and push order, user is in the time being apprised of the food shortage of a certain kind like this, without oneself online active searching and this kind of food that based food matches, mobile terminal meeting active searching and this kind of food that based food matches, the order that user only need push according to mobile terminal places an order.This programme has reduced user's operation equally, for user has saved search trouble, is conducive to improve user's experience.
Preferably, the corresponding relation of this controller storage replaces with: this controller stores the corresponding relation of interface, food variety and weight range;
This controller is for the size of this weight relatively and this weight range, if this weight is less than the lower limit of this weight range, this food is lacked to information and be sent to this mobile terminal, if this weight is in this weight range, the food that comprises this food variety is sent to this mobile terminal by not enough information, if this weight is greater than the higher limit of this weight range, the food insufficient information that comprises this food variety is sent to this mobile terminal.
Preferably, the bottom peripheral edge place of each storage compartment is evenly laid with multiple gravity sensors, and the gravity sensor that is positioned at the bottom of same storage compartment is all typically wire connected to same interface;
This controller transmits the mean value of multiple weight of coming for calculating same interface, and judges whether this mean value is less than this weight threshold, is sent to this mobile terminal if this food is lacked to information.
Suppose that the food in storage compartment is positioned at the corner of storage compartment, and gravity sensor is located at centre position, the bottom place of storage compartment, the weight inaccuracy of the food in the storage compartment that gravity sensor detects like this, there is certain error, so in order to improve the degree of accuracy of the information whether food that user knows lack, this programme is provided with multiple gravity sensors in the bottom of same storage compartment, detect the weight of the food in same storage compartment by the multiple gravity sensors that arrange, then controller calculates the mean value of multiple gravimetric values of the food in the same storage compartment detecting, utilize mean value and weight threshold to compare, and when being less than weight threshold, mean value informs that a certain food of user lacks needs and supplements in time comparing.
Preferably, the bottom peripheral edge place of each storage compartment is evenly laid with multiple gravity sensors, and the gravity sensor that is positioned at the bottom of same storage compartment is all typically wire connected to same interface;
This controller transmits the maximum weight value of multiple weight of coming for screening same interface, and judges that whether this maximum weight value is less than this weight threshold, is sent to this mobile terminal if this food is lacked to information.This programme is also the degree of accuracy in order to improve the information whether food that user knows lack.
Positive progressive effect of the present invention is:
Refrigerator of the present invention, by setting up the interface of gravity sensor wired connection and the corresponding relation of weight threshold of bottom of food variety in storage compartment, storage compartment, and the weight of coming according to a certain interface transmission receiving, inquire about weight threshold and food variety that this interface is corresponding, then the weight of transmission being come compares with the weight threshold that inquires, whether lacks the food that this food variety is corresponding and will lack the information notification user of certain based food to judge in refrigerator.The present invention does not have complicated algorithm, without being equipped with expensive auxiliary equipment, has advantages of that realization is easy, cost is low, workable and practicality is good.
Detailed description of the invention
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to describe technical scheme of the present invention in detail, but therefore do not limit the present invention among described scope of embodiments.
Embodiment 1
The present embodiment provides a kind of refrigerator, it comprises that one has casing and a body of multiple storage compartments, those storage compartments from top to bottom arrange successively at this box house, each storage compartment is used for storing different types of food, centre position, the bottom place of each storage compartment is equipped with a gravity sensor, the side away from this body of this casing is provided with a controller with multiple interfaces, different interface in those interfaces of the equal wired connection of each gravity sensor, and the cable of each gravity sensor access is pasting the bottom cabling of the storage compartment that this gravity sensor is corresponding, finally peg graft in corresponding interface, this controller stores interface, the corresponding relation of food variety and weight threshold.
The principle whether food in the storage compartment in the present embodiment prompting user refrigerator lacks is: each gravity sensor is used for detecting in real time the weight of the food in the storage compartment that this gravity sensor is corresponding, and this weight is transferred to corresponding interface.
This weight that this controller comes for receiving this interface transmission, inquire about weight threshold and food variety that this interface is corresponding, and judge whether this weight is less than this weight threshold, be sent to mobile phone if the food that comprises this food variety is lacked to information, panel computer, in the mobile terminals such as PDA (palm PC), simultaneously, this controller sends the inquiry request that comprises this food variety to website, and at least one target item matching with this food variety of obtaining that this site search goes out, and the propelling movement order being made up of this at least one target item is sent to this mobile terminal.
In addition, the outer surface of this body is provided with a control panel and a display, this control panel for food variety and the weight threshold corresponding to each food variety of the food that each storage compartment stores are set for user, for example, is built-in with one for select the food variety drop-down menu and of food variety for select the weight threshold drop-down menu of weight threshold for user for user on this control panel; The information that also for example this control panel can receive user's input is as food variety and weight threshold etc.Weight and food variety corresponding to weight of this display for showing that this controller transmission comes.
Illustrate the present invention for concrete example below, to enable those skilled in the art to understanding better technical scheme of the present invention:
If be disposed with four storage compartments in the casing of refrigerator from top to bottom, these four storage compartments are respectively vegetables lattice 11, fruit lattice 12, drink lattice 13 and meat lattice 14, specifically shown in Figure 1, vegetables lattice 11 are for storing the food of greengrocery, fruit lattice 12 are for storing the food of fruits, drink lattice 13 are for storing the food of drink class, and meat lattice 14 are for storing the food of meat.
Centre position, the bottom place of each storage compartment is equipped with a gravity sensor, centre position, the bottom place of vegetables lattice 11 is provided with first gravity sensor 21 particularly, centre position, the bottom place of fruit lattice 12 is provided with second gravity sensor 22, centre position, the bottom place of drink lattice 13 is provided with the 3rd gravity sensor 23, and centre position, the bottom place of meat lattice 14 is provided with the 4th gravity sensor 24.
The side away from refrigerator door of refrigerator body is that refrigerator doors is provided with a controller 3 in the casing side relative with refrigerator door while closing, this controller 3 has four interfaces, and these four interfaces are respectively first interface 31, the second interface 32, the 3rd interface 33 and the 4th interface 34.
This first gravity sensor 21 and these first interface 31 wired connections, this second gravity sensor 22 and these the second interface 32 wired connections, the 3rd gravity sensor 23 and the 3rd interface 33 wired connections, the 4th gravity sensor 24 and the 4th interface 34 wired connections.
User is to the control panel implementation and operation on this body, first from food variety drop-down menu, choose greengrocery, from weight threshold drop-down menu, choose the first weight threshold of the food of greengrocery, by food variety drop-down menu and weight threshold drop-down menu successively choose fruits and second weight threshold corresponding to fruits thereafter, the 3rd weight threshold that drink class and drink class are corresponding, the 4th weight threshold that meat and meat are corresponding, then controller stores first interface 31, the corresponding relation of greengrocery and the first weight threshold, the second interface 32, the corresponding relation of fruits and the second weight threshold, the 3rd interface 33, the corresponding relation of drink class and the 3rd weight threshold, the 4th interface 34, the corresponding relation of meat and the 4th weight threshold.
This first gravity sensor 21, this second gravity sensor 22, the 3rd gravity sensor 23 and the 4th gravity sensor 24 detect respectively the weight of the food in these vegetables lattice 11, these fruit lattice 12, these drink lattice 13 and this meat lattice 14, and the quadruple amount of the 3rd weight of the second weight of the first weight of the greengrocery food detecting, fruits food, drink based food and meat product is transferred to respectively to this first interface 31, this second interface 32, the 3rd interface 33 and the 4th interface 34.
This controller 3 receives the first weight, the second weight, the 3rd weight and quadruple amount, and inquire successively greengrocery and first weight threshold of these first interface 31 correspondences, the fruits of these the second interface 32 correspondences and the second weight threshold, the drink class of the 3rd interface 33 correspondences and the 3rd weight threshold, the meat of the 4th interface 34 correspondences and the 4th weight threshold, then judge successively whether this first weight is less than this first weight threshold, whether this second weight is less than this second weight threshold, whether the 3rd weight is less than the 3rd weight threshold, whether this quadruple amount is less than the 4th weight threshold, judging this first weight is less than this first weight threshold and the 3rd weight and is less than the 3rd weight threshold to show that greengrocery food and drink based food lack needs supplementary, for example, so this controller 3 lacks the food that comprises greengrocery and drink class in the mobile terminal 4 (mobile phone) that information is sent to user, to inform not enough need to the supplementing of beverage in vegetables and the drink lattice 13 in user vegetables lattice 11, simultaneously, this controller 3 sends the inquiry request that comprises this greengrocery and drink class to website, then at least one target item matching with this greengrocery and drink class of obtaining that this site search goes out, and the propelling movement order being made up of this at least one target item is sent to this mobile terminal 4.
This controller 31 is judged this second weight and is greater than this second weight threshold and this quadruple amount and is greater than the 4th weight threshold and shows that fruits food and meat product abundance are without supplementing, at this moment this controller 31 can not send any information to this mobile terminal 4, also can send the food insufficient information of fruits and meat to mobile terminal 4.
Embodiment 2
The structure of the present embodiment refrigerator is identical with the structure of the refrigerator in embodiment 1, the difference of the present embodiment and embodiment 1 is: in the present embodiment, each gravity sensor is used for for example, detecting the weight of the food in the storage compartment that once this gravity sensor is corresponding every a time period (1 hour), and this weight is transferred to corresponding interface.The mode that this interval is detected is conducive to economize on resources, and reduces the operation burden of gravity sensor.
In addition, in embodiment 1, be to push order by refrigerator side automatic acquisition, and in the present embodiment, be to push order by mobile terminal side automatic acquisition, be specially: this mobile terminal lacks after information receiving food, initiatively send the inquiry request that comprises food variety to website, the background management system of website extracts the food variety in inquiry request, and search out at least one target item matching with this food variety according to search rule, at least one target item matching with this food variety that mobile terminal automatic acquisition site search goes out, these target item form one and push order, user is in the time being apprised of the food shortage of a certain kind like this, without oneself online active searching and this kind of food that based food matches, mobile terminal meeting active searching and this kind of food that based food matches, the order that user only need push according to mobile terminal places an order.The present embodiment has reduced user's operation, for user has saved search trouble, is conducive to improve user's experience.
Embodiment 3
The structure of the present embodiment refrigerator is identical with the structure of the refrigerator in embodiment 1, and the present embodiment is from the difference of embodiment 1 corresponding relation of storing in controller and controls the operation of carrying out the quantity different and gravity sensor that storage compartment bottom arranges different.
In the present embodiment, this controller stores the corresponding relation of interface, food variety and weight range, this controller is for the size of this weight relatively and this weight range, if this weight is less than the lower limit of this weight range, this food is lacked to information and be sent to this mobile terminal, if this weight is in this weight range, the food that comprises this food variety is sent to this mobile terminal by not enough information, if this weight is greater than the higher limit of this weight range, the food insufficient information that comprises this food variety is sent to this mobile terminal.
In order to improve the degree of accuracy of the information whether food that user knows lack, the present embodiment is evenly laid with multiple gravity sensors at the bottom peripheral edge place of each storage compartment, and the gravity sensor that is positioned at the bottom of same storage compartment is all typically wire connected to same interface; This controller transmits the mean value of multiple weight of coming for calculating same interface, and judges whether this mean value is less than this weight threshold, is sent to this mobile terminal if this food is lacked to information.
Embodiment 4
The structure of the present embodiment refrigerator is identical with the structure of the refrigerator in embodiment 3, the difference of the present embodiment and embodiment 3 is: in the present embodiment, the bottom peripheral edge place of each storage compartment is evenly laid with multiple gravity sensors, and the gravity sensor that is positioned at the bottom of same storage compartment is all typically wire connected to same interface.
This controller transmits the maximum weight value of multiple weight of coming for screening same interface, and judges that whether this maximum weight value is less than this weight threshold, is sent to this mobile terminal if this food is lacked to information.The present embodiment is also the degree of accuracy in order to improve the information whether food that user knows lack, and the specific implementation of just taking is different.
The present invention does not have complicated algorithm, without being equipped with expensive auxiliary equipment, has advantages of that realization is easy, cost is low, workable and practicality is good.
Each functional module in the present invention all can be realized in conjunction with existing software programming means under existing hardware condition, therefore its concrete methods of realizing is not all repeated at this.
Although more than described the specific embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited by appended claims.Those skilled in the art is not deviating under the prerequisite of principle of the present invention and essence, can make various changes or modifications to these embodiments, but these changes and amendment all fall into protection scope of the present invention.