CN113341772B - Household appliance function authority unlocking method and device, medium and household appliance - Google Patents

Household appliance function authority unlocking method and device, medium and household appliance Download PDF

Info

Publication number
CN113341772B
CN113341772B CN202110567084.7A CN202110567084A CN113341772B CN 113341772 B CN113341772 B CN 113341772B CN 202110567084 A CN202110567084 A CN 202110567084A CN 113341772 B CN113341772 B CN 113341772B
Authority
CN
China
Prior art keywords
height
user
detected
unlocking
function
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
CN202110567084.7A
Other languages
Chinese (zh)
Other versions
CN113341772A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110567084.7A priority Critical patent/CN113341772B/en
Publication of CN113341772A publication Critical patent/CN113341772A/en
Application granted granted Critical
Publication of CN113341772B publication Critical patent/CN113341772B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Lock And Its Accessories (AREA)

Abstract

The application relates to a method and a device for unlocking functional rights of a household appliance, a storage medium and the household appliance, wherein all functional rights are automatically locked in an initial state, when a user is detected, the height of the user is obtained, and if the height of the user is judged to be not less than the height corresponding to the preset all functional rights, all the functional rights are unlocked; and if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities. In the whole process, unlocking the function rights based on the height of the user, if the height of the user is not less than the height corresponding to the preset all function rights, the user is indicated to belong to an adult user, and all the function rights can be unlocked; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.

Description

