CN113390227B - Refrigerator control method and device, computer readable storage medium and electronic equipment - Google Patents

Refrigerator control method and device, computer readable storage medium and electronic equipment Download PDF

Info

Publication number
CN113390227B
CN113390227B CN202110580329.XA CN202110580329A CN113390227B CN 113390227 B CN113390227 B CN 113390227B CN 202110580329 A CN202110580329 A CN 202110580329A CN 113390227 B CN113390227 B CN 113390227B
Authority
CN
China
Prior art keywords
refrigerator
user
face recognition
unlocking
preset
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110580329.XA
Other languages
Chinese (zh)
Other versions
CN113390227A (en
Inventor
李兰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202110580329.XA priority Critical patent/CN113390227B/en
Publication of CN113390227A publication Critical patent/CN113390227A/en
Application granted granted Critical
Publication of CN113390227B publication Critical patent/CN113390227B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D29/00Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2400/00General features of, or devices for refrigerators, cold rooms, ice-boxes, or for cooling or freezing apparatus not covered by any other subclass
    • F25D2400/36Visual displays
    • F25D2400/361Interactive visual displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F25REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
    • F25DREFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
    • F25D2600/00Control issues
    • F25D2600/06Controlling according to a predetermined profile

Abstract

The application discloses a refrigerator control method, a refrigerator control device, a computer readable storage medium and electronic equipment, wherein the refrigerator control method and the refrigerator control device are characterized in that unlocking operation of a preset storage room of a refrigerator is received by a user, then face recognition is carried out on the user according to the unlocking operation, a face recognition result is obtained, and then when the face recognition result passes, locking of the preset storage room is released. According to the refrigerator locking device, the storage chamber of the refrigerator is locked, so that a specific user can open the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened at will, and the safety of the refrigerator is improved.

Description

Refrigerator control method and device, computer readable storage medium and electronic equipment
Technical Field
The application relates to the technical field of household appliances, in particular to a refrigerator control method, a refrigerator control device, a computer readable storage medium and electronic equipment.
Background
With the improvement of the living standard of people and the development of technology, the refrigerator has more and more storage chambers and various functions of the storage chambers, such as a storage chamber with a refrigerating function, a storage chamber with a temperature changing function, a storage chamber with a freezing function, a storage chamber with an ice making function and the like, so that the living of people is greatly facilitated.
However, anyone can open the refrigerator door to remove the articles inside the refrigerator. It can be seen that the storage compartment of the refrigerator can be opened by anyone at will in the prior art, resulting in lower safety of the refrigerator.
Disclosure of Invention
The embodiment of the application provides a refrigerator control method, a refrigerator control device, a computer readable storage medium and electronic equipment, which can improve the safety of a refrigerator.
In a first aspect, an embodiment of the present application provides a method for controlling a refrigerator, including:
receiving unlocking operation of a user on a preset storage chamber of the refrigerator;
performing face recognition on the user according to the unlocking operation to obtain a face recognition result;
and when the face recognition result passes, unlocking the preset storage room.
In a second aspect, an embodiment of the present application further provides a control device for a refrigerator, including:
the receiving module is used for receiving unlocking operation of a user on a preset storage chamber of the refrigerator;
the face recognition module is used for recognizing the face of the user according to the unlocking operation to obtain a face recognition result;
and the unlocking module is used for unlocking the preset storage room when the face recognition result passes.
In a third aspect, embodiments of the present application further provide a computer-readable storage medium having stored thereon a computer program which, when run on a computer, causes the computer to perform a refrigerator control method as provided in any of the embodiments of the present application.
In a fourth aspect, embodiments of the present application further provide an electronic device, including a processor and a memory, where the memory has a computer program, and the processor is configured to execute the refrigerator control method provided in any embodiment of the present application by calling the computer program.
According to the technical scheme, the unlocking operation of the preset storage room of the refrigerator is received by a user, then face recognition is carried out on the user according to the unlocking operation, a face recognition result is obtained, and then when the face recognition result passes, the locking of the preset storage room is released. According to the embodiment of the application, the storage chamber of the refrigerator is locked, so that a specific user can open the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened at will, and the safety of the refrigerator is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments will be briefly introduced below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic view of an application scenario of a refrigerator control method according to an embodiment of the present application.
Fig. 2 is a schematic flow chart of a first method for controlling a refrigerator according to an embodiment of the present application.
Fig. 3 is a schematic flow chart of a second method for controlling a refrigerator according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a control device of a refrigerator according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by a person skilled in the art without any inventive effort, are intended to be within the scope of the present application based on the embodiments herein.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The embodiment of the application provides a control method of a refrigerator, and an execution main body of the control method of the refrigerator can be a control device of the refrigerator or electronic equipment integrated with the control device of the refrigerator, wherein the control device of the refrigerator can be realized in a hardware or software mode.
For example, referring to fig. 1, fig. 1 is a schematic application scenario diagram of a refrigerator control method according to an embodiment of the present application. The electronic device is taken as a refrigerator for example. As shown in fig. 1, the refrigerator includes 4 kinds of storage compartments having a refrigerating function, a temperature-varying function, a freezing function, and an ice-making function, respectively. The refrigerator also includes a display screen for interacting with a user. The refrigerator can receive unlocking operation of a user on a preset storage room of the refrigerator through the display screen, then acquire face images of the user according to the unlocking operation, display the face images of the user through the display screen, face recognition is carried out on the user according to the face images of the user, face recognition results are obtained, then, when the face recognition results pass, locking of the preset storage room is released, and the purpose of improving safety of the refrigerator is achieved.
The following will describe in detail. The order of the following examples is not limited to the preferred order of the examples.
Referring to fig. 2, fig. 2 is a schematic flow chart of a refrigerator control method according to an embodiment of the present application. The specific flow of the refrigerator control method provided by the embodiment of the application may be as follows:
101. an unlocking operation of a preset storage chamber of the refrigerator by a user is received.
With the improvement of the living standard of people and the development of technology, the refrigerator has more and more storage chambers and various functions of the storage chambers, such as a storage chamber with a refrigerating function, a storage chamber with a temperature changing function, a storage chamber with a freezing function, a storage chamber with an ice making function and the like, so that the living of people is greatly facilitated.
However, anyone can open the refrigerator door to remove the articles inside the refrigerator. It can be seen that the storage compartment of the refrigerator can be opened by anyone at will in the prior art, resulting in lower safety of the refrigerator.
An embodiment of the present application provides a refrigerator control method capable of improving the safety of a refrigerator, so as to solve the above-mentioned problems.
The preset storeroom refers to a preset storeroom which needs to be subjected to face recognition.
It is understood that the user may select one or more preset storage compartments at a time to perform the unlocking operation.
It will be appreciated that different users may be given different refrigerator usage rights in order to manage users of the refrigerator. For example, in a scenario of using a refrigerator in a household, a certain household includes dad mom and daughter (children), and any one of the parents (dad or mom) can enter face images of each household member and corresponding unlocking rights of the refrigerator in advance. For example, face images corresponding to father and mother are set to unlock all the storage chambers of the refrigerator, and face images corresponding to daughter cannot unlock all the storage chambers of the refrigerator. Under this setting, when the daughter performs an unlocking operation of the storage compartments of the refrigerator, the lock of any one of the storage compartments of the refrigerator cannot be released.
In an embodiment of the present application, each storage compartment of the refrigerator includes a corresponding door lock to lock the respective storage compartment. Accordingly, when a user wants to use the locked refrigerator storage compartment, a corresponding unlocking operation is required.
In one embodiment, the unlocking operation may be that the user inputs a corresponding unlocking instruction through a display screen provided on the refrigerator. For example, the user clicks an unlock button corresponding to a preset storage compartment on the display screen that needs to be unlocked.
In one embodiment, the unlocking operation may be that a user inputs a specific sliding operation or a gesture through a touch pad provided on the refrigerator, so as to generate an unlocking instruction corresponding to a preset storage chamber, for example, the user performs a sliding operation on the touch pad through three fingers, so as to correspond to the unlocking operation of the storage chamber with a freezing function; for another example, a user circles an unlock operation corresponding to a storage room having a temperature change function on a touch pad, and so on.
In one embodiment, the unlocking operation may be that the user presses an unlocking button provided on the refrigerator, so as to generate a corresponding unlocking instruction.
It is understood that the storage compartment may include a storage compartment having a refrigerating function, a storage compartment having a temperature varying function, a storage compartment having a freezing function, a storage compartment having an ice making function, and the like. Any one of the storage compartments may be used as a preset storage compartment.
102. And carrying out face recognition on the user according to the unlocking operation to obtain a face recognition result.
For example, the user triggers the refrigerator to enter a face recognition mode through unlocking operation, so that the refrigerator obtains a face image of the user to perform recognition processing.
It can be appreciated that when the refrigerator enters the face recognition mode, the user needs to cooperate with the refrigerator to enable the refrigerator to acquire the face image of the user. For example, the user faces the face against a camera on the refrigerator.
In an embodiment, a motion detector can be further arranged on the refrigerator, before the refrigerator detects unlocking operation of a user, whether the user appears in the surrounding area of the refrigerator is detected through the motion detector, when the user appears, a corresponding face recognition function on the refrigerator can be started in advance to photograph the face of the user and perform face recognition, and a face recognition result is obtained and stored in a preset storage space. Before the refrigerator performs face recognition on the user, the face recognition result obtained in advance can be called from the preset storage space, so that the refrigerator can respond more rapidly. It will be appreciated that the face recognition device corresponding to the face recognition function includes a camera, which may be a camera with a tracking function, and may recognize and track the face image of the person.
The peripheral area of the refrigerator can be a circular area which is obtained by drawing a circle with the refrigerator as a circle center and with a radius of 2 meters, and the circular area is regarded as the peripheral area of the refrigerator. Of course, the size of the area around the refrigerator may be set by the user according to his own circumstances.
103. And when the face recognition result passes, unlocking the preset storeroom.
In the embodiment of the application, when the face recognition is passed, namely the user has the authority of unlocking the preset storeroom, the locking of the preset storeroom is correspondingly unlocked.
For example, a user selects an unlocking button corresponding to a preset storage room which is required to be unlocked currently through a display screen, the refrigerator is triggered to enter a face recognition mode, and when a face recognition result passes, the refrigerator automatically releases the lock of the storage room with unlocking authority of the user in the preset storage room which is required to be unlocked.
For another example, after the user presses an unlock button provided on the refrigerator, the refrigerator is triggered to enter a face recognition mode, and when the face recognition result passes, the refrigerator automatically unlocks a preset storeroom with unlock authority of the user.
It is understood that the user may select one or more preset storage compartments at a time to perform the unlocking operation. When the user selects a plurality of preset storerooms, for example, the unlocking authority of the storerooms with the refrigerating function and the storerooms with the temperature changing function can be released, and when the user selects the storerooms with the refrigerating function, the storerooms with the temperature changing function and the storerooms with the ice making function to perform the unlocking operation, the preset storerooms with the unlocking authority of the user are only released, namely, the storerooms with the refrigerating function and the storerooms with the temperature changing function are correspondingly released.
In particular, the present application is not limited by the order of execution of the steps described, and certain steps may be performed in other orders or concurrently without conflict.
As can be seen from the above, according to the refrigerator control method provided by the embodiment of the application, the unlocking operation of the user on the preset storage room of the refrigerator is received, then the face recognition is performed on the user according to the unlocking operation, the face recognition result is obtained, and then the locking of the preset storage room is released when the face recognition result passes. According to the embodiment of the application, the storage chamber of the refrigerator is locked, so that a specific user can open the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened at will, and the safety of the refrigerator is improved.
The method described in the previous examples is described in further detail below by way of example.
Referring to fig. 3, fig. 3 is a schematic diagram of a second flow of the refrigerator control method according to the embodiment of the present application. The specific flow of the refrigerator control method provided by the embodiment of the application may be as follows:
201. an unlocking operation of a preset storage chamber of the refrigerator by a user is received.
In an embodiment of the present application, each storage compartment of the refrigerator includes a corresponding door lock to lock the respective storage compartment. Accordingly, when a user wants to use the locked refrigerator storage compartment, a corresponding unlocking operation is required.
In one embodiment, the unlocking operation may be that the user inputs a corresponding unlocking instruction through a display screen provided on the refrigerator. For example, the user clicks an unlock button corresponding to a preset storage compartment on the display screen that needs to be unlocked.
In one embodiment, the unlocking operation may be that a user inputs a specific sliding operation or a gesture through a touch pad provided on the refrigerator, so as to generate an unlocking instruction corresponding to a preset storage chamber, for example, the user performs a sliding operation on the touch pad through three fingers, so as to correspond to the unlocking operation of the storage chamber with a freezing function; for another example, a user circles an unlock operation corresponding to a storage room having a temperature change function on a touch pad, and so on.
In one embodiment, the unlocking operation may be that the user presses an unlocking button provided on the refrigerator, so as to generate a corresponding unlocking instruction.
It will be appreciated that the unlock instruction may trigger the refrigerator to enter face recognition mode, i.e. to enter step 202.
It should be understood that the foregoing is merely illustrative, and the technical solutions of the present application are not limited in any way, and those skilled in the art may perform setting based on needs in practical applications, which are not listed here.
The preset storeroom refers to a preset storeroom which needs to be subjected to face recognition.
It is understood that the user may select one or more preset storage compartments at a time to perform the unlocking operation.
For example, a user can input a corresponding unlocking instruction through a display screen arranged on the refrigerator, exhale a face unlocking page, and select a preset storeroom to be unlocked on the face unlocking page to perform corresponding unlocking operation.
For another example, the user does not need to select the preset storeroom to be unlocked, the refrigerator is directly triggered to enter the face recognition mode through the unlocking operation, and then when the face recognition result is passed, the refrigerator automatically unlocks the preset storeroom with unlocking authority of the user
It is understood that the unlocking authority of the refrigerator storage chamber may be different for different users. The unlocking authority can be set according to the actual demands of users.
For example, the user a may be set to have an unlocking right to unlock the storage compartment having the freezing function and the storage compartment having the temperature change function, and the user b may be set to have an unlocking right to unlock the storage compartment having the freezing function and the storage compartment having the refrigerating function.
Therefore, when the user A unlocks the storage chamber with the freezing function and the storage chamber with the temperature changing function, the unlocking of the corresponding storage chamber can be performed; when the user a unlocks the storage compartments other than the storage compartment having the freezing function and the storage compartment having the temperature changing function, the corresponding storage compartment cannot be unlocked.
Similarly, the user b can unlock only the storage compartment having the freezing function and the storage compartment having the refrigerating function, but cannot unlock the storage compartments other than the storage compartment having the freezing function and the storage compartment having the refrigerating function.
Of course, it is also possible to unlock a portion of the storage compartment of the refrigerator. For example, a relatively general storage compartment having a fresh-keeping function may be unlocked so that any user can use the storage compartment having the fresh-keeping function.
In one embodiment, the step of receiving an unlocking operation of a preset storage compartment of the refrigerator by a user may further include the steps of:
(1) Providing an interactive interface;
(2) And receiving unlocking operation of a user on a preset storage chamber of the refrigerator through the interactive interface.
For example, the interactive interface may be a display screen. The user can click a face unlocking icon on the display screen of the refrigerator, exhale a face unlocking page, select a preset storeroom to be unlocked on the face unlocking page, click an unlocking button corresponding to the preset storeroom, and then enter a subsequent face recognition step 202.
For another example, the interactive interface may also be an input device disposed on the refrigerator, where the input device may be a touch pad or an unlock button. For example, when a user inputs a specific operation combination or gesture on the touch pad, a refrigerator unlocking instruction is triggered, and a subsequent face recognition step is further performed. For another example, the user may directly trigger an unlock button on the refrigerator to enter a subsequent face recognition step.
202. And carrying out face recognition on the user according to the unlocking operation to obtain a face recognition result.
In one embodiment, the step of "performing face recognition on the user according to the unlocking operation to obtain the face recognition result" may further include the following steps:
(1) And acquiring a face image of the user.
In the embodiment of the application, when the user performs unlocking operation, the face image of the user can be acquired through the camera.
(2) And obtaining the similarity between the face image and a preset face image.
The preset face image is a face image of a user corresponding to the preset storeroom and having unlocking authority of the preset storeroom.
For example, in a scenario where a refrigerator is used in a home, a certain home includes dad mom and girl (children), and the refrigerator in the home includes 4 kinds of storage compartments having different functions, namely, a storage compartment having a refrigerating function, a storage compartment having a temperature changing function, a storage compartment having a freezing function, and a storage compartment having an ice making function. The face image of the family member and the corresponding refrigerator unlocking authority can be input by any parent (dad or mom) in advance.
For example, face images corresponding to father and mother are set to unlock all the storage chambers of the refrigerator, and face images corresponding to daughter cannot unlock all the storage chambers of the refrigerator. When a daughter in the household unlocks a storeroom with a freezing function, in the scene, the preset face image corresponding to the storeroom with the freezing function refers to the face image corresponding to dad mom, so that the refrigerator can respectively compare the acquired face image corresponding to the daughter with the acquired face image corresponding to the dad mom in similarity to analyze whether the acquired face image is the same face image as the preset face image, and obviously the face recognition result of the daughter cannot pass through, and the daughter cannot unlock the storeroom with the freezing function.
(3) And when the similarity is larger than a preset threshold value, obtaining a face recognition result passing recognition.
For example, the acquired face image of the user is compared with the preset face image, the similarity between the face image and the preset face image is obtained according to the comparison and analysis, and whether the acquired face image of the user is the preset face image is further judged according to the similarity. When the similarity between the obtained face image of the user and a certain preset face image is larger than a preset threshold value, the fact that the user corresponds to the same person with the preset face image is indicated, the face recognition is judged to pass, and the face recognition result passing the recognition is obtained.
It can be understood that when the face recognition result passes, that is, the similarity between the face image of the user and the preset face image is greater than the preset threshold. The preset threshold may be set according to a value required in a related algorithm of face recognition actually used, which is not particularly limited herein.
In one embodiment, the step of "performing face recognition on the user according to the unlocking operation to obtain the face recognition result" may further include the following steps:
(1) And outputting prompt information to prompt the face recognition result.
For example, when the user performs an unlocking operation of the storage compartment having the refrigerating function and the face recognition result is recognized as passing, the word "you have unlocked the storage compartment having the refrigerating function" may be displayed on the display screen provided in the refrigerator. The user may also be prompted by voice alone. The display screen and the voice can be combined to better prompt the user.
For another example, when the user performs an unlocking operation on the storage room with the refrigerating function and the face recognition result identifies that the user fails, the text "sorry, you cannot unlock the storage room with the refrigerating function" may be displayed on the display screen provided in the refrigerator. The user can also be prompted by voice alone or by combining the display and audio to better prompt the user.
In an embodiment, a motion detector can be further arranged on the refrigerator, before the refrigerator detects unlocking operation of a user, whether the user appears in the surrounding area of the refrigerator is detected through the motion detector, when the user appears, a corresponding face recognition function on the refrigerator can be started in advance to photograph the face of the user and perform face recognition, and a face recognition result is obtained and stored in a preset storage space. Before the refrigerator performs face recognition on the user, the face recognition result obtained in advance can be called from the preset storage space, so that the refrigerator can respond more rapidly. It will be appreciated that the face recognition device corresponding to the face recognition function includes a camera, which may be a camera with a tracking function, and may recognize and track the face image of the person.
203. And when the face recognition result is passed, determining the unlocking times of the preset storeroom corresponding to the preset face image, and when the unlocking times are not zero, unlocking the preset storeroom.
In the embodiment of the application, besides setting the unlocking authority of the storage room of the refrigerator owned by different users, the unlocking times of the user for unlocking a certain storage room can be limited.
For example, when a certain user face recognition passes, it is further required to determine whether the number of unlocking times corresponding to the unlocking authority of the user on the preset storage room remains, and if the number of unlocking times remains, that is, the user still has the available unlocking times, the preset storage room is unlocked.
For example, in a case where a refrigerator is used in a home, when a parent is not at home, a child takes and consumes ice-cold foods in the refrigerator without restriction, thereby causing physical discomfort by the child excessively consuming the ice-cold foods. Through the scheme provided by the application, the authority that the child can unlock the storeroom can be set in advance. For example, a child is allowed to unlock a storage compartment having a freezing function only twice to prevent the child from excessively eating frozen foods in the refrigerator. When the child performs unlocking operation on the storage room with the freezing function, if the face recognition result passes, it is also required to determine whether the child has unlocking times corresponding to unlocking authorities of the storage room with the freezing function, and if the child has unlocking times, namely the unlocking times are not zero, the child can unlock the storage room with the freezing function. If the unlocking times are not present, the child cannot unlock the storage compartment with the freezing function.
In one embodiment, after the step of "unlocking the preset storage compartment", the method may further include the steps of:
(1) When the preset storage compartment is not opened for a preset period of time, the preset storage compartment is locked.
For example, the preset duration may be set to five minutes, and when the preset storage compartment is not opened within five minutes, the preset storage compartment is automatically locked.
For another example, the preset duration may be set to eight minutes, and the preset storage compartment is automatically locked when the preset storage compartment is not opened within eight minutes.
It is understood that the preset time period can be set according to the requirement of the user, and is not particularly limited herein.
In one embodiment, after the step of "unlocking the preset storage compartment", the method may further include the steps of:
(1) When it is detected that the preset storage compartment is closed, the preset storage compartment is locked.
For example, when it is detected that the preset storage compartment is closed, the user is considered to finish taking food from the preset storage compartment, and the preset storage compartment is automatically locked. If the user also needs to open the preset storage room, the unlocking operation needs to be performed again.
204. And updating the unlocking times of the preset storeroom corresponding to the preset face image.
Also taking as an example the scenario in which the refrigerator is used in the home in step 203. Since the child is allowed to unlock the storage compartment having the freezing function only twice, the number of unlocking times is reduced once when the child unlocks the storage compartment having the freezing function once, and thus the number of unlocking times to unlock the storage compartment having the freezing function is updated to one time.
In one embodiment, cameras can be further arranged in each storage room of the refrigerator to record the taking condition of articles in the refrigerator and record the users corresponding to the articles. For example, the number of ice cream that children in family members can take can be limited to 3, and when the number of ice cream that children take reaches 3, the unlocking times of the children to the storeroom with the freezing function is updated to zero later.
In one implementation manner, the refrigerator provided in the embodiment of the application can be connected with a server through the internet and performs data interaction with the server. The user can log in the server through a terminal such as a PC (Personal Computer ), a tablet personal computer, a mobile phone and the like, so that the user can set related functions of the refrigerator through the terminal, and the refrigerator can be controlled more conveniently by the user.
For example, a user can remotely acquire the condition that a child in the home takes food in the refrigerator through a mobile phone, so that parents can remotely adjust unlocking rights of a storeroom in which the child in the home can unlock through the use condition.
For example, the user can also unlock the refrigerator in home remotely through the mobile phone, so that the user can unlock the refrigerator directly through the portable mobile phone, the unlocking of the refrigerator is not limited to the corresponding unlocking operation which is not required to be input on the refrigerator main body, and the unlocking of the refrigerator is more convenient.
As can be seen from the above, the refrigerator control method provided by the embodiment of the present application receives the unlocking operation of the user on the preset storage room of the refrigerator, then performs face recognition on the user according to the unlocking operation to obtain a face recognition result, and then, when the face recognition result passes, releases the lock of the preset storage room. According to the embodiment of the application, the storage chamber of the refrigerator is locked, so that a specific user can open the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened at will, and the safety of the refrigerator is improved.
In one embodiment, a control device of a refrigerator is also provided. Referring to fig. 4, fig. 4 is a schematic structural diagram of a control device 300 of a refrigerator according to an embodiment of the present disclosure. The control device 300 of the refrigerator is applied to an electronic device, and the control device 300 of the refrigerator comprises a receiving module 301, a face recognition module 302 and an unlocking module 303, as follows:
the receiving module 301 is configured to receive an unlocking operation of a preset storage chamber of the refrigerator by a user.
And the face recognition module 302 is configured to perform face recognition on the user according to the unlocking operation, so as to obtain a face recognition result.
And the unlocking module 303 is used for unlocking the preset storeroom when the face recognition result passes.
In one embodiment, the receiving module 301 is configured to: providing an interactive interface; and receiving unlocking operation of a user on a preset storage chamber of the refrigerator through the interactive interface.
In one embodiment, the face recognition module 302 is configured to: acquiring a face image of the user; obtaining the similarity between the face image and a preset face image; and when the similarity is larger than a preset threshold value, obtaining a face recognition result passing recognition.
In one embodiment, the face recognition module 302 is further configured to: and outputting prompt information to prompt the face recognition result.
In one embodiment, the unlocking module 303 is further configured to: determining unlocking times of a preset storage room corresponding to the preset face image; and when the unlocking times are not zero, unlocking the preset storage chamber.
In one embodiment, the unlocking module 303 is further configured to lock the preset storage compartment when the preset storage compartment is not opened for a preset period of time after unlocking the preset storage compartment.
In one embodiment, the unlocking module 303 is further configured to lock the preset storage compartment when it is detected that the preset storage compartment is closed after unlocking the preset storage compartment.
It should be noted that, the control device 300 of the refrigerator provided in the embodiment of the present application belongs to the same concept as the refrigerator control method in the above embodiment, and any method provided in the embodiment of the refrigerator control method may be implemented by the control device 300 of the refrigerator, and detailed implementation processes of the method are shown in the embodiment of the refrigerator control method, which is not repeated herein.
As can be seen from the above, the control device 300 for a refrigerator according to the embodiment of the present application may receive the unlocking operation of the preset storage compartment of the refrigerator by the receiving module 301, then, perform face recognition on the user according to the unlocking operation by the face recognition module 302, obtain the face recognition result, and then, release the lock of the preset storage compartment when the face recognition result passes by the unlocking module 303. According to the embodiment of the application, the storage chamber of the refrigerator is locked, so that a specific user can open the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened at will, and the safety of the refrigerator is improved.
The embodiment of the application also provides electronic equipment. The electronic device may be a refrigerator or an electronic device integrated with a control device of the refrigerator. Referring to fig. 5, fig. 5 is a schematic diagram of a first structure of an electronic device according to an embodiment of the present application. The electronic device 400 comprises a processor 401 and a memory 402. The processor 401 is electrically connected to the memory 402.
The processor 401 is a control center of the electronic device 400, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling computer programs stored in the memory 402, and calling data stored in the memory 402, thereby performing overall monitoring of the electronic device.
Memory 402 may be used to store computer programs and data. The memory 402 stores a computer program including instructions executable by the processor 401. The computer program may constitute various functional modules. The processor 401 executes various functional applications and data processing by calling a computer program stored in the memory 402.
In this embodiment, the processor 401 in the electronic device 400 loads the instructions corresponding to the processes of one or more computer programs into the memory 402 according to the following steps, and the processor 401 executes the computer programs stored in the memory 402, so as to implement various functions:
receiving unlocking operation of a user on a preset storage chamber of the refrigerator;
performing face recognition on the user according to the unlocking operation to obtain a face recognition result;
and when the face recognition result passes, unlocking the preset storeroom.
In one implementation, the processor 401 may perform: providing an interactive interface; and receiving unlocking operation of a user on a preset storage chamber of the refrigerator through the interactive interface.
In one embodiment, after performing face recognition on the user according to the unlocking operation, the processor 401 may further perform: and outputting prompt information to prompt the face recognition result.
In one embodiment, when performing face recognition on the user according to the unlocking operation, the processor 401 may perform: acquiring a face image of the user; obtaining the similarity between the face image and a preset face image; and when the similarity is larger than a preset threshold value, obtaining a face recognition result passing recognition.
In one embodiment, the processor 401 may further perform, before performing the unlocking of the preset storage compartment: and determining unlocking times of a preset storage room corresponding to the preset face image.
In one embodiment, after performing the determining of the number of unlocking times of the preset storage compartment corresponding to the preset face image, the processor 401 may further perform: and when the unlocking times are not zero, unlocking the preset storage chamber.
In one embodiment, the processor 401 may further perform, after performing unlocking of the preset storage compartment: and updating the unlocking times of the preset storeroom corresponding to the preset face image.
In one embodiment, the processor 401 may further perform, after performing unlocking of the preset storage compartment: when the preset storage compartment is not opened for a preset period of time, the preset storage compartment is locked.
In one embodiment, the processor 401 may further perform, after performing unlocking of the preset storage compartment: when it is detected that the preset storage compartment is closed, the preset storage compartment is locked.
The embodiment of the application also provides a storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer executes the refrigerator control method of any embodiment.
It should be noted that, those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments may be implemented by a computer program, which may be stored in a computer readable storage medium, and the storage medium may include, but is not limited to: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
Furthermore, the terms "first," "second," and "third," and the like, herein, are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the particular steps or modules listed and certain embodiments may include additional steps or modules not listed or inherent to such process, method, article, or apparatus.
The refrigerator control method, the refrigerator control device, the computer-readable storage medium and the electronic equipment provided by the embodiment of the application are described in detail above. The principles and embodiments of the present application are described herein with specific examples, the above examples being provided only to assist in understanding the methods of the present application and their core ideas; meanwhile, those skilled in the art will have variations in the specific embodiments and application scope in light of the ideas of the present application, and the present description should not be construed as limiting the present application in view of the above.

Claims (10)

1. The refrigerator control method is characterized in that a somatosensory detector, a camera and a touch pad are arranged on the refrigerator, the camera is provided with a tracking function, and can recognize and track facial images of people, and the method comprises the following steps:
detecting whether a user appears in the surrounding area of the refrigerator or not through the somatosensory detector, wherein the surrounding area of the refrigerator is a circular area which is obtained by drawing a circle by taking the refrigerator as a circle center and taking two meters as radiuses;
if a user appears in the surrounding area of the refrigerator, starting a face recognition function, photographing the face of the user by using the camera, recognizing the face of the user, obtaining a face recognition result and storing the face recognition result in a preset storage space;
receiving unlocking operation of a user on a preset storage chamber of a refrigerator, wherein the unlocking operation comprises the operation of the user on the touch pad arranged on the refrigerator;
invoking the face recognition result in the preset storage space according to the unlocking operation;
and when the face recognition result passes, determining unlocking times corresponding to unlocking authorities of the user to the preset storage room, determining whether the unlocking times are remained, and if so, unlocking the preset storage room.
2. The refrigerator control method of claim 1, wherein the receiving an unlocking operation of a preset storage compartment of the refrigerator by a user comprises:
providing an interactive interface;
and receiving unlocking operation of a user on a preset storage chamber of the refrigerator through the interactive interface.
3. The refrigerator control method of claim 1, further comprising, after performing face recognition on the user according to the unlocking operation, after obtaining a face recognition result:
and outputting prompt information to prompt the face recognition result.
4. The refrigerator control method as claimed in claim 1, wherein the performing face recognition on the user to obtain a face recognition result comprises:
acquiring a face image of the user;
obtaining the similarity between the face image and a preset face image;
and when the similarity is larger than a preset threshold value, obtaining a face recognition result passing recognition.
5. The refrigerator control method of claim 1, wherein after releasing the lock of the preset storage compartment, further comprising:
updating the unlocking times of the preset storeroom corresponding to the preset face image.
6. The refrigerator control method of any one of claims 1 to 5, further comprising, after releasing the lock of the preset storage compartment:
and locking the preset storage chamber when the preset storage chamber is not opened within a preset time period.
7. The refrigerator control method of any one of claims 1 to 5, further comprising, after releasing the lock of the preset storage compartment:
when it is detected that the preset storage compartment is closed, the preset storage compartment is locked.
8. The utility model provides a controlling means of refrigerator, its characterized in that is provided with somatosensory detector, camera and touch pad on the refrigerator, the camera is the camera that has the tracking function, can discern the facial image of people and track, the device includes:
the face recognition module is used for detecting whether a user appears in the surrounding area of the refrigerator through the somatosensory detector, wherein the surrounding area of the refrigerator is a circular area which is obtained by drawing a circle by taking the refrigerator as a circle center and two meters as radiuses; if a user appears in the surrounding area of the refrigerator, starting a face recognition function, photographing the face of the user by using the camera, recognizing the face of the user, obtaining a face recognition result and storing the face recognition result in a preset storage space;
the receiving module is used for receiving unlocking operation of a user on a preset storage chamber of the refrigerator, wherein the unlocking operation comprises the operation of the user on the touch pad arranged on the refrigerator;
the face recognition module is also used for calling the face recognition result in the preset storage space according to the unlocking operation;
and the unlocking module is used for determining the unlocking times corresponding to the unlocking authority of the user to the preset storage room when the face recognition result passes, determining whether the unlocking times are remained or not, and unlocking the preset storage room if the unlocking times are remained.
9. A computer-readable storage medium having stored thereon a computer program, characterized in that the computer program, when run on a computer, causes the computer to execute the refrigerator control method according to any one of claims 1 to 7.
10. An electronic device comprising a processor and a memory, the memory storing a computer program, wherein the processor is configured to execute the refrigerator control method according to any one of claims 1 to 7 by calling the computer program.
CN202110580329.XA 2021-05-26 2021-05-26 Refrigerator control method and device, computer readable storage medium and electronic equipment Active CN113390227B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110580329.XA CN113390227B (en) 2021-05-26 2021-05-26 Refrigerator control method and device, computer readable storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110580329.XA CN113390227B (en) 2021-05-26 2021-05-26 Refrigerator control method and device, computer readable storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113390227A CN113390227A (en) 2021-09-14
CN113390227B true CN113390227B (en) 2023-05-23

Family

ID=77619277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110580329.XA Active CN113390227B (en) 2021-05-26 2021-05-26 Refrigerator control method and device, computer readable storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113390227B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105402987B (en) * 2015-12-09 2018-08-07 四川长虹电器股份有限公司 A kind of refrigerator and its control method
CN105806038A (en) * 2016-05-10 2016-07-27 青岛海尔股份有限公司 Control method for refrigerator door lock and refrigerator
CN107944247B (en) * 2017-12-13 2020-03-24 联想(北京)有限公司 Unlocking control method and device and electronic equipment
CN111397267A (en) * 2018-12-28 2020-07-10 青岛海尔智能技术研发有限公司 Refrigerator with lock for children
CN109819114B (en) * 2019-02-20 2021-11-30 北京市商汤科技开发有限公司 Screen locking processing method and device, electronic equipment and storage medium
CN111768530B (en) * 2020-07-22 2022-04-19 联想(北京)有限公司 Intelligent unlocking method and device
CN112378153A (en) * 2020-11-20 2021-02-19 合肥美菱物联科技有限公司 Automatic refrigerator locking device and awakening method

Also Published As

Publication number Publication date
CN113390227A (en) 2021-09-14

Similar Documents

Publication Publication Date Title
JP6752819B2 (en) Emotion detection system
US20170192500A1 (en) Method and electronic device for controlling terminal according to eye action
CN104573479B (en) A kind of use control method and device of user equipment
CN111444880B (en) Food material identification method and refrigerator
CN109992237B (en) Intelligent voice equipment control method and device, computer equipment and storage medium
US9021270B1 (en) Combining wake-up and unlock into a single gesture
CN109976506A (en) Awakening method, storage medium and the robot of a kind of electronic equipment
US11249645B2 (en) Application management method, storage medium, and electronic apparatus
CN112613475B (en) Code scanning interface display method and device, mobile terminal and storage medium
CN104778416B (en) A kind of information concealing method and terminal
KR20170003645A (en) Dynamic activation of user profiles based on biometric identification
US10824891B2 (en) Recognizing biological feature
US11966317B2 (en) Electronic device and method for controlling same
CN108197450A (en) Face identification method, face identification device, storage medium and electronic equipment
CN109918989A (en) The recognition methods of personage's behavior type, device, medium and equipment in monitored picture
CN109325336A (en) Unlocking method, device and computer readable storage medium
CN112286070A (en) Equipment control method and device and electronic equipment
CN111797850A (en) Video classification method and device, storage medium and electronic equipment
CN113390227B (en) Refrigerator control method and device, computer readable storage medium and electronic equipment
CN111626229A (en) Object management method, device, machine readable medium and equipment
CN108037699B (en) Robot, control method of robot, and computer-readable storage medium
CN106959743B (en) Control method and electronic equipment
CN105373720B (en) A kind of module control method and device applied to mobile terminal
CN114943336A (en) Model pruning method, device, equipment and storage medium
CN113835670A (en) Device control method, device, storage medium and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant