Movatterモバイル変換


[0]ホーム

URL:


CN107101326A - A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition - Google Patents

A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition
Download PDF

Info

Publication number
CN107101326A
CN107101326ACN201710257293.5ACN201710257293ACN107101326ACN 107101326 ACN107101326 ACN 107101326ACN 201710257293 ACN201710257293 ACN 201710257293ACN 107101326 ACN107101326 ACN 107101326A
Authority
CN
China
Prior art keywords
mobile terminal
intelligent air
air condition
control instruction
information
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
CN201710257293.5A
Other languages
Chinese (zh)
Other versions
CN107101326B (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.)
Huizhou TCL Mobile Communication Co Ltd
Original Assignee
Huizhou TCL Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huizhou TCL Mobile Communication Co LtdfiledCriticalHuizhou TCL Mobile Communication Co Ltd
Priority to CN201710257293.5ApriorityCriticalpatent/CN107101326B/en
Publication of CN107101326ApublicationCriticalpatent/CN107101326A/en
Application grantedgrantedCritical
Publication of CN107101326BpublicationCriticalpatent/CN107101326B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The invention discloses a kind of method, system and mobile terminal based on mobile terminal control intelligent air condition, mobile terminal is communicatively coupled by communication with intelligent air condition;The mobile terminal is received by application after the control instruction of user, and the data of control instruction are sent into the intelligent air condition;The intelligent air condition is received after the data that mobile terminal is sent, and is parsed the data of control instruction, is judged type and the execution of current control instruction;The mobile terminal is sent after control instruction, waits the intelligent air condition feedback information, when intelligent air condition receives control instruction and execution result information is fed back into mobile terminal.The present invention sends corresponding control command by mobile terminal to intelligent air condition, and realization is automatically controlled to intelligent air condition, can also manually controlled by interface, user need not go for remote control again, terminal can automatically open up air-conditioning equipment, is provided the user conveniently.

Description

A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition
Technical field
The present invention relates to control of intelligent terminal technical field, and in particular to a kind of to control intelligent air condition based on mobile terminalMethod, system and mobile terminal.
Background technology
With continuing to develop for mobile terminal, mobile terminal(The terminal devices such as mobile phone/flat board)Have become user'sEssential items and control centre, user can control the equipment such as household, vehicle-mounted by mobile terminal.
In traditional airconditioning control is realized, user can only manually be set up and intelligent air condition by modes such as infrared, bluetoothsConnection, these modes require user must short distance operation, can be made troubles to user.
Intelligent appliance control system is primarily present wired, wireless and wired and wireless phase knot from transmission mediumThe mode of conjunction.Wiring trouble, cumbersome circuit, time and effort consuming, cost are higher etc. to ask the intelligent appliance system of wired mode existingTopic, should not be used;With wireless technology such as WLAN, IrDA, bluetooth, ZigBee, HomeRF development, wireless technology progressively appliesInto intelligent appliance system, wireless mode wiring cost is low compared with wired mode, in the side such as stability, energy-conservation and subsequent expansionThere is very big advantage in face, and heat of concern is become using the intelligent appliance system of wireless sensor network and wireless controllerPoint.
In terms of control terminal, first, can be using equipment such as keyboard, IR remote controllers as terminal control, such a modeNeed the controller matched therewith, control gets up more more complex, cost is not also cheap, have one disadvantage in that be can not be long-rangeControl;Second, terminal is computer, appliance system is controlled by Internet, such a mode exist volume it is big, can notThe problem of carrying, underaction;Third, using mobile phone as terminal, with widely using for smart mobile phone, mobile phone can pass throughWireless network such as WiFi, bluetooth etc. is controlled to house system, and this mode is convenient, fast, flexible.Existing intelligent applianceMost house interior wiring, need to before house decoration the good line of first cloth, if house decoration has completed needs and has destroyed a partFinishing is connected up again, is brought inconvenience to resident family and some additional costs.It is optimal method using wireless WiFi wireless technologys,It is not influenceed by household building structure and finishing, and WiFi biggest advantages are to be not required to wiring.WiFi signal transmission range is 100Rice or so, can meet household demand.WiFi is currently the positive strength of public attention in wireless access way, is also trend of the times, current factoryWiFi is all carried on the computer and smart mobile phone of family property, it has relatively good prospect, be the development of follow-up intelligent appliance systemTrend.
Therefore, in the prior art can only short distance carry out airconditioning control the problem of, prior art need improveAnd development.
The content of the invention
The technical problem to be solved in the present invention is that the drawbacks described above for prior art is whole based on movement there is provided one kindMethod, system and the mobile terminal of end control intelligent air condition, it is intended to by calculating mobile terminal and air-conditioning equipment distance, obtain and work asThe information such as preceding environment temperature, weather, humidity, and the configuration strategy set with user contrasted, and is set if meeting userThe policy condition put, will send corresponding control command to intelligent air condition, and realization be automatically controlled to intelligent air condition, can be withControlled, can be visited automatically between the long transmission distance supported by WiFi Aware technologies, equipment manually by interfaceSurvey connection, so can more facilitate user than the technology such as bluetooth, infrared, user need not go for remote control again, and terminal can be beaten automaticallyTurn on the aircondition equipment, provide the user convenience.
The technical proposal for solving the technical problem of the invention is as follows:
A kind of method that intelligent air condition is controlled based on mobile terminal, wherein, comprise the following steps:
Step A:Mobile terminal is communicatively coupled by communication with intelligent air condition;
Step B:The mobile terminal is received after the control instruction of user by APP applications, and the data of control instruction are sent toThe intelligent air condition;
Step C:The intelligent air condition is received after the data that mobile terminal is sent, and parses the data of control instruction, judges currentThe type of control instruction and execution;
Step D:The mobile terminal is sent after control instruction, waits the intelligent air condition feedback information, when intelligent air condition is receivedExecution result information is simultaneously fed back to mobile terminal by control instruction.
The described method that intelligent air condition is controlled based on mobile terminal, wherein, the communication in the step A isWiFi Aware。
The described method that intelligent air condition is controlled based on mobile terminal, wherein, the step B is specifically included:
Step B1:The APP applications of mobile terminal are opened, and according to UI interface prompt configuration strategies;The configuration strategy includes:SeasonSection is set, temperature threshold is set, thermostatic is set, wind speed is set, pattern is set, switch is set, distance threshold is set, weatherTranslative mode is set;
Step B2:The APP applications of the mobile terminal start subscription service, specify the intelligent air condition device service title, useTo receive the service data that intelligent air condition is sent by WiFi Aware, service name is preset by mobile terminal, with intelligenceThe broadcast service title of air-conditioning is consistent;
Step B3:The mobile terminal judge the broadcast service equipment of intelligent air condition MAC Address whether be intelligent air condition MACAddress, if it is, calculating the relative distance of the mobile terminal and intelligent air condition;If it is not, then terminating flow;
Step B4:After the relative distance of the mobile terminal and intelligent air condition is calculated, by WiFi Aware interface toIntelligent air condition sends control instruction, for obtaining the current status information of intelligent air condition and setting the parameter of intelligent air condition.
The described method that intelligent air condition is controlled based on mobile terminal, wherein, the step C is specifically included:
Step C1:After the intelligent air condition receives the control instruction of user, by the current air-conditioning state information of intelligent air conditionFeed back to the mobile terminal;The current air-conditioning state information includes:On off state, current environment temperature, air conditioning mode,Temperature, the air conditioner wind speed information of air-conditioning setting;
Step C2:The intelligent air condition receives the data that control instruction is parsed after the data that mobile terminal is sent, and judges currentThe type of control instruction;
Step C3:The control instruction of user is matched with the configuration strategy of user, intelligent air condition not done if matchingAny operation;
Step C4:If in the matching process, run into it is a certain be unsatisfactory for control strategy condition, then return mismatch result, thenOrder and execution of the mobile terminal into air-conditioning send configuration strategy.
The described method that intelligent air condition is controlled based on mobile terminal, wherein, the step D is specifically included:
Step D1:The mobile terminal is sent after control instruction, waits the intelligent air condition feedback information, when intelligent air condition is receivedControl instruction and when running succeeded, successful information is fed back to mobile terminal;
Step D2:The mobile terminal is sent after control instruction, waits the intelligent air condition feedback information, when intelligent air condition is receivedControl instruction but when performing failure, to mobile terminal feeding back unsuccessful information, and points out on UI error message.
The described method that intelligent air condition is controlled based on mobile terminal, wherein, it is described by the control instruction of user and userSpecifically including of being matched of configuration strategy:
Step C31:Mobile terminal reads the current air-conditioning state information stored in internal memory and corresponding user configuring strategy;
Step C32:Mobile terminal judges whether current air-conditioner switch state meets the switching requirements in user configuring strategy;IfMeet and perform step C34, if being unsatisfactory for performing step C33;
Step C33:Judge whether current weather humidity conditions meet the humidity in configuration strategy, weather value, if day air humidityDegree condition mismatches control strategy, then mismatch result is directly returned to, if it is satisfied, then into step C34;
Step C34:Judge whether the pattern of current air-conditioning is consistent with the allocating default required in configuration strategy;If be unsatisfactory for,Then return and mismatch result, if it is satisfied, then into step C35;
Step C35:Judge whether intelligent air condition Current Temperatures meet the air-conditioner temperature required in configuration strategy, if be unsatisfactory for,Then return and mismatch result, if it is satisfied, then returning to matching normal outcome.
A kind of system that intelligent air condition is controlled based on mobile terminal, wherein, the system includes:
Communication connection module, is communicatively coupled for mobile terminal by communication with intelligent air condition;
Instruction sending module, is received after the control instruction of user for the mobile terminal by APP applications, by control instructionData are sent to the intelligent air condition;
Performing module is instructed, is received for the intelligent air condition after the data that mobile terminal is sent, the number of control instruction is parsedAccording to judging type and the execution of current control instruction;
As a result feedback module, sends after control instruction for the mobile terminal, waits the intelligent air condition feedback information, works as intelligenceEnergy air-conditioning receives control instruction and execution result information is fed back into mobile terminal.
The described system that intelligent air condition is controlled based on mobile terminal, wherein, the communication is WiFiAware。
The described system that intelligent air condition is controlled based on mobile terminal, wherein, the instruction sending module is specifically included:
Configuration strategy setting unit, the APP for opening mobile terminal is applied, and according to UI interface prompt configuration strategies;It is describedConfiguration strategy includes:Season set, temperature threshold set, thermostatic set, wind speed set, pattern set, switch set, away fromSet from threshold value, weather translative mode is set;
Start unit is serviced, the APP applications for the mobile terminal start subscription service, specify the intelligent air condition equipment clothesBusiness title, for receiving the service data that intelligent air condition is sent by WiFi Aware, service name is set in advance by mobile terminalIt is fixed, it is consistent with the broadcast service title of intelligent air condition;
Address judgement and metrics calculation unit, the MAC for the broadcast service equipment for passing through intelligent air condition for the mobile terminalWhether location is the MAC Address of intelligent air condition, if it is, calculating the relative distance of the mobile terminal and intelligent air condition;IfIt is not then to terminate flow;
Acquisition of information and parameter set unit, for after the relative distance of the mobile terminal and intelligent air condition is calculated, leading toThe interface for crossing WiFi Aware sends control instruction to intelligent air condition, for obtaining the current status information of intelligent air condition and settingPut the parameter of intelligent air condition.
The described system that intelligent air condition is controlled based on mobile terminal, wherein, the instruction performing module is specifically included:
After current information feedback unit, control instruction for receiving user when the intelligent air condition, by working as intelligent air conditionPreceding air-conditioning state feedback of the information is to the mobile terminal;The current air-conditioning state information includes:On off state, current environmentTemperature, air conditioning mode, temperature, the air conditioner wind speed information of air-conditioning setting;
Instruction type judging unit, receives for the intelligent air condition and control instruction is parsed after the data that mobile terminal is sentData, judge the type of current control instruction;
Instructions match unit, it is not right if matching for the control instruction of user to be matched with the configuration strategy of userIntelligent air condition does any operation;
Instruction send and execution unit, if in the matching process, run into it is a certain be unsatisfactory for control strategy condition, then returnMismatch result, then order and execution of the mobile terminal into air-conditioning send configuration strategy.
The described system that intelligent air condition is controlled based on mobile terminal, wherein, the result feedback module is specifically included:
First result feedback unit, sends after control instruction for the mobile terminal, waits the intelligent air condition feedback information,When intelligent air condition receives control instruction and runs succeeded, successful information is fed back to mobile terminal;
Second result is fed back and Tip element, is sent for the mobile terminal after control instruction, waits the intelligent air condition anti-Feedforward information, when intelligent air condition receives control instruction but performs failure, is pointed out to mobile terminal feeding back unsuccessful information, and on UIError message.
A kind of mobile terminal, including computer-readable recording medium, are stored thereon with computer program, wherein, the meterThe method that intelligent air condition is controlled based on mobile terminal is realized when calculation machine program is executed by processor.
It is mobile whole the invention discloses a kind of method, system and mobile terminal based on mobile terminal control intelligent air conditionEnd is communicatively coupled by communication with intelligent air condition;The mobile terminal receives the control of user by APP applicationsAfter system instruction, the data of control instruction are sent to the intelligent air condition;The intelligent air condition receives what mobile terminal was sentAfter data, the data of control instruction are parsed, type and the execution of current control instruction is judged;The mobile terminal sends control and referred toAfter order, the intelligent air condition feedback information is waited, when intelligent air condition receives control instruction and execution result information is fed back into shiftingDynamic terminal.
The present invention obtains the letter such as current environment temperature, weather, humidity by calculating mobile terminal and air-conditioning equipment distanceBreath, and the configuration strategy set with user contrasted, will to intelligent air condition if meeting the policy condition of user's settingCorresponding control command is sent, realization is automatically controlled to intelligent air condition, can also manually controlled by interface, due toConnection can be detected automatically between long transmission distance that WiFi Aware technologies are supported, equipment, so than the skill such as bluetooth, infraredArt can more facilitate user, and user need not go for remote control again, and terminal can automatically open up air-conditioning equipment, provide the user facilityProperty.
Brief description of the drawings
Fig. 1 is the flow chart of the preferred embodiment for the method that the present invention controls intelligent air condition based on mobile terminal.
Fig. 2 is the detailed process flow chart that the control instruction of user of the present invention is matched with the configuration strategy of user.
Fig. 3 be the present invention based on mobile terminal control intelligent air condition method in user controlled manually by interfaceFlow chart.
Fig. 4 is the functional schematic block diagram of the preferred embodiment for the system that the present invention controls intelligent air condition based on mobile terminal.
Embodiment
To make the objects, technical solutions and advantages of the present invention clearer, clear and definite, develop simultaneously embodiment pair referring to the drawingsThe present invention is further described.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and withoutIt is of the invention in limiting.
A kind of method that intelligent air condition is controlled based on mobile terminal described in present pre-ferred embodiments, as shown in figure 1, baseThe method for controlling intelligent air condition in mobile terminal, comprises the following steps:
Step S100, mobile terminal is communicatively coupled by communication with intelligent air condition.
It is preferred that the communication is WiFi Aware, specifically, WiFi Aware can help WiFi to setThe service on the standby sensed in advance periphery before foundation, further meets user for point-to-point(Peer to Peer, P2P)Message,Functional requirement in terms of game and media are shared.WiFi Aware are a kind of WiFi authentication services, and this technology is based on usThe WiFi equipments such as daily essential smart mobile phone and tablet personal computer, can allow these equipment mutual by WiFi Aware technologiesMutual presence is mutually perceived, is subsequently connected together.For in terms of some, WiFi Aware technologies are conventional similar to usBluetooth function, when WiFi equipment is adjacent to each other, can mutually transfer the documents such as information, picture, the video of smart mobile phone.It is blueBefore tooth transmission can be traced back to for a long time, and it is transmitted by WiFi, is a brand-new technology.
WiFi Aware technologies can allow the use of user more to be enriched, and can be instant, dynamic for user's displayingSurrounding environment, according to the introduction of WiFi alliances, this technology is identical with normal WiFi mode of operation, will not increase work(Consumption.
Step S200, the mobile terminal is received after the control instruction of user by APP applications, by the data of control instructionIt is sent to the intelligent air condition.
It is preferred that the step S200 specifically includes following steps:
Step S201, opens the APP applications of mobile terminal, and according to UI interface prompt configuration strategies;The configuration strategy includes:Season is set, temperature threshold is set, thermostatic is set, wind speed is set, pattern is set, switch is set, distance threshold is set, dayGas shift pattern is set;
Step S202, the APP applications of the mobile terminal start subscription service, specify the intelligent air condition device service title,For receiving the service data that intelligent air condition is sent by WiFi Aware, service name is preset by mobile terminal, with intelligenceThe broadcast service title of energy air-conditioning is consistent;
Step S203, the mobile terminal judges whether the MAC Address of the broadcast service equipment of intelligent air condition is intelligent air conditionMAC Address, if it is, calculating the relative distance of the mobile terminal and intelligent air condition;If it is not, then terminating flow;
Step S204, after the relative distance of the mobile terminal and intelligent air condition is calculated, passes through WiFi Aware interfaceControl instruction is sent to intelligent air condition, for obtaining the current status information of intelligent air condition and setting the parameter of intelligent air condition.
Specifically, corresponding configuration strategy mainly includes season setting:Such as summer, winter;Temperature threshold:Such as arriveAt 40 degree, air-conditioning is automatically opened up, air-conditioning is closed automatically at 20 degree;Temperature setting:Air-conditioner temperature is set to how many degree;Wind speed is setPut:Air conditioner wind speed is set to how many;Pattern is set:Air-conditioning is set to a certain pattern, such as automatic mode, refrigeration mode,Heating mode, dehumidification mode, circulation air air supply pattern etc.;Switch is set:Open or close air-conditioning;Distance threshold:TerminalWith air-conditioning it is how far when realize air-conditioning is automatically controlled;Weather condition:Mould is set according to the moist degree of weather, rainy etc.Formula.
The APP applications of mobile terminal start subscription service, the intelligent air condition device service title specified are subscribed to, for receivingThe service data that intelligent air condition is sent by WiFi Aware, service name is pre-set by mobile terminal, with WiFiThe broadcast service title of Aware air-conditioning equipments is consistent.If mobile terminal receives WiFi, Aware air-conditioning equipments are broadcastedService data, then data are parsed first, the RTT of 802.11mc agreements are mainly parsed from service data((Round-Trip Time:Round-trip delay, it is an important performance indications in a computer network, is represented from transmitting terminalSend data to start, the confirmation from receiving terminal is received to transmitting terminal(Receiving terminal, which receives soon to send after data, to be confirmed), alwaysThe time delay undergone altogether)Time value, the RSSI of WiFi Aware equipment(Received Signal Strength IndicationThe signal intensity of reception is indicated, is transmitted wirelessly the optional part of layer, for judging link quality, and whether is increased broadcast transmissionIntensity)Signal strength values, the device mac address of broadcast service, judgement is resolved to whether device mac address is intelligent air condition equipmentMAC Address, if it is, continue subsequent step, if it is not, then terminate flow.
Judge the RTT time values in 802.11mc agreements whether are included in information on services, if comprising directly basis shouldValue calculates distance.If not comprising RTT time values, distance is calculated by the RSSI value of access control equipment.
According to WiFi mode, the RSSI value received by mobile terminal calculate with opposite equip. it is relative away fromFrom.Open model formation d=10^ ((Abs (RSSI)-A)/(10*n)) that the calculation is mainly transmitted using WiFi.Wherein,Abs is used for the function for representing to seek absolute value, A and n parameters need to be learnt according to sampling calculating, mobile terminal storage different platform coreThe empirical value of piece, such as high pass, Botong, MTK chips.The chip type of mobile terminal in itself is read, is taken with different platform chipDifferent parameter values, if the parameter value with mobile terminal device type matching can not be found out in application memory, uses acquiescenceEmpirical parameter value.When calculating corresponding value, a calculated value is not taken, many sub-values can be taken according to actual conditions, removed firstPeak and minimum that the model is obtained, are then averagely obtained respective value again, improve the accuracy calculated.
Step S300, the intelligent air condition is received after the data that mobile terminal is sent, and is parsed the data of control instruction, is sentencedThe type for current control instruction of breaking and execution.
It is preferred that the step S300 specifically includes following steps:
Step S301, after the intelligent air condition receives the control instruction of user, the current air-conditioning state of intelligent air condition is believedBreath feeds back to the mobile terminal;The current air-conditioning state information includes:On off state, current environment temperature, air-conditioning mouldFormula, temperature, the air conditioner wind speed information of air-conditioning setting;
Step S302, the intelligent air condition receives the data that control instruction is parsed after the data that mobile terminal is sent, and judges to work asThe type of preceding control instruction;
Step S303, the control instruction of user is matched with the configuration strategy of user, not to intelligent air condition if matchingDo any operation;
Step S304, if in the matching process, run into it is a certain be unsatisfactory for control strategy condition, then return mismatch result, soOrder and execution of the mobile terminal into air-conditioning send configuration strategy afterwards.
Specifically, calculate after distance, query messages sent to intelligent air condition by WiFi Aware Follow up interfaces,For obtaining the status information that intelligent air condition is current, intelligent air condition is received after Query Information, can be fed back relevant information,The information such as temperature, the air conditioner wind speed that the main on off state including air-conditioning, current environment temperature, air conditioning mode, air-conditioning are set.
The current longitude and latitude positional information of user is read by system interface, present bit is then got from weather web siteThe Weather information including temperature put, demeanour, humidity, whether rain etc., and the season for judging to be presently according to current dateSection.
After current season is drawn, configuration strategy information of the user to the season is read, and is stored into internal memory, ifThe configuration strategy in season is not corresponded to, then is directly terminated.Air-conditioning is opened when such as summer is higher than some temperature.
Judge whether the distance value calculated meets acquisition configuration strategy distance value, if be unsatisfactory for, directly terminate,If it is satisfied, into next step;When requiring to be more than 20m in such as configuration strategy, triggering closes air-conditioning, such as mobile terminal such asFruit judges that terminal, from being more than 20 with a distance from air-conditioning, will trigger closing air-conditioning always within certain a period of time.Judge current environmentWhether temperature matches with the environment temperature threshold value in configuration strategy, if it does, then the air-conditioning accessed by comparison terminal is currentInformation and user configuring policy information, judge whether weather/humidity of current environment meets setting threshold if it does not match, enteringValue;The environment temperature obtained such as at air-conditioning is 40 degree, to go to open air-conditioning when being more than 35 degree in configuration strategy, then result is justIt is matching.It is to mismatch if environment temperature is 25 degree.
Judge whether weather/humidity of current environment meets setting threshold value, if it is satisfied, then accessed by comparison terminalAir-conditioning current information and user configuring policy information, directly terminate if being unsatisfactory for.Such as current environment humidity is value A, dayGas is moderate rain, and it is moderate rain that configuration strategy, which is weather, when humidity is more than B values, opens dehumidification mode.
Air-conditioning current information and user configuring policy information accessed by comparison terminal, detailed process is referring to comparison strategyFlow chart, as shown in Figure 2:
The detailed process that the control instruction by user is matched with the configuration strategy of user includes:
Step S1:Mobile terminal reads the current air-conditioning state information stored in internal memory and corresponding user configuring strategy;
Step S2:Mobile terminal judges whether current air-conditioner switch state meets the switching requirements in user configuring strategy;IfMeet and perform step S4, if being unsatisfactory for performing step S3;
Step S3:Judge whether current weather humidity conditions meet the humidity in configuration strategy, weather value, if weather humidityCondition mismatches control strategy, then mismatch result is directly returned to, if it is satisfied, then into step S4;
Step S4:Judge whether the pattern of current air-conditioning is consistent with the allocating default required in configuration strategy;If be unsatisfactory for,Return and mismatch result, if it is satisfied, then into step S5;
Step S5:Judge whether intelligent air condition Current Temperatures meet the air-conditioner temperature required in configuration strategy, if be unsatisfactory for,Return and mismatch result, if it is satisfied, then returning to matching normal outcome.
Judge whether the on off state of current air-conditioning meets the switching requirements in configuration strategy, if it is satisfied, then continuing to sentenceWhether the Setting pattern of disconnected current air-conditioning meets the Setting pattern in configuration strategy, continues to judge current setting temperature if meetingWhether degree meets the temperature value in configuration strategy, if all meet, any operation is not done, if a certain condition is unsatisfactory for,Then need to send new configuration strategy information to intelligent air condition.
If matching meets configuration strategy information, any operation is not done to air-conditioning, if in the matching process, there is chancePolicy condition is unsatisfactory for a certain, then returns and mismatches result, then mobile terminal is into intelligent air condition send configuration strategyOrder.For different command types, when sending, different flag bits can be used, such as switch command flag bit is 1, ifIt is 2 to put temperature flag bit.
Step S400, the mobile terminal is sent after control instruction, is waited the intelligent air condition feedback information, is worked as Intelligent airAdjust and receive control instruction and execution result information is fed back into mobile terminal.
It is preferred that the step S400 specifically includes following steps:
Step S401, the mobile terminal is sent after control instruction, the intelligent air condition feedback information is waited, when intelligent air condition connectsWhen receiving control instruction and running succeeded, successful information is fed back to mobile terminal;
Step S402, the mobile terminal is sent after control instruction, the intelligent air condition feedback information is waited, when intelligent air condition connectsWhen receiving control instruction but performing failure, to mobile terminal feeding back unsuccessful information, and error message is pointed out on UI.
Specifically, send after order, mobile terminal waits air-conditioning feedback information, order and successfully set if air-conditioning is receivedPut, then feed back successful information to mobile terminal;If air-conditioning receives order but setup failed, believe to mobile terminal feeding back unsuccessfulBreath, and in UI(User interface)Upper prompting error message.Feedback information success with failure difference with message flag(Programming refers toOrder), successfully represented with 0, unsuccessfully use -1 is represented.
In the present invention, if user is dissatisfied to current air-conditioning equipment, can also manually it be controlled by interface, such asShown in Fig. 3, flow is as follows:
S10, the application initialization operation UI of mobile terminal, provides the user operation entry;
S11, mobile terminal receives the control instruction that user issues by UI, and user, can be right by the different UI in operation interfaceThat answers issues different control instructions, and the control instruction that user issues can carry out packing encapsulation according to different instruction types, thanInstruction flag of such as turning on the aircondition is 1;
S12, mobile terminal sends control instruction by WiFi Aware and gives intelligent air condition equipment;
S13, judges whether air-conditioning feeds back success message and come, if fed back successfully, performs S14, if feedback command fails,Then perform S15;
S14, flow terminates;
S15, points out error message in UI, for pointing out user.
In the present invention, intelligent air condition can be waited by WiFi Aware to external broadcasting own services information after the power-upMobile terminal is attached, after the control instruction that mobile terminal is sent is received, and parsing data are carried out first, present instruction is judgedInformation is a control, or multiple control, such as user individually sends temperature control instruction by interface, then the of command frameOne field can be 1, be followed by instruction type information;The multiple control instruction that user sends, includes switch control, temperature controlSystem, then the first character section of command frame is 2, is followed by individual event instruction specifying information.If individual event is instructed, then directly issueControl, if multinomial instruction, then parses the individual event instruction included, is then handed down to airconditioning control.If instruction is controlled intoWork(, then send to terminal and successfully feed back, unsuccessfully fed back if it fails, then sending.Feedback information success with failure difference withMessage flag, successfully represents, unsuccessfully use -1 is represented with 0.
Present invention also offers a kind of system that intelligent air condition is controlled based on mobile terminal, as shown in figure 4, the system bagInclude:
Communication connection module 210, is communicatively coupled for mobile terminal by communication with intelligent air condition;Specifically such asIt is upper described.
Instruction sending module 220, is received after the control instruction of user by APP applications for the mobile terminal, will controlledThe data of system instruction are sent to the intelligent air condition;As detailed above.
Performing module 230 is instructed, is received for the intelligent air condition after the data that mobile terminal is sent, parsing control refers toThe data of order, judge type and the execution of current control instruction;As detailed above.
As a result feedback module 240, send after control instruction for the mobile terminal, wait the intelligent air condition feedback letterBreath, when intelligent air condition receives control instruction and execution result information is fed back into mobile terminal;As detailed above.
Further, the system that intelligent air condition is controlled based on mobile terminal, wherein, the communication isWiFi Aware;As detailed above.
Further, the system that intelligent air condition is controlled based on mobile terminal, wherein, the instruction sending module toolBody includes:
Configuration strategy setting unit, the APP for opening mobile terminal is applied, and according to UI interface prompt configuration strategies;It is describedConfiguration strategy includes:Season set, temperature threshold set, thermostatic set, wind speed set, pattern set, switch set, away fromSet from threshold value, weather translative mode is set;As detailed above.
Start unit is serviced, the APP applications for the mobile terminal start subscription service, specify the intelligent air condition to setStandby service name, for receiving the service data that intelligent air condition is sent by WiFi Aware, service name is pre- by mobile terminalFirst set, it is consistent with the broadcast service title of intelligent air condition;As detailed above.
Address judgement and metrics calculation unit, the broadcast service equipment for passing through intelligent air condition for the mobile terminalWhether MAC Address is the MAC Address of intelligent air condition, if it is, calculating the relative distance of the mobile terminal and intelligent air condition;If it is not, then terminating flow;As detailed above.
Acquisition of information and parameter set unit, for when the relative distance for calculating the mobile terminal and intelligent air conditionAfterwards, control instruction is sent to intelligent air condition by WiFi Aware interface, for obtaining the status information that intelligent air condition is currentAnd the parameter of intelligent air condition is set;As detailed above.
Further, the system that intelligent air condition is controlled based on mobile terminal, wherein, the instruction performing module toolBody includes:
After current information feedback unit, control instruction for receiving user when the intelligent air condition, by working as intelligent air conditionPreceding air-conditioning state feedback of the information is to the mobile terminal;The current air-conditioning state information includes:On off state, current environmentTemperature, air conditioning mode, temperature, the air conditioner wind speed information of air-conditioning setting;As detailed above.
Instruction type judging unit, receives parsing control after the data that mobile terminal is sent for the intelligent air condition and refers toThe data of order, judge the type of current control instruction;As detailed above.
Instructions match unit, for the control instruction of user to be matched with the configuration strategy of user, if matchingAny operation is not done to intelligent air condition;As detailed above.
Instruction send and execution unit, if in the matching process, run into it is a certain be unsatisfactory for control strategy condition, thenReturn and mismatch result, then order and execution of the mobile terminal into air-conditioning send configuration strategy;As detailed above.
Further, the system that intelligent air condition is controlled based on mobile terminal, wherein, the result feedback module toolBody includes:
First result feedback unit, sends after control instruction for the mobile terminal, waits the intelligent air condition feedback information,When intelligent air condition receives control instruction and runs succeeded, successful information is fed back to mobile terminal;As detailed above.
Second result is fed back and Tip element, is sent for the mobile terminal after control instruction, waits the Intelligent airFeedback information is adjusted, when intelligent air condition receives control instruction but performs failure, to mobile terminal feeding back unsuccessful information, and on UIPoint out error message;As detailed above.
The present invention also provides a kind of mobile terminal, including computer-readable recording medium, is stored thereon with computer program,Wherein, the method that intelligent air condition is controlled based on mobile terminal is realized when the computer program is executed by processor.
In summary, the invention provides a kind of method based on mobile terminal control intelligent air condition, system and movement eventuallyEnd, mobile terminal is communicatively coupled by communication with intelligent air condition;The mobile terminal is received by APP applicationsAfter the control instruction of user, the data of control instruction are sent to the intelligent air condition;The intelligent air condition receives mobile wholeHold after the data sent, parse the data of control instruction, judge type and the execution of current control instruction;The mobile terminal hairSend after control instruction, wait the intelligent air condition feedback information, when intelligent air condition receives control instruction and by execution result informationFeed back to mobile terminal.The present invention by calculating mobile terminal and air-conditioning equipment distance, the current environment temperature of acquisition, weather,The information such as humidity, and the configuration strategy set with user contrasted, if meeting the policy condition of user's setting, Jiu HuixiangIntelligent air condition sends corresponding control command, and realization is automatically controlled to intelligent air condition, can also manually controlled by interfaceSystem, can be detected automatically between the long transmission distance supported by WiFi Aware technologies, equipment connection, so than bluetooth,The technology such as infrared can more facilitate user, and user need not go for remote control again, and terminal can automatically open up air-conditioning equipment, be that user carriesFor convenience.
Certainly, one of ordinary skill in the art will appreciate that realizing all or part of flow in above-described embodiment method,Computer program is can be by instruct related hardware(Such as processor, controller etc.)To complete, described program can be storedIn the storage medium of an embodied on computer readable, the program may include such as the flow of above-mentioned each method embodiment upon execution.ItsDescribed in storage medium can be for memory, magnetic disc, CD etc..
It should be appreciated that the application of the present invention is not limited to above-mentioned citing, for those of ordinary skills, canTo be improved or converted according to the above description, all these modifications and variations should all belong to the guarantor of appended claims of the present inventionProtect scope.

Claims (10)

CN201710257293.5A2017-04-192017-04-19Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminalActiveCN107101326B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710257293.5ACN107101326B (en)2017-04-192017-04-19Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710257293.5ACN107101326B (en)2017-04-192017-04-19Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal

Publications (2)

Publication NumberPublication Date
CN107101326Atrue CN107101326A (en)2017-08-29
CN107101326B CN107101326B (en)2020-08-11

Family

ID=59657543

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710257293.5AActiveCN107101326B (en)2017-04-192017-04-19Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal

Country Status (1)

CountryLink
CN (1)CN107101326B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107895468A (en)*2017-10-302018-04-10广东美的制冷设备有限公司Remote control matching method, device and computer-readable recording medium
CN109341025A (en)*2018-10-222019-02-15四川虹美智能科技有限公司A kind of intelligent air condition centralized management system and method
CN109506325A (en)*2018-09-142019-03-22上海擎感智能科技有限公司Intelligent air condition autocontrol method, system, storage medium and equipment
CN110048906A (en)*2019-03-272019-07-23网宿科技股份有限公司A kind of method, system, device and server judging node-node transmission quality
CN110174887A (en)*2019-06-152019-08-27泉州昌荣贸易有限公司The method for maintaining of smart home device
CN110345606A (en)*2018-04-032019-10-18青岛海尔空调电子有限公司The method, apparatus and computer readable storage medium of Air-condition system control
CN110542179A (en)*2019-09-112019-12-06珠海格力电器股份有限公司control method and device of air conditioner
CN110864406A (en)*2019-11-202020-03-06四川虹美智能科技有限公司Intelligent air conditioner and intelligent air conditioner control method
WO2020073476A1 (en)*2018-10-092020-04-16珠海格力电器股份有限公司Method and system for controlling temperature controllers, controlling temperature controller, and controlled temperature controller
CN112406452A (en)*2019-08-232021-02-26上海汽车集团股份有限公司 A control system, vehicle and method for heat pump air conditioner
CN112747436A (en)*2021-01-042021-05-04青岛海尔空调器有限总公司Control method for dehumidification of air conditioner and air conditioner
CN112856733A (en)*2021-01-292021-05-28青岛海尔空调器有限总公司Air conditioner control method based on mobile terminal and mobile terminal
WO2021226823A1 (en)*2020-05-122021-11-18梅州市青塘实业有限公司Remote control method and apparatus for air conditioner, and control unit and storage medium
CN113686001A (en)*2021-08-252021-11-23四川虹美智能科技有限公司Air conditioner control method and system based on NFC
CN115289600A (en)*2022-07-262022-11-04珠海格力电器股份有限公司Linkage control method, device, equipment, system and storage medium of equipment
CN115396984A (en)*2022-08-242022-11-25润芯微科技(江苏)有限公司Method for mobile terminal to sense remote controller of display equipment based on WiFi
CN116055239A (en)*2023-01-122023-05-02深圳前海同益网络技术有限公司WiFi Aware-based remote control method and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102215257A (en)*2011-05-312011-10-12佘培嘉Intelligent network central air conditioning system
CN202216359U (en)*2011-08-052012-05-09珠海格力电器股份有限公司Control terminal of air conditioner
CN102705965A (en)*2012-06-082012-10-03广东志高空调有限公司Air conditioner controlled by mobile intelligent terminal
CN103188092A (en)*2011-12-282013-07-03中国移动通信集团北京有限公司Remote equipment control method, remote equipment control device and control server
CN103234254A (en)*2013-04-122013-08-07惠州Tcl家电集团有限公司Server-based method for optimizing performance parameters of air conditioner, air conditioner and server
CN104764139A (en)*2015-03-032015-07-08广东美的暖通设备有限公司Air conditioning and mobile terminal and matching method and system thereof
CN105608772A (en)*2015-12-222016-05-25Tcl集团股份有限公司Intelligent unlocking method and device
EP3120616A1 (en)*2014-05-062017-01-25MediaTek Singapore Pte. Ltd.Method for discovering services
CN106371333A (en)*2015-07-202017-02-01阿里巴巴集团控股有限公司Controlling method, apparatus, and system for intelligent device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102215257A (en)*2011-05-312011-10-12佘培嘉Intelligent network central air conditioning system
CN202216359U (en)*2011-08-052012-05-09珠海格力电器股份有限公司Control terminal of air conditioner
CN103188092A (en)*2011-12-282013-07-03中国移动通信集团北京有限公司Remote equipment control method, remote equipment control device and control server
CN102705965A (en)*2012-06-082012-10-03广东志高空调有限公司Air conditioner controlled by mobile intelligent terminal
CN103234254A (en)*2013-04-122013-08-07惠州Tcl家电集团有限公司Server-based method for optimizing performance parameters of air conditioner, air conditioner and server
EP3120616A1 (en)*2014-05-062017-01-25MediaTek Singapore Pte. Ltd.Method for discovering services
CN104764139A (en)*2015-03-032015-07-08广东美的暖通设备有限公司Air conditioning and mobile terminal and matching method and system thereof
CN106371333A (en)*2015-07-202017-02-01阿里巴巴集团控股有限公司Controlling method, apparatus, and system for intelligent device
CN105608772A (en)*2015-12-222016-05-25Tcl集团股份有限公司Intelligent unlocking method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
樊伟梁: "《简明工程建设电气监理工程师手册》", 30 April 2003*
王宝山: "《计算机绘图及其在测量工程中的应用》", 30 June 1995*

Cited By (18)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN107895468A (en)*2017-10-302018-04-10广东美的制冷设备有限公司Remote control matching method, device and computer-readable recording medium
CN110345606A (en)*2018-04-032019-10-18青岛海尔空调电子有限公司The method, apparatus and computer readable storage medium of Air-condition system control
CN109506325A (en)*2018-09-142019-03-22上海擎感智能科技有限公司Intelligent air condition autocontrol method, system, storage medium and equipment
WO2020073476A1 (en)*2018-10-092020-04-16珠海格力电器股份有限公司Method and system for controlling temperature controllers, controlling temperature controller, and controlled temperature controller
CN109341025A (en)*2018-10-222019-02-15四川虹美智能科技有限公司A kind of intelligent air condition centralized management system and method
CN110048906A (en)*2019-03-272019-07-23网宿科技股份有限公司A kind of method, system, device and server judging node-node transmission quality
CN110048906B (en)*2019-03-272021-04-02网宿科技股份有限公司Method, system, device and server for judging node transmission quality
CN110174887A (en)*2019-06-152019-08-27泉州昌荣贸易有限公司The method for maintaining of smart home device
CN112406452A (en)*2019-08-232021-02-26上海汽车集团股份有限公司 A control system, vehicle and method for heat pump air conditioner
CN110542179A (en)*2019-09-112019-12-06珠海格力电器股份有限公司control method and device of air conditioner
CN110864406A (en)*2019-11-202020-03-06四川虹美智能科技有限公司Intelligent air conditioner and intelligent air conditioner control method
WO2021226823A1 (en)*2020-05-122021-11-18梅州市青塘实业有限公司Remote control method and apparatus for air conditioner, and control unit and storage medium
CN112747436A (en)*2021-01-042021-05-04青岛海尔空调器有限总公司Control method for dehumidification of air conditioner and air conditioner
CN112856733A (en)*2021-01-292021-05-28青岛海尔空调器有限总公司Air conditioner control method based on mobile terminal and mobile terminal
CN113686001A (en)*2021-08-252021-11-23四川虹美智能科技有限公司Air conditioner control method and system based on NFC
CN115289600A (en)*2022-07-262022-11-04珠海格力电器股份有限公司Linkage control method, device, equipment, system and storage medium of equipment
CN115396984A (en)*2022-08-242022-11-25润芯微科技(江苏)有限公司Method for mobile terminal to sense remote controller of display equipment based on WiFi
CN116055239A (en)*2023-01-122023-05-02深圳前海同益网络技术有限公司WiFi Aware-based remote control method and system

Also Published As

Publication numberPublication date
CN107101326B (en)2020-08-11

Similar Documents

PublicationPublication DateTitle
CN107101326A (en)A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition
US11137158B2 (en)HVAC control with a remote user interface and a remote temperature sensor
CN103512159B (en)Air conditioner and air conditioner control system
CN105387563B (en)Air conditioner, control method, device and system thereof and remote server
KR101208212B1 (en)A network system and a control method the same
US7826395B2 (en)Communication system using zigbee and method of controlling the same
CN103383134B (en)A kind of intelligent air-conditioning system and air conditioning control method
CN106230671A (en)Smart home control method and device and terminal
CN102694706A (en)Internet of things type home appliance system with cloud service function and method for controlling internet of things type home appliance system
CN103982982A (en)Control method of air conditioner, and air conditioner
CN104566865B (en)Multi-split air conditioner and control method thereof
CN106341782A (en)Mobile terminal and household electric appliance communication method and system
WO2008006288A1 (en)A remote location control method and system, remote control end and controlled end
CN106403157A (en)Wireless network-based air conditioner abnormal operation prompting system and prompting method thereof
CN108391298A (en)A kind of system and electronic equipment of network automatic switchover
WO2016095286A1 (en)Method, device and terminal for controlling intelligent household devices
JP2009135783A (en) Communication adapter and connection information setting method thereof
US20160063853A1 (en)Personalized home situation control system and personalized home situation control method
TWI524620B (en) Radiator control method
CN113915907A (en)Refrigerator and refrigerator networking method
CN104914730A (en)Novel intelligent household operation interface automatic switching control system and method
CN106288154A (en)Air conditioner and control method, device and system thereof
CN102374607A (en)Air-conditioning remote-control unit with text message function
CN107632594A (en)A kind of electrical equipment centralized control system and control method based on wireless network
CN202630316U (en)Air conditioner and air conditioner control system

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp