US20180142911A1 - Method and apparatus for air purification and storage medium - Google Patents
Method and apparatus for air purification and storage medium Download PDFInfo
- Publication number
- US20180142911A1 US20180142911A1 US15/800,093 US201715800093A US2018142911A1 US 20180142911 A1 US20180142911 A1 US 20180142911A1 US 201715800093 A US201715800093 A US 201715800093A US 2018142911 A1 US2018142911 A1 US 2018142911A1
- Authority
- US
- United States
- Prior art keywords
- room
- purified
- image
- distance
- plane
- 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.)
- Abandoned
Links
Images
Classifications
-
- F24F11/0086—
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2110/00—Control inputs relating to air properties
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F8/00—Treatment, e.g. purification, of air supplied to human living or working spaces otherwise than by heating, cooling, humidifying or drying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/35—Categorising the entire scene, e.g. birthday party or wedding scene
- G06V20/36—Indoor scenes
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/52—Indication arrangements, e.g. displays
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2130/00—Control inputs relating to environmental factors not covered by group F24F2110/00
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F2140/00—Control inputs relating to system states
- F24F2140/50—Load
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F3/00—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems
- F24F3/12—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems characterised by the treatment of the air otherwise than by heating and cooling
- F24F3/16—Air-conditioning systems in which conditioned primary air is supplied from one or more central stations to distributing units in the rooms or spaces where it may receive secondary treatment; Apparatus specially designed for such systems characterised by the treatment of the air otherwise than by heating and cooling by purification, e.g. by filtering; by sterilisation; by ozonisation
Definitions
- the present disclosure relates to the field of intelligent terminal technology, and more particularly to a method and apparatus for air purification and storage medium.
- intelligent equipments such as smart TV, intelligent air conditioner, intelligent refrigerator, smart printer and so on, have become popular in daily life.
- the air purifier which can absorb, decompose or transform various air pollutants and thus effectively improve air cleanliness.
- the air purifier has also become a kind of intelligent equipment with communication ability and computation ability.
- the embodiments of the present disclosure provide a method and apparatus for air purification, the solutions of which are discussed as follow.
- a method for air purification may include: acquiring an image of a room to be purified; determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- an apparatus for air purification includes: an acquisition module configured to acquire an image of a room to be purified and determining a location at which the image is acquired; a determination module configured to determine spatial capacity information of the room to be purified according to the image and the location; and a purification module configured to use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- an apparatus for air purification in a terminal device includes: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: acquire an image of a room to be purified; determining a location at which the image is acquired; determine spatial capacity information of the room to be purified according to the image and the location; and use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- a non-transitory computer readable storage medium having stored therein instructions that, when executed by an apparatus, cause the apparatus to perform a method for air purification, the method includes: acquiring an image of a room to be purified and determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and performing air purification for the room to be purified using a purification strategy corresponding to the spatial capacity information.
- FIG. 1 is a flow chart of a method for air purification according to an exemplary embodiment.
- FIG. 2 is a schematic representation of a corresponding triangle for acquisition of a first distance according to an exemplary embodiment.
- FIG. 3 is a schematic representation of a corresponding triangle for acquisition of a first distance according to an exemplary embodiment.
- FIG. 4 is a schematic view for determining a floor area of a room to be purified according to an exemplary embodiment.
- FIG. 5 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment.
- FIG. 6 is a flow chart of a method for air purification according to an exemplary embodiment.
- FIG. 7 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment.
- FIG. 8 is a flow chart of a method for air purification according to an exemplary embodiment.
- FIG. 9 is a block diagram of an apparatus for air purification according to an exemplary embodiment.
- FIG. 10 is a block diagram of an apparatus for air purification according to an exemplary embodiment.
- FIG. 11 is a block diagram of an apparatus for air purification according to an exemplary embodiment.
- FIG. 12 is a block diagram of an apparatus 1200 for air purification according to an exemplary embodiment.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- FIG. 1 is a flow chart of a method for air purification according to an exemplary embodiment. As shown in FIG. 1 , the method includes the following steps of S 101 to S 103 .
- step S 101 an image of a room to be purified is acquired and a location at which the image is acquired is determined.
- an apparatus for air purification can obtain the image of the room to be purified.
- the apparatus for air purification may carry an image acquisition device, such as a camera, whereby the image of the room to be purified can be obtained by the image acquisition device.
- the apparatus for air purification may communicate with an apparatus carrying an image acquisition device, for example, communicate with a camera mounted at the ceiling of the room, so as to obtain the image of the room to be purified. It can be seen that the image of the room to be purified can be obtained in a more flexible manner, including acquiring the image of the room to be purified by using an image acquisition device, or acquiring the image of the room to be purified by communicating with an apparatus including an image acquisition device.
- the position of the image acquisition device in the apparatus for air purification can be determined.
- step S 102 spatial capacity information of the room to be purified is determined according to the image and the location.
- the image can be identified to determine positions of corner points of the room to be purified, and then, the space capacity information of the room to be purified can be determined based on the positions of the corner points and the location at which the image is acquired.
- a process for identifying the image to determine positions of the corner points of the room to be purified may include: determining wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and determining the position of each corner point of the room to be purified according to an intersection point of every three intersecting lines.
- the spatial capacity information of the room to be purified may be determined based on the positions of the corner points and the location at which the image is acquired, particularly including: determining a first distance between a projection point of the location at which the image is acquired on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and said location at which the image is acquired, wherein the first plane includes a floor or ceiling of the room to be purified; determining a second distance between every two corner points based on the positions of the corner points; and determining the spatial capacity information of the room to be purified according to the first distances and the second distances.
- the first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may be determined by: determining a first height of the image acquisition device from the first plane of the room to be purified according to the positions of the corner points and the image acquisition location; determining an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device according to the positions of the corner points; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
- FIG. 2 is a schematic view showing a corresponding triangle for acquisition of a first distance according to an exemplary embodiment.
- the image acquisition device is located at a point A, its projection point on the floor of the room to be purified is B, and a corner point is C.
- the first plane is the floor, so that the corner point is an intersection between a wall and the floor.
- the location where the image is acquired is determined (in the example, the installation position of the image acquisition device is known), so it is possible to determine a first height of the image acquisition device from the floor of the room to be purified, i.e., the height between A and B is the first height h.
- a first straight line is determined by the image acquisition device at the time of image acquisition with the corner point C, and the angle between the first straight line and the vertical line passing the image acquisition device is also known, i.e., the angle ⁇ between the line AC and the line AB is known.
- the corner point C is an intersection between a wall and the ceiling.
- the incorporated image acquisition device is located at a point A and its projection point on the ceiling of the room to be purified is B.
- the first distance is a distance between the projection point on the ceiling and the corner point.
- a first height (H ⁇ h) can be determined based on the height H of the room to be purified, that is, the length of the line AB is (H ⁇ h).
- the angle ⁇ between the line AC and the line AB is known.
- the height H of the room to be purified may be a preset height or a vertical distance between a corner point on the floor and a corner point on the ceiling.
- a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may be determined by: determining a second height of a distance measuring device from the first plane of the room to be purified; acquiring, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and corner distance.
- FIG. 3 is a schematic diagram showing a corresponding triangle for acquisition of a first distance according to an exemplary embodiment.
- an incorporated distance measuring device is located at a point A, its projection point on the floor of the room to be purified is B, and a corner point is C.
- the first plane is the floor, so that the corner point is an intersection between a wall and the floor.
- the location where the image is acquired is determined (in the example, the installation position of the image acquisition device is known), and it is possible to determine a second height of the distance measuring device from the floor of the room to be purified, i.e., the height between A and B is the second height h. Further, the distance measuring device can make measurement to obtain a corner distance between the distance measuring device and the corner point, that is, the length X of the line AC.
- the corner point C is an intersection between a wall and the ceiling.
- the incorporated distance measuring device is located at a point A and its projection point on the ceiling of the room to be purified is B. Then, the first distance is a distance between the projection point on the ceiling and the corner point.
- a second distance H ⁇ h
- the distance measuring device can make measurement to obtain a corner distance between the distance measuring device and the corner point, that is, the length X of the line AC.
- the height H of the room to be purified may be a preset height or a vertical distance between a corner point on the floor and a corner point on the ceiling.
- a second distance between every two corner points can be determined from the positions of the corner points and the first distances.
- the first plane is the floor
- four corner points C 1 , C 2 , C 3 and C 4 on the floor have been identified.
- the image acquisition device is located at a point A, and its projection point on the floor of the room to be purified is B, and the height of the line AB and the first lengths of the lines BC 1 , BC 2 , BC 3 and BC 4 have been determined.
- the lengths of the lines AC 1 , AC 2 , AC 3 and AC 4 can be determined as L 1 , L 2 , L 3 and L 4 , respectively.
- the second distance between every two corner points can be obtained according to the cosine theorem.
- the second distance between the corner point C 1 and the corner point C 2 is ⁇ square root over (L 1 2 +L 2 2 ⁇ 2L 1 L 2 cos ⁇ ) ⁇ , where ⁇ is the angle ⁇ C 1 AC 2 between the line AC 1 and the line AC 2 .
- a can be determined by the image acquisition device. For example, after the center capturing point of the image acquisition device aims at the corner point C 1 , the image acquisition device is driven to rotate until the center capturing point of the image acquisition device aims at the corner point C 2 .
- the rotation angle of the image acquisition device can be recorded as the angle ⁇ .
- the image acquisition device rotates from a preset start point, so that corresponding rotation angles and rotation directions for capturing can be recorded when capturing the corner points C 1 , C 2 , C 3 and C 4 , respectively.
- the length of the lines AC 1 , AC 2 , AC 3 and AC 4 can be directly measured, which are L 1 , L 2 , L 3 and L 4 , respectively.
- the second distance between corner points can be obtained according to the cosine theorem.
- the second distance between the corner point C 1 and the corner point C 2 is ⁇ square root over (L 1 2 +L 2 2 ⁇ 2L 1 L 2 cos ⁇ ) ⁇ , where ⁇ is the angle ⁇ C 1 AC 2 between the line AC 1 and the line AC 2 .
- the ⁇ can be determined by the rotation angles of the distance measuring device during the measurements. For example, during the measurements, if the distance measurement device is rotated from a preset initial position to the position aiming at C 1 , the corresponding measurement angle is ⁇ 1 ; and if the distance measurement device is rotated from the preset initial position to the position aiming at C 2 , the corresponding measurement angle is ⁇ 2 . As thus, a second distance between the corner points can be obtained according to the cosine theorem.
- the second distance between the corner point C 1 and the corner point C 2 is ⁇ square root over (L 1 2 +L 2 2 ⁇ 2L 1 L 2 cos( ⁇ 1 + ⁇ 2 )) ⁇ , where the rotation direction corresponding ⁇ 1 is opposite to the rotation direction corresponding ⁇ 2 .
- the floor area of the room to be purified can be determined based on the first distances and the second distances. Then, the space capacity information of the room can be determined.
- FIG. 4 is a schematic view for determining a floor area of a room to be purified according to an exemplary embodiment.
- the room has four corners C 1 , C 2 , C 3 and C 4 , and the floor position point is B.
- the first distance between the floor position point and each corner has been determined, i.e. the line BC 1 has the length L 1
- the line BC 2 has the length L 2
- the line BC 3 has the length L 3
- the line BC 4 has the length L 4 .
- the Helen formula can be used to determine the floor area of the room to be purified.
- the area S 2 of the triangle BC 2 C 3 , the area S 3 of the triangle BC 3 C 4 , and the area S 4 of the triangle BC 4 C 1 can be determined.
- the floor area S of the room to be purified can be determined by adding the areas of the four triangles.
- the height of a room is standard, which has a preset value, so that the space capacity information of the room to be purified can be determined according to the floor area S of the room and the preset value.
- the space capacity information of the room can be determined according to the second distance and the floor area.
- step S 103 air purification for the room to be purified is performed using a purification strategy corresponding to the spatial capacity information.
- a preset purification strategy corresponding to the spatial capacity information of the room to be purified is determined according to a correspondence relationship between preset spatial capacity information of the room to be purified and the preset purification strategy; and the preset purification strategy is performed to purify the air of the room to be purified.
- Purification Strategy 1 1 st level of power, 1 st gear of san speed ⁇ 20 m 3 , but ⁇ 50 m 3
- Purification Strategy 2 1 st level of power, 2 nd gear of san speed ⁇ 50 m 3 , but ⁇ 80 m 3
- Purification Strategy 3 2 nd level of power, 3 rd gear of san speed ⁇ 8 m 3 , but ⁇ 100 m 3
- Purification Strategy 4 2 nd level of power, 4 th gear of san speed . . . . . .
- the preset purification strategy may be determined as the Purification Strategy 2 including the first level of power and the second fan speed, according to the relationship of Table 1.
- the apparatus for air purification can run with the first level of power and the second gear speed of fan.
- the apparatus for air purification carries an image acquisition device.
- FIG. 5 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment.
- the system includes a room 100 , an air purifier 200 , and an image acquisition device 300 mounted on the air purifier 200 .
- the first plane is the floor of the room 100 .
- FIG. 6 is a flow chart of a method for air purification according to an exemplary embodiment. As shown in FIG. 6 , the method includes the following steps of S 601 -S 608 .
- step S 601 an image of the room 100 to be purified is acquired by the image acquisition device 300 and an installation position of the image acquisition device 300 in the air purifier 200 is determined.
- step S 602 identification is performed to the image to determine positions of the corner points of the room 100 to be purified.
- colors of shadows of respective walls in the image may be compared to determine wall intersecting lines within the room to be purified by comparing; and then, the position of each corner point of the room to be purified may be determined according to an intersection point of every three intersecting lines.
- step S 603 a first height of the incorporated image acquisition device 300 from the floor of the room 100 to be purified is determined.
- the first height may be determined according to parameters of the installation position of the image acquisition device 300 in the air puffier 200 and the height of the air puffier 200 .
- step S 604 an angle between a first straight line determined by the image acquisition device 300 and a corner point and a vertical line passing the image acquisition device 300 is determined.
- step S 605 the first distance between the floor position point and the corner point is obtained based on the first height and the angle.
- step S 606 a second distance between every two corner points is determined.
- step S 607 the space capacity information of the room 100 to be purified is determined based on the first distances and the second distances.
- the floor area of the room to be purified can be firstly determined based on the first distances and the second distances, and then the space capacity information of the room to be purified is determined.
- the space capacity information of the room to be purified can be determined according to the preset height and the floor area of the room to be purified.
- step S 608 air purification for the room 100 to be purified is performed by using a purification strategy corresponding to the space capacity information.
- a preset purification strategy corresponding to the spatial capacity information of the room to be purified can be determined according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and the preset purification strategy is performed to purify the air of the room to be purified.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by performing a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- the present embodiment can be applied to a scene with an image acquisition device installed.
- the apparatus for air purification may include a distance measuring device.
- FIG. 7 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment.
- the system includes a room 100 , an air purifier 200 , and a distance measuring device 400 mounted on the air purifier 200 .
- the first plane is the floor of room 100 .
- FIG. 8 is a flow diagram of a method for air purification according to an exemplary embodiment. As shown in FIG. 8 , the method includes the following steps of S 801 -S 808 .
- step S 801 an image of a room 100 to be purified is obtained by communicating with an apparatus including an image acquisition device, and an installation position of the distance measuring device 400 in the air purifier 200 is determined.
- step S 802 the image is identified to determine corner points of the room 100 to be purified.
- step S 803 a second height of the distance measuring device 400 from the floor of the room 100 to be purified is determined.
- the second height may be determined according to the parameters of installation position of the distance measuring device 400 in the air purifier 200 and the height of the air purifier 200 .
- step S 804 a corner distance between the distance measuring device 400 and the corner point is obtained by the distance measuring device 400 .
- step S 805 a first distance between the floor position point and the corner point is obtained based on the second height and the corner distance.
- step S 806 a second distance between every two corner points is determined.
- step S 807 the space capacity information of the room 100 to be purified is determined based on the first distances and the second distances.
- the floor area of the room to be purified may be firstly determined according to the first distances and the second distances, and then the space capacity information of the room to be purified is determined according to the second distance and the floor area.
- step S 808 the air purification of the room 100 to be purified is performed using a purification strategy corresponding to the space capacity information.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by performing a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- the present embodiment can be applied to a scene with an distance measuring device installed.
- FIG. 9 is a block diagram of an apparatus for air purification according to an exemplary embodiment.
- the apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both.
- the apparatus for air purification includes an acquisition module 710 , a determination module 720 , and a purification module 730 .
- the acquisition module 710 is configured to acquire an image of a room to be purified and determine a location at which the image is acquired.
- the determination module 720 is connected to the acquisition module 710 and is configured to determine spatial capacity information of the room to be purified according to the image and the location.
- the purification module 730 is connected to the determination module 720 and is configured to use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- the acquisition module 710 may include a first acquisition sub-module or a second acquisition sub-module.
- the first acquisition sub-module is configured to acquire the image of the room to be purified by using an image acquisition device.
- the second acquisition sub-module is configured to acquire the image of the room to be purified by communicating with an apparatus including an image acquisition device.
- the image of the room to be purified includes images of respective corner points of the room.
- the image of the room to be purified can be acquired in a more flexible manner, so it is simple to implement.
- the determination module 720 may include: an identification sub-module configured to perform identification to the image to determine positions of the corner points of the room to be purified; and a determination sub-module configured to determine the spatial capacity information of the room to be purified in accordance with the position of the corner points and the location at which the image is acquired.
- the corner points of the room it is possible to determine the corner points of the room to be purified by an image recognition technique so that the corresponding space capacity information can be determined based on the corner points.
- the spatial capacity information can be determined by simply analyzing the image, and thereby the speed of air purification can be improved.
- the identification sub-module may include: a first determination unit configured to determine wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and a second determining unit configured to determine the position of each corner point of the room to be purified according to an intersection point of every three intersecting lines.
- the wall intersection lines can be determined by simple comparison of the shadows, so the involved arithmetic operations are relatively less and thus occupies relatively smaller memory.
- the determination sub-module may include: a first distance determination unit configured to determine a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and the location, wherein the first plane includes the floor or ceiling of the room to be purified; a second distance determination unit configured to determine a second distance between every two corner points based on the positions of the corner points; a capacity determination unit configured to determine the spatial capacity information of the room to be purified according to the first distances and the second distances.
- areas of the triangles formed by every two corner points and the floor position point can be determined based on the first distances and the second distances, so as to determine the spatial capacity information.
- the determination is relatively accurate, such that the purification strategy of the air purifier can be more accurately arranged to enhance the purification effect of the air purifier.
- the first distance determination unit may be further configured to: determine a first height of the image acquisition device from the first plane of the room to be purified; determine an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device; and calculate the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
- the distance between the floor position point and the corner point can be obtained according to the height and the angle, and the present embodiment can be applied in a scene with an image acquisition device installed.
- the first distance determination unit may further be configured to: determine a second height of a distance measuring device from the first plane of the room to be purified; acquire, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; and calculate the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and the corner distance.
- the distance between the floor position point and the corner point can be determined by using the two sides of a right-angled triangle, and the present embodiment can be applied in a scene with a distance measuring device installed.
- the purification module 730 may include: a strategy decision sub-module configured to determine a preset purification strategy corresponding to the spatial capacity information of the room to be purified according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and a purification sub-module configured to perform the preset purification strategy to purify the air of the room to be purified.
- the present embodiment has simple operations and is easy to implement by determining and performing a preset purification strategy directly obtained from stored corresponding relationship between preset spatial capacity information for the room to be purified and preset purification strategies.
- the first plane is the floor of the room to be purified.
- FIG. 10 is a block diagram of an apparatus for air purification in accordance with an exemplary embodiment.
- the apparatus includes an acquisition module 710 , a determination module 720 , and a purification module 730 .
- the acquisition module 710 includes a first acquisition sub-module 711 .
- the determination module 720 includes an identification sub-module 721 and a determination sub-module 722 .
- the determination sub-module 722 includes a first distance determination unit 7221 , a second distance determination unit 7222 , and a capacity determination unit 7223 .
- the first acquisition sub-module 711 in the acquisition module 710 acquires an image of a room to be purified by using an image acquisition device, and the acquisition module 710 determines the location where the image is acquired.
- the identification sub-module 721 in the determination module 720 can then recognize the image to determine positions of corner points of the room to be purified.
- the first distance determination unit 7221 in the determination sub-module 722 of the determination module 720 can determine a first height of the image acquisition device from the floor of the room to be purified, determine an angle between a first straight line determined by the image acquisition device and the corner point and a vertical line passing the image acquisition device, and calculate a first distance between the floor position point and the corner point based on the first height and the angle.
- the second distance determination unit 7222 can determine a second distance between every two corner points.
- the capacity determination unit 7223 can determine the space capacity information of the room to be purified based on the first distances and the second distances.
- the purification module 730 uses a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- the present embodiment can be applied to a scene with an image acquisition device installed.
- the first plane may be the ceiling of the room to be purified.
- FIG. 11 is a block diagram of an apparatus for air purification in accordance with an exemplary embodiment.
- the apparatus includes an acquisition module 710 , a determination module 720 , and a purification module 730 .
- the acquisition module 710 includes a second acquisition sub-module 712 .
- the determination module 720 includes an identification sub-module 721 and a determination sub-module 722 .
- the determination sub-module 722 includes a first distance determination unit 7221 , a second distance determination unit 7222 , and a capacity determination unit 7223 .
- the second acquisition sub-module 712 in the acquisition module 710 acquires the image of the room to be purified by communicating with an apparatus including an image acquisition device, and the acquisition module 710 determines the location where the image is acquired. Then, the identification sub-module 721 in the determination module 720 can recognize the image to determine positions of corner points of the room to be purified.
- the first distance determination unit 7221 in the sub-module 722 of the determination module 720 can determine a second height of a distance measuring device to the floor of the room to be purified; acquire, by the distance measuring device, a distance with a corner point between the distance measuring device and the corner point; and calculate the first distance between the floor position point and the corner point according to the second height and the corner distance.
- the second distance determination unit 7222 can determine a second distance between every two corner points.
- the capacity determination unit 7223 can then determine the space capacity information of the room to be purified based on the first distances and the second distances.
- the purification module 730 uses a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- the present embodiment can be applied to a scene with a distance measuring device installed.
- the embodiments of the present disclosure also provide an apparatus for air purification, which may be configured as a server.
- the apparatus includes: a processor; a memory for storing processor executable instructions, wherein the processor is configured to: acquire an image of a room to be purified and determining a location at which the image is acquired; determine spatial capacity information of the room to be purified according to the image and the location; and use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- the embodiments provided by the present disclosure may include the following beneficial effects.
- corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy.
- a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- FIG. 12 is a block diagram of an apparatus 1200 for air purification in accordance with an exemplary embodiment.
- the apparatus is suitable for use in a terminal device, and the apparatus can be used in an air purifier.
- the apparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet, a medical device, an exercise equipment, a personal digital assistant, and the like.
- the device 1200 may include one or more of the following components: a processing component 1202 , a memory 1204 , a power component 1206 , a multimedia component 1208 , an audio component 1210 , an input/output (I/O) interface 1212 , a sensor component 1214 , and a communication component 1216 .
- a processing component 1202 a memory 1204 , a power component 1206 , a multimedia component 1208 , an audio component 1210 , an input/output (I/O) interface 1212 , a sensor component 1214 , and a communication component 1216 .
- the processing component 1202 typically controls overall operations of the apparatus 1200 , such as the operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- the processing component 1202 may include one or more processors 1220 to execute instructions to perform all or part of the steps in the above described methods.
- the processing component 1202 may include one or more modules which facilitate the interaction between the processing component 1202 and other components.
- the processing component 1202 may include a multimedia module to facilitate the interaction between the multimedia component 1208 and the processing component 1202 .
- the memory 1204 is configured to store various types of data to support the operation of the apparatus 1200 . Examples of such data include instructions for any applications or methods operated on the apparatus 1200 , contact data, phonebook data, messages, pictures, video, etc.
- the memory 1204 may be implemented using any type of volatile or non-volatile memory device, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read-only memory
- EPROM erasable programmable read-only memory
- PROM programmable read-only memory
- ROM read-only memory
- magnetic memory a magnetic memory
- flash memory a flash memory
- magnetic or optical disk
- the power component 1206 provides power to various components of the apparatus 1200 .
- the power component 1206 may include a power management system, one or more power sources, and any other components associated with the generation, management, and distribution of power for the apparatus 1200 .
- the multimedia component 1208 includes a screen providing an output interface between the apparatus 1200 and the user.
- the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or swipe action, but also sense a period of time and a pressure associated with the touch or swipe action.
- the multimedia component 1208 includes a front camera and/or a rear camera.
- the front camera and the rear camera may receive an external multimedia datum while the apparatus 1200 is in an operation mode, such as a photographing mode or a video mode.
- an operation mode such as a photographing mode or a video mode.
- Each of the front camera and the rear camera may be a fixed optical lens system or have optical focusing and zooming capability.
- the audio component 1210 is configured to output and/or input audio signals.
- the audio component 1210 includes a microphone (“MIC”) configured to receive an external audio signal when the apparatus 1200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in the memory 1204 or transmitted via the communication component 1216 .
- the audio component 1210 further includes a speaker to output audio signals.
- the I/O interface 1212 provides an interface between the processing component 1202 and peripheral interface modules, the peripheral interface modules being, for example, a keyboard, a click wheel, buttons, and the like.
- the buttons may include, but are not limited to, a home button, a volume button, a starting button, and a locking button.
- the sensor component 1214 includes one or more sensors to provide status assessments of various aspects of the apparatus 1200 .
- the sensor component 1214 may detect an open/closed status of the apparatus 1200 , relative positioning of components (e.g., the display and the keypad, of the apparatus 1200 ), a change in position of the apparatus 1200 or a component of the apparatus 1200 , a presence or absence of user contact with the apparatus 1200 , an orientation or an acceleration/deceleration of the apparatus 1200 , and a change in temperature of the apparatus 1200 .
- the sensor component 1214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact.
- the sensor component 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 1214 may also include an accelerometer sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- the communication component 1216 is configured to facilitate communication, wired or wirelessly, between the apparatus 1200 and other apparatus.
- the apparatus 1200 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof.
- the communication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 1216 further includes a near field communication (NFC) module to facilitate short-range communications.
- the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- BT Bluetooth
- the apparatus 1200 may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing apparatuss (DSPDs), programmable logic apparatuss (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods.
- ASICs application specific integrated circuits
- DSPs digital signal processors
- DSPDs digital signal processing apparatuss
- PLDs programmable logic apparatuss
- FPGAs field programmable gate arrays
- controllers micro-controllers, microprocessors, or other electronic components, for performing the above described methods.
- non-transitory computer-readable storage medium including instructions, such as included in the memory 1204 , executable by the processor 1220 in the apparatus 1200 , for performing the above-described methods.
- the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage apparatus, and the like.
- the method includes: acquiring an image of a room to be purified and determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- the step of acquiring an image of a room to be purified and determining a location at which the image is acquired may include: acquiring the image of the room to be purified by using an image acquisition device; or acquiring the image of the room to be purified by communicating with an apparatus including an image acquisition device, wherein the image of the room to be purified includes images of respective corner points of the room.
- the step of determining spatial capacity information of the room to be purified according to the image and the location may include: performing identification to the image to determine positions of the corner points of the room to be purified; and determining the spatial capacity information of the room to be purified based on the positions of the corner points and the location.
- the step of performing identification to the image to determine positions of the corner points of the room to be purified may include: determining wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and determining the position of each corner points of the room to be purified according to an intersection point of every three intersecting lines.
- the step of determining the spatial capacity information of the room to be purified based on the positions of the corner points and the location may include: determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and said location, wherein the first plane includes the floor or ceiling of the room to be purified; determining a second distance between every two corner points based on the positions of the corner points; and determining the spatial capacity information of the room to be purified according to the first distances and the second distances.
- the step of determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may include: determining a first height of the image acquisition device from the first plane of the room to be purified; determining an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
- the step of determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may include: determining a second height of a distance measuring device from the first plane of the room to be purified; acquiring, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and the corner distance.
- the step of using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified may include: determining a preset purification strategy corresponding to the spatial capacity information of the room to be purified according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and performing the preset purification strategy to purify the air of the room to be purified.
Landscapes
- Engineering & Computer Science (AREA)
- Combustion & Propulsion (AREA)
- General Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Chemical & Material Sciences (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Signal Processing (AREA)
- Fuzzy Systems (AREA)
- Life Sciences & Earth Sciences (AREA)
- Atmospheric Sciences (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- Air Conditioning Control Device (AREA)
Abstract
Description
- The present application is based upon and claims the benefit of Chinese Patent Application No. CN 201611042676.2 filed on Nov. 23, 2016, the entire contents of which are incorporated herein by reference.
- The present disclosure relates to the field of intelligent terminal technology, and more particularly to a method and apparatus for air purification and storage medium.
- With the development of intelligent equipments, intelligent equipments, such as smart TV, intelligent air conditioner, intelligent refrigerator, smart printer and so on, have become popular in daily life.
- At present, there are more and more harmful substances in the air due to industrial pollution, automobile exhaust emissions or the like. Therefore, in order for reducing inhalation of harmful gases to maintain good health, more and more users use the air purifier which can absorb, decompose or transform various air pollutants and thus effectively improve air cleanliness. With the development of intelligent equipment technology, the air purifier has also become a kind of intelligent equipment with communication ability and computation ability.
- The embodiments of the present disclosure provide a method and apparatus for air purification, the solutions of which are discussed as follow.
- According to a first aspect of the embodiments of the present disclosure, there is provided a method for air purification. The method may include: acquiring an image of a room to be purified; determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for air purification. The apparatus includes: an acquisition module configured to acquire an image of a room to be purified and determining a location at which the image is acquired; a determination module configured to determine spatial capacity information of the room to be purified according to the image and the location; and a purification module configured to use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for air purification in a terminal device. The apparatus includes: a processor; a memory for storing processor executable instructions; wherein the processor is configured to: acquire an image of a room to be purified; determining a location at which the image is acquired; determine spatial capacity information of the room to be purified according to the image and the location; and use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- According to a fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer readable storage medium having stored therein instructions that, when executed by an apparatus, cause the apparatus to perform a method for air purification, the method includes: acquiring an image of a room to be purified and determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and performing air purification for the room to be purified using a purification strategy corresponding to the spatial capacity information.
- It is to be understood that both the foregoing general descriptions and the following detailed descriptions are exemplary and explanatory only and do not limit the scope of the disclosure.
- The drawings herein are incorporated in and constitute a part of this specification, showing embodiments consistent with the present disclosure, and together with the descriptions, serve to explain the principles of the present disclosure.
-
FIG. 1 is a flow chart of a method for air purification according to an exemplary embodiment. -
FIG. 2 is a schematic representation of a corresponding triangle for acquisition of a first distance according to an exemplary embodiment. -
FIG. 3 is a schematic representation of a corresponding triangle for acquisition of a first distance according to an exemplary embodiment. -
FIG. 4 is a schematic view for determining a floor area of a room to be purified according to an exemplary embodiment. -
FIG. 5 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment. -
FIG. 6 is a flow chart of a method for air purification according to an exemplary embodiment. -
FIG. 7 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment. -
FIG. 8 is a flow chart of a method for air purification according to an exemplary embodiment. -
FIG. 9 is a block diagram of an apparatus for air purification according to an exemplary embodiment. -
FIG. 10 is a block diagram of an apparatus for air purification according to an exemplary embodiment. -
FIG. 11 is a block diagram of an apparatus for air purification according to an exemplary embodiment. -
FIG. 12 is a block diagram of anapparatus 1200 for air purification according to an exemplary embodiment. - Hereinafter, exemplary embodiments will be described in detail, examples of which are shown in the drawings. In the following descriptions when referring to the drawings, the same numerals in different drawings denote the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments are not representative of all embodiments consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the present disclosure as detailed in the appended claims.
- With the technical solution provided by the embodiments of the present disclosure, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
-
FIG. 1 is a flow chart of a method for air purification according to an exemplary embodiment. As shown inFIG. 1 , the method includes the following steps of S101 to S103. - In step S101, an image of a room to be purified is acquired and a location at which the image is acquired is determined.
- Here, an apparatus for air purification can obtain the image of the room to be purified. The apparatus for air purification may carry an image acquisition device, such as a camera, whereby the image of the room to be purified can be obtained by the image acquisition device. Alternatively, the apparatus for air purification may communicate with an apparatus carrying an image acquisition device, for example, communicate with a camera mounted at the ceiling of the room, so as to obtain the image of the room to be purified. It can be seen that the image of the room to be purified can be obtained in a more flexible manner, including acquiring the image of the room to be purified by using an image acquisition device, or acquiring the image of the room to be purified by communicating with an apparatus including an image acquisition device.
- Further, in the present embodiments, it is also necessary to determine the location where the image is acquired. For example, in the case that the image of the room to be purified is acquired by using an incorporated image acquisition device, the position of the image acquisition device in the apparatus for air purification can be determined. Alternatively, it is possible to determine a position of an incorporated distance measuring device in the apparatus for air purification.
- In step S102, spatial capacity information of the room to be purified is determined according to the image and the location.
- In some embodiments, the image can be identified to determine positions of corner points of the room to be purified, and then, the space capacity information of the room to be purified can be determined based on the positions of the corner points and the location at which the image is acquired.
- In some embodiments, a process for identifying the image to determine positions of the corner points of the room to be purified may include: determining wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and determining the position of each corner point of the room to be purified according to an intersection point of every three intersecting lines.
- After the positions of the corner points are determined, the spatial capacity information of the room to be purified may be determined based on the positions of the corner points and the location at which the image is acquired, particularly including: determining a first distance between a projection point of the location at which the image is acquired on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and said location at which the image is acquired, wherein the first plane includes a floor or ceiling of the room to be purified; determining a second distance between every two corner points based on the positions of the corner points; and determining the spatial capacity information of the room to be purified according to the first distances and the second distances.
- In some embodiments, the first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may be determined by: determining a first height of the image acquisition device from the first plane of the room to be purified according to the positions of the corner points and the image acquisition location; determining an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device according to the positions of the corner points; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
-
FIG. 2 is a schematic view showing a corresponding triangle for acquisition of a first distance according to an exemplary embodiment. As shown inFIG. 2 , the image acquisition device is located at a point A, its projection point on the floor of the room to be purified is B, and a corner point is C. Here, the first plane is the floor, so that the corner point is an intersection between a wall and the floor. - In general, the location where the image is acquired is determined (in the example, the installation position of the image acquisition device is known), so it is possible to determine a first height of the image acquisition device from the floor of the room to be purified, i.e., the height between A and B is the first height h. Further, a first straight line is determined by the image acquisition device at the time of image acquisition with the corner point C, and the angle between the first straight line and the vertical line passing the image acquisition device is also known, i.e., the angle θ between the line AC and the line AB is known. Thus, a first distance between the floor position point and the corner point can be determined, i.e. the first length of the line BC L=htgθ.
- In some embodiments, if the first plane is the ceiling of the room to be purified, the corner point C is an intersection between a wall and the ceiling. The incorporated image acquisition device is located at a point A and its projection point on the ceiling of the room to be purified is B. Then, the first distance is a distance between the projection point on the ceiling and the corner point. After determining the height h of the image acquisition device from the floor of the room to be purified, a first height (H−h) can be determined based on the height H of the room to be purified, that is, the length of the line AB is (H−h). Again, the angle θ between the line AC and the line AB is known. Thus, the first distance between the ceiling position point and the corner point can be determined, i.e. the first length of the line BC L=(H−h)tgθ.
- The height H of the room to be purified may be a preset height or a vertical distance between a corner point on the floor and a corner point on the ceiling.
- Alternatively, a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may be determined by: determining a second height of a distance measuring device from the first plane of the room to be purified; acquiring, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and corner distance.
-
FIG. 3 is a schematic diagram showing a corresponding triangle for acquisition of a first distance according to an exemplary embodiment. As shown inFIG. 3 , an incorporated distance measuring device is located at a point A, its projection point on the floor of the room to be purified is B, and a corner point is C. Here, the first plane is the floor, so that the corner point is an intersection between a wall and the floor. - Similarly, the location where the image is acquired is determined (in the example, the installation position of the image acquisition device is known), and it is possible to determine a second height of the distance measuring device from the floor of the room to be purified, i.e., the height between A and B is the second height h. Further, the distance measuring device can make measurement to obtain a corner distance between the distance measuring device and the corner point, that is, the length X of the line AC. Thus, a first distance between the floor position point and the corner point can be determined according to the Pythagorean theorem, i.e. the first distance L=√{square root over (X2−h2)}.
- In some embodiments, if the first plane is the ceiling of the room to be purified, the corner point C is an intersection between a wall and the ceiling. The incorporated distance measuring device is located at a point A and its projection point on the ceiling of the room to be purified is B. Then, the first distance is a distance between the projection point on the ceiling and the corner point. After determining the height h of the distance measuring device from the floor of the room to be purified, a second distance (H−h) can be determined based on the height H of the room to be purified. Further, the distance measuring device can make measurement to obtain a corner distance between the distance measuring device and the corner point, that is, the length X of the line AC. Thus, a first distance between the ceiling position point and the corner point can be determined according to the Pythagorean theorem, i.e. the first distance L=√{square root over (X2−(H−h)2)}.
- The height H of the room to be purified may be a preset height or a vertical distance between a corner point on the floor and a corner point on the ceiling.
- After the positions of the corner points of the room to be purified and the first distances have been determined, a second distance between every two corner points can be determined from the positions of the corner points and the first distances. For example, in the case that the first plane is the floor, four corner points C1, C2, C3 and C4 on the floor have been identified. The image acquisition device is located at a point A, and its projection point on the floor of the room to be purified is B, and the height of the line AB and the first lengths of the lines BC1, BC2, BC3 and BC4 have been determined. Thus, according to the Pythagorean theorem for a right angle triangle, the lengths of the lines AC1, AC2, AC3 and AC4 can be determined as L1, L2, L3 and L4, respectively. In this way, the second distance between every two corner points can be obtained according to the cosine theorem. For example, the second distance between the corner point C1 and the corner point C2 is √{square root over (L1 2+L2 2−2L1L2 cos α)}, where α is the angle ∠C1AC2 between the line AC1 and the line AC2.
- Since the corner points C1, C2, C3 and C4 have been determined separately, a can be determined by the image acquisition device. For example, after the center capturing point of the image acquisition device aims at the corner point C1, the image acquisition device is driven to rotate until the center capturing point of the image acquisition device aims at the corner point C2. The rotation angle of the image acquisition device can be recorded as the angle α. Alternatively, at each time the image acquisition device performs capturing, it rotates from a preset start point, so that corresponding rotation angles and rotation directions for capturing can be recorded when capturing the corner points C1, C2, C3 and C4, respectively. The rotation angles may be denoted as α1, α2, α3 and α4. As thus, a certain operation can be performed on the rotation angles α1 and α2 to obtain the angle α. If the rotation direction is the same for all capturing, α=|α2−α1|.
- In some embodiments, if A is the point where the distance measuring device is located, the length of the lines AC1, AC2, AC3 and AC4 can be directly measured, which are L1, L2, L3 and L4, respectively. Likewise, the second distance between corner points can be obtained according to the cosine theorem. For example, the second distance between the corner point C1 and the corner point C2 is √{square root over (L1 2+L2 2−2L1L2 cos α)}, where α is the angle ∠C1AC2 between the line AC1 and the line AC2.
- Likewise, the α can be determined by the rotation angles of the distance measuring device during the measurements. For example, during the measurements, if the distance measurement device is rotated from a preset initial position to the position aiming at C1, the corresponding measurement angle is α1; and if the distance measurement device is rotated from the preset initial position to the position aiming at C2, the corresponding measurement angle is α2. As thus, a second distance between the corner points can be obtained according to the cosine theorem. For example, the second distance between the corner point C1 and the corner point C2 is √{square root over (L1 2+L2 2−2L1L2 cos(α1+α2))}, where the rotation direction corresponding α1 is opposite to the rotation direction corresponding α2.
- Thus, after determining the first distances and the second distances, the floor area of the room to be purified can be determined based on the first distances and the second distances. Then, the space capacity information of the room can be determined.
-
FIG. 4 is a schematic view for determining a floor area of a room to be purified according to an exemplary embodiment. As shown inFIG. 4 , the room has four corners C1, C2, C3 and C4, and the floor position point is B. The first distance between the floor position point and each corner has been determined, i.e. the line BC1 has the length L1, the line BC2 has the length L2, the line BC3 has the length L3, and the line BC4 has the length L4. The second distance between every two corner points has also been determined, i.e., the line C1C2 has the length Y1, the line C2C3 has the length Y2, the line C3C4 has the length Y3, and the line C4C1 has the length Y4. Thus, according to the first distances and the second distances, the Helen formula can be used to determine the floor area of the room to be purified. Specifically, the area of the triangle BC1C2 is S1=√{square root over (P(P−L1)(P−L2)(P−Y1))}, where -
- Similarly, the area S2 of the triangle BC2C3, the area S3 of the triangle BC3C4, and the area S4 of the triangle BC4C1 can be determined. Finally, the floor area S of the room to be purified can be determined by adding the areas of the four triangles.
- In general, the height of a room is standard, which has a preset value, so that the space capacity information of the room to be purified can be determined according to the floor area S of the room and the preset value. Alternatively, since the second distance between every two corner points is determined, and there are two corner points the second distance between which may be the used to determine the height of the room, the space capacity information of the room can be determined according to the second distance and the floor area.
- In step S103, air purification for the room to be purified is performed using a purification strategy corresponding to the spatial capacity information.
- After the spatial capacity information of the room to be purified has been determined, a preset purification strategy corresponding to the spatial capacity information of the room to be purified is determined according to a correspondence relationship between preset spatial capacity information of the room to be purified and the preset purification strategy; and the preset purification strategy is performed to purify the air of the room to be purified.
- For example, correspondence relationships between preset spatial capacity information of rooms to be purified and preset purification strategies are shown as in Table 1.
-
TABLE 1 Spatial Capacity Information Preset Purification Strategy <20 m3 Purification Strategy 1: 1st level of power, 1st gear of san speed ≥20 m3, but <50 m3 Purification Strategy 2: 1st level of power, 2nd gear of san speed ≥50 m3, but <80 m3 Purification Strategy 3: 2nd level of power, 3rd gear of san speed ≥8 m3, but <100 m3 Purification Strategy 4: 2nd level of power, 4th gear of san speed . . . . . . - In this way, when it is determined in step S102 that the space capacity information of the room to be purified includes a capacity of 30 m3, the preset purification strategy may be determined as the Purification Strategy 2 including the first level of power and the second fan speed, according to the relationship of Table 1. As thus, the apparatus for air purification can run with the first level of power and the second gear speed of fan.
- It can be seen that different spatial capacity information corresponds to different air purification strategies, so that intelligent adjustment of purification strategy can be realized according to the spatial capacity of the room to be purified, and intelligent performance of the air purifier can be improved.
- The operation flow will be summarized below in a specific embodiment, illustrating the method provided by the embodiments of the present disclosure.
- In the present embodiment, the apparatus for air purification carries an image acquisition device.
-
FIG. 5 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment. As shown inFIG. 5 , the system includes aroom 100, anair purifier 200, and animage acquisition device 300 mounted on theair purifier 200. The first plane is the floor of theroom 100. -
FIG. 6 is a flow chart of a method for air purification according to an exemplary embodiment. As shown inFIG. 6 , the method includes the following steps of S601-S608. - In step S601, an image of the
room 100 to be purified is acquired by theimage acquisition device 300 and an installation position of theimage acquisition device 300 in theair purifier 200 is determined. - In step S602, identification is performed to the image to determine positions of the corner points of the
room 100 to be purified. - In some embodiments, colors of shadows of respective walls in the image may be compared to determine wall intersecting lines within the room to be purified by comparing; and then, the position of each corner point of the room to be purified may be determined according to an intersection point of every three intersecting lines.
- In step S603, a first height of the incorporated
image acquisition device 300 from the floor of theroom 100 to be purified is determined. - The first height may be determined according to parameters of the installation position of the
image acquisition device 300 in the air puffier 200 and the height of the air puffier 200. - In step S604, an angle between a first straight line determined by the
image acquisition device 300 and a corner point and a vertical line passing theimage acquisition device 300 is determined. - In step S605, the first distance between the floor position point and the corner point is obtained based on the first height and the angle.
- In step S606, a second distance between every two corner points is determined.
- In step S607, the space capacity information of the
room 100 to be purified is determined based on the first distances and the second distances. - Similarly, the floor area of the room to be purified can be firstly determined based on the first distances and the second distances, and then the space capacity information of the room to be purified is determined. For example, the space capacity information of the room to be purified can be determined according to the preset height and the floor area of the room to be purified.
- In step S608, air purification for the
room 100 to be purified is performed by using a purification strategy corresponding to the space capacity information. - Here, a preset purification strategy corresponding to the spatial capacity information of the room to be purified can be determined according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and the preset purification strategy is performed to purify the air of the room to be purified.
- It can be seen that in the present embodiment, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by performing a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved. In addition, by acquiring the image of the room to be purified by using the image acquisition device and determining the first distance between the floor position point and each of the corner points, the present embodiment can be applied to a scene with an image acquisition device installed.
- In another embodiment the apparatus for air purification may include a distance measuring device.
-
FIG. 7 is a schematic diagram illustrating a system of an apparatus for air purification purifying a room according to an exemplary embodiment. As shown inFIG. 7 , the system includes aroom 100, anair purifier 200, and adistance measuring device 400 mounted on theair purifier 200. The first plane is the floor ofroom 100. -
FIG. 8 is a flow diagram of a method for air purification according to an exemplary embodiment. As shown inFIG. 8 , the method includes the following steps of S801-S808. - In step S801, an image of a
room 100 to be purified is obtained by communicating with an apparatus including an image acquisition device, and an installation position of thedistance measuring device 400 in theair purifier 200 is determined. - In step S802, the image is identified to determine corner points of the
room 100 to be purified. - In step S803, a second height of the
distance measuring device 400 from the floor of theroom 100 to be purified is determined. - The second height may be determined according to the parameters of installation position of the
distance measuring device 400 in theair purifier 200 and the height of theair purifier 200. - In step S804, a corner distance between the
distance measuring device 400 and the corner point is obtained by thedistance measuring device 400. - In step S805, a first distance between the floor position point and the corner point is obtained based on the second height and the corner distance.
- In step S806, a second distance between every two corner points is determined.
- In step S807, the space capacity information of the
room 100 to be purified is determined based on the first distances and the second distances. - It is possible that the floor area of the room to be purified may be firstly determined according to the first distances and the second distances, and then the space capacity information of the room to be purified is determined according to the second distance and the floor area.
- In step S808, the air purification of the
room 100 to be purified is performed using a purification strategy corresponding to the space capacity information. - It can be seen that in the present embodiment, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by performing a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved. Further, the present embodiment can be applied to a scene with an distance measuring device installed.
- The following is an apparatus embodiment of the present disclosure which may be used to carry out the method embodiments of the present disclosure.
-
FIG. 9 is a block diagram of an apparatus for air purification according to an exemplary embodiment. The apparatus may be implemented as part or all of an electronic device by software, hardware, or a combination of both. As shown inFIG. 9 , the apparatus for air purification includes anacquisition module 710, adetermination module 720, and apurification module 730. - The
acquisition module 710 is configured to acquire an image of a room to be purified and determine a location at which the image is acquired. - The
determination module 720 is connected to theacquisition module 710 and is configured to determine spatial capacity information of the room to be purified according to the image and the location. - The
purification module 730 is connected to thedetermination module 720 and is configured to use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified. - It can be seen that corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- In an embodiment of the present disclosure, the
acquisition module 710 may include a first acquisition sub-module or a second acquisition sub-module. The first acquisition sub-module is configured to acquire the image of the room to be purified by using an image acquisition device. The second acquisition sub-module is configured to acquire the image of the room to be purified by communicating with an apparatus including an image acquisition device. The image of the room to be purified includes images of respective corner points of the room. - In the present embodiment, the image of the room to be purified can be acquired in a more flexible manner, so it is simple to implement.
- In an embodiment of the present disclosure, the
determination module 720 may include: an identification sub-module configured to perform identification to the image to determine positions of the corner points of the room to be purified; and a determination sub-module configured to determine the spatial capacity information of the room to be purified in accordance with the position of the corner points and the location at which the image is acquired. - In the present embodiment, it is possible to determine the corner points of the room to be purified by an image recognition technique so that the corresponding space capacity information can be determined based on the corner points. As thus, the spatial capacity information can be determined by simply analyzing the image, and thereby the speed of air purification can be improved.
- In an embodiment of the present disclosure, the identification sub-module may include: a first determination unit configured to determine wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and a second determining unit configured to determine the position of each corner point of the room to be purified according to an intersection point of every three intersecting lines.
- In the present embodiment, the wall intersection lines can be determined by simple comparison of the shadows, so the involved arithmetic operations are relatively less and thus occupies relatively smaller memory.
- In an embodiment of the present disclosure, the determination sub-module may include: a first distance determination unit configured to determine a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and the location, wherein the first plane includes the floor or ceiling of the room to be purified; a second distance determination unit configured to determine a second distance between every two corner points based on the positions of the corner points; a capacity determination unit configured to determine the spatial capacity information of the room to be purified according to the first distances and the second distances.
- In this way, areas of the triangles formed by every two corner points and the floor position point can be determined based on the first distances and the second distances, so as to determine the spatial capacity information. Thus, the determination is relatively accurate, such that the purification strategy of the air purifier can be more accurately arranged to enhance the purification effect of the air purifier.
- In an embodiment of the present disclosure, the first distance determination unit may be further configured to: determine a first height of the image acquisition device from the first plane of the room to be purified; determine an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device; and calculate the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
- In the present embodiment, the distance between the floor position point and the corner point can be obtained according to the height and the angle, and the present embodiment can be applied in a scene with an image acquisition device installed.
- In an embodiment of the present disclosure, the first distance determination unit may further be configured to: determine a second height of a distance measuring device from the first plane of the room to be purified; acquire, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; and calculate the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and the corner distance.
- In the present embodiment, the distance between the floor position point and the corner point can be determined by using the two sides of a right-angled triangle, and the present embodiment can be applied in a scene with a distance measuring device installed.
- In an embodiment, the
purification module 730 may include: a strategy decision sub-module configured to determine a preset purification strategy corresponding to the spatial capacity information of the room to be purified according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and a purification sub-module configured to perform the preset purification strategy to purify the air of the room to be purified. - It can be seen that the present embodiment has simple operations and is easy to implement by determining and performing a preset purification strategy directly obtained from stored corresponding relationship between preset spatial capacity information for the room to be purified and preset purification strategies.
- The apparatus provided in the embodiments of the present disclosure will be described below as an example.
- In the present embodiment, the first plane is the floor of the room to be purified.
-
FIG. 10 is a block diagram of an apparatus for air purification in accordance with an exemplary embodiment. As shown inFIG. 10 , the apparatus includes anacquisition module 710, adetermination module 720, and apurification module 730. Theacquisition module 710 includes a first acquisition sub-module 711. Thedetermination module 720 includes anidentification sub-module 721 and adetermination sub-module 722. Thedetermination sub-module 722 includes a first distance determination unit 7221, a second distance determination unit 7222, and a capacity determination unit 7223. - In the present embodiment, the first acquisition sub-module 711 in the
acquisition module 710 acquires an image of a room to be purified by using an image acquisition device, and theacquisition module 710 determines the location where the image is acquired. The identification sub-module 721 in thedetermination module 720 can then recognize the image to determine positions of corner points of the room to be purified. - The first distance determination unit 7221 in the
determination sub-module 722 of thedetermination module 720 can determine a first height of the image acquisition device from the floor of the room to be purified, determine an angle between a first straight line determined by the image acquisition device and the corner point and a vertical line passing the image acquisition device, and calculate a first distance between the floor position point and the corner point based on the first height and the angle. - The second distance determination unit 7222 can determine a second distance between every two corner points. The capacity determination unit 7223 can determine the space capacity information of the room to be purified based on the first distances and the second distances.
- In this way, the
purification module 730 uses a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified. - It can be seen that in the present embodiment, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved. In addition, by acquiring the image of the room to be purified using an incorporated image acquisition device and determining the first distance between the floor position point and each of the corner points, the present embodiment can be applied to a scene with an image acquisition device installed.
- As another embodiment, the first plane may be the ceiling of the room to be purified.
-
FIG. 11 is a block diagram of an apparatus for air purification in accordance with an exemplary embodiment. As shown inFIG. 11 , the apparatus includes anacquisition module 710, adetermination module 720, and apurification module 730. Theacquisition module 710 includes asecond acquisition sub-module 712. Thedetermination module 720 includes anidentification sub-module 721 and adetermination sub-module 722. Thedetermination sub-module 722 includes a first distance determination unit 7221, a second distance determination unit 7222, and a capacity determination unit 7223. - In the present embodiment, the
second acquisition sub-module 712 in theacquisition module 710 acquires the image of the room to be purified by communicating with an apparatus including an image acquisition device, and theacquisition module 710 determines the location where the image is acquired. Then, theidentification sub-module 721 in thedetermination module 720 can recognize the image to determine positions of corner points of the room to be purified. - The first distance determination unit 7221 in the
sub-module 722 of thedetermination module 720 can determine a second height of a distance measuring device to the floor of the room to be purified; acquire, by the distance measuring device, a distance with a corner point between the distance measuring device and the corner point; and calculate the first distance between the floor position point and the corner point according to the second height and the corner distance. - The second distance determination unit 7222 can determine a second distance between every two corner points. The capacity determination unit 7223 can then determine the space capacity information of the room to be purified based on the first distances and the second distances.
- In this way, the
purification module 730 uses a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified. - It can be seen that in the present embodiment, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved. The present embodiment can be applied to a scene with a distance measuring device installed.
- The embodiments of the present disclosure also provide an apparatus for air purification, which may be configured as a server. The apparatus includes: a processor; a memory for storing processor executable instructions, wherein the processor is configured to: acquire an image of a room to be purified and determining a location at which the image is acquired; determine spatial capacity information of the room to be purified according to the image and the location; and use a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified.
- The embodiments provided by the present disclosure may include the following beneficial effects.
- In the above technical solutions, corresponding space capacity information can be determined according to an image of a room to be purified, so that air purification of the room to be purified can be carried out by a corresponding purification strategy. As thus, a purification strategy can be intelligently adjusted according to spatial capacity of a room to be purified, and thus intelligent performance of an air purifier can be improved.
- With respect to the apparatuses of the above embodiments, the specific mode in which each module performs its operation has been described in detail in the method embodiments, and the descriptions thereof will not be described in detail herein.
-
FIG. 12 is a block diagram of anapparatus 1200 for air purification in accordance with an exemplary embodiment. The apparatus is suitable for use in a terminal device, and the apparatus can be used in an air purifier. For example, theapparatus 1200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet, a medical device, an exercise equipment, a personal digital assistant, and the like. - Referring to
FIG. 12 , thedevice 1200 may include one or more of the following components: aprocessing component 1202, amemory 1204, apower component 1206, amultimedia component 1208, anaudio component 1210, an input/output (I/O)interface 1212, asensor component 1214, and acommunication component 1216. - The
processing component 1202 typically controls overall operations of theapparatus 1200, such as the operations associated with display, telephone calls, data communications, camera operations, and recording operations. Theprocessing component 1202 may include one ormore processors 1220 to execute instructions to perform all or part of the steps in the above described methods. Moreover, theprocessing component 1202 may include one or more modules which facilitate the interaction between theprocessing component 1202 and other components. For instance, theprocessing component 1202 may include a multimedia module to facilitate the interaction between themultimedia component 1208 and theprocessing component 1202. - The
memory 1204 is configured to store various types of data to support the operation of theapparatus 1200. Examples of such data include instructions for any applications or methods operated on theapparatus 1200, contact data, phonebook data, messages, pictures, video, etc. Thememory 1204 may be implemented using any type of volatile or non-volatile memory device, or a combination thereof, such as a static random access memory (SRAM), an electrically erasable programmable read-only memory (EEPROM), an erasable programmable read-only memory (EPROM), a programmable read-only memory (PROM), a read-only memory (ROM), a magnetic memory, a flash memory, a magnetic or optical disk. - The
power component 1206 provides power to various components of theapparatus 1200. Thepower component 1206 may include a power management system, one or more power sources, and any other components associated with the generation, management, and distribution of power for theapparatus 1200. - The
multimedia component 1208 includes a screen providing an output interface between theapparatus 1200 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes the touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may not only sense a boundary of a touch or swipe action, but also sense a period of time and a pressure associated with the touch or swipe action. In some embodiments, themultimedia component 1208 includes a front camera and/or a rear camera. The front camera and the rear camera may receive an external multimedia datum while theapparatus 1200 is in an operation mode, such as a photographing mode or a video mode. Each of the front camera and the rear camera may be a fixed optical lens system or have optical focusing and zooming capability. - The
audio component 1210 is configured to output and/or input audio signals. For example, theaudio component 1210 includes a microphone (“MIC”) configured to receive an external audio signal when theapparatus 1200 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may be further stored in thememory 1204 or transmitted via thecommunication component 1216. In some embodiments, theaudio component 1210 further includes a speaker to output audio signals. - The I/
O interface 1212 provides an interface between theprocessing component 1202 and peripheral interface modules, the peripheral interface modules being, for example, a keyboard, a click wheel, buttons, and the like. The buttons may include, but are not limited to, a home button, a volume button, a starting button, and a locking button. - The
sensor component 1214 includes one or more sensors to provide status assessments of various aspects of theapparatus 1200. For instance, thesensor component 1214 may detect an open/closed status of theapparatus 1200, relative positioning of components (e.g., the display and the keypad, of the apparatus 1200), a change in position of theapparatus 1200 or a component of theapparatus 1200, a presence or absence of user contact with theapparatus 1200, an orientation or an acceleration/deceleration of theapparatus 1200, and a change in temperature of theapparatus 1200. Thesensor component 1214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. Thesensor component 1214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, thesensor component 1214 may also include an accelerometer sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor. - The
communication component 1216 is configured to facilitate communication, wired or wirelessly, between theapparatus 1200 and other apparatus. Theapparatus 1200 can access a wireless network based on a communication standard, such as WiFi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, thecommunication component 1216 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, thecommunication component 1216 further includes a near field communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on a radio frequency identification (RFID) technology, an infrared data association (IrDA) technology, an ultra-wideband (UWB) technology, a Bluetooth (BT) technology, and other technologies. - In exemplary embodiments, the
apparatus 1200 may be implemented with one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing apparatuss (DSPDs), programmable logic apparatuss (PLDs), field programmable gate arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components, for performing the above described methods. - In exemplary embodiments, there is also provided a non-transitory computer-readable storage medium including instructions, such as included in the
memory 1204, executable by theprocessor 1220 in theapparatus 1200, for performing the above-described methods. For example, the non-transitory computer-readable storage medium may be a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disc, an optical data storage apparatus, and the like. - There is provided a non-transitory computer readable storage medium having stored therein instructions that, when executed by the
apparatus 1200, cause theapparatus 1200 to perform a method as shown inFIG. 1 . The method includes: acquiring an image of a room to be purified and determining a location at which the image is acquired; determining spatial capacity information of the room to be purified according to the image and the location; and using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified. - The step of acquiring an image of a room to be purified and determining a location at which the image is acquired may include: acquiring the image of the room to be purified by using an image acquisition device; or acquiring the image of the room to be purified by communicating with an apparatus including an image acquisition device, wherein the image of the room to be purified includes images of respective corner points of the room.
- The step of determining spatial capacity information of the room to be purified according to the image and the location may include: performing identification to the image to determine positions of the corner points of the room to be purified; and determining the spatial capacity information of the room to be purified based on the positions of the corner points and the location.
- The step of performing identification to the image to determine positions of the corner points of the room to be purified may include: determining wall intersecting lines within the room to be purified by comparing colors of shadows of respective walls in the image of the room to be purified; and determining the position of each corner points of the room to be purified according to an intersection point of every three intersecting lines.
- The step of determining the spatial capacity information of the room to be purified based on the positions of the corner points and the location may include: determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane, based on the positions of the corner points and said location, wherein the first plane includes the floor or ceiling of the room to be purified; determining a second distance between every two corner points based on the positions of the corner points; and determining the spatial capacity information of the room to be purified according to the first distances and the second distances.
- The step of determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may include: determining a first height of the image acquisition device from the first plane of the room to be purified; determining an angle between a first straight line determined by the image acquisition device and a corner point on the first plane and a vertical line passing the image acquisition device; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the first height and the angle.
- The step of determining a first distance between a projection point of the location on a first plane of the room to be purified and each of the corner points on the first plane may include: determining a second height of a distance measuring device from the first plane of the room to be purified; acquiring, by the distance measuring device, a corner distance between the distance measuring device and the corner point on the first plane; and calculating the first distance between the projection point of the location at which the image is acquired on the first plane and the corner point according to the second height and the corner distance.
- The step of using a purification strategy corresponding to the spatial capacity information to perform air purification for the room to be purified may include: determining a preset purification strategy corresponding to the spatial capacity information of the room to be purified according to a correspondence relationship between preset spatial capacity information for the room to be purified and preset purification strategies; and performing the preset purification strategy to purify the air of the room to be purified.
- Other embodiments of the present disclosure will be readily apparent to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. The present application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include the common general knowledge or conventional technical means in the art without departing from the present disclosure The specification and examples are to be regarded as illustrative only, and the true scope and spirit of the disclosure is indicated by the following claims.
- It is to be understood that this disclosure is not limited to the precise constructions described above and shown in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (19)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201611042676.2 | 2016-11-23 | ||
| CN201611042676.2A CN106765874B (en) | 2016-11-23 | 2016-11-23 | Air purification method and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| US20180142911A1 true US20180142911A1 (en) | 2018-05-24 |
Family
ID=58975144
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/800,093 Abandoned US20180142911A1 (en) | 2016-11-23 | 2017-11-01 | Method and apparatus for air purification and storage medium |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20180142911A1 (en) |
| EP (1) | EP3327363B1 (en) |
| CN (1) | CN106765874B (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11460210B2 (en) * | 2019-12-12 | 2022-10-04 | Samsung Electronics Co., Ltd. | Air conditioning device and control method thereof |
| JP2023507826A (en) * | 2019-12-23 | 2023-02-27 | エルジー エレクトロニクス インコーポレイティド | Air conditioner and its control method |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11793379B2 (en) * | 2021-03-26 | 2023-10-24 | Irobot Corporation | Floor and air cleaning systems and related methods |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6990228B1 (en) * | 1999-12-17 | 2006-01-24 | Canon Kabushiki Kaisha | Image processing apparatus |
| US20140207282A1 (en) * | 2013-01-18 | 2014-07-24 | Irobot Corporation | Mobile Robot Providing Environmental Mapping for Household Environmental Control |
| US20140320661A1 (en) * | 2013-04-26 | 2014-10-30 | University Of Washington Through Its Center For Commercialization | Indoor scene capture system |
| US20140333615A1 (en) * | 2013-05-11 | 2014-11-13 | Mitsubishi Electric Research Laboratories, Inc. | Method For Reconstructing 3D Scenes From 2D Images |
| US20160012309A1 (en) * | 2014-07-11 | 2016-01-14 | Omron Corporation | Room information inferring apparatus, room information inferring method, and air conditioning apparatus |
| US20170142405A1 (en) * | 2015-10-21 | 2017-05-18 | Praxik, LLC. | Apparatus, Systems and Methods for Ground Plane Extension |
| WO2018015716A1 (en) * | 2016-07-22 | 2018-01-25 | Imperial College Of Science, Technology And Medicine | Estimating dimensions for an enclosed space using a multi-directional camera |
| US20190020721A1 (en) * | 2016-01-08 | 2019-01-17 | Samsung Electronics Co., Ltd. | Sensor management method and device |
Family Cites Families (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4986691B2 (en) * | 2007-04-12 | 2012-07-25 | 三菱電機株式会社 | Air conditioner |
| JP2010190432A (en) * | 2007-06-12 | 2010-09-02 | Mitsubishi Electric Corp | Spatial recognition device and air conditioner |
| CN103375872B (en) * | 2012-04-16 | 2015-12-16 | 珠海格力电器股份有限公司 | Control method for running state of air conditioning equipment and air conditioning equipment |
| CN103491397B (en) * | 2013-09-25 | 2017-04-26 | 歌尔股份有限公司 | Method and system for achieving self-adaptive surround sound |
| WO2015059770A1 (en) * | 2013-10-22 | 2015-04-30 | 三菱電機株式会社 | Air purifier |
| CN104329772B (en) * | 2014-10-22 | 2017-10-13 | 珠海格力电器股份有限公司 | Air conditioner and control method thereof |
| CN104315664B (en) * | 2014-10-29 | 2017-07-28 | 小米科技有限责任公司 | Control the method and device of air purifier work |
| DE102015208960A1 (en) * | 2015-05-15 | 2016-11-17 | Vaillant Gmbh | Heating ventilation air conditioning system |
| CN105389854B (en) * | 2015-11-06 | 2018-02-06 | 福建天晴数码有限公司 | Cube room finish effect methods of exhibiting and system |
-
2016
- 2016-11-23 CN CN201611042676.2A patent/CN106765874B/en active Active
-
2017
- 2017-10-25 EP EP17198344.8A patent/EP3327363B1/en active Active
- 2017-11-01 US US15/800,093 patent/US20180142911A1/en not_active Abandoned
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6990228B1 (en) * | 1999-12-17 | 2006-01-24 | Canon Kabushiki Kaisha | Image processing apparatus |
| US20140207282A1 (en) * | 2013-01-18 | 2014-07-24 | Irobot Corporation | Mobile Robot Providing Environmental Mapping for Household Environmental Control |
| US20140320661A1 (en) * | 2013-04-26 | 2014-10-30 | University Of Washington Through Its Center For Commercialization | Indoor scene capture system |
| US20140333615A1 (en) * | 2013-05-11 | 2014-11-13 | Mitsubishi Electric Research Laboratories, Inc. | Method For Reconstructing 3D Scenes From 2D Images |
| US20160012309A1 (en) * | 2014-07-11 | 2016-01-14 | Omron Corporation | Room information inferring apparatus, room information inferring method, and air conditioning apparatus |
| US20170142405A1 (en) * | 2015-10-21 | 2017-05-18 | Praxik, LLC. | Apparatus, Systems and Methods for Ground Plane Extension |
| US20190020721A1 (en) * | 2016-01-08 | 2019-01-17 | Samsung Electronics Co., Ltd. | Sensor management method and device |
| WO2018015716A1 (en) * | 2016-07-22 | 2018-01-25 | Imperial College Of Science, Technology And Medicine | Estimating dimensions for an enclosed space using a multi-directional camera |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11460210B2 (en) * | 2019-12-12 | 2022-10-04 | Samsung Electronics Co., Ltd. | Air conditioning device and control method thereof |
| JP2023507826A (en) * | 2019-12-23 | 2023-02-27 | エルジー エレクトロニクス インコーポレイティド | Air conditioner and its control method |
| JP7529782B2 (en) | 2019-12-23 | 2024-08-06 | エルジー エレクトロニクス インコーポレイティド | Air conditioner and control method thereof |
| US12398904B2 (en) | 2019-12-23 | 2025-08-26 | Lg Electronics Inc. | Air conditioner and method for controlling same based on indoor space image including relative positions of walls, ceiling, and floor |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106765874A (en) | 2017-05-31 |
| EP3327363B1 (en) | 2020-06-17 |
| EP3327363A1 (en) | 2018-05-30 |
| CN106765874B (en) | 2021-05-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10518208B2 (en) | Methods and apparatuses for detecting parameter for air purifier | |
| US10718538B2 (en) | Method and device for obtaining a water amount for a humidifier | |
| US10981022B2 (en) | Smart respirator and method and device for calculating pollutant absorption | |
| RU2628950C2 (en) | Method and device for receiving data on air quality | |
| CN104315662B (en) | Control the method and device of air purifier work | |
| EP3015780A1 (en) | Method and device for controlling purification of air | |
| EP3115982A1 (en) | Method and apparatus for road condition prompt | |
| US10331231B2 (en) | Mobile terminal and method for determining scrolling speed | |
| EP3287764A1 (en) | Method and apparatus for calibrating particulate matter measurement value | |
| US9908074B2 (en) | Method and device for controlling purification of air | |
| CN107202574B (en) | Motion trail information correction method and device | |
| EP3316232A1 (en) | Method, apparatus and storage medium for controlling target device | |
| CN105974357A (en) | Method and device for positioning terminal | |
| WO2017031898A1 (en) | Information display method and apparatus | |
| US10612918B2 (en) | Mobile computing device and method for calculating a bending angle | |
| US10248855B2 (en) | Method and apparatus for identifying gesture | |
| JP2016522437A (en) | Image display method, image display apparatus, terminal, program, and recording medium | |
| CN107480785B (en) | Convolutional neural network training method and device | |
| CN106127132B (en) | Prompt method and device for sliding fingerprint entry, and electronic device | |
| CN115033121A (en) | Anti-mistouch method, device, equipment and storage medium | |
| CN105698357A (en) | Adjusting method and device for air swinging angle of air conditioner | |
| US20180142911A1 (en) | Method and apparatus for air purification and storage medium | |
| CN105959587A (en) | Shutter speed acquisition method and device | |
| CN106017406A (en) | Method and device for measuring target distance | |
| CN107292306A (en) | Object detection method and device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: BEIJING XIAOMI MOBILE SOFTWARE CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, PENGFEI;LIU, TIEJUN;WU, KE;REEL/FRAME:043998/0672 Effective date: 20171030 Owner name: BEIJING SMARTMI TECHNOLOGY CO., LTD., CHINA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:ZHANG, PENGFEI;LIU, TIEJUN;WU, KE;REEL/FRAME:043998/0672 Effective date: 20171030 |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: FINAL REJECTION MAILED |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: RESPONSE AFTER FINAL ACTION FORWARDED TO EXAMINER |
|
| STPP | Information on status: patent application and granting procedure in general |
Free format text: ADVISORY ACTION MAILED |
|
| STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |