CN110332658B - Control method and device of air conditioner and air conditioner - Google Patents
Control method and device of air conditioner and air conditioner Download PDFInfo
- Publication number
- CN110332658B CN110332658B CN201910691513.4A CN201910691513A CN110332658B CN 110332658 B CN110332658 B CN 110332658B CN 201910691513 A CN201910691513 A CN 201910691513A CN 110332658 B CN110332658 B CN 110332658B
- Authority
- CN
- China
- Prior art keywords
- state information
- channel
- air conditioner
- channel state
- communication module
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000004891 communication Methods 0.000 claims abstract description 138
- 238000012549 training Methods 0.000 claims description 32
- 238000001514 detection method Methods 0.000 claims description 8
- 238000010801 machine learning Methods 0.000 claims description 5
- 230000000694 effects Effects 0.000 description 13
- 238000005516 engineering process Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000005457 optimization Methods 0.000 description 3
- 238000005034 decoration Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
- F24F11/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
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 an air conditioner control method and device and an air conditioner. Wherein, the method comprises the following steps: determining that the current state of a communication module of the air conditioner is an idle state, and switching a first channel currently used by the communication module to a second channel to be used; acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by a first channel, and the second channel state information is channel state information fed back by a communication module under a second channel; uploading the first channel state information and the second channel state information to a server so that the server generates a control instruction based on the first channel state information and the second channel state information; and receiving a control instruction from the server, and controlling the air conditioner based on the control instruction. The invention solves the technical problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner is lower in the related art, so that the user experience is lower.
Description
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to an air conditioner and a control method and device thereof.
Background
The existing intelligent air conditioner can generally realize the positioning of the activity state of personnel in the area where the air conditioner is located based on the air conditioner so as to realize the adjustment of the current operation mode of the air conditioner based on the positioning result and the air conditioner operation mode preset by a user. The existing air conditioner is mainly used for positioning personnel by adopting a camera or an infrared technology. The high-precision positioning result can be obtained through the positioning in the camera shooting mode, but the problem of user privacy safety information related to the camera can not be guaranteed all the time. In addition, the installation of the camera and the infrared device also needs to be considered in the structure and appearance of the intelligent air conditioner.
Aiming at the problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner is low and further the user experience is low in the related art, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of an air conditioner and the air conditioner, and aims to at least solve the technical problem that in the related art, the reliability of a mode for positioning personnel based on an intelligent air conditioner is low, and therefore the user experience is low.
According to an aspect of an embodiment of the present invention, there is provided a control method of an air conditioner, including: determining that the current state of a communication module of the air conditioner is an idle state, and switching the communication module from a first channel used currently to a second channel to be used; acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by the first channel, and the second channel state information is channel state information fed back by the communication module under the second channel; uploading the first channel state information and the second channel state information to a server so that the server generates a control instruction based on the first channel state information and the second channel state information; and receiving a control instruction from the server, and controlling the air conditioner based on the control instruction.
Optionally, before determining that the current state of the communication module of the air conditioner is an idle state and switching the communication module from a first channel currently used to a second channel to be used, the method for controlling the air conditioner further includes: determining that the air conditioner and the terminal complete distribution network operation; judging whether the air conditioner is configured by adopting first configuration information sent by the terminal to obtain a judgment result; when the judgment result shows that the air conditioner is not configured by the first configuration information, configuring the air conditioner based on predetermined second configuration information to obtain a judgment result; and when the judgment result shows that the air conditioner is configured by using the first configuration information, judging whether the current state of the communication module is an idle state or not to obtain a judgment result.
Optionally, after determining whether the current state of the communication module is an idle state and obtaining a determination result, the method further includes one of: when the current state is determined to be the idle state according to the determination result, switching the communication module from the first channel to the second channel; and when the judgment result determines that the current state is not the idle state, detecting the current state of the communication module after waiting for a preset time to obtain a detection result until the current state of the communication module is the idle state.
Optionally, the communication module is a WiFi module.
According to another aspect of the embodiments of the present invention, there is also provided a control method of an air conditioner, including: acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used by a communication module of an air conditioner before the communication module executes channel switching operation in an idle state, and the second channel is a channel used by the communication module after the communication module executes the channel switching operation in the idle state; and generating a control instruction based on the first channel state information and the second channel state information, wherein the control instruction is used for controlling the air conditioner.
Optionally, generating a control instruction based on the first channel state information and the second channel state information includes: inputting the first channel state information and the second channel state information into a predetermined model, wherein the predetermined model is obtained by machine learning training using a plurality of sets of training data, and each set of training data in the plurality of sets of training data includes: first channel state information and the second channel state and control instructions corresponding to the first channel state information and the second channel state information; and generating control instructions corresponding to the first channel state information and the second channel state information through a preset model.
Optionally, before the first channel state information and the second channel state information are input to a predetermined model, the control method of the air conditioner further includes: acquiring historical first channel state information and historical second channel state information in a historical time period; and training a plurality of groups of training data including the historical first channel state information and the historical second channel state information to obtain the predetermined model.
Optionally, after generating a control instruction based on the first channel state information and the second channel state information, the method for controlling an air conditioner further includes: and sending the control instruction to a main controller of the air conditioner through the communication module so that the main controller controls the air conditioner based on the control instruction.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of an air conditioner, including: the switching unit is used for determining that the current state of a communication module of the air conditioner is an idle state and switching the communication module from a first channel used currently to a second channel to be used; the communication module is used for receiving first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by the first channel, and the second channel state information is channel state information fed back by the communication module under the second channel; an uploading unit, configured to upload the first channel state information and the second channel state information to a server, so that the server generates a control instruction based on the first channel state information and the second channel state information; and the control unit is used for receiving a control instruction from the server and controlling the air conditioner based on the control instruction.
Optionally, the control device of the air conditioner further includes: the device comprises a determining unit, a network distribution unit and a terminal, wherein the determining unit is used for determining that the air conditioner and the terminal complete network distribution operation before determining that the current state of a communication module of the air conditioner is an idle state and switching the communication module from a first channel used currently to a second channel to be used; the judging unit is used for judging whether the air conditioner is configured by adopting the first configuration information sent by the terminal to obtain a judging result; the configuration unit is used for configuring the air conditioner based on predetermined second configuration information when the judgment result shows that the air conditioner is not configured by using the first configuration information, and obtaining a judgment result; and the judging unit is used for judging whether the current state of the communication module is an idle state or not when the judging result shows that the air conditioner is configured by using the first configuration information, so that a judging result is obtained.
Optionally, the determination unit comprises one of: the switching module is used for switching the communication module from the first channel to the second channel when the current state is determined to be the idle state according to the determination result; and the detection module is used for detecting the current state of the communication module after waiting for a preset time length to obtain a detection result until the current state of the communication module is the idle state when the judgment result determines that the current state is not the idle state.
Optionally, the communication module is a WiFi module.
According to another aspect of the embodiments of the present invention, there is also provided a control apparatus of an air conditioner, including: a first obtaining unit, configured to obtain first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used by a communication module of an air conditioner before performing a channel switching operation in an idle state, and the second channel is a channel used by the communication module after performing the channel switching operation in the idle state; a generating unit, configured to generate a control instruction based on the first channel state information and the second channel state information, where the control instruction is used to control the air conditioner.
Optionally, the generating unit includes: an input module, configured to input the first channel state information and the second channel state information into a predetermined model, where the predetermined model is obtained through machine learning training using multiple sets of training data, and each set of training data in the multiple sets of training data includes: first channel state information and the second channel state and control instructions corresponding to the first channel state information and the second channel state information; and the generating module is used for generating a control instruction corresponding to the first channel state information and the second channel state information through a preset model.
Optionally, the control device of the air conditioner further includes: a second acquisition unit configured to acquire historical first channel state information and historical second channel state information in a historical period of time before the first channel state information and the second channel state information are input to a predetermined model; and the training unit is used for training a plurality of groups of training data including the historical first channel state information and the historical second channel state information to obtain the predetermined model.
Optionally, the control device of the air conditioner further includes: and the sending unit is used for sending the control instruction to a main controller of the air conditioner through the communication module after generating the control instruction based on the first channel state information and the second channel state information so as to enable the main controller to control the air conditioner based on the control instruction.
According to another aspect of the embodiment of the present invention, there is also provided an air conditioner using the control method of the air conditioner as described in any one of the above.
According to another aspect of an embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the control method of the air conditioner according to any one of the above.
According to another aspect of the embodiment of the present invention, there is also provided a processor for executing a program, wherein the program executes the control method of the air conditioner according to any one of the above aspects.
In the embodiment of the invention, the current state of the communication module of the air conditioner is determined to be an idle state, and the first channel currently used by the communication module is switched to the second channel to be used; acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by a first channel, and the second channel state information is channel state information fed back by a communication module under a second channel; uploading the first channel state information and the second channel state information to a server so that the server generates a control instruction based on the first channel state information and the second channel state information; the control method of the air conditioner provided by the embodiment of the invention has the advantages that the control instruction from the server is received, the operation of the air conditioner is controlled based on the mode of controlling the air conditioner by the control instruction, no additional image acquisition equipment or infrared equipment is needed, the personnel activity condition of the area where the air conditioner is located is obtained by directly using the communication module configured on the air conditioner, the operation mode of the air conditioner is better controlled, the purpose of generating the control instruction for controlling the air conditioner based on the channel state signal of the channel used by the communication equipment is realized, the technical effect of improving the intelligent degree of the air conditioner is achieved, the technical problem that the reliability of the mode of positioning personnel based on the intelligent air conditioner in the related technology is lower, the user experience is lower is further solved, and the user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a control method of an air conditioner according to an embodiment of the present invention;
fig. 2 is a flowchart of a control method of an alternative air conditioner according to an embodiment of the present invention;
fig. 3 is a schematic view of a control apparatus of an air conditioner according to an embodiment of the present invention;
fig. 4 is a schematic view of a control apparatus of an alternative air conditioner according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of a control method of an air conditioner, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a control method of an air conditioner according to an embodiment of the present invention, as shown in fig. 1, the control method of the air conditioner including the steps of:
step S102, determining that the current state of the communication module of the air conditioner is an idle state, and switching the first channel currently used by the communication module to a second channel to be used.
Because the communication module on the air conditioner may be in communication or working, before switching channels, it is necessary to determine whether the current state of the communication module is idle, rather than directly switching the currently used channel of the communication module, so as to avoid affecting the communication of the current channel. When the current state of the communication module is determined to be the idle state, the channel currently used by the communication module (i.e., the first channel) can be directly switched to other channels (i.e., the second channel) which can be used.
Step S104, collecting first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by the first channel, and the second channel state information is channel state information fed back by the communication module under the second channel.
Step S106, uploading the first channel state information and the second channel state information to a server, so that the server generates a control instruction based on the first channel state information and the second channel state information.
And step S108, receiving a control command from the server, and controlling the air conditioner based on the control command.
The control instruction can be directly sent to the main controller of the air conditioner by the server, or the control instruction can be sent to the communication module by the server, and the communication module forwards the received control instruction to the main controller of the air conditioner.
Through the steps, the current state of the communication module of the air conditioner can be determined to be an idle state, and the first channel used by the communication module at present is switched to the second channel to be used; acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by a first channel, and the second channel state information is channel state information fed back by a communication module under a second channel; uploading the first channel state information and the second channel state information to a server so that the server generates a control instruction based on the first channel state information and the second channel state information; and receiving a control instruction from the server, and controlling the air conditioner based on the control instruction. Compared with the related art in which the control instruction for the air conditioner is generated by using the camera or infrared collected information, the reliability is low, the privacy of the user may be affected, and the cost may be increased. According to the control method of the air conditioner, provided by the embodiment of the invention, the communication module configured on the air conditioner is directly used without additionally adding image acquisition equipment or infrared equipment, the activity condition of personnel in the area where the air conditioner is located is obtained, the operation mode of the air conditioner is better controlled, the purpose of generating a control instruction for controlling the air conditioner based on the channel state signal of the channel used by the communication equipment is realized, the technical effect of improving the intelligent degree of the air conditioner is achieved, the technical problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner in the related art is lower, so that the user experience is lower is solved, and the user experience is improved.
In an optional embodiment, before determining that the current state of the communication module of the air conditioner is an idle state and switching the first channel currently used by the communication module to the second channel to be used, the control method of the air conditioner may further include: determining that the air conditioner and the terminal complete the operation of a distribution network; judging whether the air conditioner is configured by adopting first configuration information sent by the terminal to obtain a judgment result; when the judgment result shows that the air conditioner is not configured by the first configuration information, configuring the air conditioner based on the preset second configuration information to obtain a judgment result; and when the judgment result shows that the air conditioner is configured by using the first configuration information, judging whether the current state of the communication module is an idle state or not to obtain a judgment result. For example, after a user purchases an air conditioner and completes distribution network operation on the air conditioner and terminal equipment, whether to start the intelligent optimization function of the air conditioner is selected on an APP interface of the terminal equipment, and if the user does not select to start the function, the user can complete starting the intelligent optimization function according to the instruction operation information.
In an optional embodiment, after determining whether the current state of the communication module is an idle state and obtaining the determination result, the method further includes one of: when the judgment result is that the current state of the communication module is an idle state, switching a first channel currently used by the communication module to a second channel to be used; and when the judgment result determines that the current state is not the idle state, detecting the current state of the communication module after waiting for a preset time to obtain a detection result until the current state of the communication module is the idle state. In this embodiment, if it is determined that the smart optimization function is turned on, it is queried whether a communication module inside the air conditioner is in an idle state. And if the communication module is in the working state at present, waiting for 1 second and then judging whether the communication module is in the idle state again. If the communication module is in an idle state, switching a channel currently used by the communication module, collecting channel state information returned from different channels (namely a first channel and a second channel), uploading the collected channel state information to a server, and analyzing the channel state information by the server after receiving the channel state information to obtain a control signal.
It should be noted that, in the embodiment of the present invention, the type of the communication module is not specifically limited, and the communication module may be at least one of the following: the Bluetooth module, the WiFi module, the ZigBee module. Preferably a WiFi module.
In the embodiment of the invention, the activity state of personnel in the area where the air conditioner is located is mainly determined through the signal difference between different channels of the communication module so as to generate a control signal for the air conditioner, the Channel State Information (CSI) positioning technology of the communication module is realized, a family picture of a user can be collected without involving the privacy problem of the user, a camera and infrared rays are removed, the problems of damaging the integral appearance and structure of the air conditioner and the like are not considered, meanwhile, the communication module is built on the existing intelligent air conditioner, the function can be realized only by simple replacement or upgrading, and the user experience is improved.
Example 2
In accordance with an embodiment of the present invention, there is provided a method embodiment of a control method of an air conditioner, it is noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 2 is a flowchart of an alternative control method of an air conditioner according to an embodiment of the present invention, as shown in fig. 2, the control method of the air conditioner includes the steps of:
step S202, obtaining first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used before a communication module of the air conditioner performs a channel switching operation in an idle state, and the second channel is a channel used after the communication module performs the channel switching operation in the idle state.
And step S204, generating a control instruction based on the first channel state information and the second channel state information, wherein the control instruction is used for controlling the air conditioner.
Through the steps, first channel state information and second channel state information can be obtained, wherein the first channel state information is the channel state information fed back by the first channel currently used by the communication module of the air conditioner in the idle state, the second channel state information is the channel state information fed back by the communication module in the second channel, and the second channel is the channel switched by the first channel; and generating a control command based on the first channel state information and the second channel state information, wherein the control command is used for controlling the air conditioner. Compared with the related art in which the control instruction for the air conditioner is generated by using the camera or infrared collected information, the reliability is low, the privacy of the user may be affected, and the cost may be increased. According to the control method of the air conditioner, provided by the embodiment of the invention, the communication module configured on the air conditioner is directly used without additionally adding image acquisition equipment or infrared equipment, the activity condition of personnel in the area where the air conditioner is located is obtained, the operation mode of the air conditioner is better controlled, the purpose of generating the control instruction for controlling the air conditioner based on the state signal of the channel used by the communication equipment is realized, the technical effect of improving the intelligent degree of the air conditioner is achieved, the technical problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner in the related art is lower, and the user experience is lower is further solved, and the user experience is improved.
In step S204, generating a control instruction based on the first channel state information and the second channel state information may include: inputting the first channel state information and the second channel state information into a predetermined model, wherein the predetermined model is obtained by using a plurality of groups of training data through machine learning training, and each group of training data in the plurality of groups of training data comprises: the first channel state information, the second channel state and a control instruction corresponding to the first channel state information and the second channel state information; and generating control instructions corresponding to the first channel state information and the second channel state information through a preset model. In this embodiment, after the server receives the first channel state information and the second channel state information, the server obtains the control instruction by using the pre-trained predetermined model, so that a large amount of time required for performing field analysis on the first channel state information and the second channel state information is reduced, and an effect of performing real-time control on the air conditioner is achieved.
For example, the server may determine that the user may sleep in bed for a long time currently based on the difference between the received first channel state information and the received second channel state information, and at night, may issue a sleep mode setting instruction to the communication module, and the communication module may send the sleep mode setting instruction to the main controller, so that the main controller adjusts the air conditioner based on the sleep mode setting instruction.
In addition, before the first channel state information and the second channel state information are input to the predetermined model, the control method of the air conditioner further includes: acquiring historical first channel state information and historical second channel state information in a historical time period; and training a plurality of groups of training data including the historical first channel state information and the historical second channel state information to obtain a preset model.
In an optional embodiment, after generating the control instruction based on the first channel state information and the second channel state information, the control method of the air conditioner further includes: and sending the control instruction to a main controller of the air conditioner through the communication module so that the main controller controls the air conditioner based on the control instruction.
It should be noted that, in the embodiment of the present invention, the type of the communication module is not specifically limited, and the communication module may be at least one of the following: the Bluetooth module, the WiFi module, the ZigBee module. Preferably a WiFi module.
The control method of the air conditioner provided by the embodiment of the invention is used for independently positioning personnel in the area where the air conditioner is located by using the communication module on the air conditioner, and can realize personnel detection and temperature adjustment in the area where the air conditioner is located without depending on image acquisition equipment and an infrared technology, so that the user experience is improved.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided an apparatus embodiment for performing a control method of an air conditioner, and fig. 3 is a schematic diagram of a control apparatus of an air conditioner according to an embodiment of the present invention, as shown in fig. 3, the control apparatus of an air conditioner including: a switching unit 31, a collecting unit 33, an uploading unit 35 and a control unit 37. The following describes the control device of the air conditioner in detail.
The switching unit 31 is configured to determine that a current state of a communication module of the air conditioner is an idle state, and switch a first channel currently used by the communication module to a second channel to be used.
The acquiring unit 33 is configured to acquire first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel, and the second channel state information is channel state information fed back by a communication module in a second channel.
An uploading unit 35, configured to upload the first channel state information and the second channel state information to the server, so that the server generates the control instruction based on the first channel state information and the second channel state information.
And a control unit 37 for receiving a control instruction from the server and controlling the air conditioner based on the control instruction.
It should be noted that the switching unit 31, the acquiring unit 33, the uploading unit 35 and the control unit 37 correspond to steps S102 to S108 in embodiment 1, and the modules are the same as the corresponding steps in the implementation example and application scenarios, but are not limited to the disclosure in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
The switching unit is used for determining that the current state of a communication module of the air conditioner is an idle state and switching a first channel currently used by the communication module to a second channel to be used; the communication module is used for receiving first channel state information and second channel state information, wherein the first channel state information is the channel state information fed back by a first channel, and the second channel state information is the channel state information fed back by the communication module under a second channel; the uploading unit is used for uploading the first channel state information and the second channel state information to the server so that the server generates a control instruction based on the first channel state information and the second channel state information; and the control unit is used for receiving the control instruction from the server and controlling the air conditioner based on the control instruction. Compared with the related art in which the control instruction for the air conditioner is generated by using the camera or infrared collected information, the reliability is low, the privacy of the user may be affected, and the cost may be increased. According to the control device of the air conditioner, provided by the embodiment of the invention, the communication module configured on the air conditioner is directly used without additionally adding image acquisition equipment or infrared equipment, so that the activity condition of personnel in the area where the air conditioner is located is obtained, the operation mode of the air conditioner is better controlled, the purpose of generating a control instruction for controlling the air conditioner based on a channel state signal of the communication equipment is realized, the technical effect of improving the intelligent degree of the air conditioner is achieved, the technical problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner in the related art is lower, and the user experience is lower is further solved, and the user experience is improved.
In an alternative embodiment, the control apparatus of the air conditioner further includes: the determining unit is used for determining that the air conditioner and the terminal complete distribution network operation before determining that the current state of a communication module of the air conditioner is an idle state and switching a first channel used by the communication module currently to a second channel to be used; the judging unit is used for judging whether the air conditioner is configured by adopting the first configuration information sent by the terminal to obtain a judging result; the configuration unit is used for configuring the air conditioner based on predetermined second configuration information when the judgment result shows that the air conditioner is not configured by using the first configuration information, and obtaining a judgment result; and the judging unit is used for judging whether the current state of the communication module is an idle state or not when the judging result shows that the air conditioner is configured by utilizing the first configuration information, so that the judging result is obtained.
In an alternative embodiment, the decision unit comprises one of: the switching module is used for switching the first channel currently used by the communication module to a second channel to be used when the judgment result is that the current state of the communication module is an idle state; and the detection module is used for detecting the current state of the communication module after waiting for a preset time length to obtain a detection result until the current state of the communication module is the idle state when the judgment result determines that the current state is not the idle state.
In an alternative embodiment, the communication module is a WiFi module.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided an apparatus embodiment for performing a control method of an air conditioner, and fig. 4 is a schematic diagram of an alternative control apparatus of an air conditioner according to an embodiment of the present invention, as shown in fig. 4, the control apparatus of an air conditioner including: a first acquisition unit 41 and a generation unit 43. The following describes the control device of the air conditioner in detail.
The first obtaining unit 41 is configured to obtain first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used by a communication module of the air conditioner before performing a channel switching operation in an idle state, and the second channel is a channel used by the communication module after performing the channel switching operation in the idle state.
A generating unit 43, configured to generate a control instruction based on the first channel state information and the second channel state information, wherein the control instruction is used for controlling the air conditioner.
As can be seen from the above, in the embodiment of the present invention, the first obtaining unit may obtain first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel currently used by a communication module of the air conditioner in an idle state, the second channel state information is channel state information fed back by the communication module in a second channel, and the second channel is a channel switched by the first channel; and a generation unit for generating a control command based on the first channel state information and the second channel state information, wherein the control command is used for controlling the air conditioner. Compared with the related art in which the control instruction for the air conditioner is generated by using the camera or infrared collected information, the reliability is low, the privacy of the user may be affected, and the cost may be increased. According to the control device of the air conditioner, provided by the embodiment of the invention, the communication module configured on the air conditioner is directly used without additionally adding image acquisition equipment or infrared equipment, so that the activity condition of personnel in the area where the air conditioner is located is obtained, the operation mode of the air conditioner is better controlled, the purpose of generating a control instruction for controlling the air conditioner based on a channel state signal of the communication equipment is realized, the technical effect of improving the intelligent degree of the air conditioner is achieved, the technical problem that the reliability of a mode for positioning personnel based on an intelligent air conditioner in the related art is lower, and the user experience is lower is further solved, and the user experience is improved.
In an alternative embodiment, the generating unit comprises: an input module, configured to input the first channel state information and the second channel state information into a predetermined model, where the predetermined model is obtained by using multiple sets of training data through machine learning training, and each set of training data in the multiple sets of training data includes: the first channel state information, the second channel state and a control instruction corresponding to the first channel state information and the second channel state information; and the generating module is used for generating a control instruction corresponding to the first channel state information and the second channel state information through a preset model.
In an alternative embodiment, the control apparatus of the air conditioner further includes: a second acquisition unit configured to acquire historical first channel state information and historical second channel state information in a historical period of time before the first channel state information and the second channel state information are input to a predetermined model; and the training unit is used for training a plurality of groups of training data including historical first channel state information and historical second channel state information to obtain a preset model.
In an alternative embodiment, the control apparatus of the air conditioner further includes: and the sending unit is used for sending the control instruction to the main controller of the air conditioner through the communication module after the control instruction is generated based on the first channel state information and the second channel state information, so that the main controller controls the air conditioner based on the control instruction.
Example 5
According to another aspect of the embodiment of the invention, an air conditioner is further provided, and the air conditioner uses the control method of the air conditioner.
Example 6
According to another aspect of an embodiment of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the control method of the air conditioner of any one of the above.
Example 7
According to another aspect of the embodiments of the present invention, there is provided a processor for executing a program, wherein the program executes the control method of the air conditioner according to any one of the above aspects.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (12)
1. A method of controlling an air conditioner, comprising:
determining that the current state of a communication module of the air conditioner is an idle state, and switching the communication module from a first channel used currently to a second channel to be used;
acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by the first channel, and the second channel state information is channel state information fed back by the communication module under the second channel;
uploading the first channel state information and the second channel state information to a server so that the server generates a control instruction based on the first channel state information and the second channel state information;
receiving a control instruction from the server, and controlling the air conditioner based on the control instruction;
before determining that the current state of a communication module of the air conditioner is an idle state and switching the communication module from a first channel used currently to a second channel to be used, the method further comprises the following steps:
determining that the air conditioner and the terminal complete distribution network operation;
judging whether the air conditioner is configured by adopting first configuration information sent by the terminal to obtain a judgment result;
when the judgment result shows that the air conditioner is not configured by the first configuration information, configuring the air conditioner based on predetermined second configuration information to obtain a judgment result;
and when the judgment result shows that the air conditioner is configured by using the first configuration information, judging whether the current state of the communication module is an idle state or not to obtain a judgment result.
2. The method of claim 1, wherein after determining whether the current status of the communication module is idle and obtaining the determination result, the method further comprises one of:
when the current state is determined to be the idle state according to the determination result, switching the communication module from the first channel to the second channel;
and when the judgment result determines that the current state is not the idle state, detecting the current state of the communication module after waiting for a preset time to obtain a detection result until the current state of the communication module is the idle state.
3. The method of any one of claims 1 or 2, wherein the communication module is a WiFi module.
4. A method of controlling an air conditioner, comprising:
acquiring first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used by a communication module of an air conditioner before the communication module executes channel switching operation in an idle state, and the second channel is a channel used by the communication module after the communication module executes the channel switching operation in the idle state;
generating a control instruction based on the first channel state information and the second channel state information, wherein the control instruction is used for controlling the air conditioner;
before acquiring the first channel state information and the second channel state information, the method further includes:
determining that the air conditioner and the terminal complete distribution network operation;
judging whether the air conditioner is configured by adopting first configuration information sent by the terminal to obtain a judgment result;
when the judgment result shows that the air conditioner is not configured by the first configuration information, configuring the air conditioner based on predetermined second configuration information to obtain a judgment result;
and when the judgment result shows that the air conditioner is configured by using the first configuration information, judging whether the current state of the communication module is an idle state or not to obtain a judgment result.
5. The method of claim 4, wherein generating control instructions based on the first channel state information and the second channel state information comprises:
inputting the first channel state information and the second channel state information into a predetermined model, wherein the predetermined model is obtained by using multiple sets of training data through machine learning training, and each set of training data in the multiple sets of training data comprises: first channel state information and the second channel state and control instructions corresponding to the first channel state information and the second channel state information;
and generating control instructions corresponding to the first channel state information and the second channel state information through the predetermined model.
6. The method of claim 5, further comprising, prior to inputting the first channel state information and the second channel state information into a predetermined model:
acquiring historical first channel state information and historical second channel state information in a historical time period;
and training a plurality of groups of training data including the historical first channel state information and the historical second channel state information to obtain the predetermined model.
7. The method of any of claims 4 to 6, further comprising, after generating a control instruction based on the first channel state information and the second channel state information:
and sending the control instruction to a main controller of the air conditioner through the communication module so that the main controller controls the air conditioner based on the control instruction.
8. A control apparatus of an air conditioner, comprising:
the switching unit is used for determining that the current state of a communication module of the air conditioner is an idle state and switching the communication module from a first channel used currently to a second channel to be used;
the communication module is used for receiving first channel state information and second channel state information, wherein the first channel state information is channel state information fed back by the first channel, and the second channel state information is channel state information fed back by the communication module under the second channel;
an uploading unit, configured to upload the first channel state information and the second channel state information to a server, so that the server generates a control instruction based on the first channel state information and the second channel state information;
the control unit is used for receiving a control instruction from the server and controlling the air conditioner based on the control instruction;
wherein, the control device of the air conditioner further comprises: the device comprises a determining unit, a network distribution unit and a terminal, wherein the determining unit is used for determining that the air conditioner and the terminal complete network distribution operation before determining that the current state of a communication module of the air conditioner is an idle state and switching the communication module from a first channel used currently to a second channel to be used; the judging unit is used for judging whether the air conditioner is configured by adopting the first configuration information sent by the terminal to obtain a judging result; the configuration unit is used for configuring the air conditioner based on predetermined second configuration information when the judgment result shows that the air conditioner is not configured by using the first configuration information, and obtaining a judgment result; and the judging unit is used for judging whether the current state of the communication module is an idle state or not when the judging result shows that the air conditioner is configured by using the first configuration information, so that a judging result is obtained.
9. A control apparatus of an air conditioner, comprising:
a first obtaining unit, configured to obtain first channel state information and second channel state information, where the first channel state information is channel state information fed back by a first channel, the second channel state information is channel state information fed back by a second channel, the first channel is a channel used by a communication module of an air conditioner before performing a channel switching operation in an idle state, and the second channel is a channel used by the communication module after performing the channel switching operation in the idle state;
a generating unit configured to generate a control instruction based on the first channel state information and the second channel state information, wherein the control instruction is used to control the air conditioner;
wherein the control device of the air conditioner is further configured to:
determining that the air conditioner and the terminal complete distribution network operation;
judging whether the air conditioner is configured by adopting first configuration information sent by the terminal to obtain a judgment result;
when the judgment result shows that the air conditioner is not configured by the first configuration information, configuring the air conditioner based on predetermined second configuration information to obtain a judgment result;
and when the judgment result shows that the air conditioner is configured by using the first configuration information, judging whether the current state of the communication module is an idle state or not to obtain a judgment result.
10. An air conditioner characterized by using the control method of the air conditioner according to any one of claims 1 to 7.
11. A storage medium characterized by comprising a stored program, wherein the program executes the control method of an air conditioner according to any one of claims 1 to 7.
12. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the control method of the air conditioner according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910691513.4A CN110332658B (en) | 2019-07-29 | 2019-07-29 | Control method and device of air conditioner and air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910691513.4A CN110332658B (en) | 2019-07-29 | 2019-07-29 | Control method and device of air conditioner and air conditioner |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110332658A CN110332658A (en) | 2019-10-15 |
CN110332658B true CN110332658B (en) | 2020-10-16 |
Family
ID=68147860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910691513.4A Active CN110332658B (en) | 2019-07-29 | 2019-07-29 | Control method and device of air conditioner and air conditioner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110332658B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106571985A (en) * | 2016-10-09 | 2017-04-19 | 美的智慧家居科技有限公司 | Household appliance distribution method and system, household appliance and router |
CN108731193A (en) * | 2018-03-02 | 2018-11-02 | 珠海格力电器股份有限公司 | Communication implementation method and device of air conditioning unit, storage medium and processor |
EP3462095A1 (en) * | 2017-09-28 | 2019-04-03 | LG Electronics Inc. | Control method of air conditioner system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104796989A (en) * | 2014-01-21 | 2015-07-22 | 中兴通讯股份有限公司 | Channel switching synchronization transmission method and station equipment |
CN106322662B (en) * | 2016-08-24 | 2019-11-15 | 青岛海尔空调电子有限公司 | Machine wireless communication system and communication means inside and outside air-conditioning |
KR101922954B1 (en) * | 2017-09-28 | 2018-11-28 | 엘지전자 주식회사 | Control method of air-conditioner system |
CN109899932B (en) * | 2017-12-11 | 2021-03-02 | 香港城市大学深圳研究院 | Control method and device of air conditioner |
CN108234220A (en) * | 2018-02-11 | 2018-06-29 | 广东美的厨房电器制造有限公司 | The distribution method, apparatus and system of smart machine |
CN208046927U (en) * | 2018-04-20 | 2018-11-02 | 西北师范大学 | A kind of channel state information positioning device |
CN109117874A (en) * | 2018-07-25 | 2019-01-01 | 北京小米移动软件有限公司 | Operation behavior prediction technique and device |
CN110057039B (en) * | 2019-04-29 | 2021-07-16 | 广东美的制冷设备有限公司 | Air conditioner, control method thereof, terminal and computer readable storage medium |
-
2019
- 2019-07-29 CN CN201910691513.4A patent/CN110332658B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106571985A (en) * | 2016-10-09 | 2017-04-19 | 美的智慧家居科技有限公司 | Household appliance distribution method and system, household appliance and router |
EP3462095A1 (en) * | 2017-09-28 | 2019-04-03 | LG Electronics Inc. | Control method of air conditioner system |
CN108731193A (en) * | 2018-03-02 | 2018-11-02 | 珠海格力电器股份有限公司 | Communication implementation method and device of air conditioning unit, storage medium and processor |
Also Published As
Publication number | Publication date |
---|---|
CN110332658A (en) | 2019-10-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110308660B (en) | Intelligent equipment control method and device | |
CN107991891B (en) | Method and system for adjusting environmental parameters and user equipment | |
CN108833222B (en) | Household appliance control method, household appliance control device, remote controller, terminal, server and medium | |
CN105700505A (en) | Control method and device of intelligent household equipment | |
CN108052010B (en) | Intelligent electric appliance self-adjusting method and device, computer equipment and storage medium | |
CN104053060A (en) | Intelligent television and television program playing method thereof | |
CN112415902A (en) | Method and device for controlling intelligent household appliance and intelligent household appliance | |
CN108826591A (en) | Method and device for setting functions of remote controller | |
CN103648000A (en) | Method, device and system for controlling television | |
CN107742520B (en) | Voice control method, device and system | |
CN112925219A (en) | Method and device for executing smart home scene | |
CN105068428B (en) | Apparatus control method and device | |
CN109829360A (en) | Electrical equipment control method, device, electrical equipment and storage medium | |
CN103970103A (en) | Intelligent home scene control method and system and scene controller | |
CN113349590A (en) | Control method and device for intelligent sofa and intelligent sofa | |
CN114265328A (en) | Control method and device of intelligent household equipment | |
CN104615172A (en) | Intelligent temperature control method, device and mobile terminal | |
US9503669B2 (en) | Smart control device and method for controlling television set | |
CN110332658B (en) | Control method and device of air conditioner and air conditioner | |
CN111007806B (en) | Smart home control method and device | |
CN107577150A (en) | A kind of electric quantity controlling method, electronic equipment and computer-readable recording medium | |
CN109428954A (en) | Shell color control method and device of intelligent terminal and intelligent terminal | |
CN105159442A (en) | Smart device regulation and control method and apparatus | |
CN114237064B (en) | Control method and device of intelligent household electrical appliance, storage medium and electronic equipment | |
CN113359499B (en) | Method and device for controlling household appliance, household appliance and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |