CN110542179A - control method and device of air conditioner - Google Patents

control method and device of air conditioner Download PDF

Info

Publication number
CN110542179A
CN110542179A CN201910859577.0A CN201910859577A CN110542179A CN 110542179 A CN110542179 A CN 110542179A CN 201910859577 A CN201910859577 A CN 201910859577A CN 110542179 A CN110542179 A CN 110542179A
Authority
CN
China
Prior art keywords
air conditioner
target
infrared tube
control instruction
identification 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.)
Pending
Application number
CN201910859577.0A
Other languages
Chinese (zh)
Inventor
祝泽坤
陈道远
杨苗
谢颖浩
周宝
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology 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 Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910859577.0A priority Critical patent/CN110542179A/en
Publication of CN110542179A publication Critical patent/CN110542179A/en
Pending legal-status Critical Current

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/10Temperature

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Selective Calling Equipment (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses a control method and device of an air conditioner, and is applied to the technical field of intelligent terminals. The method comprises the following steps: the air conditioner partner receives a control instruction sent by the intelligent equipment, wherein the control instruction carries specified air conditioner identification information, then, based on the air conditioner identification information, a corresponding target air conditioner is searched, the position of the target air conditioner is detected, and further, based on the position, a target infrared tube is selected and the control instruction is sent to the target air conditioner through the target infrared tube. Therefore, effective transmission of control instructions can be guaranteed, accurate control over the target air conditioner is achieved, the aim of flexibly controlling the target air conditioner is achieved, accurate positioning of the target air conditioner is guaranteed, the situation of control failure is avoided, the probability of control errors is reduced, the management performance of the system is enhanced, the actual requirements of users are met, and user experience is further improved.

Description

control method and device of air conditioner
Technical Field
The invention relates to an intelligent terminal technology, in particular to a control method and device of an air conditioner.
Background
at present, most of the homes of users are open home spaces, such as a living room with a relatively wide space, and generally, a plurality of air conditioners are owned in the same home space, so that how to control the air conditioners becomes more and more important.
The traditional air conditioner control needs manual control or remote control type short-distance control, the distance needs to be drawn close to waste actions when the air conditioner needs to be controlled, and even if the air conditioner needs to be controlled in the same household space, various obstacles can possibly influence the air conditioner, so that control instructions cannot be effectively transmitted to the air conditioner.
in addition, research shows that the air conditioner can be controlled by an air conditioner partner, however, as shown in fig. 1, most air conditioner partners on the market currently have a plurality of infrared transmitting tubes, and each infrared transmitting tube is controlled by the same Input/Output (IO) port of a chip of the air conditioner partner, although the IO port resources are saved by the hardware structure, the hardware structure can cause that other infrared tubes can transmit infrared codes only by controlling the transmission of one infrared tube, so that all air conditioners in a one-time control range are controlled, that is, the air conditioner partners can turn on all air conditioners at once, and the transmission of the omnibearing infrared codes can interfere with the identification of other infrared electrical appliances, the air conditioners cannot be flexibly controlled, the accurate control of the air conditioners cannot be realized, and the management efficiency is reduced.
therefore, it is necessary to design a control method of an air conditioner to solve the above problems.
Disclosure of Invention
The invention aims to provide a control method and a control device of an air conditioner, which are used for effectively improving the management efficiency and ensuring the control accuracy.
a control method of an air conditioner is applied to an air conditioner partner and comprises the following steps:
Receiving a control instruction sent by intelligent equipment, wherein the control instruction carries specified air conditioner identification information;
Searching a corresponding target air conditioner based on the air conditioner identification information, and detecting the direction of the target air conditioner;
And selecting a target infrared tube based on the position, and sending the control instruction to the target air conditioner through the target infrared tube.
optionally, before receiving the control instruction sent by the smart device, the method further includes:
Receiving an initial control instruction sent by intelligent equipment, and acquiring a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner;
and storing the first identification information, and sending the first identification information to the intelligent equipment.
Optionally, based on the position, selecting a target infrared tube, and sending the control instruction to the target air conditioner through the target infrared tube, including:
Determining a target infrared tube with the smallest included angle with the target air conditioner based on the direction;
And starting the target infrared tube, and sending an infrared code to the target air conditioner through the target infrared tube, wherein the infrared code carries the control instruction, and one target infrared tube corresponds to one input/output (IO) port of a main control chip of the air conditioner partner.
optionally, based on the position, determining a target infrared tube having a minimum included angle with the target air conditioner includes:
Determining a target area where the target air conditioner is located based on the azimuth, and determining at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides;
Taking a connecting line between the target air conditioner and the main control chip as a third side, calculating a first angle between the first side and the third side, calculating a second angle between the second side and the third side, and judging whether the first angle is larger than the second angle;
if so, taking a second infrared tube corresponding to the second side as the target infrared tube;
And otherwise, taking the first infrared tube corresponding to the first edge as the target infrared tube.
Optionally, after sending the control instruction to the target air conditioner based on the orientation, the method further includes:
Receiving response information returned by the target air conditioner, and judging whether the control instruction is successfully sent to the target air conditioner according to the response information;
if yes, feeding back a control success instruction to the intelligent equipment;
and otherwise, feeding back a control failure instruction to the intelligent equipment.
an air conditioning companion, optionally, comprising:
The intelligent device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a control instruction sent by the intelligent device, and the control instruction carries specified air conditioner identification information;
the processing unit is used for searching a corresponding target air conditioner based on the air conditioner identification information and detecting the direction of the target air conditioner;
And the sending unit is used for selecting a target infrared tube based on the azimuth and sending the control instruction to the target air conditioner through the target infrared tube.
optionally, before receiving the control instruction sent by the smart device, the receiving unit is further configured to:
receiving an initial control instruction sent by intelligent equipment, and acquiring a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner;
And storing the first identification information, and sending the first identification information to the intelligent equipment.
optionally, based on the position, a target infrared tube is selected, and the control instruction is sent to the target air conditioner through the target infrared tube, where the sending unit is configured to:
Determining a target infrared tube with the smallest included angle with the target air conditioner based on the direction;
And starting the target infrared tube, and sending an infrared code to the target air conditioner through the target infrared tube, wherein the infrared code carries the control instruction, and one target infrared tube corresponds to one input/output (IO) port of a main control chip of the air conditioner partner.
Optionally, based on the position, a target infrared tube with a minimum included angle with the target air conditioner is determined, and the sending unit is configured to:
Determining a target area where the target air conditioner is located based on the azimuth, and determining at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides;
taking a connecting line between the target air conditioner and the main control chip as a third side, calculating a first angle between the first side and the third side, calculating a second angle between the second side and the third side, and judging whether the first angle is larger than the second angle;
if so, taking a second infrared tube corresponding to the second side as the target infrared tube;
And otherwise, taking the first infrared tube corresponding to the first edge as the target infrared tube.
Optionally, after sending the control instruction to the target air conditioner based on the orientation, the sending unit is further configured to:
receiving response information returned by the target air conditioner, and judging whether the control instruction is successfully sent to the target air conditioner according to the response information;
if yes, feeding back a control success instruction to the intelligent equipment;
And otherwise, feeding back a control failure instruction to the intelligent equipment.
a storage medium, optionally, storing a program for implementing a method of controlling an air conditioner, the program, when executed by a processor, performing the steps of:
receiving a control instruction sent by intelligent equipment, wherein the control instruction carries specified air conditioner identification information;
Searching a corresponding target air conditioner based on the air conditioner identification information, and detecting the direction of the target air conditioner;
And selecting a target infrared tube based on the position, and sending the control instruction to the target air conditioner through the target infrared tube.
a communications apparatus, optionally, comprising one or more processors; and one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the method of any of the above.
In summary, in the embodiment of the present invention, an air conditioner partner receives a control instruction sent by an intelligent device, where the control instruction carries specified air conditioner identification information, then searches for a corresponding target air conditioner based on the air conditioner identification information, detects a position of the target air conditioner, further selects a target infrared tube based on the position, and sends the control instruction to the target air conditioner through the target infrared tube. Therefore, effective transmission of control instructions can be guaranteed, accurate control over the target air conditioner is achieved, the aim of flexibly controlling the target air conditioner is achieved, accurate positioning of the target air conditioner is guaranteed, the situation of control failure is avoided, the probability of control errors is reduced, the management performance of the system is enhanced, the actual requirements of users are met, and user experience is further improved.
Drawings
FIG. 1 is a schematic diagram of an air conditioning partner according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating a binding process of an air conditioner partner according to an embodiment of the present disclosure;
FIG. 3 is a detailed flowchart illustrating the air conditioning control according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of the internal structure of an air conditioning partner in an embodiment of the present invention;
Fig. 5 is a functional structure diagram of an air-conditioning partner in an embodiment of the present invention.
Detailed Description
the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
in the embodiment of the invention, the air conditioner partner is used as intelligent equipment control software, can receive the control instruction sent by the intelligent equipment, and further sends the control instruction to the target air conditioner through the selected infrared tube, so that a user can remotely control the target air conditioner through the intelligent equipment, and intelligent functions such as timing on-off of the target air conditioner are realized. In addition, the air conditioner partner is similar to an intelligent socket, and when the target air conditioner is connected with the air conditioner partner through a wired plug, the air conditioner partner can monitor and manage the target air conditioner in real time.
the air conditioner control method provided by the embodiment of the present invention may include two parts, that is, a binding flow of the air conditioner partner and a detailed control flow of the air conditioner, and referring to fig. 2, before controlling the air conditioner, the detailed binding flow of the air conditioner partner is as follows:
step 200: and the air conditioner partner receives an initial control instruction sent by the intelligent equipment.
Specifically, in the embodiment of the present invention, when the intelligent device needs to control the air conditioner, the initial control instruction may be first sent to the air conditioner partner, so as to implement the control process.
The air conditioner partner is mainly integrated with functions of a gateway, an intelligent socket, an infrared remote controller and the like, and a user can directly set the air conditioner for remote switching, temperature regulation and the like through an intelligent sound box or a mobile phone. Namely, the air conditioner partner changes the traditional air conditioner into an intelligent air conditioner, so that the air conditioner without an intelligent function can be controlled by a mobile phone. For example, the mobile phone can perform information interaction with the air conditioner partner through a wireless fidelity (WiFi) network, so as to control the air conditioner device connected with the air conditioner partner, thereby achieving the purpose of remotely controlling the air conditioner.
Step 210: and the air conditioner partner acquires a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner.
For example, when the air conditioner partner 1 receives an initial control instruction sent by a mobile phone, it is determined that the mobile phone needs to control a plurality of air conditioners, and then, after the air conditioner partner searches for bluetooth of an air conditioner through the bluetooth, a plurality of pieces of first identification information are obtained according to broadcast information of the air conditioner, wherein the broadcast information includes the plurality of pieces of first identification information, and each air conditioner has its own identification information.
step 220: and the air conditioner partner receives the selection information sent by the intelligent device and judges whether the air conditioners need to be bound according to the selection information, if so, step 230 is executed, and if not, step 240 is executed.
Specifically, in the embodiment of the present invention, after receiving the initial control instruction sent by the intelligent device, the air conditioner companion may send the prompt information to the intelligent device, that is, prompt the user about which air conditioners need to be bound, where the binding is equivalent to storing the identification information of the air conditioner 1, and when the air conditioner companion is used later, the air conditioner companion may directly control the air conditioner 1. After the user selects a plurality of air conditioners, the intelligent device may send selection information of the user to the air conditioner partner, if the air conditioner partner determines that the plurality of air conditioners need to be bound according to the selection information, step 230 is executed, otherwise, step 240 is executed.
Step 230: and the air conditioner partner stores the first identification information and sends the first identification information to the intelligent equipment.
for example, the first identification information of the air conditioner 1 is a, the first identification information of the air conditioner 2 is B, that is, the air conditioner 1 is identified by a, the air conditioner 2 is identified by B, when the air conditioner partner determines that the air conditioner 1 and the air conditioner 2 need to be bound according to the selection information, the identification information of the air conditioner 1 and the air conditioner 2 is stored, and then the binding information carrying the air conditioner 1 and the air conditioner 2 is sent to the mobile phone, which indicates that the air conditioner partner has been successfully bound with the air conditioner 1 and the air conditioner 2 at this time. The user can see the air conditioner information bound with the air conditioner partner through the mobile phone, namely, the mobile phone displays the air conditioner 1 and the air conditioner 2 to the user. In addition, the air conditioner partner can also add information such as temperature, air volume, whether the air conditioner partner operates or not into the binding information, and the information is fed back to the mobile phone together to read the working state of the air conditioner at the right time.
step 240: and the air conditioner partner returns binding failure information to the intelligent equipment.
For example, when the air conditioner partner determines that the air conditioner does not need to be bound according to the selection information, the air conditioner partner sends binding failure information to the mobile phone.
in the embodiment of the present invention, referring to fig. 3, after the binding process between the air conditioner and a plurality of air conditioners is completed, the air conditioner partner may control the air conditioners, and the detailed process is as follows:
step 300: the air conditioner partner receives a control instruction sent by the intelligent equipment, wherein the control instruction carries specified air conditioner identification information.
specifically, in the embodiment of the present invention, after the air conditioners are bound, the intelligent device may send the identification information of the air conditioners carrying the designation information to the air conditioner partner.
For example, when the user starts the air conditioner 1, the user sends a control instruction to start the air conditioner 1 through a mobile phone, and after the identification information of the air conditioner 1 is added to the start instruction, the start instruction is sent to the air conditioner partner to indicate that the air conditioner 1 needs to be started at this time.
Step 310: and the air conditioner partner searches a corresponding target air conditioner based on the air conditioner identification information and detects the direction of the target air conditioner.
For example, after the air conditioner partner receives the identification information of the air conditioner 1 sent by the intelligent device, the bluetooth is started, the bluetooth of the air conditioner 1 is searched through the bluetooth, and the direction of the air conditioner 1 is obtained by searching the bluetooth signal of the air conditioner 1.
Step 320: the air conditioning companion selects a target infrared tube based on the orientation.
specifically, in the embodiment of the present invention, the air conditioner partner acquires the azimuth through bluetooth, but the inside of the air conditioner partner sends the control instruction through the infrared tube, which is equivalent to sending the infrared code through the infrared tube, so as to control the target air conditioner, and therefore, after acquiring the azimuth of the target air conditioner through bluetooth, the air conditioner partner may select the optimal target infrared tube according to the azimuth, that is, determine the target infrared tube having the smallest included angle with the target air conditioner based on the azimuth information.
For example, referring to fig. 4, 4 Input/Output (IO) ports are provided on a main control chip of an air conditioner partner, and the 4 IO ports correspond to 4 infrared tubes, that is, an IO port 1 controls an infrared tube 1, an IO port 2 controls an infrared tube 2, an IO port 3 controls an infrared tube 3, and an IO port 4 controls an infrared tube 4.
Specifically, when step 320 is executed, the following steps may be executed:
step A: the air conditioner partner determines a target area where the target air conditioner is located based on the azimuth, and determines at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides.
for example, if the main control chip is used as the origin O, the straight line where the infrared tube 4 and the infrared tube 2 are located is used as the x-axis, and the straight line where the infrared tube 1 and the infrared tube 3 are located is used as the y-axis, then the first quadrant of the coordinate axis corresponding to the region 1, the second quadrant of the coordinate axis corresponding to the region 2, the third quadrant of the coordinate axis corresponding to the region 3, and the fourth quadrant of the coordinate axis corresponding to the region 4 are defined. When the air conditioner partner obtains the air conditioner 1 with the orientation of 30 degrees north-east, the target area where the air conditioner 1 is located is determined to be the area 1, namely, the first side of the area 1 is a connecting line where the main control chip and the infrared tube 1 are located, and the second side of the area 1 is a connecting line where the main control chip and the infrared tube 2 are located, then the first infrared tube corresponding to the first side is determined to be the infrared tube 1, and the second infrared tube corresponding to the second side is determined to be the infrared tube 2.
and B: the air conditioner partner takes a connecting line of the target air conditioner and the main control chip as a third edge, calculates a first angle between the first edge and the third edge, calculates a second angle between the second edge and the third edge, judges whether the first angle is larger than the second angle or not, and executes execution if the first angle is larger than the second angle
and C, otherwise, executing the step D.
for example, the air conditioner partner uses a connection line between the air conditioner 1 and the main control chip as a third side, then calculates an angle between the first side and the third side as 60 degrees, that is, the first angle is 60 degrees, calculates an angle between the second side and the third side as 30 degrees, that is, the second angle is 30 degrees, and further determines whether the obtained first angle is greater than the second angle.
And C: and the air conditioning partner takes a second infrared tube corresponding to the second side as the target infrared tube.
For example, when the first angle calculated by the air-conditioning partner is 60 degrees and the second angle is 30 degrees, since 60 degrees >30 degrees, the air-conditioning partner determines that the first angle is larger than the second angle, and thus, the infrared tube 2 corresponding to the second side is set as the target infrared tube.
Step D: the air conditioner partner takes the first infrared tube corresponding to the first edge as the target infrared tube.
For example, when the first angle calculated by the air-conditioning partner is 25 degrees and the second angle is 65 degrees, since 25 degrees <65 degrees, the air-conditioning partner determines that the first angle is smaller than the second angle, and thus, the infrared tube 1 corresponding to the first side is set as the target infrared tube.
Step 330: and the air conditioner partner sends the control instruction to the target air conditioner through the target infrared tube.
Specifically, in the embodiment of the present invention, after a target infrared tube having a smallest included angle with the target air conditioner is selected, an air conditioner partner may control the target air conditioner through the target infrared tube, that is, the target infrared tube is started, and an infrared code is sent to the target air conditioner through the target infrared tube, where the infrared code carries the control instruction, and the target infrared tube corresponds to one IO port of a main control chip of the air conditioner partner.
for example, the air conditioner partner determines that the first angle is larger than the second angle, and after the infrared tube 2 corresponding to the second side is taken as the target infrared tube, the air conditioner partner starts the infrared tube 2, so that the infrared code carrying the control instruction can be sent to the air conditioner 1 through the infrared tube 2, and in the sending process, the control instruction is sent out from the infrared tube 2 through the IO port 2, so that the direct one-to-one correspondence relationship between the IO port and the infrared tube is realized.
step 340: and the air conditioner partner receives response information returned by the target air conditioner and judges whether the control instruction is successfully sent to the target air conditioner or not according to the response information, if so, step 350 is executed, and if not, step 360 is executed.
specifically, in the embodiment of the present invention, after the control instruction is sent to the target air conditioner through the target infrared tube, the target air conditioner may send a response message to an air conditioner partner, and then the air conditioner partner determines whether the control instruction is successfully sent to the target air conditioner according to the response message, if it is determined that the control instruction is successfully sent to the target air conditioner, step 350 is executed, otherwise, step 360 is executed.
Step 350: and the air conditioner partner feeds back a control success instruction to the intelligent equipment.
specifically, in the embodiment of the present invention, when the air conditioner partner determines that the control instruction is successfully sent to the target air conditioner, the air conditioner partner sends the control success instruction to the intelligent device.
for example, the air conditioner partner receives response information returned by the air conditioner 1, determines that the air conditioner 1 is started successfully, determines that the air conditioner 1 is controlled successfully when the air conditioner 1 returns to the current working state of the air conditioner 1, and further sends a control success instruction for the air conditioner 1 to the mobile phone.
step 360: and the air conditioner partner feeds back a control failure instruction to the intelligent equipment.
Specifically, in the embodiment of the present invention, the air conditioner partner determines that the control instruction is not successfully sent to the target air conditioner, that is, when the sending fails, the air conditioner partner sends the control failure instruction to the intelligent device, which indicates that the control flow of the target air conditioner cannot be implemented at this time.
Based on the above embodiments, as shown in fig. 5, in an embodiment of the present invention, an air conditioner partner at least includes: a receiving unit 500, a processing unit 510, and a transmitting unit 520, wherein,
The receiving unit 500 is configured to receive a control instruction sent by an intelligent device, where the control instruction carries specified air conditioner identification information;
a processing unit 510, configured to search for a corresponding target air conditioner based on the air conditioner identification information, and detect a position of the target air conditioner;
And the sending unit 520 is used for selecting a target infrared tube based on the azimuth and sending the control instruction to the target air conditioner through the target infrared tube.
Optionally, before receiving the control instruction sent by the smart device, the receiving unit 500 is further configured to:
Receiving an initial control instruction sent by intelligent equipment, and acquiring a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner;
And storing the first identification information, and sending the first identification information to the intelligent equipment.
Optionally, based on the position, a target infrared tube is selected, and the control instruction is sent to the target air conditioner through the target infrared tube, where the sending unit 520 is configured to:
determining a target infrared tube with the smallest included angle with the target air conditioner based on the direction;
and starting the target infrared tube, and sending an infrared code to the target air conditioner through the target infrared tube, wherein the infrared code carries the control instruction, and one target infrared tube corresponds to one input/output (IO) port of a main control chip of the air conditioner partner.
Optionally, based on the position, a target infrared tube with a minimum included angle with the target air conditioner is determined, and the sending unit 520 is configured to:
Determining a target area where the target air conditioner is located based on the azimuth, and determining at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides;
taking a connecting line between the target air conditioner and the main control chip as a third side, calculating a first angle between the first side and the third side, calculating a second angle between the second side and the third side, and judging whether the first angle is larger than the second angle;
if so, taking a second infrared tube corresponding to the second side as the target infrared tube;
and otherwise, taking the first infrared tube corresponding to the first edge as the target infrared tube.
Optionally, after sending the control instruction to the target air conditioner based on the orientation, the sending unit 520 is further configured to:
receiving response information returned by the target air conditioner, and judging whether the control instruction is successfully sent to the target air conditioner according to the response information;
if yes, feeding back a control success instruction to the intelligent equipment;
and otherwise, feeding back a control failure instruction to the intelligent equipment.
Based on the same inventive concept, an embodiment of the present invention provides a storage medium storing a program for implementing a method of controlling an air conditioner, the program, when executed by a processor, performing the steps of:
Receiving a control instruction sent by intelligent equipment, wherein the control instruction carries specified air conditioner identification information;
searching a corresponding target air conditioner based on the air conditioner identification information, and detecting the direction of the target air conditioner;
and selecting a target infrared tube based on the position, and sending the control instruction to the target air conditioner through the target infrared tube.
Based on the same inventive concept, the embodiment of the invention provides a communication device, which comprises one or more processors; and one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the method of any of the above.
in summary, in the embodiment of the present invention, first, an air conditioner partner receives a control instruction sent by an intelligent device, where the control instruction carries specified air conditioner identification information, then, based on the air conditioner identification information, searches for a corresponding target air conditioner, and detects a position of the target air conditioner, and finally, based on the position, selects a target infrared tube, and sends the control instruction to the target air conditioner through the target infrared tube. Like this, the air conditioner companion can realize the control to the target air conditioner based on the position of target air conditioner, guarantees that control command effectively transmits for the target air conditioner, realizes the accurate control to the target air conditioner, reduces the interference to other air conditioners, reaches the purpose of carrying out nimble control to the target air conditioner to, be after selecting the target infrared pipe, through the infrared pipe sends control signaling, guarantees to the accurate positioning of target air conditioner, avoids appearing the circumstances of control failure, reduces the probability of control error, strengthens the managerial ability of system, satisfies user's actual demand, further improves user experience.
as will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
the present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
these computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
it will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (12)

1. a control method of an air conditioner is characterized in that the method is applied to an air conditioner partner and comprises the following steps:
receiving a control instruction sent by intelligent equipment, wherein the control instruction carries specified air conditioner identification information;
searching a corresponding target air conditioner based on the air conditioner identification information, and detecting the direction of the target air conditioner;
And selecting a target infrared tube based on the position, and sending the control instruction to the target air conditioner through the target infrared tube.
2. the method of claim 1, wherein prior to receiving the control instruction sent by the smart device, further comprising:
Receiving an initial control instruction sent by intelligent equipment, and acquiring a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner;
and storing the first identification information, and sending the first identification information to the intelligent equipment.
3. The method of claim 1, wherein selecting a target infrared tube based on the orientation and sending the control command to the target air conditioner through the target infrared tube comprises:
Determining a target infrared tube with the smallest included angle with the target air conditioner based on the direction;
And starting the target infrared tube, and sending an infrared code to the target air conditioner through the target infrared tube, wherein the infrared code carries the control instruction, and one target infrared tube corresponds to one input/output (IO) port of a main control chip of the air conditioner partner.
4. the method of claim 3, wherein determining a target infrared tube having a smallest included angle with the target air conditioner based on the orientation comprises:
Determining a target area where the target air conditioner is located based on the azimuth, and determining at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides;
Taking a connecting line between the target air conditioner and the main control chip as a third side, calculating a first angle between the first side and the third side, calculating a second angle between the second side and the third side, and judging whether the first angle is larger than the second angle;
if so, taking a second infrared tube corresponding to the second side as the target infrared tube;
and otherwise, taking the first infrared tube corresponding to the first edge as the target infrared tube.
5. the method of claim 1, wherein after sending the control instruction to the target air conditioner based on the orientation, further comprising:
receiving response information returned by the target air conditioner, and judging whether the control instruction is successfully sent to the target air conditioner according to the response information;
If yes, feeding back a control success instruction to the intelligent equipment;
and otherwise, feeding back a control failure instruction to the intelligent equipment.
6. an air conditioning companion, comprising:
The intelligent device comprises a receiving unit, a processing unit and a processing unit, wherein the receiving unit is used for receiving a control instruction sent by the intelligent device, and the control instruction carries specified air conditioner identification information;
The processing unit is used for searching a corresponding target air conditioner based on the air conditioner identification information and detecting the direction of the target air conditioner;
and the sending unit is used for selecting a target infrared tube based on the azimuth and sending the control instruction to the target air conditioner through the target infrared tube.
7. The air conditioning companion of claim 6 wherein prior to receiving the control command sent by the smart device, the receiving unit is further configured to:
receiving an initial control instruction sent by intelligent equipment, and acquiring a plurality of pieces of first identification information corresponding to a plurality of air conditioners according to the initial control instruction, wherein one piece of first identification information is used for uniquely identifying one air conditioner;
And storing the first identification information, and sending the first identification information to the intelligent equipment.
8. The air conditioning partner of claim 6, wherein based on the orientation, a target infrared tube is selected and the control instruction is sent to the target air conditioner via the target infrared tube, the sending unit to:
determining a target infrared tube with the smallest included angle with the target air conditioner based on the direction;
And starting the target infrared tube, and sending an infrared code to the target air conditioner through the target infrared tube, wherein the infrared code carries the control instruction, and one target infrared tube corresponds to one input/output (IO) port of a main control chip of the air conditioner partner.
9. the air conditioning companion of claim 8 wherein based on the orientation, a target infrared tube is determined that has a minimum included angle with the target air conditioner, the transmitting unit to:
determining a target area where the target air conditioner is located based on the azimuth, and determining at least one first infrared tube and at least one second infrared tube according to two sides where the target area is located, wherein the at least one first infrared tube corresponds to a first side of the two sides, and the at least one second infrared tube corresponds to a second side of the two sides;
Taking a connecting line between the target air conditioner and the main control chip as a third side, calculating a first angle between the first side and the third side, calculating a second angle between the second side and the third side, and judging whether the first angle is larger than the second angle;
If so, taking a second infrared tube corresponding to the second side as the target infrared tube;
And otherwise, taking the first infrared tube corresponding to the first edge as the target infrared tube.
10. The air conditioning companion of claim 6 wherein after sending the control instruction to the target air conditioner based on the orientation, the sending unit is further configured to:
Receiving response information returned by the target air conditioner, and judging whether the control instruction is successfully sent to the target air conditioner according to the response information;
if yes, feeding back a control success instruction to the intelligent equipment;
And otherwise, feeding back a control failure instruction to the intelligent equipment.
11. A storage medium storing a program for implementing a method of controlling an air conditioner, the program, when executed by a processor, performing the steps of:
Receiving a control instruction sent by intelligent equipment, wherein the control instruction carries specified air conditioner identification information;
searching a corresponding target air conditioner based on the air conditioner identification information, and detecting the direction of the target air conditioner;
And selecting a target infrared tube based on the position, and sending the control instruction to the target air conditioner through the target infrared tube.
12. a communications apparatus comprising one or more processors; and one or more computer-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the method of any of claims 1-5.
CN201910859577.0A 2019-09-11 2019-09-11 control method and device of air conditioner Pending CN110542179A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910859577.0A CN110542179A (en) 2019-09-11 2019-09-11 control method and device of air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910859577.0A CN110542179A (en) 2019-09-11 2019-09-11 control method and device of air conditioner

Publications (1)

Publication Number Publication Date
CN110542179A true CN110542179A (en) 2019-12-06

Family

ID=68713329

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910859577.0A Pending CN110542179A (en) 2019-09-11 2019-09-11 control method and device of air conditioner

Country Status (1)

Country Link
CN (1) CN110542179A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114251790A (en) * 2020-09-21 2022-03-29 广州华凌制冷设备有限公司 Air conditioner, method of controlling the same, and computer-readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018672A (en) * 2001-07-03 2003-01-17 Hitachi Ltd Network system
CN104879894A (en) * 2015-05-20 2015-09-02 广东欧珀移动通信有限公司 Remote air conditioner control method, device and system
CN106781402A (en) * 2017-02-21 2017-05-31 青岛海信移动通信技术股份有限公司 Remote control thereof and device
CN107023968A (en) * 2017-04-25 2017-08-08 广东美的暖通设备有限公司 Control method, control system, control device and the computer equipment of air conditioner
CN107101326A (en) * 2017-04-19 2017-08-29 惠州Tcl移动通信有限公司 A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition
CN108320491A (en) * 2018-01-19 2018-07-24 厦门盈趣科技股份有限公司 All referring to infrared remote control equipment and all referring to infrared remote control method
AU2017220384A1 (en) * 2016-02-15 2018-10-04 Rooyenburg Pty Ltd Air conditioning control system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003018672A (en) * 2001-07-03 2003-01-17 Hitachi Ltd Network system
CN104879894A (en) * 2015-05-20 2015-09-02 广东欧珀移动通信有限公司 Remote air conditioner control method, device and system
AU2017220384A1 (en) * 2016-02-15 2018-10-04 Rooyenburg Pty Ltd Air conditioning control system
CN106781402A (en) * 2017-02-21 2017-05-31 青岛海信移动通信技术股份有限公司 Remote control thereof and device
CN107101326A (en) * 2017-04-19 2017-08-29 惠州Tcl移动通信有限公司 A kind of method, system and mobile terminal based on mobile terminal control intelligent air condition
CN107023968A (en) * 2017-04-25 2017-08-08 广东美的暖通设备有限公司 Control method, control system, control device and the computer equipment of air conditioner
CN108320491A (en) * 2018-01-19 2018-07-24 厦门盈趣科技股份有限公司 All referring to infrared remote control equipment and all referring to infrared remote control method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114251790A (en) * 2020-09-21 2022-03-29 广州华凌制冷设备有限公司 Air conditioner, method of controlling the same, and computer-readable storage medium

Similar Documents

Publication Publication Date Title
CN107101326B (en) Method and system for controlling intelligent air conditioner based on mobile terminal and mobile terminal
FI3640936T3 (en) Apparatus control device, method, and apparatus having same
CN108702313A (en) Intelligent home voice control method, device, equipment and system
CN103914038A (en) Method and system for controlling domestic equipment according to position of user
CN110687820B (en) Control method and device of intelligent household equipment, terminal equipment and storage medium
CN107277779B (en) Positioning method and system based on ZigBee network
CN103941686A (en) Voice control method and system
CN113485134A (en) Device control method and apparatus, storage medium, and electronic device
EP4328511A1 (en) Power line communication-based pairing method and device for air conditioner, and storage medium
CN108922163A (en) A kind of learning method of infrared remote control, device, terminal and storage medium
CN113254038A (en) Upgrading confirmation method, server, wire controller and mobile terminal
CN105573132A (en) Control method for household gateway, intelligent household system and household electrical appliance
CN106369752B (en) Control method and control device of air conditioner, outdoor unit and air conditioner
CN108736925A (en) Method and device for generating mapping relation between household appliance and room and mobile terminal
CN109327507B (en) Conversion protocol loading method, related equipment, system and medium
CN110542179A (en) control method and device of air conditioner
US20200082708A1 (en) Remote control device and remote control system
WO2017049500A1 (en) Method for controlling home appliances, and smart wristband
CN110864406A (en) Intelligent air conditioner and intelligent air conditioner control method
CN106781388A (en) Control system, remote controller, air conditioner remote controller and control method
CN111212312B (en) Method, device and remote control system for realizing equipment control based on remote controller
CN105020849A (en) Air conditioning control method and device
CN111722600A (en) Remote control method and device based on equipment space relation and remote control equipment
EP4328679A1 (en) Area partition method for household appliances, and terminal device and readable storage medium
CN107101342B (en) A kind of air conditioning control method, apparatus and system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20191206

RJ01 Rejection of invention patent application after publication