CN113390227A - 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
CN113390227A
CN113390227A CN202110580329.XA CN202110580329A CN113390227A CN 113390227 A CN113390227 A CN 113390227A CN 202110580329 A CN202110580329 A CN 202110580329A CN 113390227 A CN113390227 A CN 113390227A
Authority
CN
China
Prior art keywords
refrigerator
unlocking
user
face recognition
storage room
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.)
Granted
Application number
CN202110580329.XA
Other languages
Chinese (zh)
Other versions
CN113390227B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Physics & Mathematics (AREA)
  • Mechanical Engineering (AREA)
  • Thermal Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)
  • Devices That Are Associated With Refrigeration Equipment (AREA)

Abstract

The application discloses a refrigerator control method, a refrigerator control device, a computer-readable storage medium and an electronic device, wherein the refrigerator control method comprises the steps of receiving unlocking operation of a user on a preset storage chamber of a refrigerator, carrying out face recognition on the user according to the unlocking operation to obtain a face recognition result, and unlocking the preset storage chamber when the face recognition result passes. According to the refrigerator storage room locking device, the storage room of the refrigerator can be opened only by a specific user through locking the storage room of the refrigerator, the storage room of the refrigerator is prevented from being opened randomly, 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 and device, a computer readable storage medium and electronic equipment.
Background
With the improvement of living standards and the development of technologies of people, more and more storage rooms of refrigerators have various functions, such as a storage room with a refrigerating function, a storage room with a temperature changing function, a storage room with a freezing function, a storage room with an ice making function and the like, which greatly facilitates the life of people.
However, anyone can open the refrigerator door to take the contents of the refrigerator. Therefore, in the prior art, the storage room of the refrigerator can be freely opened by anyone, thereby resulting in low safety of the refrigerator.
Disclosure of Invention
The embodiment of the application provides a refrigerator control method and device, a computer readable storage medium and an electronic device, which can improve the safety of a refrigerator.
In a first aspect, an embodiment of the present application provides a refrigerator control method, 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 apparatus 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 carrying out face recognition on 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, on which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the refrigerator control method provided in any embodiment of the present application.
In a fourth aspect, an embodiment of the present application further provides an electronic device, which includes a processor and a memory, where the memory has a computer program, and the processor is configured to execute the refrigerator control method according to any embodiment of the present application by calling the computer program.
According to the technical scheme, the unlocking operation of the user on the preset storage chamber of the refrigerator is received, then the 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 chamber is released. According to the embodiment of the application, the storage chamber of the refrigerator can be opened only by a specific user through locking the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened randomly, and the safety of the refrigerator is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
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 first flowchart of a refrigerator control method according to an embodiment of the present application.
Fig. 3 is a second flowchart of a refrigerator control method 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 a first 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 is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without inventive step, are within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase 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. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
The embodiment of the application provides a refrigerator control method, and an execution main body of the refrigerator control method can be a control device of the refrigerator provided by the embodiment of the application or an electronic device 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 view of an application scenario of a refrigerator control method according to an embodiment of the present application. The electronic device is exemplified as a refrigerator. As shown in fig. 1, the refrigerator includes 4 storage compartments having different functions, i.e., a storage compartment having a refrigerating function, a storage compartment having a temperature varying function, a storage compartment having a freezing function, and a storage compartment having an ice making function. The refrigerator also includes a display screen for interacting with a user. The refrigerator can receive the unlocking operation of a user on a preset storage chamber of the refrigerator through the display screen, then the face image of the user is obtained according to the unlocking operation, the face image of the user is displayed through the display screen, face recognition is carried out on the user according to the face image of the user, a face recognition result is obtained, then when the face recognition result passes through, the preset storage chamber is unlocked, and the purpose of improving the safety of the refrigerator is achieved.
The following are detailed below. The order of the following examples is not intended to limit the preferred order of the examples.
Referring to fig. 2, fig. 2 is a first flowchart illustrating a refrigerator control method according to an embodiment of the present disclosure. The specific flow of the refrigerator control method provided by the embodiment of the application can be as follows:
101. and receiving an unlocking operation of a preset storage room of the refrigerator by a user.
With the improvement of living standards and the development of technologies of people, more and more storage rooms of refrigerators have various functions, such as a storage room with a refrigerating function, a storage room with a temperature changing function, a storage room with a freezing function, a storage room with an ice making function and the like, which greatly facilitates the life of people.
However, anyone can open the refrigerator door to take the contents of the refrigerator. Therefore, in the prior art, the storage room of the refrigerator can be freely opened by anyone, thereby resulting in low safety of the refrigerator.
The embodiment of the application provides a refrigerator control method capable of improving the safety of a refrigerator so as to solve the problems.
The storage room is preset, and the preset storage room refers to a storage room which needs face recognition.
It is understood that the user may select one or more preset storage compartments at a time for the unlocking operation.
It can be understood that different users may be given different refrigerator usage rights in order to control the users of the refrigerator. For example, in a scenario of using a refrigerator at home, a family includes dad mom and daughter (children), and a face image of each family member and a corresponding refrigerator unlocking right can be entered in advance by any parent (dad or mom). For example, setting the face images corresponding to dad and mom respectively can unlock all storage rooms of the refrigerator, and the face image corresponding to daughter cannot unlock all storage rooms of the refrigerator. In this setting, when a daughter performs an unlocking operation on the storage compartments of the refrigerator, the locking of any of the storage compartments of the refrigerator cannot be released.
In the embodiment of the application, each storage room of the refrigerator comprises a corresponding door lock to lock each storage room. Therefore, when a user wants to use the locked refrigerator storage room, a corresponding unlocking operation is required.
In one embodiment, the unlocking operation may be a user inputting a corresponding unlocking instruction through a display screen provided on the refrigerator. For example, the user clicks an unlocking button corresponding to a preset storage room to be unlocked on the display screen.
In an embodiment, the unlocking operation may also be a specific sliding operation or gesture input by a user through a touch pad provided on the refrigerator, so as to generate an unlocking instruction corresponding to the preset storage room, for example, the user slides on the touch pad with three fingers, corresponding to the unlocking operation of the storage room with the freezing function; for another example, the user circles the touch pad to correspond to an unlocking operation of a storage room having a temperature varying function, and so on.
In one embodiment, the unlocking operation may also 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 compartments may include a storage compartment having a refrigerating function, a storage compartment having a temperature varying function, a storage compartment having a freezing function, and a storage compartment having an ice making function, etc. Any one of the storage compartments may be used as a predetermined storage compartment.
102. And carrying out face recognition on the user according to the unlocking operation to obtain a face recognition result.
For example, a user triggers the refrigerator to enter a face recognition mode through an unlocking operation, so that the refrigerator acquires a face image of the user for recognition processing.
It can be understood 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 implementation mode, a body sensing detector can be further arranged on the refrigerator, before the refrigerator detects the unlocking operation of a user, whether the user appears in the area around the refrigerator is detected through the body sensing 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 carries out face recognition on the user, a face recognition result obtained in advance can be called from the preset storage space, so that the refrigerator can react more quickly. It can be understood that the face recognition device corresponding to the face recognition function includes a camera, which may be a camera with a tracking function, and can recognize and track a face image of a person.
The peripheral area of the refrigerator may be a circular area obtained by drawing a circle with the refrigerator as a center of a circle and 2 meters as a radius, and the circular area is regarded as the peripheral area of the refrigerator. Of course, the area size of the area around the refrigerator can be set by the user according to the situation.
103. And when the face recognition result passes, unlocking the preset storage room.
In the embodiment of the application, when the face recognition is passed, namely the user has the authority to unlock the preset storage room, the preset storage room is correspondingly unlocked.
For example, a user selects an unlocking button corresponding to a preset storage room which needs 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 through, the refrigerator automatically unlocks a storage room which is selected by the user and needs to be unlocked and has unlocking authority.
For another example, after the user presses an unlocking button arranged on the refrigerator, the refrigerator is triggered to enter a face recognition mode, and when a face recognition result passes, the refrigerator automatically releases the locking of a preset storage room with unlocking authority of the user.
It is understood that the user may select one or more preset storage compartments at a time for the unlocking operation. When the user selects the storage room with the refrigeration function, the storage room with the temperature change function and the storage room with the ice making function to perform unlocking operation, only the preset storage room with the unlocking authority of the user, namely the storage room with the refrigeration function and the storage room with the temperature change function are correspondingly unlocked.
In particular implementation, the present application is not limited by the execution sequence of the described steps, and some steps may be performed in other sequences or simultaneously without conflict.
Therefore, according to the refrigerator control method provided by the embodiment of the application, the unlocking operation of the preset storage chamber of the refrigerator by the user is received, then, the face recognition is carried out on the user according to the unlocking operation to obtain the face recognition result, and then, when the face recognition result passes, the locking of the preset storage chamber is released. According to the embodiment of the application, the storage chamber of the refrigerator can be opened only by a specific user through locking the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened randomly, and the safety of the refrigerator is improved.
The method according to the preceding embodiment is illustrated in further detail below by way of example.
Referring to fig. 3, fig. 3 is a second flowchart of a refrigerator control method according to an embodiment of the present disclosure. The specific flow of the refrigerator control method provided by the embodiment of the application can be as follows:
201. and receiving an unlocking operation of a preset storage room of the refrigerator by a user.
In the embodiment of the application, each storage room of the refrigerator comprises a corresponding door lock to lock each storage room. Therefore, when a user wants to use the locked refrigerator storage room, a corresponding unlocking operation is required.
In one embodiment, the unlocking operation may be a user inputting a corresponding unlocking instruction through a display screen provided on the refrigerator. For example, the user clicks an unlocking button corresponding to a preset storage room to be unlocked on the display screen.
In an embodiment, the unlocking operation may also be a specific sliding operation or gesture input by a user through a touch pad provided on the refrigerator, so as to generate an unlocking instruction corresponding to the preset storage room, for example, the user slides on the touch pad with three fingers, corresponding to the unlocking operation of the storage room with the freezing function; for another example, the user circles the touch pad to correspond to an unlocking operation of a storage room having a temperature varying function, and so on.
In one embodiment, the unlocking operation may also 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 unlock command may trigger the refrigerator to enter the face recognition mode, i.e., step 202.
It should be understood that the above is only an example, and the technical solution of the present application is not limited in any way, and those skilled in the art can make settings based on needs in practical applications, and the settings are not listed here.
The storage room is preset, and the preset storage room refers to a storage room which needs face recognition.
It is understood that the user may select one or more preset storage compartments at a time for the unlocking operation.
For example, a user can input a corresponding unlocking instruction through a display screen arranged on a refrigerator, call out a face unlocking page, and select a preset storage room 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 storage room which needs to be unlocked, the refrigerator is directly triggered to enter the face recognition mode through unlocking operation, and then when the face recognition result passes through, the refrigerator automatically releases the locking of the preset storage room which the user has unlocking authority
It is understood that the unlocking authority of the refrigerator storage room may be different for different users. The unlocking authority can be set according to the actual requirement of the user.
For example, it may be set that the user a has an unlocking authority that can unlock the storage room having the freezing function and the storage room having the temperature changing function, and the user b has an unlocking authority that can unlock the storage room having the freezing function and the storage room having the refrigerating function.
Therefore, when the user A unlocks the storage room with the freezing function and the storage room with the temperature changing function, the corresponding storage room can be unlocked; when the user a unlocks the storage chambers other than the storage chamber having the freezing function and the storage chamber having the temperature varying function, the unlocking of the corresponding storage chamber cannot be performed.
Similarly, the user b can only unlock the storage room having the freezing function and the storage room having the refrigerating function, but cannot unlock the storage rooms other than the storage room having the freezing function and the storage room having the refrigerating function.
Of course, some of the storage compartments of the refrigerator may not be locked. For example, a storage room with a fresh-keeping function that is relatively commonly used may not be locked, so that any user may use the storage room with the fresh-keeping function.
In one embodiment, the step of receiving an unlocking operation of the preset storage compartment of the refrigerator by the user may further include the steps of:
(1) providing an interactive interface;
(2) and receiving the unlocking operation of the preset storage chamber of the refrigerator by the user through the interactive interface.
For example, the interactive interface may be a display screen. The user can click a face unlocking icon on a refrigerator display screen, call out a face unlocking page, select a preset storage chamber to be unlocked on the face unlocking page, click an unlocking button corresponding to the preset storage chamber, 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, and 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 then the subsequent face recognition step is performed. For another example, the user may directly trigger an unlock button on the refrigerator, and then enter the 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 a face recognition result" may further include the steps of:
(1) and acquiring a face image of the user.
In the embodiment of the application, when the user performs the unlocking operation, the face image of the user can be acquired through the camera.
(2) And acquiring the similarity between the face image and a preset face image.
The preset face image is the face image of a user with the unlocking authority of the preset storage room corresponding to the preset storage room.
For example, in a scenario of using a refrigerator at home, a family includes dad mother and daughter (children), and the refrigerator in the family includes storage compartments with 4 different functions, namely, a storage compartment with a cold storage function, a storage compartment with a temperature change function, a storage compartment with a freezing function, and a storage compartment with an ice making function. The face image of the family member and the corresponding refrigerator unlocking authority can be input in advance by any parent (dad or mom).
For example, setting the face images corresponding to dad and mom respectively can unlock all storage rooms of the refrigerator, and the face image corresponding to daughter cannot unlock all storage rooms of the refrigerator. When the daughter in this family unlocks the storeroom with freezing function, under this scene, what the preset face image that the storeroom with freezing function corresponds to indicates is the face image that dad-mother corresponds, therefore the refrigerator can carry out similarity comparison respectively with the face image that dad-mother corresponds to the face image that obtains that corresponds to the daughter to analyze whether the face image that obtains and preset face image are the face image of the same person, it is obvious that the face recognition result of daughter can't pass through, the daughter can't unlock the storeroom with freezing function.
(3) And when the similarity is greater than a preset threshold value, obtaining a face recognition result passing the recognition.
For example, the acquired face image of the user is compared with a preset face image and analyzed, the similarity between the face image and the preset face image is obtained according to the comparison and analysis, and then whether the acquired face image of the user is the preset face image or not is judged according to the similarity. When the similarity between the acquired 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, and the face recognition is judged to be passed, so that a 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 correlation algorithm of face recognition actually used, and is not specifically limited herein.
In one embodiment, the step of "performing face recognition on the user according to the unlocking operation to obtain a face recognition result" may further include the steps of:
(1) and outputting prompt information to prompt the face recognition result.
For example, when the user performs an unlocking operation on the storage room having the refrigerating function and the face recognition result recognition passes, a text "you have released the locking of the storage room having the refrigerating function" may be displayed on a display screen provided in the refrigerator. The user may also be prompted solely by voice. The display and speech may also be combined to better prompt the user.
For another example, when the user performs an unlocking operation on the storage room having the refrigerating function and the face recognition result identification fails, a character "sorry, you cannot release the lock of the storage room having the refrigerating function" may be displayed on the display screen provided in the refrigerator. The user may also be prompted by voice alone or in combination with audio and display to better prompt the user.
In an implementation mode, a body sensing detector can be further arranged on the refrigerator, before the refrigerator detects the unlocking operation of a user, whether the user appears in the area around the refrigerator is detected through the body sensing 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 carries out face recognition on the user, a face recognition result obtained in advance can be called from the preset storage space, so that the refrigerator can react more quickly. It can be understood that the face recognition device corresponding to the face recognition function includes a camera, which may be a camera with a tracking function, and can recognize and track a face image of a person.
203. And when the face recognition result passes, determining the unlocking times of the preset storage chamber corresponding to the preset face image, and unlocking the preset storage chamber when the unlocking times are not zero.
In the embodiment of the application, besides the setting of the storage room unlocking authority 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 passes face recognition, it is further required to determine whether the number of unlocking times corresponding to the unlocking authority of the user to the preset storage room remains, and if the number of unlocking times remains, that is, the number of available unlocking times also exists for the user, the locking of the preset storage room is released.
For example, in a scenario where a refrigerator is used at home, when a child is not at home, the child takes away and eats the cold food in the refrigerator without restriction, thereby causing the child to eat the cold food excessively to cause physical discomfort. Through the scheme provided by the application, the permission that children can unlock the storeroom can be set in advance. For example, children are allowed to unlock the storage compartment having the freezing function only twice to prevent the children from overeating the frozen food in the refrigerator. When the child unlocks the storage room with the freezing function, if the face recognition result passes, it is further required to determine whether the child still has the unlocking times corresponding to the unlocking authority of the storage room with the freezing function, and if the unlocking times exist, that is, the unlocking times are not zero, the child can unlock the storage room with the freezing function. If the number of times of unlocking does not exist, the child cannot unlock the storage room having the freezing function.
In one embodiment, after the step of "unlocking the preset storage room", the method may further include the steps of:
(1) and when the preset storage room is not opened within the preset time, locking the preset storage room.
For example, the preset time period may be set to five minutes, and the preset storage room is automatically locked when the preset storage room is not opened within five minutes.
For another example, the preset time period may be set to eight minutes, and when the preset storage room is not opened within eight minutes, the preset storage room is automatically locked.
It is understood that the preset time period may be set according to the requirement of the user, and is not limited specifically here.
In one embodiment, after the step of "unlocking the preset storage room", the method may further include the steps of:
(1) and locking the preset storage chamber when it is detected that the preset storage chamber is closed.
For example, when it is detected that the predetermined storage room is closed, the predetermined storage room is automatically locked considering that the user has finished taking food from the predetermined storage room. If the user needs to open the preset storage room, the unlocking operation needs to be carried out again.
204. And updating the unlocking times of the preset storage room corresponding to the preset face image.
Also in step 203, the refrigerator is used in the home. Because the child only allows to unlock the storeroom with the freezing function twice, after the child unlocks the storeroom with the freezing function once, the unlocking times are correspondingly reduced once, and therefore the unlocking times for unlocking the storeroom with the freezing function are updated to be once.
In one embodiment, a camera may be further disposed in each storage room of the refrigerator to record the taking condition of the articles in the refrigerator and record the user corresponding to the taken articles. For example, the number of ice creams that children among family members can take is limited to 3, and when the number of ice creams that children take is recorded to reach 3, the number of times of subsequently unlocking the storeroom with the freezing function by the children is updated to zero.
In one implementation, the refrigerator provided in the embodiment of the present application may further be connected to a server through the internet, and perform data interaction with the server. The user can log in the server through a terminal such as a Personal Computer (PC), a tablet Personal Computer, a mobile phone and the like, so that the user can set the related functions of the refrigerator through the terminal, and the management and control of the refrigerator by the user are more convenient.
For example, the user can remotely obtain the condition that children take food in the refrigerator through a mobile phone, so that parents can remotely adjust the unlocking permission of the storage room which can be unlocked by the children in the house through the use condition.
For another example, the user can remotely unlock the refrigerator at home through the mobile phone, so that the user can unlock the refrigerator directly through the mobile phone carried with the user, the refrigerator is unlocked without being limited to input corresponding unlocking operation on the refrigerator main body, and the refrigerator is unlocked more conveniently.
Therefore, according to the refrigerator control method provided by the embodiment of the application, the unlocking operation of the preset storage chamber of the refrigerator by the user is received, then, the face recognition is carried out on the user according to the unlocking operation to obtain the face recognition result, and then, when the face recognition result passes, the locking of the preset storage chamber is released. According to the embodiment of the application, the storage chamber of the refrigerator can be opened only by a specific user through locking the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened randomly, 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 to obtain a face recognition result.
And the unlocking module 303 is used for unlocking the preset storage room when the face recognition result passes.
In one embodiment, the receiving module 301 is configured to: providing an interactive interface; and receiving the unlocking operation of the preset storage chamber of the refrigerator by the user through the interactive interface.
In one embodiment, the face recognition module 302 is configured to: acquiring a face image of the user; acquiring the similarity between the face image and a preset face image; and when the similarity is greater than a preset threshold value, obtaining a face recognition result passing the 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 the unlocking times of a preset storage room corresponding to a preset face image; and when the unlocking times are not zero, unlocking the preset storage room.
In one embodiment, the unlocking module 303 is further configured to lock the preset storage room when the preset storage room is not opened for a preset time period after unlocking the preset storage room.
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 and the control method of the refrigerator in the foregoing embodiments belong to the same concept, and any method provided in the embodiment of the control method of the refrigerator can be implemented by the control device 300 of the refrigerator, and the specific implementation process thereof is described in the embodiment of the control method of the refrigerator, and is not described again here.
As can be seen from the above, the control device 300 of the refrigerator according to the embodiment of the present application may receive the unlocking operation of the user on the preset storage room of the refrigerator through the receiving module 301, perform face recognition on the user according to the unlocking operation through the face recognition module 302 to obtain a face recognition result, and then unlock the preset storage room through the unlocking module 303 when the face recognition result passes through. According to the embodiment of the application, the storage chamber of the refrigerator can be opened only by a specific user through locking the storage chamber of the refrigerator, the storage chamber of the refrigerator is prevented from being opened randomly, and the safety of the refrigerator is improved.
The embodiment of the application also provides the electronic equipment. The electronic device may be a refrigerator, or an electronic device integrating a control apparatus of the refrigerator. Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. 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 a computer program 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 computer programs containing instructions executable in 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 instructions corresponding to one or more processes of the computer program into the memory 402 according to the following steps, and the processor 401 runs the computer program 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;
carrying out 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 one embodiment, processor 401 may perform: providing an interactive interface; and receiving the unlocking operation of the preset storage chamber of the refrigerator by the user through the interactive interface.
In an embodiment, after performing face recognition on the user according to the unlocking operation, and obtaining a face recognition result, 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, and obtaining a face recognition result, the processor 401 may perform: acquiring a face image of the user; acquiring the similarity between the face image and a preset face image; and when the similarity is greater than a preset threshold value, obtaining a face recognition result passing the recognition.
In one embodiment, before performing unlocking of the preset storage room, the processor 401 may further perform: and determining the unlocking times of the preset storage room corresponding to the preset face image.
In one embodiment, after determining the number of times of unlocking the preset storage room corresponding to the preset face image, the processor 401 may further perform: and when the unlocking times are not zero, unlocking the preset storage room.
In one embodiment, after the processor 401 performs unlocking of the preset storage room, it may further perform: and updating the unlocking times of the preset storage room corresponding to the preset face image.
In one embodiment, after the processor 401 performs unlocking of the preset storage room, it may further perform: and when the preset storage room is not opened within the preset time, locking the preset storage room.
In one embodiment, after the processor 401 performs unlocking of the preset storage room, it may further perform: and locking the preset storage chamber when it is detected that the preset storage chamber is closed.
The embodiment of the application also provides a storage medium, wherein a computer program is stored in the storage medium, and when the computer program runs on a computer, the computer executes the refrigerator control method of any one of the embodiments.
It should be noted that, those skilled in the art can understand that all or part of the steps in the methods of the above embodiments can be implemented by the relevant hardware instructed by the computer program, and the computer program can be stored in the computer readable storage medium, which can include but is not limited to: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Furthermore, the terms "first", "second", and "third", etc. in this application are used to distinguish different objects, and are not used to describe a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but rather, some embodiments may include other steps or modules not listed or inherent to such process, method, article, or apparatus.
The refrigerator control method and device, the computer-readable storage medium and the electronic device provided by the embodiments of the present application are described in detail above. The principle and the implementation of the present application are explained herein by applying specific examples, and the above description of the embodiments is only used to help understand the method and the core idea of the present application; meanwhile, for those skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (11)

1. A refrigerator control method, comprising:
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.
2. The method as claimed in claim 1, wherein the receiving of an unlocking operation of a preset storage room of a refrigerator by a user comprises:
providing an interactive interface;
and receiving the unlocking operation of the preset storage chamber of the refrigerator by the user 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 to obtain a face recognition result:
and outputting prompt information to prompt the face recognition result.
4. The refrigerator control method of claim 1, wherein the performing face recognition on the user according to the unlocking operation to obtain a face recognition result comprises:
acquiring a face image of the user;
acquiring the similarity between the face image and a preset face image;
and when the similarity is greater than a preset threshold value, obtaining a face recognition result passing the recognition.
5. The control method of a refrigerator according to claim 4, wherein before the unlocking of the preset storage chamber, further comprising:
determining the unlocking times of the preset storage room corresponding to the preset face image;
the unlocking of the preset storage room includes:
and when the unlocking times are not zero, unlocking the preset storage room.
6. The control method of a refrigerator according to claim 5, further comprising, after the unlocking of the preset storage chamber:
and updating the unlocking times of the preset storage room corresponding to the preset face image.
7. The control method of a refrigerator according to any one of claims 1 to 6, further comprising, after releasing the locking of the preset storage room:
and when the preset storage room is not opened within a preset time, locking the preset storage room.
8. The control method of a refrigerator according to any one of claims 1 to 6, further comprising, after releasing the locking of the preset storage room:
locking the pre-set storage chamber when it is detected that the pre-set storage chamber is closed.
9. A control apparatus of a refrigerator, comprising:
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 carrying out face recognition on 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.
10. A computer-readable storage medium on which a computer program is stored, characterized by causing a computer to execute the refrigerator control method according to any one of claims 1 to 8 when the computer program is run on the computer.
11. 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 8 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 true CN113390227A (en) 2021-09-14
CN113390227B 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)

