CN109798643A - A kind of air conditioning control method based on room theme, medium, equipment and device - Google Patents

A kind of air conditioning control method based on room theme, medium, equipment and device Download PDF

Info

Publication number
CN109798643A
CN109798643A CN201910101493.0A CN201910101493A CN109798643A CN 109798643 A CN109798643 A CN 109798643A CN 201910101493 A CN201910101493 A CN 201910101493A CN 109798643 A CN109798643 A CN 109798643A
Authority
CN
China
Prior art keywords
room
theme
target
target room
images
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910101493.0A
Other languages
Chinese (zh)
Other versions
CN109798643B (en
Inventor
刘禹颉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201910101493.0A priority Critical patent/CN109798643B/en
Publication of CN109798643A publication Critical patent/CN109798643A/en
Application granted granted Critical
Publication of CN109798643B publication Critical patent/CN109798643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

The present invention is more particularly directed to a kind of air conditioning control method based on room theme, medium, equipment and devices, its method is the following steps are included: judge room theme, the target control for adjusting air conditioner operation parameters is generated according to room theme to instruct, air-conditioning is controlled using target control instruction, the room theme includes room finish theme or the room theme that is simulated by projection device;It is stored with computer program on its medium, the program is for executing above-mentioned method and step;Its equipment includes above-mentioned medium and processor;Its device includes theme judgment module, directive generation module and control module.The present invention may determine that room theme, and according to room theme adjust automatically air conditioner operation parameters, to make room state, such as temperature, humidity, wind speed, anion concentration or dust granules content etc. and room theme automatic adaptation, it not only increases user experience impression and enriches air conditioning function, be with a wide range of applications.

Description

A kind of air conditioning control method based on room theme, medium, equipment and device
Technical field
The present invention relates to airconditioning control field, in particular to a kind of air conditioning control method based on room theme, is set medium Standby and device.
Background technique
Air-conditioning equipment in family life, is also widely used in addition to application in various types of hotels.Present hotel is Attraction customer would generally be arranged some theme rooms, for example, forest theme room, ocean theme room, arctic theme room, Modern theme room and starry sky theme room etc., although hotel can realize above-mentioned theme effect by fitting up or projecting, But the method for operation of air-conditioning is still more traditional and single in room, for example mostly can only realize environment temperature according to user setting The control of degree, not only technology sense is insufficient, but also user also lacks with the corresponding impression on the spot in person of these themes, therefore theme Room is still insufficient to the attraction of user.
Summary of the invention
The present invention provides a kind of air conditioning control method based on room theme, medium, equipment and devices, solve above The technical problem.
The technical scheme to solve the above technical problems is that a kind of air conditioning control method based on room theme, The following steps are included:
S1, judges room theme, and the room theme includes room finish theme or the room that is simulated by projection device Between theme;
S2 generates the target control for adjusting air conditioner operation parameters according to room theme and instructs;
S3 controls air-conditioning using target control instruction.
The beneficial effects of the present invention are: air conditioning control method of the invention may determine that room theme, and according to room master Adjust automatically air conditioner operation parameters are inscribed, to make room state, such as temperature, humidity, wind speed, anion concentration or dust Grain content etc. and room theme automatic adaptation, simulate room theme effect, not only increase user experience impression and enrich Air conditioning function, is with a wide range of applications.
Based on the above technical solution, the present invention can also be improved as follows.
Further, room theme is judged in S1 specifically includes the following steps:
S101, obtains the title of all devices in room, and judges whether comprising projection device, if so, S102 is executed, If it is not, then executing S103;
S102, Xiang Suoshu projection device send theme inquiry signal and judge whether to receive the throwing after preset time The theme query result that shadow equipment is sent back to, if so, deterministic process terminates, if it is not, then executing S103;
S103 takes pictures to the whole indoor setting in room and generates target room images, analyzes the target room images Target room tone and target room element are generated, and according to target room tone and the target room Element generation room Between theme.
Further, analysis is carried out to the target room images in S103 and generates target room tone and target room member Element, and according to target room tone and the target room Element generation room theme specifically includes the following steps:
S1031 traverses all pixels information of the target room images, and the pixel for counting the target room images is total Quantity, and calculate the ratio of the quantity and total number of pixels of each rgb value in target room images, then according to ratio from greatly to Small sequence is ranked up all rgb values, formation sequence table;Target room images are divided using preset model simultaneously Analysis, obtains the target room element that the target room images are included;
S1032 obtains the target rgb value of the target room images, determines the target room according to the target rgb value Between image dominant hue and parachrome tune, the target rgb value be the sequence table in the biggish preceding n rgb value of ratio, Huo Zhewei Ratio summation is greater than preset value and is located at the rgb value in the sequence table forefront, n >=5;The mass-tone is adjusted to target room graph The maximum tone of area as in, the parachrome are adjusted to the tone that area time is big in target room images;
S1033, inquires the mapping table pre-established, and according to dominant hue, parachrome tune and target room element with The matching degree of each preset themes determines the corresponding room theme of the target room images, the correspondence in mapping table Relation table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue and multiple Default parachrome tune, the predicted elemental list have multiple predicted elemental titles.
It further, further include sound-light alarm step, specifically:
S41 obtains current time and/or user behavior characteristics parameter, according to the current time and/or user's row It is characterized parameter and generates user and go out probability;
S42, when the user go out probability reach preset threshold when, generate sound-light alarm instruction, the sound-light alarm refers to Enable includes at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
The present invention also provides a kind of computer readable storage mediums, are stored with computer program, the computer program When being executed by processor, the above-mentioned air conditioning control method based on room theme is realized.
The present invention also provides a kind of air-conditioning control equipments based on room theme, including the computer-readable storage Medium and processor, the processor are realized described above when executing the computer program on the computer readable storage medium The air conditioning control method based on room theme the step of.
The present invention also provides a kind of air conditioning control devices based on room theme, including theme judgment module, instruction life At module and control module,
For judging room theme, the room theme includes room finish theme or passes through throwing the theme judgment module The room theme that shadow equipment simulating goes out;
Described instruction generation module is used to be generated according to room theme to be referred to for adjusting the target control of air conditioner operation parameters It enables;
The control module is used to control air-conditioning using target control instruction.
Further, the theme judgment module includes:
First judging unit for obtaining the title of all devices in room, and judges whether to include projection device, if It is then to drive second judgment unit, if it is not, then driving theme generation unit;
Second judgment unit judges whether after preset time for sending theme inquiry signal to the projection device The theme query result that the projection device is sent back to is received, if so, deterministic process terminates, if it is not, then theme is driven to generate Unit;
Theme generation unit takes pictures for the whole indoor setting to room and generates target room images, to the target room Image carries out analysis and generates target room tone and target room element, and according to target room tone and the target room Between Element generation room theme.
Further, the theme generation unit includes:
First analytical unit counts the target room for traversing all pixels information of the target room images The total number of pixels of image, and the ratio of the quantity and total number of pixels of each rgb value in target room images is calculated, then press All rgb values are ranked up according to the sequence of ratio from big to small, formation sequence table;Simultaneously using preset model to target room Between image analyzed, obtain the target room element that the target room images are included;
Second analytical unit, it is true according to the target rgb value for obtaining the target rgb value of the target room images The dominant hue and parachrome tune of the fixed target room images, the target rgb value are the biggish preceding n of ratio in the sequence table Rgb value, or be greater than preset value for ratio summation and be located at the rgb value in the sequence table forefront, n >=5;The dominant hue For the maximum tone of area in target room images, the parachrome is adjusted to the tone that area time is big in target room images;
Query unit, for inquiring the mapping table pre-established, and according to dominant hue, parachrome tune and target room Element and the matching degree of preset themes each in mapping table determine the corresponding room theme of the target room images, institute Stating mapping table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue With multiple default parachrome tune, the predicted elemental list has multiple predicted elemental titles.
It further, further include sound and light alarm module, the sound and light alarm module includes:
Probability calculation unit, for obtaining current time and/or user behavior characteristics parameter, according to the current time And/or the user behavior characteristics parameter generates user and gos out probability;
Acousto-optic warning unit, for when the user go out probability reach preset threshold when, generate sound-light alarm instruction, institute Stating sound-light alarm instruction includes at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Fig. 1 is the flow diagram of the air conditioning control method based on room theme of one embodiment of the invention;
Fig. 2 is the module frame chart of the air conditioning control device based on room theme of another embodiment of the present invention.
Specific embodiment
The principle and features of the present invention will be described below with reference to the accompanying drawings, and the given examples are served only to explain the present invention, and It is non-to be used to limit the scope of the invention.
As shown in Figure 1, one embodiment of the invention provides a kind of air conditioning control method based on room theme, including with Lower step:
S1, judges room theme, and the room theme includes room finish theme or the room that is simulated by projection device Between theme;
S2 generates the target control for adjusting air conditioner operation parameters according to room theme and instructs;
S3 controls air-conditioning using target control instruction.
The air conditioning control method of the present embodiment may determine that room theme, and according to room theme adjust automatically operation of air conditioner Parameter, to make room state, such as temperature, humidity, wind speed, anion concentration or dust granules content etc. and room theme Automatic adaptation simulates room theme effect, not only increases user experience impression and enriches air conditioning function, has extensive Application prospect.
Specifically, the target control instruction includes target control function and mesh corresponding with the target control function Mark parameter value;When the target control function is not related to parameter regulation, the targeted parameter value is zero.And the target control Function includes temperature, humidity, wind speed, fresh air, anion, air cleaning etc., by control making to above-mentioned parameter Room state and room theme automatic adaptation, simulate room theme effect.
Room theme is judged in the S1 of one preferred embodiment specifically includes the following steps:
S101, obtains the title of all devices in room, and judges whether comprising projection device, if so, S102 is executed, If it is not, then executing S103;
S102, Xiang Suoshu projection device send theme inquiry signal and judge whether to receive the throwing after preset time The theme query result that shadow equipment is sent back to, if so, deterministic process terminates, if it is not, then executing S103;
S103 takes pictures to the whole indoor setting in room and generates target room images, analyzes the target room images Target room tone and target room element are generated, and according to target room tone and the target room Element generation room Between theme.
Specifically, various theme effects are built by projection device in the room by some hotels, thus convenient to theme Effect is replaced;Theme effect is built by finishing, such as the setting of wallpaper and various ornaments by some hotels, although flower It is more preferable to take effect that is more expensive but building.These theme effects usually have obviously tone or element, such as gloomy Woods theme color is adjusted to green, and element includes vegetation, trees, forest animal etc., and ocean theme color is adjusted to light blue, element packet Include marine animal such as whale, mermaid etc..For above situation, the present embodiment obtains the name of all devices in room first Claim, such as the device name in each room of Internet of Things acquisition of information by hotel, then judge whether to include projection device, only Have when not being used to build room theme there is no projection device or projection device again by dividing room images Analysis obtains room tone and room element, to carry out room theme judgement, therefore it is more efficient, effect is more preferable.The target Room images are the suitably whole indoor setting image of angle, for example subscriber station is fixed on one jiao of room, or by wide-angle camera One jiao of room, and in the distant view photograph of 45 degree of angles shooting, specifically the target room images include the built-in jewelry in room, window Curtain, floor, ceiling and wall, and ornament includes lamps and lanterns, partition (such as tasselled), ornaments, tester etc..
In the S103 of preferred embodiment, analysis is carried out to the target room images and generates target room tone and target room Between element, and according to target room tone and the target room Element generation room theme specifically includes the following steps:
S1031 traverses all pixels information of the target room images, and the pixel for counting the target room images is total Quantity, and calculate the ratio of the quantity and total number of pixels of each rgb value in target room images, then according to ratio from greatly to Small sequence is ranked up all rgb values, formation sequence table;Preset model is used simultaneously, such as through neural metwork training Good preset model analyzes target room images, to obtain the target room member that the target room images are included Element.
S1032 obtains the target rgb value of the target room images, determines the target room according to the target rgb value Between image dominant hue and parachrome tune, the target rgb value be the sequence table in the biggish preceding n rgb value of ratio, Huo Zhewei Ratio summation is greater than preset value and is located at the rgb value in the sequence table forefront, n >=5;The mass-tone is adjusted to target room graph The maximum tone of area as in, the parachrome are adjusted to the tone that area time is big in target room images.A such as room theme For ocean theme, 6 is as shown in table 1 below before the sequence table obtained after traversing to room images:
1 sequence table of table
Title Rgb value Ratio
Indigo plant 1 112,243,255 35%
White 1 243,249,241 20%
Indigo plant 2 62,237,231 10%
Indigo plant 3 153,255,255 8%
White 2 240,252,255 6%
Indigo plant 4 68,206,246 4%
N takes 6 in preferred embodiment, therefore target rgb value includes blue 1, white 1, blue 2, blue 3, white 2 and indigo plant 4, because of indigo plant 1, indigo plant 2, the sum of ratio of indigo plant 3 and blue 4 is greater than the sum of white 1 and white 2 ratio, therefore mass-tone is adjusted to blue, and parachrome is adjusted to white.Separately In one preferred embodiment, preset value takes 75%, therefore corresponding target rgb value includes blue 1, white 1, blue 2, blue 3 and white 2, because The sum of ratio of indigo plant 1, indigo plant 2 and indigo plant 3 is greater than the sum of white 1 and white 2 ratio, therefore mass-tone is adjusted to blue, and parachrome is adjusted to white.
S1033, inquires the mapping table pre-established, and according to dominant hue, parachrome tune and target room element with The matching degree of each preset themes determines the corresponding room theme of the target room images, the correspondence in mapping table Relation table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue and multiple Default parachrome tune, the predicted elemental list have multiple predicted elemental titles.
In preferred embodiment, the matching journey of target room images and each preset themes can be calculated using following formula Degree:
Wi=Ai*m+Bi* n, the sum of m, n are 100%;
WiFor the matching value with preset themes i, AiFor the shade-matched blend degree with preset themes i, BiFor with preset themes i's Match of elemental composition degree, m are shade-matched blend weight, and n is Match of elemental composition weight, wherein
Bi=(target room element number included in the predicted elemental list of preset themes i/target room element is total Number) * 100;
Ai=S1+S2, when the dominant hue of target room images and the default dominant hue of preset themes i are identical, then S1Value is T (such as t value be 70), otherwise S1Value is 0;When one of them of parachrome tune and the preset themes i of target room images are pre- If parachrome phase modulation is same, then S2Value is 100-t, otherwise S2Value is 0.
Such as in one embodiment, the mass-tone of target room images is adjusted to light blue, and parachrome is adjusted to white, target room member Element includes whale, sea grass, mermaid, dolphin and starfish, and in mapping table includes preset themes 1, which is sea Foreign theme, corresponding default mass-tone are adjusted to light blue, and it includes whale in predicted elemental list that default parachrome, which is stealthily substituted, which includes white and silver color, Fish, dolphin, starfish, hermit crab, hippocampus, great white shark.M value 70% in above-mentioned formula, n value 30%, t value 70 can calculate Obtain the shade-matched blend degree A of target room images Yu preset themes 11=70+30=100, target room images and preset themes 1 Match of elemental composition degree B1=100*3/5=60, whole matching degree Wi=(100*70%)+(60*30%)=88.
After obtaining room theme, corresponding mesh can be generated according to room theme by inquiring the mapping table pre-established Control instruction is marked, the mapping table includes the different default corresponding control instructions of room theme, such as temperature, humidity, wind Speed, anion concentration and/or dust granules content etc..For example the corresponding temperature of forest theme is normal epidemic disaster and anion Content is higher, and theme corresponding temperature in the arctic is lower, humidity and anion concentration are higher etc..More preferred embodiment In, current time can also be obtained, control instruction is modified by current time, such as if current time is evening, Temperature can also reduce preset temperature value etc., to carry out more accurate control to air-conditioning.
In preferred embodiment, the air conditioning control method further includes sound-light alarm step, specifically:
S41 obtains current time and/or user behavior characteristics parameter, according to the current time and/or user's row It is characterized parameter and generates user and go out probability;
S42, when the user go out probability reach preset threshold when, generate sound-light alarm instruction, the sound-light alarm refers to Enable includes at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
Can judge that user gos out probability using current time in step S41, because the accommodation time ordered by user is to consolidate It is fixed and known, it is bigger closer to check-out time user probability of going out, therefore can be according between current time and check-out time Difference go out probability to measure user, difference is smaller, and user's probability of going out is bigger.User behavior characteristics can also equally be used Parameter is gone out probability to obtain user, first acquisition user behavior characteristics parameter, for example user arranges luggage behavior, user closes Then electric appliance behavior etc. carries out calculating to obtain user according to preparatory trained prediction model and gos out probability, specifically Prediction model can use existing method, such as deep learning method to be trained, herein without being described in detail.By above-mentioned Sound-light alarm step, air-conditioning can remind the ambient condition outside user room in time, the time mistake for preventing user from staying in theme room Outdoor and indoor difference is had forgotten long afterwards, is caused after going out rashly uncomfortable.
The present invention also provides a kind of computer readable storage mediums, are stored with computer program, the computer program When being executed by processor, the above-mentioned air conditioning control method based on room theme is realized.
The present invention also provides a kind of air-conditioning control equipments based on room theme, including the computer-readable storage Medium and processor, the processor are realized described above when executing the computer program on the computer readable storage medium The air conditioning control method based on room theme the step of.
Fig. 2 be another embodiment of the present invention provides a kind of air conditioning control device based on room theme, as shown in Fig. 2, Including theme judgment module 100, directive generation module 200 and control module 300,
The theme judgment module 100 is for judging that room theme, the room theme include room finish theme or lead to Cross the room theme that projection device simulates;
Described instruction generation module 200 is used to generate the target control for adjusting air conditioner operation parameters according to room theme Instruction;
The control module 300 is used to control air-conditioning using target control instruction.
The air conditioning control device of the present embodiment may determine that room theme, and according to room theme adjust automatically operation of air conditioner Parameter, to make room state, such as temperature, humidity, wind speed, anion concentration or dust granules content etc. and room theme Automatic adaptation simulates room theme effect, not only increases user experience impression and enriches air conditioning function, has extensive Application prospect.
In another preferred embodiment, the theme judgment module includes:
First judging unit for obtaining the title of all devices in room, and judges whether to include projection device, if It is then to drive second judgment unit, if it is not, then driving theme generation unit;
Second judgment unit judges whether after preset time for sending theme inquiry signal to the projection device The theme query result that the projection device is sent back to is received, if so, deterministic process terminates, if it is not, then theme is driven to generate Unit;
Theme generation unit takes pictures for the whole indoor setting to room and generates target room images, to the target room Image carries out analysis and generates target room tone and target room element, and according to target room tone and the target room Between Element generation room theme.
In another preferred embodiment, the theme generation unit includes:
First analytical unit counts the target room for traversing all pixels information of the target room images The total number of pixels of image, and the ratio of the quantity and total number of pixels of each rgb value in target room images is calculated, then press All rgb values are ranked up according to the sequence of ratio from big to small, formation sequence table;Simultaneously using preset model to target room Between image analyzed, obtain the target room element that the target room images are included;
Second analytical unit, it is true according to the target rgb value for obtaining the target rgb value of the target room images The dominant hue and parachrome tune of the fixed target room images, the target rgb value are the biggish preceding n of ratio in the sequence table Rgb value, or be greater than preset value for ratio summation and be located at the rgb value in the sequence table forefront, n >=5;The dominant hue For the maximum tone of area in target room images, the parachrome is adjusted to the tone that area time is big in target room images;
Query unit, for inquiring the mapping table pre-established, and according to dominant hue, parachrome tune and target room Element and the matching degree of preset themes each in mapping table determine the corresponding room theme of the target room images, institute Stating mapping table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue With multiple default parachrome tune, the predicted elemental list has multiple predicted elemental titles.
In another preferred embodiment, the air conditioning control device further includes sound and light alarm module, the sound and light alarm module Include:
Probability calculation unit, for obtaining current time and/or user behavior characteristics parameter, according to the current time And/or the user behavior characteristics parameter generates user and gos out probability;
Acousto-optic warning unit, for when the user go out probability reach preset threshold when, generate sound-light alarm instruction, institute Stating sound-light alarm instruction includes at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, foregoing description is The specific work process of system, device and unit, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, is also possible to two or more units and is integrated in one unit.It is above-mentioned integrated Unit both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes all or part of each embodiment method of the present invention Step.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-OnlyMemory), deposits at random The various media that can store program code such as access to memory (RAM, RandomAccessMemory), magnetic or disk.
More than, only a specific embodiment of the invention, but scope of protection of the present invention is not limited thereto, and it is any to be familiar with Those skilled in the art in the technical scope disclosed by the present invention, can readily occur in various equivalent modifications or substitutions, These modifications or substitutions should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be wanted with right Subject to the protection scope asked.

Claims (10)

1. a kind of air conditioning control method based on room theme, which comprises the following steps:
S1, judges room theme, and the room theme includes room finish theme or the room master that is simulated by projection device Topic;
S2 generates the target control for adjusting air conditioner operation parameters according to room theme and instructs;
S3 controls air-conditioning using target control instruction.
2. the air conditioning control method according to claim 1 based on room theme, which is characterized in that judge room master in S1 Topic specifically includes the following steps:
S101, obtains the title of all devices in room, and judges whether comprising projection device, if so, S102 is executed, if It is no, then execute S103;
S102, Xiang Suoshu projection device send theme and inquire signal, after preset time, judge whether that receiving the projection sets The theme query result that preparation is returned, if so, deterministic process terminates, if it is not, then executing S103;
S103 takes pictures to the whole indoor setting in room and generates target room images, carries out analysis generation to the target room images Target room tone and target room element, and according to target room tone and the target room Element generation room master Topic.
3. the air conditioning control method according to claim 2 based on room theme, which is characterized in that the mesh in S103 Mark room images carry out analysis and generate target room tone and target room element, and according to target room tone and described Target room Element generation room theme specifically includes the following steps:
S1031 traverses all pixels information of the target room images, counts the sum of all pixels of the target room images Amount, and the ratio of the quantity and total number of pixels of each rgb value in target room images is calculated, then from big to small according to ratio Sequence all rgb values are ranked up, formation sequence table;Target room images are divided using preset model simultaneously Analysis, obtains the target room element that the target room images are included;
S1032 obtains the target rgb value of the target room images, determines the target room graph according to the target rgb value The dominant hue and parachrome tune of picture, the target rgb value are the biggish preceding n rgb value of ratio in the sequence table, or are ratio Summation is greater than preset value and is located at the rgb value in the sequence table forefront, n >=5;The mass-tone is adjusted in target room images The maximum tone of area, the parachrome are adjusted to the tone that area time is big in target room images;
S1033, inquires the mapping table pre-established, and according to dominant hue, parachrome tune and target room element with it is corresponding The matching degree of each preset themes determines the corresponding room theme of the target room images, the corresponding relationship in relation table Table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue and multiple default Parachrome tune, the predicted elemental list have multiple predicted elemental titles.
4. the air conditioning control method according to claim 1 to 3 based on room theme, which is characterized in that further include sound Light alarming step, specifically:
S41 obtains current time and/or user behavior characteristics parameter, special according to the current time and/or the user behavior Sign parameter generates user and gos out probability;
S42, when the user go out probability reach preset threshold when, generate sound-light alarm instruction, sound-light alarm instruction packet Include at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
5. a kind of computer readable storage medium, which is characterized in that be stored with computer program, the computer program is processed When device executes, the described in any item air conditioning control methods based on room theme of claim 1-4 are realized.
6. a kind of air-conditioning control equipment based on room theme, which is characterized in that including computer-readable described in claim 5 Storage medium and processor, the processor are realized when executing the computer program on the computer readable storage medium as weighed Benefit requires the step of air conditioning control method based on room theme described in any one of 1-4.
7. a kind of air conditioning control device based on room theme, which is characterized in that including theme judgment module, directive generation module And control module,
The theme judgment module is for judging that room theme, the room theme include room finish theme or set by projection The standby room theme simulated;
The target control that described instruction generation module is used to generated according to room theme for adjusting air conditioner operation parameters instructs;
The control module is used to control air-conditioning using target control instruction.
8. the air conditioning control device according to claim 7 based on room theme, which is characterized in that the theme judges mould Block includes:
First judging unit for obtaining the title of all devices in room, and judges whether to include projection device, if so, Second judgment unit is driven, if it is not, then driving theme generation unit;
Second judgment unit judges whether to receive for sending theme inquiry signal to the projection device after preset time The theme query result sent back to the projection device, if so, deterministic process terminates, if it is not, then driving theme generation unit;
Theme generation unit takes pictures for the whole indoor setting to room and generates target room images, to the target room images It carries out analysis and generates target room tone and target room element, and according to target room tone and target room member Element generates room theme.
9. the air conditioning control device according to claim 8 based on room theme, which is characterized in that the theme generates single Member includes:
First analytical unit counts the target room images for traversing all pixels information of the target room images Total number of pixels, and calculate the ratio of the quantity and total number of pixels of each rgb value in target room images, then according to than The sequence of value from big to small is ranked up all rgb values, formation sequence table;Simultaneously using preset model to target room graph As being analyzed, the target room element that the target room images are included is obtained;
Second analytical unit determines institute according to the target rgb value for obtaining the target rgb value of the target room images The dominant hue and parachrome tune of target room images are stated, the target rgb value is the biggish preceding n RGB of ratio in the sequence table Value, or be greater than preset value for ratio summation and be located at the rgb value in the sequence table forefront, n >=5;The mass-tone is adjusted to The maximum tone of area in target room images, the parachrome are adjusted to the tone that area time is big in target room images;
Query unit, for inquiring the mapping table pre-established, and according to dominant hue, parachrome tune and target room element The corresponding room theme of the target room images is determined with the matching degree of preset themes each in mapping table, it is described right Answering relation table includes multiple preset themes, and each preset themes include corresponding predicted elemental list, default dominant hue and more A default parachrome tune, the predicted elemental list have multiple predicted elemental titles.
10. according to any air conditioning control device based on room theme of claim 7-9, which is characterized in that further include Sound and light alarm module, the sound and light alarm module include:
Probability calculation unit, for obtaining current time and/or user behavior characteristics parameter, according to the current time and/or The user behavior characteristics parameter generates user and gos out probability;
Acousto-optic warning unit, for when the user go out probability reach preset threshold when, generate sound-light alarm instruction, the sound Light alarm command includes at least one of outdoor weather, outdoor temperature, outside humidity and outdoor air index.
CN201910101493.0A 2019-01-31 2019-01-31 Air conditioner control method, medium, equipment and device based on room theme Active CN109798643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910101493.0A CN109798643B (en) 2019-01-31 2019-01-31 Air conditioner control method, medium, equipment and device based on room theme

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910101493.0A CN109798643B (en) 2019-01-31 2019-01-31 Air conditioner control method, medium, equipment and device based on room theme

Publications (2)

Publication Number Publication Date
CN109798643A true CN109798643A (en) 2019-05-24
CN109798643B CN109798643B (en) 2020-10-27

Family

ID=66560858

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910101493.0A Active CN109798643B (en) 2019-01-31 2019-01-31 Air conditioner control method, medium, equipment and device based on room theme

Country Status (1)

Country Link
CN (1) CN109798643B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008170065A (en) * 2007-01-11 2008-07-24 Toshiba Corp Air conditioning control system
CN105509016A (en) * 2015-12-25 2016-04-20 无锡信大气象传感网科技有限公司 Weather reminding method
CN105757896A (en) * 2016-03-29 2016-07-13 北京小米移动软件有限公司 Operation mode control method and operation mode control device
CN107166645A (en) * 2017-05-18 2017-09-15 厦门瑞为信息技术有限公司 A kind of air conditioning control method analyzed based on indoor scene
CN107883541A (en) * 2017-10-24 2018-04-06 珠海格力电器股份有限公司 Air conditioning control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008170065A (en) * 2007-01-11 2008-07-24 Toshiba Corp Air conditioning control system
CN105509016A (en) * 2015-12-25 2016-04-20 无锡信大气象传感网科技有限公司 Weather reminding method
CN105757896A (en) * 2016-03-29 2016-07-13 北京小米移动软件有限公司 Operation mode control method and operation mode control device
CN107166645A (en) * 2017-05-18 2017-09-15 厦门瑞为信息技术有限公司 A kind of air conditioning control method analyzed based on indoor scene
CN107883541A (en) * 2017-10-24 2018-04-06 珠海格力电器股份有限公司 Air conditioning control method and device

