The content of the invention
The invention provides a kind of refrigerator, diet program supplying system and refrigerator service implementation method, use can be improved
Experience at family.
In a first aspect, the invention provides a kind of refrigerator, the refrigerator includes:
MCU, image capture module, memory module and output module;
The MCU is connected with described image acquisition module, the memory module and the output module respectively;
The memory module, for store it is each treat edible food respectively corresponding to food name;
Described image acquisition module, for gathering the image of designated area;
The MCU, for determine described image acquisition module collection described image in whether there is characteristics of human body, when true
When determining to exist in described image characteristics of human body, each food name in the memory module is read, according to the human body
Feature and each food name, determine diet program corresponding to the characteristics of human body;
The output module, for showing the diet program determined.
Preferably,
The MCU, including:Judging submodule;
The judging submodule, for obtaining the image parameter in described image, judge whether described image parameter reaches
Parameter value set in advance, if it is, determining characteristics of human body be present in described image.
Preferably,
The MCU, including:Submodule, information determination sub-module, scheme determination sub-module are set;
The setting submodule, for setting at least one sample characteristics of human body and each described sample characteristics of human body
Corresponding diet information;
Described information determination sub-module, determine human body be present in the described image of described image acquisition module collection for working as
During feature, the characteristics of human body is matched with the various sample characteristics of human body that the setting submodule is set;When true
When the sample characteristics of human body to match with the characteristics of human body in fixed each sample characteristics of human body be present, then it will match
Diet information corresponding to the sample characteristics of human body is defined as target diet information;
The scheme determination sub-module, for the target diet information that is determined according to described information determination sub-module with
And each food name determines diet program corresponding to the characteristics of human body.
Preferably,
The memory module, is further used for storing at least one message to be released, to be released described in each of which to disappear
The corresponding sample characteristics of human body of breath;
Described information determination sub-module, it is further used for when determining to exist in each sample characteristics of human body and the people
During the sample characteristics of human body that body characteristicses match, it is determined that the sample characteristics of human body to match is described in memory module storage
With the presence or absence of corresponding information to be released at least one information to be released, if it is present being shown using the output module
Corresponding information to be released.
Preferably,
Further comprise:Communication module;
Described information determination sub-module, be further used for when determine to be not present in each sample characteristics of human body with it is described
During the sample characteristics of human body that characteristics of human body matches, the characteristics of human body is sent to the communication module;
The communication module, the characteristics of human body for described information determination sub-module to be sent are forwarded to the cloud of outside
Data service platform, so that cloud data service platform diet according to corresponding to the characteristics of human body generates the characteristics of human body
Information;Diet information corresponding to the characteristics of human body of the cloud data service platform feedback is received, by the diet information of reception
It is forwarded to the scheme determination sub-module;
The scheme determination sub-module, it is further used for the diet information according to communication module forwarding and each institute
State food name and determine diet program corresponding to the characteristics of human body.
Preferably,
Described image acquisition module, including:Infrared sensor and camera;
The infrared sensor, it whether there is infrared target in the designated area for detecting, if it is, triggering institute
State camera;
The camera, for when receiving the triggering of the infrared sensor, gathering the described of the designated area
Image.
Preferably,
The output module includes:Display, and/or, speech player;
When the output module includes display,
The display, for showing the diet program of the MCU determinations with image format;
When the output module includes speech player,
The speech player, for showing the diet program of the MCU determinations with speech form.
Preferably,
Further comprise:Timing module;
The timing module, for when the output module shows the diet program that the MCU is determined, record to be held
Extend the cumulative time for showing the diet program;When the cumulative time reaching time threshold set in advance, described in triggering
Output module is closed.
Preferably,
Further comprise:Alarm module;
The memory module, it is further used for storing period of validity corresponding to each food name difference;
The MCU, it is further used for being performed both by for each described food name, determines presently described food name
The accumulative resting period, when the accumulative resting period reaching period of validity corresponding to presently described food name, trigger institute
State alarm module;
The alarm module, for when receiving the triggering of the MCU, alarming.
Preferably,
Further comprise:Input module;
The input module, for receive outside input it is each it is described treat edible food respectively corresponding to food name,
And described treat that corresponding food name is written to the memory module to edible food respectively by each.
Second aspect, the invention provides a kind of diet program supplying system, the system includes:
Any of the above-described described refrigerator.
Preferably,
When the refrigerator includes communication module,
Further comprise:Cloud data service platform;
The cloud data service platform, is connected with the refrigerator, is forwarded by communication module for receiving the refrigerator
Characteristics of human body, the diet information according to corresponding to the characteristics of human body generates the characteristics of human body;The diet information is sent to
The refrigerator.
The third aspect, the invention provides a kind of refrigerator service implementation method, this method includes:
Store it is each treat edible food respectively corresponding to food name;
Gather the image of designated area;
It is determined that it whether there is characteristics of human body in the described image of collection;
When it is determined that characteristics of human body be present in described image, each food name is read, according to the characteristics of human body
With each food name, diet program corresponding to the characteristics of human body is determined;
Show the diet program that the MCU is determined.
Preferably,
It whether there is characteristics of human body in the described image for determining collection, including:
The image parameter in described image is obtained, judges whether described image parameter reaches parameter value set in advance, such as
Fruit is, it is determined that characteristics of human body in described image be present.
Preferably,
It is described to read each food name when it is determined that characteristics of human body be present, according to the characteristics of human body and each
The food name, diet program corresponding to the characteristics of human body is determined, including:
Diet information corresponding at least one sample characteristics of human body and each described sample characteristics of human body is set;
When it is determined that characteristics of human body be present in the described image of collection, by the characteristics of human body and the various sample human bodies
Feature is matched;
When it is determined that the sample characteristics of human body to match with the characteristics of human body in each sample characteristics of human body be present,
Diet information corresponding to the sample characteristics of human body to match is then defined as target diet information;
According to corresponding to the target diet information of determination and each food name determine the characteristics of human body
Diet program.
And/or
Further comprise:
When it is determined that in the absence of the sample characteristics of human body to match with the characteristics of human body in each sample characteristics of human body
When, the characteristics of human body is forwarded to outside cloud data service platform, so that the cloud data service platform is according to the people
Body characteristicses generate diet information corresponding to the characteristics of human body;
Receive diet information corresponding to the characteristics of human body of the cloud data service platform feedback;
The diet program according to corresponding to the diet information of reception and each food name determine the characteristics of human body.
The invention provides a kind of refrigerator, diet program supplying system and refrigerator service implementation method, using storing mould
Block storage is each to treat food name corresponding to edible food difference and the image using image capture module collection designated area.
When characteristics of human body be present in the image that MCU determines image capture module collection, each food name in memory module is read.
Then according to characteristics of human body and each food name, diet program corresponding to characteristics of human body present in image is determined.Recycle
The diet program that output module displaying MCU is determined.By above-mentioned, this programme can according to the characteristics of human body in image and
Each food name for treating edible food, determine to be directed to the diet program of the characteristics of human body in image.Therefore, the present invention carries
The scheme of confession can improve Consumer's Experience.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiments of the invention provide a kind of refrigerator, the refrigerator includes:
MCU101, image capture module 102, memory module 103 and output module 104;
The MCU101 respectively with described image acquisition module 102, the memory module 103 and the output module
104 are connected;
The memory module 103, for store it is each treat edible food respectively corresponding to food name;
Described image acquisition module 102, for gathering the image of designated area;
The MCU101, it is special with the presence or absence of human body in the described image gathered for determining described image acquisition module 102
Sign, when it is determined that characteristics of human body be present in described image, reads each food name in the memory module 103, root
According to the characteristics of human body and each food name, diet program corresponding to the characteristics of human body is determined;
The output module 104, the diet program determined for showing the MCU.
Embodiment according to Fig. 1, food name corresponding to edible food difference is treated using memory module storage is each
And the image using image capture module collection designated area.Exist when in the image that MCU determines image capture module collection
During characteristics of human body, each food name in memory module is read.Then according to characteristics of human body and each food name, it is determined that figure
The diet program corresponding to characteristics of human body as present in.The diet program for recycling output module displaying MCU to determine.By above-mentioned
Understand, this programme can be determined to be directed to according to the characteristics of human body in image and each food name for treating edible food
The diet program of characteristics of human body in image.Therefore, embodiment provided by the invention can improve Consumer's Experience.
In an embodiment of the invention, the specific pattern of characteristics of human body involved in flow chart shown in above-mentioned Fig. 1 can
To be determined according to business need.For example characteristics of human body can be face characteristic or human body contour outline feature.
In an embodiment of the invention, as shown in Fig. 2 the MCU101 can include:Judging submodule 201;
The judging submodule 201, for obtaining the image parameter in described image, judge whether described image parameter reaches
To parameter value set in advance, if it is, determining characteristics of human body be present in described image.
In the present embodiment, image parameter and parameter value can determine according to business need.For example work as characteristics of human body
For face characteristic when, parameter value set in advance be characterized a little between Euclidean distance, curvature and angle.Obtained from image
Image parameter is Euclidean distance, curvature and the angle between each characteristic point in image.And for example, when characteristics of human body is human body wheel
During wide feature, parameter value set in advance is characterized coordinate a little.The image parameter obtained from image is each in image
Coordinate corresponding to characteristic point difference.
Euclidean distance, curvature and angle characterized by parameter value set in advance between point below, and from image
The image parameter of acquisition is Euclidean distance between each characteristic point in image, illustrated exemplified by curvature and angle:
Euclidean distance, curvature and the angle between each characteristic point in image are obtained using judging submodule, by sentencing
Disconnected Euclidean distance, curvature and the angle drawn between each characteristic point of acquisition reaches the Europe between characteristic point set in advance
Family name's distance, curvature and angle, it is thus determined that characteristics of human body be present in the image of collection.
According to above-described embodiment, when judging that the image parameter in image reaches parameter value set in advance, it is determined that figure
Characteristics of human body be present as in.Due to judging to whether there is characteristics of human body in image by the image parameter in image, therefore scheming
Determine that the degree of accuracy of characteristics of human body is higher as in.
In an embodiment of the invention, as shown in figure 3, the MCU101 can include:Submodule 301, information are set
Determination sub-module 302, scheme determination sub-module 303;
The setting submodule 301, for setting at least one sample characteristics of human body and each described sample human body
Diet information corresponding to feature;
Described information determination sub-module 302, for being deposited when in the described image for determining the collection of described image acquisition module 102
In characteristics of human body, the various sample characteristics of human body that the characteristics of human body is set with the setting submodule 301 are carried out
Matching;When it is determined that the sample characteristics of human body to match with the characteristics of human body in each sample characteristics of human body be present, then
Diet information corresponding to the sample characteristics of human body to match is defined as target diet information;
The scheme determination sub-module 303, for the target diet determined according to described information determination sub-module 302
Information and each food name determine diet program corresponding to the characteristics of human body.
In the present embodiment, the pattern of sample characteristics of human body and the pattern of characteristics of human body are relevant.Such as when characteristics of human body is
During face characteristic, the sample characteristics of human body of setting is sample face characteristic.When characteristics of human body is human body contour feature, setting
Sample characteristics of human body is sample human body contour outline feature.
It is characterized as that example illustrates using characteristics of human body as face below:For example there is provided sample face characteristic 1 and sample people
Face feature 2.Wherein, the corresponding diet program 1 of sample face characteristic 1, the corresponding diet program 2 of sample face characteristic 2.Determine that image is adopted
Collection module collection image in face characteristic be present, then by the face characteristic in image respectively with sample face characteristic 1 and sample
This face characteristic 2 is matched.Determine that the matching degree of face characteristic and sample face characteristic 1 in image reaches through overmatching
The threshold value of setting, it is determined that sample face characteristic 1 matches with the face characteristic in image.By corresponding to sample face characteristic 1
Diet information 1 is defined as target diet information.Then scheme determination sub-module stores each according to diet information 1 and memory module
Individual food name determines diet program corresponding to face characteristic in image.
In the present embodiment, diet information corresponding to each sample characteristics of human body and each sample characteristics of human body
To be determined according to business need.For example the characteristics of human body that sample characteristics of human body 1 is Zhang San is set, then the correspondence of sample characteristics of human body 1
Diet information just be Zhang San diet information.The content that wherein diet information includes can determine according to business need.Such as
It can include:The physiologic informations such as the height of sample characteristics of human body, age, body weight, sex, the taste of diet letter of sample characteristics of human body
Breath such as love eats peppery, various menus corresponding to the disease information of sample characteristics of human body, sample characteristics of human body.
According to above-described embodiment, MCU includes setting submodule, information determination sub-module and scheme determination sub-module.
When it is determined that there is characteristics of human body in information determination sub-module, in the image of image capture module collection by characteristics of human body with setting son
The various sample characteristics of human body set in module are matched.When it is determined that existing and characteristics of human body's phase in each sample characteristics of human body
During the sample characteristics of human body of matching, then diet information corresponding to the sample characteristics of human body to match is defined as target diet letter
Breath.Then the target diet information and each food name that scheme determination sub-module determines according to information determination sub-module determine
Diet program corresponding to characteristics of human body.Due to diet program corresponding to the characteristics of human body in image be according to each food name,
And corresponding with the sample characteristics of human body that the characteristics of human body in image matches diet information determines, it is thus determined that diet
Scheme and the matching degree of the characteristics of human body in image are higher.
In an embodiment of the invention, the memory module 103 in structural representation shown in above-mentioned Fig. 3, is further used for
Store at least one message to be released, the corresponding sample characteristics of human body of message to be released described in each of which;
The then information determination sub-module 302 in structural representation shown in above-mentioned Fig. 3, it is further used for each described when determining
When the sample characteristics of human body to match with the characteristics of human body in sample characteristics of human body be present, it is determined that the sample human body to match is special
Levy with the presence or absence of corresponding information to be released at least one information to be released of memory module storage, if deposited
Then corresponding information to be released is being shown using the output module 104.
In the present embodiment, user can according to oneself need for sample characteristics of human body storage corresponding to letter to be released
Breath.For example two information to be released are stored in memory module, wherein the corresponding sample characteristics of human body 1 of information to be released 1, pending
The corresponding sample characteristics of human body 2 of cloth information 2.Characteristics of human body and sample human body present in the image of image capture module collection are special
When sign 1 matches, then information to be released corresponding to sample characteristics of human body 1 is determined whether there is in each information to be released.Through
Cross determination and store information 1 to be released corresponding to sample characteristics of human body 1 in a storage module, then will be to be released using output module
Information 1 is shown, so that user corresponding to the characteristics of human body in image obtains information 1 to be released in time.
According to above-described embodiment, memory module is further used for be released message of the storage corresponding to sample characteristics of human body.
When information determination sub-module determines the sample human body to match with the characteristics of human body in image in each sample characteristics of human body be present
During feature, it is determined that the sample characteristics of human body to match whether there is corresponding information to be released.When it is determined that the sample people to match
When body characteristicses have corresponding information to be released in each information to be released that memory module stores, then output module exhibition is utilized
Information to be released corresponding to showing.
In an embodiment of the invention, as shown in figure 4, can further include in refrigerator:Communication module 401;
Described information determination sub-module 302, be further used for when determine to be not present in each sample characteristics of human body with
During the sample characteristics of human body that the characteristics of human body matches, the characteristics of human body is sent to the communication module;
The communication module 401, the characteristics of human body for described information determination sub-module 302 to be sent are forwarded to outer
The cloud data service platform in portion, corresponded to so that the cloud data service platform generates the characteristics of human body according to the characteristics of human body
Diet information;Diet information corresponding to the characteristics of human body of the cloud data service platform feedback is received, by the drink of reception
Food information is forwarded to the scheme determination sub-module 303;
The scheme determination sub-module 303, be further used for according to the communication module 401 forward diet information and
Each food name determines diet program corresponding to the characteristics of human body.
In the present embodiment, when the characteristics of human body in image in each sample characteristics of human body pre-set be not present
During the sample human body special medical treatment matched somebody with somebody, it is impossible to determine diet information corresponding to the characteristics of human body in image, it is therefore desirable to pass through communication
Characteristics of human body in image is sent to cloud data service platform by module, so that cloud data service platform determines the human body in image
Diet information corresponding to feature.Cloud data service platform, and can be according to human body after the characteristics of human body in image is received
Feature determines that characteristics of human body corresponds to the information such as the age of user, sex.Then human body in image is generated according to the information of determination
Diet information corresponding to feature, and the diet information of generation is fed back into communication module.When communication module receives cloud data clothes
Be engaged in platform send diet information when, diet information is transmitted to scheme determination subelement so that scheme determination subelement according to
Diet information and each food name determine diet program corresponding to characteristics of human body in car image.
In the present embodiment, the pattern of communication module can determine according to business need.Such as network interface card.In addition, communication mould
Connected mode between block and cloud data service platform can be that radio connection can also be wired connection mode.
According to above-described embodiment, refrigerator further comprises communication module, and communication module is connected with cloud data service platform.
When the sample characteristics of human body to match with the characteristics of human body in image is not present in each sample characteristics of human body, the mould that communicates is utilized
Block sends the characteristics of human body in image to cloud data service platform, so that the human body in cloud data service platform feedback image is special
Diet information corresponding to sign.Then human body is determined using the diet information and each food name of cloud data service platform feedback
Diet program corresponding to feature.Put down due to that the characteristics of human body in image can be forwarded into cloud data, services by communication module
Platform, so that cloud data service platform is characteristics of human body's generation diet information in image.Therefore the human body in image can be ensured
Feature is respectively provided with corresponding diet program.
In an embodiment of the invention, as shown in figure 5, can include in described image acquisition module 102:Infrared sensing
Device 501 and camera 502;
The infrared sensor 501, it whether there is infrared target in the designated area for detecting, if it is, touching
Send out camera 502 described;
The camera 502, for when receiving the triggering of the infrared sensor 501, gathering the designated area
Described image.
In the present embodiment, the pattern of infrared sensor and camera can determine according to business need.For example select
With impulse type infrared sensor, from infrared illumination type camera.
In the present embodiment, the infrared targets such as human body or animal body be present when infrared sensor is detected in designated area
When, then trigger camera and designated area is shot, to gather the image of designated area.
According to above-described embodiment, image capture module includes infrared sensor and camera.When infrared sensor detects
When infrared target into designated area be present, the image of camera collection designated area is just triggered.It can be seen that camera is only red
Outer target just gathers image into designated area, therefore can reduce the energy consumption of image capture module.
In an embodiment of the invention, as shown in fig. 6, may further include in described image acquisition module 102:Light
Line sensor 601, infrared diode light filling array 602;
The infrared sensor 501, it is further used for, when infrared target be present in the detection designated area, triggering institute
State light sensor 601;
The light sensor 601, for when receiving the triggering of the infrared sensor 501, detecting described specify
Luminous intensity in region, the luminous intensity is sent to the MCU101;
The MCU101, it is further used for judging whether the luminous intensity that the light sensor 601 is sent is not more than
Default intensity threshold, if it is, triggering the infrared diode light filling array;
The infrared diode light filling array 602, for when receiving the triggering of the MCU101, opening.
In the present embodiment, passed when infrared sensor, which detects, infrared target be present in designated area, it is necessary to trigger light
Sensor, so that light sensor detects the luminous intensity of designated area.The luminous intensity detected is sent to by light sensor
MCU, so that MCU judges whether the luminous intensity of designated area meets the luminous intensity requirement of camera collection image.When MCU determines light
When intensity is not up to intensity threshold set in advance, then triggers infrared diode light filling array and open.Utilize infrared diode
Light filling array provides it for camera can gather the luminous intensity of image, so that camera can collect clearly image.
In the present embodiment, the specific pattern of light sensor and infrared diode array can be according to business need
It is determined that.For example infrared diode array can select the diode of wide scope.
According to above-described embodiment, light sensor is may further include in image capture module and infrared diode is mended
Optical arrays.When infrared sensor, which detects, infrared target be present in designated area, triggering light sensor detection designated area
Luminous intensity.Then the luminous intensity detected is sent to MCU by light sensor, so that MCU judges whether to trigger infrared two pole
Pipe light filling array is opened.Because MCU is when the luminous intensity for judging designated area is less than default intensity threshold, triggering is infrared
It is camera light filling that diode light filling array, which is opened, therefore can improve the quality of camera collection image.
In an embodiment of the invention, the output module 104 can include:Display, and/or, speech player;
When the output module 104 includes display,
The display, for showing the diet program of the MCU determinations with image format;
When the output module 104 includes speech player,
The speech player, for showing the diet program of the MCU determinations with speech form.
In the present embodiment, the specific pattern of output module can be according to business need, and following three kinds of feelings at least be present
Condition:
Situation one:Only include display in output module;
After diet program corresponding to the characteristics of human body in image is determined as MCU, display shows diet with image format
Scheme, so that user corresponding to characteristics of human body can intuitively check diet program by display.
Situation two:Only include speech player in output module;
After diet program corresponding to the characteristics of human body in image is determined as MCU, speech player is played with speech form
Diet program, so that the content that user corresponding to characteristics of human body can be played by speech player understands diet program.
Situation three:Output module includes display and speech player;
After diet program corresponding to the characteristics of human body in image is determined as MCU, display shows diet with image format
Scheme, while speech player plays diet program with speech form, so that user corresponding to characteristics of human body can not only can be with
Diet program is intuitively checked by display, and the content that can be played by speech player understands diet program.
According to above-described embodiment, it can determine that output module is included in display and speech player according to business need
Any one or more, therefore business is with strong applicability.
In an embodiment of the invention, as shown in fig. 7, may further include in refrigerator:Timing module 701;
The timing module 701, for showing the diet program of the MCU101 determinations when the output module 104
When, the cumulative time of diet program described in record continuous presentation;When the cumulative time reaching time threshold set in advance,
The output module 104 is triggered to close.
In the present embodiment, the time needed according to output module displaying diet program determines time threshold, and sets
Time threshold is more than the displaying time, to ensure that diet program can completely be shown within the time less than time threshold.
Illustrated below so that the time threshold set showed diet program 1 as 5 minutes, output module as an example:Exporting
When module starts to show diet program 1, the cumulative time of timing module start recording output module continuous presentation diet program 1.
When the cumulative time reaching time threshold 5 minutes, timing module triggering output module is closed.
According to above-described embodiment, when the diet program that output module displaying MCU is determined, recorded and exported using timing module
The cumulative time of module continuous presentation diet program.When the cumulative time reaching time threshold set in advance, triggering output mould
Block is closed.Therefore the energy consumption of output module can be reduced.
In an embodiment of the invention, as shown in figure 8, may further include in refrigerator:Alarm module 801;
The memory module 103, it is further used for storing period of validity corresponding to each food name difference;
The MCU101, it is further used for being performed both by for each described food name, determines presently described food name
The accumulative resting period claimed, when the accumulative resting period reaching period of validity corresponding to presently described food name, touch
Send out alarm module 801 described;
The alarm module 801, for when receiving the triggering of the MCU101, alarming.
In the present embodiment, such as, memory module is stored when the food name 1 of edible food 1, is further stored
Period of validity 3 days corresponding to food name 1.Then MCU determines the accumulative resting period of food name 1 in real time, is deposited when accumulative
When putting the time and reaching period of validity 3 days, triggering alarm module is alarmed, to inform that user treats that edible food 1 is expired in time,
So that user makes corresponding processing in time.
In the present embodiment, the pattern of alarm module and type of alarm can determine according to business need.For example report
Alert module is alarm bell, and sound is sent when receiving MCU triggering.
According to above-described embodiment, the accumulative resting period of each food name is determined using MCU, is reached when the accumulative resting period
To during period of validity, triggering alarm module is alarmed corresponding to food name, to inform that user treats that edible food is expired in time, with
Just user makes corresponding processing in time.
In an embodiment of the invention, as shown in figure 9, may further include in refrigerator:Input module 901;
The input module 901, for receive outside input it is each it is described treat edible food respectively corresponding to food name
Claim, and described treat that corresponding food name is written to the memory module 103 to edible food respectively by each.
In the present embodiment, when user by each when edible food is put into refrigerator, can will be each by input module
It is individual to treat that food name is input in input module corresponding to edible food.Then input module receives each of user's input and waits to eat
The food name corresponding to food difference, and treat that corresponding food name is written to memory module to edible food respectively by each
In, so that MCU generates diet program according to each food name.
In the present embodiment, the pattern of input module can determine according to business need.Such as can be induced key or
Person's touch-screen.
According to above-described embodiment, each of outside input is received by input module and treats food corresponding to edible food difference
Title, and treat that corresponding food name is written in memory module edible food respectively by each.Visual user input is each to be treated
Food name corresponding to edible food difference is more convenient.
As shown in Figure 10, the embodiments of the invention provide diet program supplying system, the system to include:
Any of the above-described described refrigerator 1001.
Embodiment according to Figure 10, the diet program supplying system include refrigerator.Because the refrigerator can basis
The characteristics of human body in image and each food name for treating edible food are gathered, determines to be directed to the characteristics of human body in image
Diet program.Therefore, embodiment provided by the invention can improve Consumer's Experience.
In an embodiment of the invention, as shown in figure 11, when the refrigerator 1001 includes communication module,
Further comprise:Cloud data service platform 1101;
The cloud data service platform 1101, be connected with the refrigerator 1001, for receive the refrigerator 1001 pass through it is logical
Believe the characteristics of human body of module forwards, the diet information according to corresponding to the characteristics of human body generates the characteristics of human body;By the drink
Food information is sent to the refrigerator 1001.
In the present embodiment, at least one matching characteristics of human body, each of which can be included in cloud data service platform
Match the corresponding diet information of characteristics of human body.After the characteristics of human body of communication module forwarding is received, the people that will receive
Body characteristicses match characteristics of human body and matched with each respectively, determine matched matching characteristics of human body.Then by determination
Diet information corresponding to matching characteristics of human body is defined as the diet information of the characteristics of human body of communication module forwarding.By the diet of determination
Information is sent to refrigerator so that refrigerator determines diet program according to the diet information and each food name of reception.
According to above-described embodiment, cloud data service platform can generate the characteristics of human body according to the characteristics of human body that refrigerator is sent
Corresponding diet information, and diet information is sent to refrigerator, so that the characteristics of human body in refrigerator collection image just has correspondingly
Diet information.
As shown in figure 12, the embodiments of the invention provide a kind of refrigerator service implementation method, this method to include:
Step 1201:Store it is each treat edible food respectively corresponding to food name;
Step 1202:Gather the image of designated area;
Step 1203:It is determined that it whether there is characteristics of human body in the described image of collection;
Step 1204:When it is determined that characteristics of human body be present in described image, each food name is read, according to described
Characteristics of human body and each food name, determine diet program corresponding to the characteristics of human body;
Step 1205:Show the diet program determined.
Embodiment according to Figure 12, store first it is each treat edible food respectively corresponding to food name and collection
The image of designated area.And determine to whether there is characteristics of human body in the image of collection, when it is determined that characteristics of human body be present in image,
Each food name of storage is read, characteristics of human body and each food name in image, is determined corresponding to characteristics of human body
Diet program.Then the diet program of determination is shown.By above-mentioned, this programme can according to the characteristics of human body in image with
And each food name for treating edible food, determine to be directed to the diet program of the characteristics of human body in image.Therefore, it is of the invention
The embodiment of offer can improve Consumer's Experience.
In an embodiment of the invention, step 1203 is determined in the described image of collection in flow chart shown in above-mentioned Figure 12
With the presence or absence of characteristics of human body, can include:
The image parameter in described image is obtained, judges whether described image parameter reaches parameter value set in advance, such as
Fruit is, it is determined that characteristics of human body in described image be present.
In an embodiment of the invention, in flow chart shown in above-mentioned Figure 12 there is characteristics of human body when determination in step 1204
When, each food name is read, according to the characteristics of human body and each food name, determines the characteristics of human body couple
The diet program answered, it can include:
Diet information corresponding at least one sample characteristics of human body and each described sample characteristics of human body is set;
When it is determined that characteristics of human body be present in the described image of collection, by the characteristics of human body and the various sample human bodies
Feature is matched;
When it is determined that the sample characteristics of human body to match with the characteristics of human body in each sample characteristics of human body be present,
Diet information corresponding to the sample characteristics of human body to match is then defined as target diet information;
According to corresponding to the target diet information of determination and each food name determine the characteristics of human body
Diet program.
In an embodiment of the invention, a kind of refrigerator service implementation method further comprises:
When it is determined that in the absence of the sample characteristics of human body to match with the characteristics of human body in each sample characteristics of human body
When, the characteristics of human body is forwarded to outside cloud data service platform, so that the cloud data service platform is according to the people
Body characteristicses generate diet information corresponding to the characteristics of human body;
Receive diet information corresponding to the characteristics of human body of the cloud data service platform feedback;
The diet program according to corresponding to the diet information of reception and each food name determine the characteristics of human body.
In an embodiment of the invention, the image of step 1202 collection designated area can in flow chart shown in above-mentioned Figure 12
With including:
Detect and whether there is infrared target in the designated area, if it is, gathering the figure of the designated area
Picture.
In an embodiment of the invention, the diet side that step 1205 displaying determines in flow chart shown in above-mentioned Figure 12
Case can include:
With image format, and/or, speech form shows the diet program that the MCU is determined.
In an embodiment of the invention, refrigerator service implementation method may further include:
When the diet program that displaying determines, the cumulative time of diet program described in continuous presentation is recorded;When described
When cumulative time reaches time threshold set in advance, stop showing the diet program.
In an embodiment of the invention, refrigerator service implementation method may further include:
Store period of validity corresponding to each food name difference;
It is performed both by for food name each described, determines the accumulative resting period of presently described food name, work as institute
When stating the accumulative resting period and reaching period of validity corresponding to presently described food name, alarm.
In an embodiment of the invention, step 1201 stores each edible food point treated in flow chart shown in above-mentioned Fig. 1
Not corresponding food name, can include:
Receive outside input it is each it is described treat edible food respectively corresponding to food name, and store and each described wait to eat
The food name corresponding to food difference.
Below by taking the image in refrigerator collection designated area A as an example.Expansion explanation refrigerator service implementation method, such as Figure 13 institutes
Show, the refrigerator service implementation method may include steps of:
Step 1301:Store it is each treat edible food respectively corresponding to food name and storage each food name difference
Corresponding period of validity.
In this step, food name 1 corresponding to edible food 1 and period of validity 3 days are treated in storage.Store and wait to eat
Food name 2 corresponding to food 2 and period of validity 6 days.
Step 1302:Diet corresponding at least one sample characteristics of human body and each sample characteristics of human body is set to believe
Breath.
In this step, there is provided sample characteristics of human body 1 and sample characteristics of human body 2.Wherein, the correspondence of sample characteristics of human body 1
Diet program 1, the corresponding diet program 2 of sample characteristics of human body 2.
Step 1303:Store at least one message to be released, the corresponding sample of each of which message to be released
Characteristics of human body.
In this step, information 1 and information to be released 2 to be released are stored.Wherein, the corresponding sample people of information 1 to be released
The corresponding sample characteristics of human body 2 of body characteristicses 1, information to be released 2.
Step 1304:It whether there is infrared target in detection designated area, if it is, performing step 1305, otherwise, terminate
Current process.
In this step, detect infrared target in designated area A be present, then perform step 1305.
Step 1305:Gather the image of designated area.
In this step, the image A in designated area A is acquired.
Step 1306:The image parameter in image is obtained, judges whether image parameter reaches parameter value set in advance, such as
Fruit is to perform step 1307;Otherwise, current process is terminated.
In this step, Euclidean distance, curvature and the angle between each characteristic point in image A are obtained, by sentencing
Disconnected Euclidean distance, curvature and the angle drawn between each characteristic point of acquisition reaches the Europe between characteristic point set in advance
Family name's distance, curvature and angle, it is thus determined that characteristics of human body in the image of collection be present, perform step 1307.
Step 1307:Determine characteristics of human body in image be present.
In this step, determine characteristics of human body 1 in image be present.
Step 1308:Characteristics of human body is matched with various sample characteristics of human body, determined in each sample characteristics of human body
With the presence or absence of the sample characteristics of human body to match with characteristics of human body, if it is, performing step 1309, otherwise, step 1311 is performed.
In this step, it is characteristics of human body 1 is special with the sample characteristics of human body 1 set in step 1302 and sample human body respectively
Sign 2 is matched.Determine that the matching degree of characteristics of human body 1 and sample characteristics of human body 1 in image A have reached setting through overmatching
Threshold value, it is determined that sample characteristics of human body 1 matches with the characteristics of human body 1 in image A, performs step 1309.
Step 1309:When it is determined that in the presence of the sample characteristics of human body to match with characteristics of human body in each sample characteristics of human body
When, then diet information corresponding to the sample characteristics of human body to match is defined as target diet information.
In this step, the corresponding diet information 1 of the sample characteristics of human body 1 to match with characteristics of human body 1 is defined as mesh
Mark diet information.
Step 1310:The diet according to corresponding to the target diet information of determination and each food name determine characteristics of human body
Scheme, and perform step 1314.
In this step, the diet side according to corresponding to the diet information 1 and each food name that are determined in step 1309
Case 1.For example it is high fat of blood that diet information 1, which includes the disease information of sample characteristics of human body 1, it is determined that diet program in wrap
Include fat content relatively low food name and menu.
Step 1311:When it is determined that in the absence of the sample characteristics of human body to match with characteristics of human body in each sample characteristics of human body
When, characteristics of human body is forwarded to outside cloud data service platform, so that cloud data service platform generates people according to characteristics of human body
Diet information corresponding to body characteristicses.
Step 1312:Receive diet information corresponding to the characteristics of human body of cloud data service platform feedback.
Step 1313:The diet side according to corresponding to the diet information of reception and each food name determine characteristics of human body
Case.
Step 1314:Show the diet program determined.
In this step, the diet program 1 determined in step 1310 is shown.
Step 1315:The cumulative time of continuous presentation diet program is recorded, reaches set in advance when the cumulative time
During time threshold, stop the diet program that displaying determines.
Step 1316:It is determined that the sample characteristics of human body to match whether there is at least one information to be released of storage
Corresponding information to be released, if it does, performing step 1317;Otherwise, step 1318 is performed.
In this step, the information to be released 1 and information to be released that sample characteristics of human body 1 stores in step 1303 are determined
Corresponding information to be released in 2 be present, and be information 1 to be released, then perform step 1317.
Step 1317:Information to be released corresponding to displaying, and perform step 1318.
In this step, information 1 to be released is shown.
Step 1318:A food name is selected in each food name successively as current food name.
Step 1319:It is determined that the accumulative resting period of current food name, judges whether the accumulative resting period reaches current
Period of validity corresponding to food name, if it is, performing step 1320;Otherwise, step 1321 is performed.
In this step, for example, judge food name 1 accumulative storage be between to reach the period of validity 3 days of setting,
Then alarm, so that user is handled the product for reaching period of validity in time.
Step 1320:Alarm.
Step 1321:It is determined that whether current food name is last food name, if it is, terminate current process,
Otherwise, step 1318 is performed.
In summary, each embodiment of the present invention can at least realize following beneficial effect:
1st, in embodiments of the present invention, using memory module storage it is each treat edible food respectively corresponding to food name with
And the image using image capture module collection designated area.When MCU determine image capture module collection image in people be present
During body characteristicses, each food name in memory module is read.And according to characteristics of human body and each food name, determine in image
Diet program corresponding to existing characteristics of human body.Then the diet program determined using output module displaying MCU.By it is above-mentioned can
Know, this programme can be determined to be directed to figure according to the characteristics of human body in image and each food name for treating edible food
The diet program of characteristics of human body as in.Therefore, embodiment provided by the invention can improve Consumer's Experience.
2nd, in embodiments of the present invention, when judging that the image parameter in image reaches parameter value set in advance, really
Determine characteristics of human body in image be present.Due to judging to whether there is characteristics of human body in image by the image parameter in image, therefore
Determine that the degree of accuracy of characteristics of human body is higher in the picture.
3rd, in embodiments of the present invention, MCU includes setting submodule, information determination sub-module and scheme to determine submodule
Block.When it is determined that there is characteristics of human body in information determination sub-module, in the image of image capture module collection by characteristics of human body with setting
The various sample characteristics of human body set in submodule are put to be matched.When it is determined that existing in each sample characteristics of human body special with human body
When levying the sample characteristics of human body to match, then diet information corresponding to the sample characteristics of human body to match is defined as target diet
Information.Then the target diet information and each food name that scheme determination sub-module determines according to information determination sub-module are true
Determine diet program corresponding to characteristics of human body.Because diet program corresponding to the characteristics of human body in image is according to each food name
Claim, and diet information corresponding with the sample characteristics of human body that the characteristics of human body in image matches determination, it is thus determined that
Diet program and the matching degree of the characteristics of human body in image are higher.
4th, in embodiments of the present invention, memory module is further used for storing and disappeared corresponding to the to be released of sample characteristics of human body
Breath.When information determination sub-module determines the sample people to match with the characteristics of human body in image in each sample characteristics of human body be present
During body characteristicses, it is determined that the sample characteristics of human body to match whether there is corresponding information to be released.When it is determined that the sample to match
When characteristics of human body has corresponding information to be released in each information to be released that memory module stores, then output module is utilized
Information to be released corresponding to displaying.
5th, in embodiments of the present invention, refrigerator further comprises communication module, communication module and cloud data service platform
It is connected.When the sample characteristics of human body to match with the characteristics of human body in image is not present in each sample characteristics of human body, utilize
Communication module sends the characteristics of human body in image to cloud data service platform, so that in cloud data service platform feedback image
Diet information corresponding to characteristics of human body.Then it is true using the diet information and each food name of cloud data service platform feedback
Determine diet program corresponding to characteristics of human body.Taken due to that the characteristics of human body in image can be forwarded into cloud data by communication module
Business platform, so that cloud data service platform is characteristics of human body's generation diet information in image.Therefore can ensure in image
Characteristics of human body is respectively provided with corresponding diet program.
6th, in embodiments of the present invention, image capture module includes infrared sensor and camera.Work as infrared sensor
Detect in designated area that just triggering camera gathers the image of designated area when infrared target be present.It can be seen that camera only has
Image is just gathered into designated area in infrared target, therefore the energy consumption of image capture module can be reduced.
7th, in embodiments of the present invention, light sensor and infrared two pole are may further include in image capture module
Pipe light filling array.When infrared sensor, which detects, infrared target be present in designated area, triggering light sensor detection is specified
The luminous intensity in region.Then the luminous intensity detected is sent to MCU by light sensor so that MCU judge whether to trigger it is infrared
Diode light filling array is opened.Because MCU is when the luminous intensity for judging designated area is less than default intensity threshold, triggering
It is camera light filling that infrared diode light filling array, which is opened, therefore can improve the quality of camera collection image.
8th, in embodiments of the present invention, it can determine that output module includes display and speech player according to business need
In any one or more, therefore business is with strong applicability.
9th, in embodiments of the present invention, when the diet program that output module displaying MCU is determined, recorded using timing module
The cumulative time of output module continuous presentation diet program.When the cumulative time reaching time threshold set in advance, triggering is defeated
Go out module closing.Therefore the energy consumption of output module can be reduced.
10th, in embodiments of the present invention, the accumulative resting period of each food name is determined using MCU, when accumulative storage
When time reaches period of validity corresponding to food name, triggering alarm module alarm, to inform that user treats edible food in time
It is expired, so that user makes corresponding processing in time.
11st, in embodiments of the present invention, each of outside input is received by input module and treats that edible food corresponds to respectively
Food name, and treat that corresponding food name is written in memory module edible food respectively by each.Visual user inputs
It is each to treat that food name corresponding to edible food difference is more convenient.
12nd, in embodiments of the present invention, the diet program supplying system includes refrigerator.Because the refrigerator can be according to adopting
Collect the characteristics of human body in image and each food name for treating edible food, determine to be directed to characteristics of human body's in image
Diet program.Therefore, embodiment provided by the invention can improve Consumer's Experience.
13rd, in embodiments of the present invention, cloud data service platform can generate the people according to the characteristics of human body that refrigerator is sent
Diet information corresponding to body characteristicses, and diet information is sent to refrigerator, so that the characteristics of human body in refrigerator collection image is
There is corresponding diet information.
14th, in embodiments of the present invention, store first it is each treat edible food respectively corresponding to food name and collection
The image of designated area.And determine to whether there is characteristics of human body in the image of collection, when it is determined that characteristics of human body be present in image,
Each food name of storage is read, characteristics of human body and each food name in image, is determined corresponding to characteristics of human body
Diet program.Then the diet program of determination is shown.By above-mentioned, this programme can according to the characteristics of human body in image with
And each food name for treating edible food, determine to be directed to the diet program of the characteristics of human body in image.Therefore, it is of the invention
The embodiment of offer can improve Consumer's Experience.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply and exist between these entities or operation
Any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of elements not only include those key elements,
But also the other element including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element limited by sentence " including one ", is not arranged
Except other identical factor in the process including the key element, method, article or equipment being also present.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in computer-readable storage medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit the scope of the present invention.Any modification for being made within the spirit and principles of the invention,
Equivalent substitution, improvement etc., are all contained in protection scope of the present invention.