Citations (7)

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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105402987A (en) * 2015-12-09 2016-03-16 四川长虹电器股份有限公司 Refrigerator and control method thereof
CN105806038A (en) * 2016-05-10 2016-07-27 青岛海尔股份有限公司 Control method for refrigerator door lock and refrigerator
CN107944247A (en) * 2017-12-13 2018-04-20 联想(北京)有限公司 Solve lock control method, device and electronic equipment
CN111397267A (en) * 2018-12-28 2020-07-10 青岛海尔智能技术研发有限公司 Refrigerator with lock for children
CN109819114A (en) * 2019-02-20 2019-05-28 北京市商汤科技开发有限公司 Screen locking processing method and processing device, electronic equipment and storage medium
CN111768530A (en) * 2020-07-22 2020-10-13 联想(北京)有限公司 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
CN113390227B (en) 2023-05-23

Similar Documents

Publication Publication Date Title
US9286482B1 (en) Privacy control based on user recognition
CN105807873B (en) Temprature control method and device
US9904774B2 (en) Method and device for locking file
KR102137508B1 (en) Message Reading Method and Device
CN104850827B (en) Fingerprint identification method and device
CN104573479B (en) A kind of use control method and device of user equipment
US20150074582A1 (en) Systems and methods for home automation monitoring
CN103944804B (en) Contact recommending method and device
CN108197450B (en) Face recognition method, face recognition device, storage medium and electronic equipment
CN104915012B (en) A kind of screen locking method and device of terminal
CN110515533B (en) Electronic equipment shortcut operation method and device, electronic equipment and storage medium
CN105117101B (en) The display methods and device of application program
CN107045421B (en) Screen switching method and mobile terminal
CN106101629A (en) The method and device of output image
CN109842612B (en) Log security analysis method and device based on graph library model and storage medium
CN106357934A (en) Screen-locking control method and device
WO2018233716A1 (en) Terminal privacy protection method, terminal and computer-readable storage medium
CN109325336A (en) Unlocking method, device and computer readable storage medium
CN107045604A (en) Information processing method and device
CN105138881A (en) Screen locking method and device
CN112286070A (en) Equipment control method and device and electronic equipment
CN106383637A (en) Screen locking method and device, and terminal equipment
CN105430639B (en) Information processing method and device
CN112689093B (en) Intelligent device privacy protection method, intelligent device and storage medium
CN113390227A (en) Refrigerator control method and device, computer readable storage medium and electronic equipment

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