Control method and device for gas stove

文档序号:1918866 发布日期:2021-12-03 浏览:14次 中文

阅读说明:本技术 一种燃气灶的控制方法及装置 (Control method and device for gas stove ) 是由 高进宝 秦勇 于 2021-08-20 设计创作,主要内容包括:本申请实施例提供一种燃气灶的控制方法及装置,涉及智能家居技术领域,用于在无人监管时禁止燃气灶自动点火,提升燃气灶的安全性。该方法包括:燃气灶接收点火指令;燃气灶根据点火指令,判断是否满足预设条件,预设条件包括预设区域内有人员活动,预设区域包括燃气灶所在的位置;若满足预设条件,则燃气灶执行点火指令;若不满足预设条件,则燃气灶拒绝点火指令。(The embodiment of the application provides a control method and device of a gas stove, relates to the technical field of intelligent home, and is used for forbidding automatic ignition of the gas stove when the gas stove is unsupervised and improving safety of the gas stove. The method comprises the following steps: the gas stove receives an ignition instruction; the gas stove judges whether a preset condition is met or not according to the ignition instruction, wherein the preset condition comprises personnel activity in a preset area, and the preset area comprises the position of the gas stove; if the preset condition is met, executing an ignition instruction by the gas stove; if the preset condition is not met, the gas stove refuses the ignition instruction.)

1. A control method of a gas range, characterized in that the method comprises:

the gas stove receives an ignition instruction;

the gas stove judges whether a preset condition is met or not according to the ignition instruction, wherein the preset condition comprises personnel movement in a preset area, and the preset area comprises the position of the gas stove;

if the preset condition is met, the gas stove executes the ignition instruction;

and if the preset condition is not met, rejecting the ignition instruction by the gas stove.

2. The method of claim 1, wherein the preset condition further comprises that the person moving within the preset area is not a child.

3. The method according to claim 1 or 2, wherein the gas stove judges whether a preset condition is met according to the ignition instruction, and comprises the following steps:

the gas stove sends notification information to electronic equipment, wherein the notification information is used for notifying the electronic equipment that the gas stove receives the ignition instruction;

if the gas stove receives an instruction of allowing ignition from electronic equipment, the gas stove determines that the preset condition is met;

and if the gas stove receives an ignition prohibiting instruction from the electronic equipment, the gas stove determines that the preset condition is not met.

4. The method according to claim 1 or 2, characterized in that the method further comprises:

the gas stove acquires a panoramic image of a house where the gas stove is located, and the panoramic image is subjected to portrait recognition;

if the portrait is not identified in the panoramic image, the gas stove determines that no personnel move in a preset area taking the gas stove as a center; alternatively, the first and second electrodes may be,

if a portrait is identified in the panoramic image, the gas stove acquires the distance between a person to which the portrait belongs and the gas stove;

under the condition that the distance between the person and the gas stove is larger than or equal to a preset distance, the gas stove determines that no person moves in the preset area; alternatively, the first and second electrodes may be,

and under the condition that the distance between the personnel and the gas stove is smaller than the preset distance, the gas stove determines that personnel move in the preset area.

5. The method according to claim 4, wherein the gas stove obtains the distance between the person to which the portrait belongs and the gas stove, and specifically comprises:

the gas stove constructs a three-dimensional coordinate system according to the panoramic image of the house where the gas stove is located, and the position coordinate of the gas stove in the three-dimensional coordinate system is determined;

the gas stove determines position coordinates of personnel to which the portrait belongs in the three-dimensional coordinate system according to the panoramic image containing the portrait;

and the gas stove determines the distance between the person and the gas stove according to the position coordinate of the person on the three-dimensional coordinate system and the position coordinate of the gas stove on the three-dimensional coordinate system.

6. The method according to claim 1 or 2, characterized in that the method further comprises:

the gas stove acquires image information in the preset area;

the gas stove carries out portrait recognition on the image information;

if the portrait is not identified in the image information, the gas stove determines that no personnel move in the preset area; alternatively, the first and second electrodes may be,

and if the portrait is identified in the image information, the gas stove determines that personnel move in the preset area.

7. A control method of a gas range, characterized in that the method comprises:

the method comprises the steps that electronic equipment receives notification information from a gas stove, wherein the notification information is used for notifying the electronic equipment that the gas stove receives an ignition instruction;

the electronic equipment judges whether a preset condition is met or not according to the notification information, wherein the preset condition comprises personnel activities in a preset area, and the preset area comprises the position of the gas stove;

under the condition that a preset condition is not met, the electronic equipment sends an ignition prohibiting instruction to the gas stove;