Household appliance function authority unlocking method and device, medium and household appliance
Technical Field
The application relates to the technical field of intelligent control, in particular to a method and a device for unlocking functional permission of a household appliance, a storage medium and the household appliance.
Background
Along with the development of scientific technology, the functions of the existing equipment are more and more diversified, and the diversified functions bring convenience to life of people. However, it has also been found during actual use that there may be a risk to certain specific groups of people without permission control of the functions of the device.
Taking a water dispenser as an example, the water dispenser can be used for drinking hot water without boiling, and particularly for families with water purifiers at home, the step of continuously changing barreled water is omitted. However, in the actual use process, people realize that the drinking machine which cannot control the authority has a great potential safety hazard, and particularly for families with children in the families, the existence of the 'bear children' enables the household appliance which greatly increases the happiness to become a timing bomb without time. In this case, the control of the function authority is realized by adding the child lock function in the conventional technology, but the conventional child lock function is simply added with a key, which obviously resembles a dummy.
Therefore, the reasonable and effective authority unlocking of the equipment function cannot be performed in the prior art.
Disclosure of Invention
Based on the above, it is necessary to provide a method, a device, a storage medium and a household appliance for unlocking the functional authority of the household appliance, which can realize the unlocking of the functional authority reasonably and effectively, aiming at the problem that the functional authority of the equipment cannot be unlocked reasonably and effectively in the prior art.
A method for unlocking the functional authority of a household appliance comprises the following steps:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
In one embodiment, when a user is detected, obtaining the height of the user includes:
detecting the user at a first height and a second height when the user is detected;
if the user is detected at the first height, determining that the height of the user is not less than the first height;
if the user is not detected at the first height but is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all the function authorities of unlocking, and the second height corresponds to part of the function authorities of unlocking.
In one embodiment, detecting a user at a first elevation and a second elevation when the user is detected comprises:
when a user is detected in the preset detection area, the user is detected at the first height and the second height.
In one embodiment, the method for unlocking the functional authority of the household appliance device includes:
when the user is not detected at the first height and the second height, activating an identity authentication function;
and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
In one embodiment, the method for unlocking the functional authority of the household appliance device includes:
pushing a gesture unlocking prompt message when the user is not detected at the first height and the second height;
collecting gesture actions of a user to perform gesture recognition authentication;
and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
In one embodiment, detecting a user at a first elevation and a second elevation when the user is detected comprises:
when the user is detected, the user is detected at the first height and the second height in a time-sharing detection mode.
In one embodiment, the method for unlocking the functional authority of the household appliance device further includes:
judging whether a user exists in a preset detection area;
when a user exists in the preset detection area, the step of detecting the user at the first height and the second height is carried out;
And when the preset detection area is free of users, user detection on the preset detection area is kept.
A home appliance function right unlocking device, comprising:
the right locking module is used for automatically locking all the functional rights;
the height acquisition module is used for acquiring the height of the user when the user is detected;
the first unlocking module is used for unlocking all the function authorities when the height of the user is not less than the height corresponding to the preset all the function authorities;
and the second unlocking module is used for unlocking part of the function rights when the height of the user is smaller than the height corresponding to all the preset function rights but not smaller than the height corresponding to part of the function rights.
A computer device comprising a memory storing a computer program and a processor which when executing the computer program performs the steps of:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
A computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
According to the method, the device, the computer equipment and the storage medium for unlocking the functional rights of the household appliance, all the functional rights are automatically locked in an initial state, when a user is detected, the height of the user is obtained, and if the height of the user is judged to be not smaller than the height corresponding to the preset all the functional rights, all the functional rights are unlocked; and if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities. In the whole process, unlocking the function rights based on the height of the user, if the height of the user is not less than the height corresponding to the preset all function rights, the user is indicated to belong to an adult user, and all the function rights can be unlocked; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.
In addition, the application also provides a household appliance, which comprises a household appliance body, a detection assembly and a controller, wherein the detection assembly and the controller are arranged in the household appliance body, the controller automatically locks all the functional rights, when a user is detected, the detection assembly is driven to detect the height of the user, when the height of the user is not less than the height corresponding to the preset all the functional rights, the controller unlocks all the functional rights of the household appliance body, and when the height of the user is less than the height corresponding to the preset all the functional rights, but not less than the height corresponding to the part of the functional rights, the controller unlocks the part of the functional rights of the household appliance body.
The household appliance comprises a household appliance body, a detection assembly and a controller, wherein the controller automatically locks all functional rights, when a user is detected, the detection assembly is driven to detect the height of the user, when the height of the user is not less than the height corresponding to the preset all functional rights, the controller unlocks all functional rights of the household appliance body, when the height of the user is less than the height corresponding to the preset all functional rights but not less than the height corresponding to part of functional rights, the controller unlocks part of functional rights of the household appliance body, the whole household appliance unlocks the functional rights based on the height of the user, and if the height of the user is not less than the height corresponding to the preset all functional rights, the user is indicated to belong to an adult user and can unlock all functional rights; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.
Drawings
FIG. 1 is an application environment diagram of a home appliance function right unlocking method in one embodiment;
FIG. 2 is a flow chart of a method for unlocking functional rights of a household appliance in one embodiment;
FIG. 3 is a flow chart of a method for unlocking functional rights of a home appliance in an application example;
FIG. 4 is a schematic diagram of the structure of an ultrasonic sensor in one embodiment;
FIG. 5 is a block diagram of a functional right unlocking device for a home appliance in one embodiment;
fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
The present application will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present application more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The method for unlocking the functional authority of the household appliance can be applied to an application environment shown in figure 1. The sensor 1 and the sensor 2 are arranged on the water dispenser, wherein the sensor 2 is used for detecting whether a user can be detected at a height of 1 meter (second height), and the sensor 1 is used for detecting whether the user can be detected at a height of 1.4 meters (first height). After the water dispenser is powered on and the child lock button is pressed, the sensor 1 and the sensor 2 judge whether the user can be detected at the corresponding height, when the sensor 1 and the sensor 2 can both detect the user, the height of the user is indicated to be more than 1.4 meters, the current user belongs to an adult user, and all functional rights can be opened for the user, for example, the user can use cold water, warm water (40 ℃) and hot water (100 ℃); when the sensor 2 detects a user, but the sensor 1 does not detect the user, the identity of the user is not more than 1.4 meters, the current user belongs to an underage user, and only partial function authority can be opened for the user, for example, the user can only use cold water and warm water (40 ℃), and the user cannot use a function of boiling water. It can be understood that the device is a water dispenser, which is only one application scene of the application, and the device can also be a washing machine, an electric cooker and other devices.
As shown in fig. 2, in one embodiment, the present application provides a method for unlocking functional rights of a home appliance, including:
s200: all functional rights are automatically locked.
The household appliance equipment automatically locks all functional rights after the power-on starting, namely the household appliance equipment defaults to lock all functional rights, so that accidents caused by the fact that the functional rights are not locked/controlled after the power-on starting can be avoided, for example, when the water dispenser is powered on, the rights of the water dispenser for heating to 100 ℃ are unlocked, and water receiving scalding of minors can be caused. The automatic locking of all functional rights is herein understood to mean that the domestic appliance is powered on, i.e. the "child lock" function is opened.
S400: when the user is detected, the height of the user is obtained.
When the user is detected to be nearby or approaching, the height of the user is obtained. The user height may be obtained by directly obtaining a specific height value, or may be directly compared with a preset height, for example, the user height may be compared with a preset first height and a preset second height, where the first height corresponds to all the functional rights of unlocking, and the second height corresponds to some of the functional rights. In particular, the user may be detected at a first elevation as well as at a second elevation; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but is detected at the second height, determining that the height of the user is not less than the second height.
Further, it may be determined whether the first height and the second height have the user by means of ultrasonic, infrared or image processing. Here, the first height corresponds to all the function rights, and if a user is detected at the first height, part of the function rights are opened, and the second height corresponds to part of the function rights, and if a user is detected at only the second height, all the function rights are opened. Further, the first height and the second height refer to height thresholds for distinguishing user types, wherein the user types comprise adult users and children users, all functional rights are opened for the adult users (for example, cold water, warm water at 40 ℃ and hot water at 100 ℃) of the water fountain, part of functional rights are opened for children users (for example, cold water and warm water at 40 ℃) of the water fountain), and part of functional rights are closed for the children users (for example, hot water at 100 ℃) of the water fountain, so that damage can be caused. More specifically, the first height may be 1.4 meters and the second height may be 1 meter. It should be noted that, the specific first height and the specific second height may be set reasonably based on the actual situation requirement, so as to accurately identify the user type based on the user identity, and further execute reasonable and accurate function authority control.
In one embodiment, detection may be by a first sensor and a second sensor. The first sensor and the second sensor are arranged on the device in advance, wherein the first sensor is used for detecting whether the first height is provided with an object, the second sensor is used for detecting whether the second height is provided with an object, in other words, the first sensor and the second sensor can detect the height (height) of a nearby user, and when the first sensor and the second sensor detect the object, the height of the nearby user is larger than the first height, the user is an adult; when the second sensor detects an object but the first sensor does not detect an object, it indicates that the height of the approaching user is not greater than the first height, and the user is a child. The first sensor and the second sensor may be the same type of sensor or different types of sensors, which may both be ultrasonic sensors or both be infrared sensors. Preferably, the first sensor and the second sensor are both ultrasonic sensors, the ultrasonic sensors are low in cost, the detection precision meets the requirements, and the implementation cost of the household appliance function permission unlocking method can be reduced.
Specifically, in the above embodiment, the user height obtained by detecting the user by two different heights (first height and second height) specifically results from: { the first height detects the user, the second height detects the user }, { the first height does not detect the user, the second height does not detect the user }, and of course, there is a special case { the first height detects the user, the second height does not detect the user }, which belongs to the abnormal detection case, the object can be detected without responding or continuously in other ways, for example, an image recognition way is adopted, whether the approaching object is the user is identified, and if the user is further judged to be the adult user or the underadult user based on the image recognition way. In practical application, the controller in the device gathers the sensing information fed back by the first sensor and the second sensor, and the gathering specifically refers to gathering the sensing information fed back by the two sensors. The detection results fed back by the first sensor and the second sensor mainly comprise detected objects and undetected objects.
S600: and if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities.
If the height of the user is not less than the height corresponding to the preset all-function permission, the user can be indicated to be opened with all-function permission, namely, all-function permission is unlocked. Taking the water dispenser as an example, when the height of the user is detected to meet the height corresponding to the adult, the water dispenser is unlocked to face all the functional authorities of the adult, namely, the functions of cold water, warm water at 40 ℃ and hot water at 100 ℃.
S800: if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
If the height of the user only meets the height corresponding to the preset partial function authority, the user can only open the partial function authority, namely unlock the partial function authority. Taking the water dispenser as an example, when the height of the user is detected to only meet the height corresponding to the minors, the part of functional rights of the water dispenser facing the minors is unlocked. Namely, the functions of unlocking cold water and warm water at 40 ℃ and locking hot water at 100 ℃.
According to the method for unlocking the functional rights of the household appliance, all the functional rights are automatically locked in an initial state, when a user is detected, the height of the user is obtained, and if the height of the user is judged to be not smaller than the height corresponding to the preset all the functional rights, all the functional rights are unlocked; and if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities. In the whole process, unlocking the function rights based on the height of the user, if the height of the user is not less than the height corresponding to the preset all function rights, the user is indicated to belong to an adult user, and all the function rights can be unlocked; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.
In one embodiment, detecting a user at a first elevation and a second elevation when the user is detected comprises:
when a user is detected in the preset detection area, the user is detected at the first height and the second height.
The preset detection area is preset and is used for judging whether a user approaches. Specifically, whether a user approaches a preset detection area or not can be judged by the proximity sensor, and when an object is detected (namely, the user approaches is currently detected), whether the object exists at the first height and at the second height or not is detected, so that subsequent processing is performed. The preset detection area may be set according to practical situations, for example, the preset detection area may specifically be a circular area with a radius of 50cm and with the device as the center.
In one embodiment, the method for unlocking the functional authority of the household appliance device includes:
when the user is not detected at the first height and the second height, activating an identity authentication function; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
If no object is detected at the first height and the second height, the user may approach the device in a specific reduced height, for example, the user lies down to approach the device, the user sits on a wheelchair to approach the device, etc., in which case, in order to provide services for the user, the device activates an identity authentication function to identify the identity class of the object, i.e. to determine whether the approaching object is the user, and if the user further performs identity authentication, to authenticate whether the user accords with the user corresponding to the open all function rights. Specifically, taking the water dispenser as an example, the authentication process can specifically determine whether the user is an adult user based on the image recognition technology, and if the user is an adult user, the authentication process opens all function authorities, that is, the adult user can use all functions of the water dispenser in a squatting or lying state. Furthermore, the authentication process can be judged based on gesture recognition, the water dispenser can send out prompt voice needing gesture recognition, a user can make specific gesture actions or directly input virtual digital passwords after hearing the prompt voice, and under the condition that the gesture actions are judged to be correct or the virtual digital passwords are judged to be correct, the identity authentication is judged to be passed, and all functional authorities are opened.
In one embodiment, the method for unlocking the functional authority of the household appliance device includes:
pushing a gesture unlocking prompt message when the user is not detected at the first height and the second height; collecting gesture actions of a user to perform gesture recognition authentication; and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
Similarly to the above embodiment, if no object is detected at the first height and the second height, the user may approach the device in a specific reduced height in some special situations, for example, the user lies down to approach the device, the user sits on a wheelchair to approach the device, etc., in this case, in order to provide services for the user, a gesture unlocking prompt message may be further sent to the user, and gesture actions made by the user are collected to perform gesture recognition authentication, if the gesture recognition passes seriously, it indicates that the user is a user passing authentication, that is, the user is an adult user, and all the functional rights are unlocked.
In one embodiment, detecting a user at a first elevation and a second elevation when the user is detected comprises: when the user is detected, the user is detected at the first height and the second height in a time-sharing detection mode.
Whether objects exist at the first height and the second height or not is detected sequentially, and a time sharing technology is adopted to distinguish the two detection, so that independence and accuracy between the detection are improved. In particular, the detection of the first and second heights may be performed by a first and second sensor, respectively. In practical application, the first sensor and the second sensor are activated to detect whether a user exists at a corresponding height, namely, a time sharing technology is adopted to distinguish detection information fed back by the first sensor and the second sensor, and when the detection information fed back by the second sensor is received, the first sensor is activated to detect.
In one embodiment, the method for unlocking the functional authority of the household appliance device further includes:
judging whether a user exists in a preset detection area; when a user exists in the preset detection area, the step of detecting the user at the first height and the second height is carried out; and when the preset detection area is free of users, user detection on the preset detection area is kept.
Judging whether an object exists in a preset detection area; when an object exists in the preset detection area, a step of detecting whether the object exists at the first height and the second height is carried out; when the preset detection area is free of objects, the detection of the objects in the preset detection area is kept.
As described above, the preset detection area is a preset detection area, specifically, a circular area with a preset radius (50 cm) with the device as the center of a circle, and may be a rectangular area with a distance of 10-50 cm right in front of the device. The device responds to the user to press the function authority control button, starts the function authority unlocking of the household appliance, continuously judges whether the object exists in the preset detection area in the follow-up work, detects whether the object exists at the first height and the second height when the object exists, and keeps the continuous detection state when the object does not exist.
Taking a water dispenser as an example, starting the water dispenser to be electrified, starting functional authority control, automatically locking a child lock, judging whether a user approaches in a rectangular area 10-50 cm in front of the water dispenser, and if the user is detected to approach, detecting whether objects exist at a first height and a second height; if the approach of the user is not detected, the user detection state is continuously maintained.
In order to further describe the technical scheme and effect of unlocking the functional authority of the household appliance in detail, the following will take a water dispenser as an example, and the technical scheme and effect are described in detail with reference to fig. 3. In this application example, the first sensor is the ultrasonic sensor 1, and the second sensor is the ultrasonic sensor 2. As shown in fig. 3, the overall scheme includes the following steps:
1. The positive electrode opens the child lock function and enters a locking state;
2. the distance sensor works, whether a user approaches is detected in real time, if so, the step 3 is carried out, and if not, the detection state is continuously maintained;
3. the ultrasonic sensor 1 works and emits ultrasonic waves;
4. judging whether the ultrasonic signal Echo1 is threaded at the falling edge within 0.1 second; if the current situation exists, the step 5 is carried out, and if the current situation does not exist, the step 9 is carried out;
5. the ultrasonic sensor 2 works and emits ultrasonic waves;
6. judging whether the ultrasonic signal Echo2 is threaded at the falling edge within 0.1 second; if the signal appears, the step 7 is carried out, and if the signal does not appear, the step 8 is carried out;
7. unlocking all rights, and enabling the water dispenser to work normally;
8. starting an ultrasonic sensor 1 to perform distance measurement, manually unlocking the ultrasonic sensor, judging whether the ultrasonic signal is in the range of 10-50 cm or not, and if so, returning to the step 7, otherwise, returning to the step 2;
9. the ultrasonic sensor 2 works and emits ultrasonic waves;
10. judging whether the ultrasonic signal Echo2 is threaded at the falling edge within 0.1 second; if the permission appears, the step 11 is entered, if the permission does not appear, the step 8 is entered, the permission of the part is unlocked, and the function of the part of the water dispenser is started.
The ultrasonic sensor may include a first ultrasonic sensor and a second ultrasonic sensor, which specifically include two sets of transmitting ends and two sets of receiving ends, and the specific structure of which is shown in fig. 4.
And (3) fine adjusting the position and the angle of the ultrasonic sensor according to the pre-installation position of the machine so as to meet the detection of different heights. For the water dispenser, the ideal value is to open all rights to people with a height of more than 1 meter and 4, and open the rights to cold water and warm water at 40 ℃ to people with a height of more than 1 meter. The ultrasonic sensor 1 is aligned to a height of 1.4 meters and the ultrasonic sensor 2 is aligned to a height of 1 meter. The unlocking child lock adopts a combination key mode, and after the child lock unlocking function is achieved, the distance sensor works, and whether an object approaches or not is monitored in real time. When an object approaches, the unlocking ultrasonic sensor enters into work.
Firstly, the controller firstly sets 0 for all IO ports of the module, sends a high level of more than 10us to the Trig1, unlocks the ultrasonic sensor 1, and the echo1 becomes the high level and waits for the return of an ultrasonic signal. If the ultrasonic signal returns, namely, the falling edge of the Echo1 is detected, at the moment, a high level of more than 10us is sent to the Trig2, the ultrasonic sensor 2 is unlocked, the Echo2 becomes the high level, and the ultrasonic signal returns. If the ultrasonic signal is returned, namely the Echo2 is detected to have a falling edge, the corresponding electromagnetic valve is unlocked, all functions of the water dispenser are opened, and the water dispenser works normally. If the falling edge of Echo1 is still not detected after 0.1S, the following gesture unlocking judgment is performed considering the gesture unlocking of the user.
In the case where the ultrasonic sensor 1 receives the return signal, if the return signal is not received after 0.1S, the ultrasonic sensor 2 is unlocked to detect the height of the article by 1 meter. And sending a high level of more than 10us to the Trig2, unlocking the ultrasonic sensor 2, and changing the echo2 to the high level to wait for the return of an ultrasonic signal. When the Echo2 has a falling edge, part of functions of the water dispenser, such as cold water, warm water at 40 ℃, and the like, are unlocked, if the falling edge of the Echo2 is still not detected after 0.1S, the machine locking is continued, the first step is returned, and the detection is restarted.
If the user is sitting or squatting, normal function unlocking cannot be performed according to the height, the combination keys are adopted, and the unlocking operation can be performed by pressing corresponding keys simultaneously or according to a preset sequence. For the keyless machine type, the corresponding gesture operation can be set by utilizing the ultrasonic sensor to unlock. Since the ultrasonic sensor can be used for ranging, after unlocking, when the Echo occurs at the rising edge, the timer starts to work, and when the Echo occurs at the falling edge, the timer stops working, and the distance between the object and the ultrasonic sensor is equal to the time counted by the counter, namely the sound speed/2. For example, the ultrasonic sensor 1 can be shielded by hand in a range of 10cm to 50cm, the ultrasonic sensor 2 is not shielded for 2 seconds, when the ultrasonic sensor 1 judges that the shielding object is kept for 2S in the range of the distance, and the ultrasonic sensor 2 is not shielded, the unlocking operation is performed, and the control method can reduce the possibility that the unlocking is simulated by children, so that accidents occur.
It should be understood that, although the steps in the flowcharts described above are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described above may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily sequential, and may be performed in turn or alternately with at least some of the other steps or stages.
As shown in fig. 5, the present application further provides a device for unlocking functional rights of a home appliance, including:
the authority locking module 200 is used for automatically locking all the functional authorities;
the height obtaining module 400 is configured to obtain the height of the user when the user is detected;
the first unlocking module 600 is configured to unlock all the function rights when the height of the user is not less than the height corresponding to the preset all the function rights;
The second unlocking module 800 is configured to unlock a part of the function rights when the height of the user is less than the height corresponding to the preset all of the function rights, but not less than the height corresponding to the part of the function rights.
According to the household appliance function permission unlocking device, all function permissions are automatically locked in an initial state, when a user is detected, the height of the user is obtained, and if the height of the user is judged to be not smaller than the height corresponding to the preset all function permissions, all function permissions are unlocked; and if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities. In the whole process, unlocking the function rights based on the height of the user, if the height of the user is not less than the height corresponding to the preset all function rights, the user is indicated to belong to an adult user, and all the function rights can be unlocked; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.
In one embodiment, the height acquisition module 400 is further configured to detect the user at the first height and the second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all the function authorities of unlocking, and the second height corresponds to part of the function authorities of unlocking.
In one embodiment, the height acquisition module 400 is further configured to detect the user at the first height and the second height when the user is detected in the predetermined detection area.
In one embodiment, the first unlocking module 600 is further configured to activate the authentication function when no user is detected at both the first height and the second height; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
In one embodiment, the first unlocking module 600 is further configured to push a gesture unlocking prompt message when the user is not detected at both the first height and the second height; collecting gesture actions of a user to perform gesture recognition authentication; and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
In one embodiment, the height obtaining module 400 is further configured to detect the user at the first height and the second height by time-sharing detection when the user is detected.
In one embodiment, the height obtaining module 400 is further configured to determine whether the preset detection area has a user; when a user exists in the preset detection area, performing operation of detecting the user at the first height and the second height; and when the preset detection area is free of users, user detection on the preset detection area is kept.
For specific embodiments of the home appliance function right unlocking device, reference may be made to the above embodiments of the home appliance function right unlocking method, and the details are not repeated here. All or part of the modules in the household appliance function authority unlocking device can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In addition, the application also provides a household appliance, which comprises a household appliance body, a detection assembly and a controller, wherein the detection assembly and the controller are arranged in the household appliance body, the controller automatically locks all the functional rights, when a user is detected, the detection assembly is driven to detect the height of the user, when the height of the user is not less than the height corresponding to the preset all the functional rights, the controller unlocks all the functional rights of the household appliance body, and when the height of the user is less than the height corresponding to the preset all the functional rights, but not less than the height corresponding to the part of the functional rights, the controller unlocks the part of the functional rights of the household appliance body.
The household appliance comprises a household appliance body, a detection assembly and a controller, wherein the controller automatically locks all functional rights, when a user is detected, the detection assembly is driven to detect the height of the user, when the height of the user is not less than the height corresponding to the preset all functional rights, the controller unlocks all functional rights of the household appliance body, when the height of the user is less than the height corresponding to the preset all functional rights but not less than the height corresponding to part of functional rights, the controller unlocks part of functional rights of the household appliance body, the whole household appliance unlocks the functional rights based on the height of the user, and if the height of the user is not less than the height corresponding to the preset all functional rights, the user is indicated to belong to an adult user and can unlock all functional rights; if the height of the user only meets the height corresponding to part of the functional rights, the user is indicated to belong to an underage user, and only part of the functional rights can be unlocked, so that reasonable and effective functional rights unlocking is realized.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer equipment is used for storing preset data and other data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a home appliance function right unlocking method.
It will be appreciated by those skilled in the art that the structure shown in FIG. 6 is merely a block diagram of some of the structures associated with the present inventive arrangements and is not limiting of the computer device to which the present inventive arrangements may be applied, and that a particular computer device may include more or fewer components than shown, or may combine some of the components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
In one embodiment, the processor when executing the computer program further performs the steps of:
detecting the user at a first height and a second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all the function authorities of unlocking, and the second height corresponds to part of the function authorities of unlocking.
In one embodiment, the processor when executing the computer program further performs the steps of:
when a user is detected in the preset detection area, the user is detected at the first height and the second height.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the user is not detected at the first height and the second height, activating an identity authentication function; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
In one embodiment, the processor when executing the computer program further performs the steps of:
pushing a gesture unlocking prompt message when the user is not detected at the first height and the second height; collecting gesture actions of a user to perform gesture recognition authentication; and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
In one embodiment, the processor when executing the computer program further performs the steps of:
when the user is detected, the user is detected at the first height and the second height in a time-sharing detection mode.
In one embodiment, the processor when executing the computer program further performs the steps of:
judging whether a user exists in a preset detection area; when a user exists in the preset detection area, the step of detecting the user at the first height and the second height is carried out; and when the preset detection area is free of users, user detection on the preset detection area is kept.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities.
In one embodiment, the computer program when executed by the processor further performs the steps of:
detecting the user at a first height and a second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all the function authorities of unlocking, and the second height corresponds to part of the function authorities of unlocking.
In one embodiment, the computer program when executed by the processor further performs the steps of:
When a user is detected in the preset detection area, the user is detected at the first height and the second height.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the user is not detected at the first height and the second height, activating an identity authentication function; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
In one embodiment, the computer program when executed by the processor further performs the steps of:
pushing a gesture unlocking prompt message when the user is not detected at the first height and the second height; collecting gesture actions of a user to perform gesture recognition authentication; and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
In one embodiment, the computer program when executed by the processor further performs the steps of:
when the user is detected, the user is detected at the first height and the second height in a time-sharing detection mode.
In one embodiment, the computer program when executed by the processor further performs the steps of:
judging whether a user exists in a preset detection area; when a user exists in the preset detection area, the step of detecting the user at the first height and the second height is carried out; and when the preset detection area is free of users, user detection on the preset detection area is kept.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The foregoing examples illustrate only a few embodiments of the application, which are described in detail and are not to be construed as limiting the scope of the application. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the application, which are all within the scope of the application. Accordingly, the scope of protection of the present application is to be determined by the appended claims.

Claims (10)

1. A method for unlocking functional rights of a household appliance, which is characterized by being applied to a water dispenser, the method comprising:
automatically locking all function authorities;
when a user is detected, acquiring the height of the user;
if the height of the user is not less than the height corresponding to the preset all function authorities, unlocking all the function authorities;
if the height of the user is smaller than the height corresponding to all preset function authorities but not smaller than the height corresponding to part of the function authorities, unlocking the part of the function authorities;
when detecting a user, the obtaining the height of the user comprises:
detecting the user at a first height and a second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but the user is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all function authorities of unlocking, and the second height corresponds to part of function authorities of unlocking;
Detecting the detection result of the user at the first height and the second height comprises: [ first height detected user, second height detected user ], [ first height not detected user, second height detected user ], and [ first height not detected user, second height not detected user ];
the method further comprises the steps of: activating an identity authentication function when no user is detected at both the first height and the second height; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
2. The method of claim 1, wherein detecting the user at the first elevation and the second elevation when the user is detected comprises:
when a user is detected in the preset detection area, the user is detected at the first height and the second height.
3. The method according to claim 1, characterized in that it comprises:
pushing a gesture unlocking prompt message when the user is not detected at the first height and the second height;
collecting gesture actions of a user to perform gesture recognition authentication;
and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
4. The method of claim 1, wherein detecting the user at the first elevation and the second elevation when the user is detected comprises:
when the user is detected, the user is detected at the first height and the second height in a time-sharing detection mode.
5. The method as recited in claim 1, further comprising:
judging whether a user exists in a preset detection area;
when the preset detection area is provided with a user, the step of detecting the user at the first height and the second height is carried out;
and when the preset detection area is free of users, user detection on the preset detection area is kept.
6. A home appliance function right unlocking device, characterized in that it is applied to a water dispenser, said device comprising:
the right locking module is used for automatically locking all the functional rights;
the height acquisition module is used for detecting the user at the first height and the second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but the user is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all function authorities of unlocking, and the second height corresponds to part of function authorities of unlocking; detecting the detection result of the user at the first height and the second height comprises: [ first height detected user, second height detected user ], [ first height not detected user, second height detected user ], and [ first height not detected user, second height not detected user ];
The first unlocking module is used for unlocking all the function authorities when the height of the user is not less than the height corresponding to all the preset function authorities;
the second unlocking module is used for unlocking part of the function authorities when the height of the user is smaller than the height corresponding to all the preset function authorities but not smaller than the height corresponding to the part of the function authorities;
the first unlocking module is also used for activating an identity authentication function when the user is not detected at the first height and the second height; and if the identity authentication corresponding to the all function authorities is passed, unlocking the all function authorities.
7. The apparatus of claim 6, wherein the height acquisition module is further configured to detect the user at the first height and the second height when the user is detected at the predetermined detection area.
8. The apparatus of claim 6, wherein the first unlocking module is further configured to push a gesture unlocking prompt message when no user is detected at both the first height and the second height; collecting gesture actions of a user to perform gesture recognition authentication; and if the gesture recognition corresponding to the unlocking all the function authorities passes, unlocking all the function authorities.
9. The household appliance is characterized by being a water dispenser, and comprises a household appliance body, a detection assembly and a controller, wherein the detection assembly and the controller are arranged in the household appliance body, the controller automatically locks all functional authorities, when a user is detected, the detection assembly is driven to detect the height of the user, when the height of the user is not less than the height corresponding to the preset all functional authorities, the controller unlocks all functional authorities of the household appliance body, and when the height of the user is less than the height corresponding to the preset all functional authorities, but not less than the height corresponding to part of functional authorities, the controller unlocks part of functional authorities of the household appliance body; when the user is not detected at the first height and the second height, activating an identity authentication function; if the identity authentication corresponding to the all function authorities is passed, the all function authorities are unlocked;
The controller is further used for driving the detection component to detect the user at the first height and the second height when the user is detected; if the user is detected at the first height, determining that the height of the user is not less than the first height; if the user is not detected at the first height but the user is detected at the second height, determining that the height of the user is not smaller than the second height, wherein the first height is higher than the second height, the first height corresponds to all function authorities of unlocking, and the second height corresponds to part of function authorities of unlocking;
detecting the detection result of the user at the first height and the second height comprises: [ first height detected user, second height detected user ], [ first height not detected user, second height detected user ], and [ first height not detected user, second height not detected user ].
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 5.
CN202110567084.7A 2021-05-24 2021-05-24 Household appliance function authority unlocking method and device, medium and household appliance Active CN113341772B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110567084.7A CN113341772B (en) 2021-05-24 2021-05-24 Household appliance function authority unlocking method and device, medium and household appliance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110567084.7A CN113341772B (en) 2021-05-24 2021-05-24 Household appliance function authority unlocking method and device, medium and household appliance

Publications (2)

Publication Number Publication Date
CN113341772A CN113341772A (en) 2021-09-03
CN113341772B true CN113341772B (en) 2023-11-24

Family

ID=77471136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110567084.7A Active CN113341772B (en) 2021-05-24 2021-05-24 Household appliance function authority unlocking method and device, medium and household appliance

Country Status (1)

Country Link
CN (1) CN113341772B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113625584A (en) * 2021-08-31 2021-11-09 上海炬佑智能科技有限公司 Household equipment locking method, system and device and household equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079438A (en) * 2010-11-29 2013-05-01 齐晓燕 Child scald-preventing drinking machine
CN110412884A (en) * 2019-07-31 2019-11-05 广东美的制冷设备有限公司 Household appliance control method, device, electronic equipment and storage medium
CN211669679U (en) * 2019-12-16 2020-10-13 苏州工业园区工业技术学校 Height section position real-time detection system
CN112244649A (en) * 2020-09-24 2021-01-22 珠海格力电器股份有限公司 Equipment control method, device, equipment and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2783953A1 (en) * 1998-09-24 2000-03-31 Hubert Magar Protecting children from domestic accidents by using heat detectors or photocells set to differentiate between the height of a child and that of an adult and sound an alarm as required
JP5326508B2 (en) * 2008-11-07 2013-10-30 パナソニック株式会社 Induction heating cooker
US9411780B1 (en) * 2013-06-03 2016-08-09 Amazon Technologies, Inc. Employing device sensor data to determine user characteristics
CN104765292B (en) * 2015-03-16 2017-07-07 广东美的暖通设备有限公司 A kind of fool proof method of controller
CN109343393A (en) * 2018-10-16 2019-02-15 珠海格力电器股份有限公司 A kind of control method and cooking apparatus of cooking apparatus
CN112782986A (en) * 2019-11-08 2021-05-11 博西华电器(江苏)有限公司 Control method of display screen, household appliance and computer readable storage medium
CN110805935A (en) * 2019-11-15 2020-02-18 广东美的厨房电器制造有限公司 Household appliance, control method of household appliance and readable storage medium
CN111568185A (en) * 2020-02-29 2020-08-25 佛山市云米电器科技有限公司 Control method of water dispenser, water dispenser and computer readable storage medium
CN111568233A (en) * 2020-02-29 2020-08-25 佛山市云米电器科技有限公司 Water dispenser control method, water dispenser and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103079438A (en) * 2010-11-29 2013-05-01 齐晓燕 Child scald-preventing drinking machine
CN110412884A (en) * 2019-07-31 2019-11-05 广东美的制冷设备有限公司 Household appliance control method, device, electronic equipment and storage medium
CN211669679U (en) * 2019-12-16 2020-10-13 苏州工业园区工业技术学校 Height section position real-time detection system
CN112244649A (en) * 2020-09-24 2021-01-22 珠海格力电器股份有限公司 Equipment control method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN113341772A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
CN110851809B (en) Fingerprint identification method and device and touch screen terminal
CN102833423B (en) Touch screen mobile phone based on fingerprint identification and login unlocking method for touch screen mobile phone
US20180165440A1 (en) System and method for controlling user access to an electronic device
CN104008321A (en) Judging method and judging system for identifying user right based on fingerprint for mobile terminal
CN111710074A (en) Method for controlling and managing access of multistage entrance guard, electronic equipment and storage medium
WO2020078094A1 (en) Unlocking method and apparatus, and door lock
CN103378876A (en) Bluetooth-based terminal unlocking method
CN113763620B (en) Combined access control, method and device for controlling combined access control and storage medium
CN108804006B (en) Unlocking method, device, equipment and storage medium for wearable equipment
CN103119630A (en) Fingerprint sensors and systems incorporating fingerprint sensors
CN113341772B (en) Household appliance function authority unlocking method and device, medium and household appliance
CN106874728A (en) Unlocked by fingerprint method and system
CN203276380U (en) Distributed door access authentication system based on palm veins
CN110506266A (en) For using the access control of the first and second biometric datas access restriction of domain
CN105389497A (en) Security verification method and system for operation interface of fingerprint recognition
CN105354473A (en) Iris identification authentication based device desktop unlocking method and apparatus
CN105550628A (en) Fingerprint inputting and recording method and apparatus
CN113641979A (en) Authentication method, authentication system and computer readable storage medium
CN103207963A (en) Two-factor authentication system based on fingerprint and vein recognition
US20160005026A1 (en) Method and device for secure identification of a user of a service
WO2018000234A1 (en) Method and system for controlling smart door access on basis of dual fingerprints
CN203324988U (en) Dual fingerprint and vein identification verification system
CN106921937B (en) Case safety detection method and device
CN111179469A (en) Voice prompt method and intelligent door lock
WO2018000249A1 (en) Method and system for controlling smart door access on basis of mobile terminal and dual fingerprints

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