Also Published As

Publication number Publication date
CN109798643B (en) 2020-10-27

Similar Documents

Publication Publication Date Title
CN108168034A (en) Air-conditioner control method
CN109780699A (en) Method for controlling number of revolution and device
CN105867158A (en) Smart-home control method and device based on artificial intelligence and system
US9489772B2 (en) Environment actuation by one or more augmented reality elements
US10893245B1 (en) Method for projecting image and robot implementing the same
CN108266859B (en) State display method and device of air conditioning equipment and air conditioning equipment
CN108302723A (en) Adjusting method, device and the storage medium of indoor air quality
CN109741747B (en) Voice scene recognition method and device, voice control method and device and air conditioner
WO2020199672A1 (en) Air conditioner, control method and control device therefor, storage medium and processor
JP2020518992A (en) Voice control
CN109974243A (en) The method, apparatus and air-conditioning system of automatic adjusument air conditioner
CN113439447A (en) Room acoustic simulation using deep learning image analysis
CN109240096A (en) Apparatus control method and device, storage medium, method for controlling volume and device
CN108278726A (en) A kind of Yoga room purification air-conditioning and its control method
CN109798643A (en) A kind of air conditioning control method based on room theme, medium, equipment and device
CN105511279B (en) Household electrical appliance long-range control method and system, household electrical appliance and server
CN107657893B (en) Scene experience window and system
CN109658511A (en) A kind of calculation method and relevant apparatus of the adjacent interframe posture information based on image
AU2020304463B2 (en) Method and apparatus for displaying item information in current space, and medium
CN112013513A (en) Air conditioning equipment, automatic control method thereof and terminal control equipment
CN113485140A (en) Intelligent household regulation and control method, device, equipment and storage medium based on Internet of things
WO2023221558A1 (en) Method and apparatus for controlling fresh air ventilator, fresh air ventilator and storage medium
CN107787100A (en) Control method, correspondence system and the computer program product of light source
CN108917101A (en) Air conditioning control method and device, storage medium, processor
CN114484804B (en) Air conditioner control method, air conditioner, electronic device and storage medium

Legal Events

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