and under the condition that a preset condition is met, the electronic equipment sends an instruction for allowing ignition to the gas stove.

8. The method of claim 7, wherein the preset condition further comprises that the person moving within the preset area is not a child.

9. The method according to claim 7 or 8, characterized in that the method further comprises:

the electronic equipment acquires a panoramic image of a house where the gas stove is located and performs portrait recognition on the panoramic image;

if the portrait is not identified in the panoramic image, the electronic equipment determines that no personnel move in the preset area; alternatively, the first and second electrodes may be,

if a portrait is identified in the panoramic image, the electronic equipment acquires the distance between a person to which the portrait belongs and the gas stove;

under the condition that the distance between the person and the gas stove is larger than or equal to a preset distance, the electronic equipment determines that no person moves in the preset area; alternatively, the first and second electrodes may be,

and under the condition that the distance between the person and the gas stove is smaller than the preset distance, the electronic equipment determines that the person moves in the preset area.

10. The method according to claim 9, wherein the step of acquiring, by the electronic device, the distance between the person to which the portrait belongs and the gas stove specifically comprises:

the electronic equipment constructs a three-dimensional coordinate system according to the panoramic image of the house where the gas stove is located, and determines the position coordinate of the gas stove in the three-dimensional coordinate system;

the electronic equipment determines the position coordinates of the person to which the portrait belongs in the three-dimensional coordinate system according to the panoramic image containing the portrait;

and the electronic equipment determines the distance between the person and the gas stove according to the position coordinates of the person on the three-dimensional coordinate system and the position coordinates of the gas stove on the three-dimensional coordinate system.

11. The method according to claim 7 or 8, characterized in that the method further comprises:

the gas stove acquires image information in the preset area;

the gas stove carries out portrait recognition on the image information;

if the portrait is not identified in the image information, the gas stove determines that no personnel move in the preset area; alternatively, the first and second electrodes may be,

and if the portrait is identified in the image information, the gas stove determines that personnel move in the preset area.

12. A gas range, comprising:

one or more processors;

one or more memories;

wherein the one or more memories are for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the gas burner to perform the method of any of claims 1 to 6.

13. An electronic device, comprising:

one or more processors;

one or more memories;

the one or more memories are for storing computer program code comprising computer instructions which, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 7-11.

14. A computer-readable storage medium comprising computer instructions which, when executed on a computer, cause the computer to perform the method of any of claims 1 to 11.

Technical Field

The application relates to the technical field of smart homes, in particular to a control method and device of a gas stove.

Background

Gas cookers, also known as gas cookers, cooktops, and cookers, generally refer to kitchen appliances heated by direct fire with a gas fuel such as liquefied petroleum gas, artificial gas, and natural gas, and are one of the main appliances for cooking food in daily life. Along with the improvement of the life quality of people, the intelligent home technology is continuously developed, and the gas stove is gradually intelligentized.

Based on the current intelligent home technology, a user can indicate the intelligent gas stove to automatically ignite at regular time and can remotely indicate the gas stove to automatically ignite through terminal equipment. However, the intelligent gas stove is heated by direct fire, so that the danger degree is high, and the automatic ignition process of the existing intelligent gas stove also has great potential safety hazard.

Disclosure of Invention

The embodiment of the application provides a control method and device of a gas stove, which are used for forbidding automatic ignition of the gas stove when the gas stove is unsupervised and improving the safety of the gas stove.

In a first aspect, a method for controlling a gas range is provided, the method comprising: the gas stove receives an ignition instruction; the gas stove judges whether a preset condition is met or not according to the ignition instruction, wherein the preset condition comprises personnel activity in a preset area, and the preset area comprises the position of the gas stove; if the preset condition is met, executing an ignition instruction by the gas stove; if the preset condition is not met, the gas stove refuses the ignition instruction.

Based on the control method of the gas stove, if no personnel move in the preset area, the gas stove is in an unsupervised state at the moment, and the emergency of the ignition process of the gas stove is not handled in time by people. Therefore, under the condition that no person moves in the preset area, the gas stove refuses the ignition instruction, so that the gas stove is prevented from being automatically ignited under the condition of no supervision. Therefore, the condition of accidents caused by unsupervised monitoring can be avoided, and the safety of the gas stove is improved.

In a second aspect, there is provided a control method of a gas range, the method comprising: the electronic equipment receives notification information from the gas stove, and the notification information is used for notifying the electronic equipment that the gas stove receives an ignition instruction; the electronic equipment judges whether a preset condition is met or not according to the notification information, wherein the preset condition comprises personnel activity in a preset area, and the preset area comprises the position of the gas stove; under the condition that the preset condition is not met, the electronic equipment sends an ignition prohibiting instruction to the gas stove; and under the condition that a preset condition is met, the electronic equipment sends an instruction for allowing ignition to the gas stove.

In a third aspect, a control device for a gas stove is provided, the control device is applied to the gas stove and comprises a transceiver unit and a processing unit, wherein the transceiver unit is used for receiving an ignition instruction; the processing unit is used for judging whether a preset condition is met or not according to the ignition instruction; the processing unit is also used for controlling the gas stove to execute an ignition instruction under the condition that a preset condition is met; and controlling the gas stove to reject the ignition instruction under the condition that the preset condition is not met.

In a fourth aspect, a control device for a gas stove is provided, which is applied to an electronic device and includes a transceiver unit, where the transceiver unit is configured to receive notification information from the gas stove, and the notification information is used to notify the electronic device that the gas stove receives an ignition instruction; the processing unit is used for judging whether a preset condition is met or not according to the notification information, wherein the preset condition comprises personnel activity in a preset area, and the preset area comprises the position of the gas stove; the processing unit is also used for sending an instruction of prohibiting ignition to the gas stove by the electronic equipment under the condition that the preset condition is not met, and sending an instruction of allowing ignition to the gas stove by the electronic equipment under the condition that the preset condition is met.

In a fifth aspect, an electronic device is provided, comprising: one or more processors and one or more memories; wherein the one or more memories are configured to store computer program code comprising computer instructions which, when executed by the one or more processors, cause the electronic device to perform any of the methods provided by the first aspect.

In a sixth aspect, there is provided a gas range comprising: one or more processors and one or more memories; wherein the one or more memories are used for storing computer program code comprising computer instructions which are executed by the one or more processors to cause the gas burner to perform any one of the methods provided by the second aspect.

In a seventh aspect, a computer-readable storage medium is provided, which stores computer instructions, and when the computer instructions are executed on a computer, the computer is caused to execute any one of the methods provided in the first aspect or the second aspect.

In an eighth aspect, a computer program product is provided, which comprises computer instructions, which, when run on a computer, cause the computer to perform any of the methods provided in the first or second aspect.

In a ninth aspect, an intelligent home system is provided, which includes an electronic device and a gas stove. Wherein the electronic device is configured to perform any one of the methods provided by the first aspect. The gas stove is used for executing any one of the methods provided by the second aspect.

The beneficial effects brought by the descriptions of the second aspect to the ninth aspect may refer to the corresponding beneficial effect analysis in the first aspect, and are not described herein again.

Drawings

Fig. 1 is a schematic view of an intelligent home system provided in an embodiment of the present application;

fig. 2 is a schematic view of another smart home system provided in an embodiment of the present application;

fig. 3 is a flowchart of a control method of a gas stove according to an embodiment of the present application;

fig. 4 is a flowchart of a person identification method according to an embodiment of the present application;

FIG. 5 is a flow chart of another method for identifying persons according to an embodiment of the present application;

FIG. 6 is a flow chart of another method for identifying persons according to an embodiment of the present application;

fig. 7 is a schematic composition diagram of a control device of a gas stove according to an embodiment of the present application;

fig. 8 is a schematic composition diagram of another control device for a gas range according to an embodiment of the present application;

fig. 9 is a schematic hardware structure diagram of a control device of a gas stove 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.

The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present application, "a plurality" means two or more unless otherwise specified.

In the description of the present application, it is to be noted that the terms "connected" and "connected" are to be interpreted broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, unless explicitly stated or limited otherwise. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. In addition, when a pipeline is described, the terms "connected" and "connected" are used in this application to have a meaning of conducting. The specific meaning is to be understood in conjunction with the context.

In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.

As described in the background art, the safety and reliability of the existing gas cookers cannot be considered simultaneously in the process of improving the intelligence level. Based on the current intelligent home technology, a user can instruct the gas stove to automatically ignite at regular time and also can remotely instruct the gas stove to ignite through terminal equipment. At the time of auto-ignition of the gas range, the user may not be supervised beside the gas range. However, since the gas stove is heated by direct fire, the danger degree is high, the gas stove is automatically ignited under the condition of no supervision, and if abnormal conditions occur in the ignition process, a user cannot timely handle the abnormal conditions. Therefore, the probability of accidents is increased, and the safety and reliability of the gas stove are affected.

Based on this, the application provides a control method and a device of a gas stove, and the control method comprises the following steps: the method comprises the following steps: the gas stove receives an ignition instruction; the gas stove judges whether a preset condition is met or not according to the ignition instruction, wherein the preset condition comprises personnel activity in a preset area, and the preset area comprises the position of the gas stove; if the preset condition is met, executing an ignition instruction by the gas stove; if the preset condition is not met, the gas stove refuses the ignition instruction.

Based on the scheme, if no personnel move in the preset area, the gas stove is in an unsupervised state at the moment, and the emergency of the ignition process of the gas stove is not handled in time by people. Therefore, under the condition that no person moves in the preset area, the gas stove refuses the ignition instruction, so that the gas stove is prevented from being automatically ignited under the condition of no supervision. Therefore, the probability of accidents caused by unsupervised monitoring can be reduced, and the safety of the gas stove is improved.

Optionally, fig. 1 shows a system to which the method provided in the present application is applied. As shown in fig. 1, the system may include a gas range 11 and a photographing device 12.

The gas range 11 and the imaging device 12 may be connected to each other through a connection method such as zigbee (zigbee), Bluetooth (Bluetooth), wireless broadband (Wi-Fi), or Ultra Wideband (UWB).

The gas stove 11 is also called a gas stove, a stove plate, a cooking bench and a stove, and is a widely used kitchen utensil. The gas range 11 may be a kitchen appliance that is directly heated by a gas fuel such as liquefied petroleum gas (liquefied gas), artificial gas, or natural gas. A wireless fidelity (WIFI) module may be provided in the gas range 11 to connect to a home lan.

The camera 12 may be a device having basic functions of video camera/distribution and still image capture. The photographing device 12 may be a panorama photographing apparatus, among others. The panoramic shooting device can shoot the surrounding environment to obtain a plurality of images and a panoramic depth map. In general, a panorama photographing apparatus may include a plurality of sets of cameras (e.g., three sets of binocular cameras arranged in sequence from top to bottom) that can photograph the surrounding environment at various angles.

In some embodiments, the camera 12 may be integrated with the gas range 11 into a single device.

Alternatively, fig. 2 shows another system to which the method provided in the present application is applied. As shown in fig. 2, the system may include a gas range 11, a photographing device 12, and an electronic device 13. The gas stove 11, the camera 12 and the electronic device 13 may access to the same home lan to realize mutual communication.

In some embodiments, the electronic device 13 may be a server, for example, a single server, or a server cluster composed of a plurality of servers. In some embodiments, the server cluster may also be a distributed cluster.

In some embodiments, the electronic device 13 may be a cell phone, a tablet, a desktop, a laptop, a handheld computer, a notebook, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \\ Virtual Reality (VR) device, and so forth. The present application does not specifically limit the specific form of the electronic device. The system can be used for man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment and the like.

In some embodiments, the above-mentioned photographing device 12 may be integrated with the electronic device 13 into one device.

In the technical solution of the embodiment of the present application, the photographing device 12 may be at least disposed near the placement position of the gas stove 11. Two possible arrangements are shown below:

in example 1, the photographing device 12 is only disposed near the placement position of the gas range 11 and can be used to acquire image information in a preset area, where the gas range is located.

In example 2, there may be a plurality of cameras 12, and the plurality of cameras 12 may be respectively disposed at different positions of a house where the gas stove is located, so that the cameras 12 may acquire the whole image information of the house.

The embodiments provided in the present application will be described in detail below with reference to the accompanying drawings.

As shown in fig. 3, an embodiment of the present application provides a control method of a gas stove, including the following steps:

s101, the gas stove receives an ignition instruction.

The ignition instruction is used for indicating the gas stove to perform ignition operation.

For example, when a user wants to cook using a gas range, the user inputs an operation on the gas range instructing ignition of the gas range, so that the gas range receives an ignition instruction.

For another example, in response to an operation input by a user on the electronic device indicating ignition of the gas range, the electronic device may transmit an ignition instruction to the gas range. Accordingly, the gas stove can receive an ignition instruction sent by the electronic equipment.

For example, the gas range may receive an ignition command when a time set by a user is reached based on a timed ignition function of the gas range.

Of course, in practical application, the gas stove may also obtain the ignition instruction in other manners, which is not limited in this application.

It should be noted that, since the gas stove is heated by direct fire, in order to ensure the safety of the gas stove, the automatic ignition process of the gas stove needs to be manually monitored. However, in actual use, the user may not be conscious of the auto-ignition process of the gas range. Moreover, the situation that the gas stove receives an ignition instruction under the condition of no supervision may occur due to misoperation of a user or due to factors such as failure of the gas stove. In order to ensure the safe use of the gas stove, in the technical solution provided in the embodiment of the present application, after the gas stove receives the ignition command, the gas stove does not immediately execute the ignition command, but first executes the following step S102.

And S102, judging whether the preset condition is met or not by the gas stove according to the ignition instruction.

The preset conditions comprise personnel activities in a preset area, and the preset area comprises the position of the gas stove.

For example, the predetermined region may be a circular region having a radius of a predetermined distance with the gas range as a center. For example, the preset distance may be 3m, or other values. Of course, the predetermined area may have other shapes, such as a rectangular shape, a fan shape, or an irregular shape.

For another example, the preset area may be all or a part of a room where the gas range is located, and is not limited thereto.

Optionally, the preset condition further includes that the person moving in the preset area is not a child. It will be appreciated that children may not be able to supervise the gas range and may be more likely to be injured or cause an accident by accidental contact. Based on this situation, the safety of the gas stove during use cannot be guaranteed. Therefore, the gas range should not be automatically ignited even if the person moving in the predetermined area is a child.

As a possible implementation manner, the gas stove can judge whether the preset condition is met by itself. That is, when the preset condition includes that a person moves in the preset area, the gas stove judges whether the person moves in the preset area. Further, when the preset condition further includes that the person moving in the preset area is not a child, the gas stove further judges whether the person moving in the preset area is a child.

As another possible implementation manner, after receiving the ignition instruction, the gas stove may send a notification message to the electronic device, so that the electronic device determines whether the preset condition is met according to the notification message. The notification information is used for notifying the electronic equipment that the gas stove receives an ignition instruction. And under the condition that the preset condition is met, the electronic equipment sends an ignition-allowable instruction to the gas stove, so that the gas stove determines that the preset condition is met according to the ignition-allowable instruction. Or under the condition that the preset condition is not met, the electronic equipment sends an ignition prohibiting instruction to the gas stove, so that the gas stove determines that the preset condition is not met according to the ignition prohibiting instruction.

In the embodiment of the present application, in the case where a preset condition is satisfied, the following step S103 is executed; otherwise, the following step S104 is performed.

And S103, executing an ignition instruction by the gas stove.

It should be understood that if the preset condition is met, the gas stove determines that the gas stove is currently in a relatively safe use state, and then executes the ignition instruction to perform the ignition operation.

And S104, rejecting an ignition instruction by the gas stove.

Based on the control method of the gas stove, the gas stove refuses the ignition instruction under the condition that the preset condition is not met, so that the gas stove is prevented from being automatically ignited under the condition of no supervision. Therefore, the probability of accidents caused by unsupervised monitoring can be reduced, and the safety of the gas stove is improved.

The following takes an electronic device as an example, and how to determine whether there is a human activity in a preset area is specifically described. It should be understood that the following method is equally applicable to gas cooktops.

In an alternative embodiment, as shown in fig. 4, an embodiment of the present application provides a person identification method, including the following steps:

s201, the electronic equipment acquires a panoramic image of a house where the gas stove is located and carries out portrait recognition on the panoramic image.

The panoramic image is a video image capable of recording and presenting a full-angle view angle. The three-dimensional space image is formed by splicing and processing one or more groups of photos shot by a camera from multiple angles and simulating a two-dimensional plane image. Panoramic images differ from monoscopic planar effect maps, which can show the user the surrounding environment in a way that approximates reality. Meanwhile, the panoramic image contains a large amount of scene information, and can be effectively applied to various situations needing scene analysis.

Specifically, in the case that the plurality of photographing devices are respectively disposed at different positions of the house where the gas stove is located, the electronic device may acquire the panoramic image of the house where the gas stove is located by acquiring images photographed by the plurality of photographing devices.

Optionally, the electronic device may perform human image recognition on the acquired image information by using any one or more of a human face recognition method, a bone key point recognition method, or a template matching method. Therefore, the electronic equipment can accurately identify the portrait information from the acquired image information, and the condition that the animal appears in the preset range to cause misjudgment is avoided.

Alternatively, in a case where no human image is recognized in the panoramic image, the following step S202 may be performed; in the case where a portrait is recognized in the panoramic image, the following steps S203-S205 may be performed.

S202, if the portrait is not recognized in the panoramic image, the electronic equipment determines that no personnel move in the preset area.

Specifically, the electronic device determines that no personnel activity exists in the preset area, that is, the electronic device determines that the preset condition is not met. Thus, the electronic device can send an instruction to prohibit ignition to the gas range.

Optionally, if the preset condition is not met, the electronic device may remind the user that the gas stove is not in the preset area where the gas stove can be automatically ignited. For example, the electronic device may display or audibly broadcast a warning message such as "you are too far away from the gas range, ignition of the gas range is prohibited," or the like.

S203, if the portrait is identified in the panoramic image, the electronic equipment acquires the distance between the person to which the portrait belongs and the gas stove.

In one possible example, the electronic device may construct a three-dimensional coordinate system from the acquired panoramic image.

Specifically, the panoramic image includes a large amount of scene information, which can be used to construct a three-dimensional coordinate system. In general, a three-dimensional coordinate system may be established based on a panoramic image acquired by a panoramic photographing apparatus with a fixed point on the panoramic image as an origin.

Further, the electronic device determines the distance between the person and the gas stove according to the position coordinates of the person on the three-dimensional coordinate system and the position coordinates of the gas stove on the three-dimensional coordinate system.

And S204, under the condition that the distance between the person and the gas stove is larger than or equal to the preset distance, the electronic equipment determines that no person moves in the preset area.

The preset distance is the distance between the position of the gas stove and the edge of the preset area. For example, the preset distance may be 3m, or other values.

Further, the electronic device may send an instruction to prohibit ignition to the gas range when determining that the preset condition is not satisfied.

S205, under the condition that the distance between the person and the gas stove is smaller than the preset distance, the electronic equipment determines that the person moves in the preset area.

Specifically, the electronic device determines whether there is a human activity in the preset area, that is, the electronic device determines that the preset condition is met. Thus, the electronic device can send an instruction to the gas range to allow ignition.

Optionally, if the preset condition is met, the electronic device may remind the user that the gas stove is about to be ignited. For example, the electronic device may display or voice-report a warning message such as "the gas range is about to start auto-ignition, please note safety" or the like.

Based on the embodiment, the panoramic image is identified, and because the panoramic image contains a large amount of scene information, whether people are in the preset area can be accurately judged, and based on the face identification method, the situation that animals are in the preset range and therefore misjudgment is caused can be avoided.

In another alternative embodiment, as shown in fig. 5, an embodiment of the present application provides a person identification method, including the following steps:

s301, the electronic equipment acquires image information in a preset area and carries out portrait recognition on the image information.

Specifically, in the case that the photographing device is only disposed near the placement position of the gas stove to photograph an image in a preset area, the electronic device may acquire image information in the preset area through the photographing device and perform portrait recognition on the acquired image information.

In some embodiments, after receiving the notification information sent by the gas stove, the electronic device may send a shooting instruction to the shooting device to instruct the shooting device to acquire image information of the preset area. In response to a shooting instruction sent by the electronic equipment, the shooting equipment acquires image information of a preset area and sends the acquired image information to the electronic equipment.

In other embodiments, the camera may transmit the captured image information to the electronic device in real time, and the electronic device may cache the image information.

Further, in a case where no human image is recognized in the image information, the following step S302 may be executed; in the case where a portrait is recognized in the image information, the following step S303 may be performed.

S302, if the portrait is not recognized in the image information, the electronic equipment determines that no personnel move in the preset area.

Specifically, since the image information is image information of the preset area, it can be determined that there is no human activity in the preset area, that is, the preset condition is not satisfied, when no human image is identified in the image information.

And S303, if the portrait is identified in the image information, the electronic equipment determines that personnel activities exist in the preset area.

Based on the embodiment shown in fig. 5, only the image information in the preset area can be acquired, and the image information in the preset area can be directly identified to judge whether the preset condition is met without calculating the distance.

The following takes an electronic device as an example, and how to determine whether a person with a preset area activity is a child will be specifically described. It should be understood that the following method is equally applicable to gas cooktops.

In an alternative embodiment, as shown in fig. 6, an embodiment of the present application provides a person identification method, including the following steps;

s401, if the person moves in the preset area, the electronic equipment acquires the characteristic information of the person.

The feature information may include human body feature information such as facial features, height features, and skeletal key point features of the person.

S402, the electronic equipment judges whether the characteristic information of the person accords with the characteristic information of the child.

Wherein, the judgment condition can comprise the physical characteristics of the children, such as the height of less than or equal to 1.5m, and the like.

Optionally, the electronic device may establish the recognition model based on a body characteristic change rule in a human growth process, and then, the electronic device may determine whether the person in the preset area is a child according to the recognition model.

It should be understood that the construction of the recognition model can refer to the prior art, and is not described herein in detail.

And S403, if yes, the electronic equipment determines that the person is a child.

Further, the electronic device may send an instruction to prohibit ignition to the gas range.

S404, if not, the electronic equipment determines that the person is not a child.

Further, the electronic device may send an instruction to the gas range to allow ignition.

Based on the embodiment shown in fig. 6, when the person in the preset area is a child, the ignition operation of the gas stove is prohibited, so that the child can be prevented from being injured or causing an accident due to mistaken touch in the automatic ignition process of the gas stove, and the safety of the gas stove is improved.

The above description has presented the scheme provided herein primarily from a methodological perspective. It is understood that each device, for example, an electronic device, includes corresponding hardware structures and/or software modules for performing each function in order to realize the functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, in conjunction with the exemplary algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.

The present application may perform the division of the function modules for the control device of the gas cooker according to the above method, for example, each function module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the present application is schematic, and is only a logical function division, and there may be another division manner in actual implementation.

Fig. 7 shows a schematic composition diagram of a control device of a gas stove according to an embodiment of the present application. The control device is applied to the gas stove. As shown in fig. 7, the control device 1000 includes a transceiver unit 1001 and a processing unit 1002.

A transceiver 1001 for receiving an ignition command.

The processing unit 1002 is configured to determine whether a preset condition is met according to the ignition instruction, where the preset condition includes that there is a person moving in a preset area, and the preset area includes a position where the gas stove is located.

The processing unit 1002 is further configured to execute the ignition instruction when the preset condition is met, and control the gas stove to reject the ignition instruction when the preset condition is not met.

In some embodiments, the preset condition further comprises that the person moving within the preset area is not a child.

In some embodiments, the transceiver unit 1001 is further configured to send notification information to an electronic device, where the notification information is used to notify the electronic device that the gas stove receives the ignition instruction; the processing unit 1002 is further configured to determine that the preset condition is met when the transceiver unit 1001 receives an instruction from the electronic device to allow ignition; the processing unit 1002 is further configured to determine that the preset condition is not satisfied when the transceiving unit 1001 receives an instruction to prohibit ignition from the electronic device.

In some embodiments, the transceiver unit 1001 is further configured to obtain a panoramic image of a house where the gas stove is located, and the processing unit 1002 is further configured to perform portrait recognition on the panoramic image; the processing unit 1002 is further configured to determine that no person is present in a preset area centered on the gas stove when no person is identified in the panoramic image; or, in the case that a portrait is identified in the panoramic image, the transceiver 1001 is further configured to obtain a distance between a person to which the portrait belongs and the gas stove; the processing unit 1002 is further configured to determine that no person is present in the preset area when the distance between the person and the gas stove is greater than or equal to a preset distance; or determining that the personnel moves in the preset area under the condition that the distance between the personnel and the gas stove is smaller than the preset distance.

In some embodiments, the processing unit 1002 is further configured to construct a three-dimensional coordinate system according to a panoramic image of a house where the gas stove is located, and determine position coordinates of the gas stove in the three-dimensional coordinate system; the processing unit 1002 is further configured to determine, according to the panoramic image including the portrait, position coordinates of a person to which the portrait belongs in the three-dimensional coordinate system; and determining the distance between the personnel and the gas stove according to the position coordinates of the personnel on the three-dimensional coordinate system and the position coordinates of the gas stove on the three-dimensional coordinate system.

In some embodiments, the transceiver 1001 is further configured to obtain image information in the preset area; the processing unit 1002 is further configured to perform portrait identification on the image information; the processing unit 1002 is further configured to determine that no person is present in the preset area when no person is identified in the image information; or determining that the person moves in the preset area under the condition that the portrait is identified in the image information.

Fig. 8 shows a schematic composition diagram of a control device of a gas stove according to an embodiment of the present application. The control device is applied to the electronic equipment. As shown in fig. 8, the control device 2000 includes a transceiver 2001 and a processing unit 2002.

A transceiver 2001, configured to receive notification information from a gas stove, where the notification information is used to notify the electronic device that the gas stove receives an ignition instruction.

And the processing unit 2002 is configured to determine whether a preset condition is met according to the notification information, where the preset condition includes that there is a person moving in a preset area, and the preset area includes a position where the gas stove is located.

The processing unit 2002 is further configured to, if a preset condition is not met, send an instruction to prohibit ignition to the gas stove by the electronic device; or, the electronic equipment sends an instruction for allowing ignition to the gas stove under the condition that a preset condition is met.

In some embodiments, the preset condition further comprises that the person moving within the preset area is not a child.

In some embodiments, the transceiver 2001 is further configured to acquire a panoramic image of a house where the gas stove is located, and the processing unit 2002 is further configured to perform portrait recognition on the panoramic image; the processing unit 2002 is further configured to determine that no person is moving in a preset area centered on the gas stove when no person is identified in the panoramic image; or, in the case that a portrait is recognized in the panoramic image, the transceiver 2001 is further configured to obtain a distance between a person to which the portrait belongs and the gas stove; the processing unit 2002 is further configured to determine that no person is active in the preset area when the distance between the person and the gas stove is greater than or equal to a preset distance; or determining that the personnel moves in the preset area under the condition that the distance between the personnel and the gas stove is smaller than the preset distance.

In some embodiments, the processing unit 2002 is further configured to construct a three-dimensional coordinate system according to the panoramic image of the house where the gas stove is located, and determine the position coordinates of the gas stove in the three-dimensional coordinate system; the processing unit 2002 is further configured to determine, according to the panoramic image including the portrait, position coordinates of a person to which the portrait belongs in the three-dimensional coordinate system; and determining the distance between the personnel and the gas stove according to the position coordinates of the personnel on the three-dimensional coordinate system and the position coordinates of the gas stove on the three-dimensional coordinate system.

In some embodiments, the transceiver 2001 is further configured to obtain image information in the preset area; a processing unit 2002, further configured to perform portrait recognition on the image information; the processing unit 2002 is further configured to determine that no person is active in the preset area when no person is identified in the image information; or determining that the person moves in the preset area under the condition that the portrait is identified in the image information.

The respective units in fig. 7 and 8, if implemented in the form of software functional modules and sold or used as separate products, may be stored in a computer-readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially implemented or make a contribution to the prior art, or all or part of the technical solutions may be implemented in the form of a software product stored in a storage medium, and including several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. A storage medium storing a computer software product comprising: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

As shown in fig. 9, an embodiment of the present application also provides a control apparatus including a memory 3001, a processor 3002, a bus 3003, and a communication interface 3004; the memory 3001 is used for storing computer-executable instructions, and the processor 3002 is connected to the memory 3001 via a bus 3003; when the control apparatus operates, the processor 3002 executes computer-executable instructions stored in the memory 3001 to implement the control method provided by the above-described embodiment.

In particular implementations, processor 3002(3002-1 and 3002-2) may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 9, for example, as an embodiment. And for one embodiment, projection device may include multiple processors 3002, such as processor 3002-1 and processor 3002-2 shown in fig. 9. Each of the processors 3002 may be a single-Core Processor (CPU) or a multi-Core Processor (CPU). Processor 3002 may refer herein to one or more devices, circuits, and/or processing cores for processing data (e.g., computer program instructions).

The memory 3001 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disk storage, optical disk storage (including compact disc, laser disc, optical disc, digital versatile disc, blu-ray disc, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory 3001 may be separate and coupled to the processor 3002 via a bus 3003. The memory 3001 may also be integrated with the processor 3002.

In a specific implementation, the memory 3001 is used for storing data in the present application and computer executable instructions corresponding to the software program executing the present application. The processor 3002 may perform various functions of the projection device by running or executing software programs stored in the memory 3001, as well as invoking data stored in the memory 3001.

Communication interface 3004 may be implemented using any device, such as a transceiver, for communicating with other devices or communication networks, such as a control system, a Radio Access Network (RAN), a Wireless Local Area Network (WLAN), etc. The communication interface 3004 may include a receiving unit implementing a receiving function and a transmitting unit implementing a transmitting function.

The bus 3003 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus 3003 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 9, but this does not indicate only one bus or one type of bus.

Embodiments of the present invention also provide a computer-readable storage medium, where the computer-readable storage medium includes computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer is caused to execute the method provided in the foregoing embodiments.

The embodiment of the present invention further provides a computer program product, which can be directly loaded into the memory and contains software codes, and after being loaded and executed by the computer, the computer program product can implement the method provided by the above embodiment.

An embodiment of the present application further provides a chip, including: a processor coupled to the memory through the interface, and an interface, when the processor executes the computer program or the computer execution instructions in the memory, the processor causes any one of the methods provided by the above embodiments to be performed.

Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in this invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.

In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. The processes or functions described in accordance with the embodiments of the present application occur, in whole or in part, when computer-executable instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer executable instructions may be stored on a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, the computer executable instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.

While the present application has been described in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a review of the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other elements or steps, and the word "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measures cannot be used to advantage.

Although the present application has been described in conjunction with specific features and embodiments thereof, it will be evident that various modifications and combinations can be made thereto without departing from the spirit and scope of the application. Accordingly, the specification and figures are merely exemplary of the present application as defined in the appended claims and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of the present application. It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

19页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种隐藏式集成灶

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!