Air conditioner and its key setting method
By customizing the keys by users and adding user keys to the original encryption keys, the problem of low security in encrypted communications of the air conditioner is solved, and a higher encryption level and communication security is achieved.
Patent Information
- Application Number
- CN202211346365.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-31
- Publication Date
- 2025-06-10
- Estimated Expiration
- 2042-10-31
AI Technical Summary
Existing air conditioners are less secure in encrypted communication, and users cannot directly interfere with the key generation process, and the storage and maintenance of keys are complex.
Through user-defined keys, the encryption process is simplified, and the user key is added to the original encryption key to improve the encryption level. The specific implementation method is that the air conditioner enters the key setting state by receiving the key setting instruction sent by the mobile terminal, and performs the key setting based on the communication between the communication module, the server and the controller.
It realizes user-defined key settings, simplifies the key generation process, improves encryption levels, and enhances communication security.
Smart Images

Figure CN115665736B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioners, and more particularly to an air conditioner and a method for setting a key thereof. Background Art
[0002] Currently, in the industry, communication is carried out through network system encryption and decryption methods such as "one-time one-key" or "one-device one-key".
[0003] However, only using one-time encryption results in low communication security. When using the above network encryption method for communication, on the one hand, users cannot directly intervene, making the key generation process complex. On the other hand, due to the secure storage and usage method of the key, adding each additional layer of key increases the difficulty of management and algorithms, making the storage and maintenance of the key more complex. Summary of the Invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art.
[0005] To this end, an object of the present invention is to provide an air conditioner that can simplify the encryption process by allowing users to customize the key, and increase the user key on the basis of the original encryption key to improve the encryption level, thereby enhancing the security of communication.
[0006] To this end, a second object of the present invention is to provide a method for setting a key of an air conditioner.
[0007] To achieve the above object, an embodiment of the first aspect of the present invention provides an air conditioner, which includes: a communication module that communicates with a mobile terminal through a server, and is configured to receive first key information sent by the mobile terminal through the server and second key information sent by a controller of the air conditioner, synchronize the first key information and the second key information, and set the key of the air conditioner according to the synchronization result. The controller is configured to: receive a key setting instruction issued by the mobile terminal to control the air conditioner to enter a key setting state; in the key setting state, receive remote control information corresponding to the first key information sent by the mobile terminal from an air conditioner remote control; determine the second key information according to the remote control information; and send the second key information to the communication module.
[0008] For the air conditioner according to an embodiment of the present invention, when the user sets the air conditioner key, by receiving the key setting instruction sent by the mobile terminal, the air conditioner is controlled to enter the key setting state, and in the key setting state, based on the communication between the communication module, the server and the controller, the key is set, so that the user can customize the key of the air conditioner, simplify the key generation process, and further encrypt on the basis of the existing encryption password, improve the encryption level, thereby increasing the security of communication.
[0009] In some embodiments, when controlling the air conditioner to enter the key setting state, the controller is configured to: send a reminder message for entering the key setting state to remind the user that the air conditioner enters the key setting state.
[0010] In some embodiments, when controlling the air conditioner to enter the key setting state, the controller is further configured to: time the duration of the air conditioner entering the key setting state, and when the duration exceeds the first preset duration, control the air conditioner to exit the key setting state.
[0011] In some embodiments, when synchronizing the first key information and the second key information, the communication module is configured to: determine whether the first key information and the second key information match; if the first key information and the second key information match, determine that the key setting is successful; if the first key information and the second key information do not match, determine that the key setting fails.
[0012] In some embodiments, when synchronizing the first key information and the second key information, the communication module is further configured to: time the synchronization duration of the first key information and the second key information, and when the synchronization duration exceeds the second preset duration threshold, determine that the key setting fails.
[0013] In some embodiments, after determining that the key setting fails, the controller is further configured to: send a reminder message for the key setting failure.
[0014] In some embodiments, when determining the second key information according to the remote control information, the controller is configured to: determine the graphic information corresponding to the first key information; determine the remote control information corresponding to the graphic information according to the graphic information; determine the second key information according to the remote control information, wherein a set of corresponding relationships between multiple different remote control information and the second key information are pre-stored in the controller.
[0015] In some embodiments, after determining that the key setting is successful, the communication module is further used to: store the second key information.
[0016] To achieve the above object, an embodiment of the second aspect of the present invention provides a method for setting a key of an air conditioner, the method comprising: receiving a key setting instruction sent by a mobile terminal to control the air conditioner to enter a key setting state; in the key setting state, receiving remote control information corresponding to first key information sent by the mobile terminal from an air conditioner remote control; determining second key information according to the remote control information; and sending the second key information to the communication module.
[0017] According to the method for setting a key of an air conditioner in an embodiment of the present invention, when a user sets a key of the air conditioner, by receiving a key setting instruction sent by a mobile terminal, the air conditioner is controlled to enter a key setting state, and in the key setting state, based on the communication between a communication module, a server and a controller, key setting is performed, so that the user can customize the key of the air conditioner, simplifying the key generation process, and further encrypting on the basis of an existing encrypted password, improving the encryption level, thereby increasing the security of communication.
[0018] In some embodiments, controlling the air conditioner to enter a key setting state includes: sending a reminder message for entering the key setting state to remind the user that the air conditioner enters the key setting state.
[0019] The additional aspects and advantages of the present invention will be partly given in the following description, partly will become obvious from the following description, or be understood through the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The above and / or additional aspects and advantages of the present invention will become obvious and easy to understand from the description of the embodiments in conjunction with the following drawings, wherein:
[0021] Figure 1 is a block diagram of an air conditioner according to an embodiment of the present invention;
[0022] Figure 2 is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0026] Figure 6 is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0027] Figure 7 is a flowchart of a method for setting a key of an air conditioner according to an embodiment of the present invention;
[0028] Figure 8 is a flowchart of a method for setting a key of an air conditioner according to an embodiment of the present invention.
[0029] Reference numerals: air conditioner 1; mobile terminal 11; server 12; communication module 13; controller 14; air conditioner remote controller 15. Detailed implementation manners
[0030] The embodiments of the present invention will be described in detail below. The embodiments described with reference to the accompanying drawings are exemplary. The embodiments of the present invention will be described in detail below.
[0031] In the related art, in order to improve the encryption level of an air conditioner, an encryption chip is used to encrypt its communication. However, every additional layer of key increases the difficulty of management and algorithms, and increases the cost of key storage and maintenance.
[0032] Therefore, for the air conditioner according to the embodiment of the present invention, without adding an encryption chip, a key setting instruction is sent through a mobile terminal to control the air conditioner to enter a key setting state. In the key setting state, the mobile terminal sends first key information to the communication module through the server, and the mobile terminal sends remote control information related to the first key information to the controller through the air conditioner remote controller. The controller converts it into second key information. The communication module synchronizes the first key information and the second key information sent by the controller, and sets the key of the air conditioner according to the synchronization result, simplifies the key generation process, reduces the risk of key storage and maintenance, and adds a user key on the basis of the existing encryption key, increases the security of communication, and improves the encryption level.
[0033] The following will be combined with Figures 1 - 6 to illustrate the air conditioner according to the embodiment of the present invention. As Figure 1 shown, the air conditioner 1 according to the embodiment of the present invention includes: a communication module 13 and a controller 14, wherein,
[0034] As Figure 2 shown, it is a schematic diagram of a method for setting a key of an air conditioner according to an embodiment of the present invention. From Figure 2It can be known that the communication module 13 communicates with the mobile terminal 11 through the server 12, and is used to receive the first key information sent by the mobile terminal 11 through the server 12 and the second key information sent by the controller 14 of the air conditioner 1, synchronize the first key information and the second key information, and set the key of the air conditioner 1 according to the synchronization result; the controller 14 is used to receive the key setting instruction sent by the mobile terminal 11 to control the air conditioner 1 to enter the key setting state; in the key setting state, receive the remote control information corresponding to the first key information sent by the mobile terminal 11 sent by the air conditioner remote control 15; determine the second key information according to the remote control information; send the second key information to the communication module 13.
[0035] In the embodiment, the air conditioner 1 has established a normal network connection with the server 12, the mobile terminal 11 such as a mobile phone APP (application, mobile phone software) and the communication module 13. In the above network connection relationship, the key information can communicate with each other and be transmitted. In order to increase the security of the above communication, the system key between the server 12 and the communication module 13 can be encrypted again, and the encryption process is completed by user settings.
[0036] For example, when the user customizes the key, open the mobile terminal 11 such as a mobile phone APP, enter the user key setting interface, and input the icon content in the user setting interface, such as operating the cooling icon, the medium wind icon, and the temperature icon, etc. After the operation icon is completed, press the confirmation button and send the current icon content.
[0037] The mobile terminal 11 generates the first key information according to the received icon content, such as receiving the key information corresponding to the icon content. For example, after the mobile terminal 11 receives the cooling icon, the medium wind icon, and the temperature icon, it generates the first key information according to the cooling icon, the medium wind icon, and the temperature icon, such as generating digital key information, that is, 23456789 is the first key information.
[0038] After the mobile terminal 11 generates the first key information, it sends the first key information and the key setting instruction to the server 12. The server 12 will store the received first key information, and send the first key information and the key setting instruction to the communication module 13. The communication module 13 will store the received first key information.
[0039] At this time, the key setting instruction is sent from the communication module 13 to the controller 14, such as the air conditioner control MCU (Microcontroller Unit). After receiving the key setting instruction, the controller 14 controls the air conditioner 1 to enter the key setting state. In the key setting state of the air conditioner, the user operates the air conditioner remote control 15 to send the remote control information corresponding to the first key information according to the icon content input in the user setting interface. For example, when the first key information is the key information corresponding to the cooling icon, the corresponding remote control information is cooling; when the first key information is the key information corresponding to the medium wind icon, the corresponding remote control information is medium wind; when the first key information is the key information corresponding to the temperature icon, the corresponding remote control information is the temperature, such as 26°C. After receiving the remote control information, the controller 14 parses the remote control information to generate the second key information. For example, it changes cooling, medium wind, and 26°C into digital key information, such as 12345678.
[0040] The controller 14 sends the generated second key information to the communication module 13. The communication module 13 synchronizes the first key information and the second key information, and when the synchronization is completed, it is determined that the user has completed setting the key.
[0041] According to the air conditioner 1 of the embodiment of the present invention, when the user sets the key of the air conditioner, by receiving the key setting instruction sent by the mobile terminal 11, it controls the air conditioner 1 to enter the key setting state, and in the key setting device, based on the communication between the communication module 13, the server 12, and the controller 14, the key is set, enabling the user to customize the key of the air conditioner, simplifying the key generation process, and further encrypting on the basis of the existing encryption password, improving the encryption level, thereby increasing the security of communication.
[0042] In some embodiments, when controlling the air conditioner 1 to enter the key setting state, the controller 14 is configured to: send a reminder message to enter the key setting state to remind the user that the air conditioner 1 has entered the key setting state.
[0043] In the embodiment, the controller 14, such as the air conditioner control MCU, after receiving the key setting command, controls the air conditioner 1 to enter the user key setting state. At this time, a reminder message is sent to remind the user that the air conditioner 1 has entered the key setting state. For example, the indicator light is lit, and it is considered that the air conditioner 1 has entered the key setting state. By sending a reminder message when the air conditioner 1 enters the key setting state to remind the user that the air conditioner 1 has entered the key setting state, it can remind the user to complete the key setting within the set time, avoiding the failure of key setting due to not setting the key for too long. Thus, it is convenient for the user to set the key according to the reminder message.
[0044] In some embodiments, when controlling the air conditioner 1 to enter the key setting state, the controller 14 is further configured to: time the duration of the air conditioner 1 entering the key setting state, and when the duration exceeds a first preset duration, control the air conditioner 1 to exit the key setting state.
[0045] In the embodiment, after receiving the key setting command, the controller 14, such as the air conditioner control MCU, controls the air conditioner 1 to enter the user key setting state. At this time, the controller 14 starts to count the time that the air conditioner 1 enters the user key setting state. When the time that the air conditioner 1 enters the user key setting state does not reach the first preset time, the controller 14 controls the air conditioner 1 to maintain the key setting state until the time that the air conditioner 1 enters the user key setting state exceeds the first preset time, it is considered that the air conditioner 1 has timed out from entering the key setting state, and after the timeout, the controller controls the air conditioner to exit the key setting state. By counting the time that the air conditioner 1 enters the key setting state, it is avoided that the air conditioner 1 is in this state for a long time, which causes the user to make an erroneous operation, thereby improving the experience.
[0046] For example, the first estimated duration is recorded as t1, t1=15s. When the time when the air conditioner 1 enters the user key setting state exceeds the first estimated duration, that is, when the time when the air conditioner 1 enters the user key setting state exceeds 15s, the air conditioner is controlled to exit the key setting state to avoid the air conditioner 1 being in the key setting state for a long time, so as to facilitate the normal control of the subsequent cooling and temperature adjustment of the air conditioner.
[0047] In some embodiments, when synchronizing the first key information and the second key information, the communication module 13 is configured to: determine whether the first key information and the second key information match; if the first key information and the second key information match, determine that the key setting is successful; if the first key information and the second key information do not match, determine that the key setting fails.
[0048] In an embodiment, Figure 3 FIG. 1 is a schematic diagram of a key setting method for an air conditioner according to an embodiment of the present invention. Figure 3 It can be seen that the first key information and the second key information are synchronized by an algorithm in the communication module 13. The first key information is for example a mobile phone icon key, and the second key information is for example an air conditioner generated user key. When the mobile phone icon key and the air conditioner generated user key are synchronized, it is determined whether the two match. When it is determined that the first key information and the second key information match, it is considered that the key setting of the air conditioner 1 is successful; when it is determined that the first key information and the second key information do not match, it is considered that the key setting of the air conditioner 1 fails. The key synchronization judgment is realized by judging whether the first key information and the second key information match.
[0049] For example, the mobile terminal 11 is, for example, a mobile phone APP, the first key information is, for example, 23456789, and the second key information is, for example, 12345678. The first key information 23456789 and the second key information 12345678 are synchronized through an algorithm in the communication module 13. That is, when the synchronization of 23456789 - 11111111 is successful, it is determined that the key setting of the air conditioner 1 is completed after the synchronization is successful.
[0050] In some embodiments, when synchronizing the first key information and the second key information, the communication module 13 is further configured to: time the synchronization duration of the first key information and the second key information, and when the synchronization duration exceeds a second preset duration threshold, the mobile terminal 11 notifies that the key setting of the air conditioner 1 fails and asks whether to reset the key of the air conditioner 1.
[0051] In an embodiment, when the communication module 13 synchronizes the first key information and the second key information, the communication module 13 starts timing the synchronization duration of the first key information and the second key information, and when the synchronization duration of the first key information and the second key information does not reach the second preset duration, continues to synchronize the first key information and the second key information until the synchronization duration of the first key information and the second key information exceeds the second preset duration, it is considered that the key setting of the air conditioner 1 fails, and asks whether to reset the key of the air conditioner 1 until the air conditioner 1 exits the key setting state. By timing the synchronization duration of the air conditioner 1, it is possible to avoid too long synchronization time, reduce the user experience, and when the synchronization times out, the mobile terminal notifies the user that the air conditioner key setting fails and asks the user whether to reset the key of the air conditioner 1, which is convenient for the user to make a selective setting according to the current needs.
[0052] In some embodiments, after determining that the key setting fails, the controller 14 is further configured to: issue a reminder message indicating that the key setting fails.
[0053] In an embodiment, when the first key information and the second key information are synchronized, if the synchronization of the first key information and the second key information fails, a reminder message is issued to remind the user that the key setting of the air conditioner 1 fails. After the key setting fails, a reminder message is issued, which is convenient for timely informing the user of the key setting result so that the user can perform subsequent control according to the key setting result.
[0054] In some embodiments, when determining the second key information according to the remote control information, the controller 14 is configured to: determine the graphic information corresponding to the first key information; determine the remote control information corresponding to the graphic information according to the graphic information; determine the second key information according to the remote control information, where a set of corresponding relationships between multiple different remote control information and the second key information is pre - stored in the controller 14.
[0055] In an embodiment, as Figure 4 shown, it is a schematic diagram of the key setting method of the air conditioner according to the embodiment of the present invention. As can be seen from Figure 4 , after the controller 14 receives the key setting instruction, it controls the air conditioner 1 to enter the key setting state. The controller 14 receives the remote control information corresponding to the first key information sent by the mobile terminal 11 and transmitted by the air conditioner remote control 15, and analyzes the content of the remote control information. According to the set of corresponding relationships between multiple groups of different remote control information and the second key information pre-stored in the controller 14, the remote control information is converted into the second key information through an algorithm. For example, the air conditioner generates a user key.
[0056] For example, when determining the second key information, operate the air conditioner remote control 15 to send remote control information. For example, transmit relevant radio frequency signals through the air conditioner remote control 15. When the first key information is parsed and generated from the cooling icon, operate the air conditioner remote control 15 to send the cooling remote control information corresponding to the cooling icon. The controller 14 analyzes the received cooling remote control information to convert the cooling remote control information into the second key information. By operating the remote control information corresponding to the icon of the first key information sent by the air conditioner remote control 15, the second key information can be generated.
[0057] In some embodiments, after determining that the key setting is successful, the communication module 13 is further configured to: store the second key information.
[0058] In an embodiment, as Figure 5 shown, it is a schematic diagram of the key setting method of the air conditioner according to the embodiment of the present invention. As can be seen from Figure 5 , the communication module 13 synchronizes the first key information and the second key information. For example, synchronizes the mobile phone icon key and the user key generated by the air conditioner. When it is determined that the synchronization of the first key information and the second key information is successful, it is determined that the key setting of the air conditioner 1 is successful. After the key setting of the air conditioner 1 is successful, the first key information temporarily stored in the server 12, that is, the mobile phone icon key, is stored as the official key, and the second key information, that is, the user key generated by the air conditioner, is stored in the communication module 13.
[0059] As Figure 6 shown, it is a schematic diagram of the key setting method of the air conditioner according to the embodiment of the present invention. Based on the communication between the server 12, the communication module 13 and the controller 14, after the communication module 13 receives the first key information sent by the mobile terminal 11 through the server 12 and the second key information sent by the air conditioner remote control 15 through the controller 14, it synchronizes the first key information and the second key to complete the key setting of the air conditioner.
[0060] The following is an example of the key setting method of the air conditioner according to the embodiment of the present invention. As Figure 7As shown in the figure, it is a flowchart of the key setting method of an air conditioner according to an embodiment of the present invention.
[0061] Step S1, the air conditioner boots up and communicates normally.
[0062] Step S2, the mobile terminal communicates with the communication module through the server.
[0063] Step S3, enter the user password setting page of the mobile terminal.
[0064] Step S4, input the icon content at the user password setting content of the mobile terminal and confirm to send.
[0065] Step S5, the first key information and the key setting instruction are transmitted from the mobile terminal to the communication module through the server, and the first key information is temporarily stored in the server.
[0066] Step S6, the communication module transmits the key setting instruction to the controller and stores the first key information.
[0067] Step S7, the controller receives the key setting instruction and controls the air conditioner to enter the user key setting state.
[0068] Step S8, the user sends the corresponding remote control information through the air conditioner remote control according to the user key content requirements of the mobile terminal.
[0069] Step S9, the controller receives the remote control information, analyzes the content of the remote control information, and converts it into the second key information.
[0070] Step S10, the controller transmits the second key information to the communication module.
[0071] Step S11, the communication module determines whether the first key information and the second key information are synchronized. If so, execute Step S12; if not, execute Step S14.
[0072] Step S12, notify the mobile terminal that the user key setting is successful.
[0073] Step S13, store the first key information in the server and the second key information in the communication module to complete the user key setting.
[0074] Step S14, notify the mobile terminal that the user key setting fails.
[0075] Step S15, determine whether to reset the user key. If so, execute Step S3; if not, execute Step S16.
[0076] Step S16, exit the user key setting.
[0077] According to the air conditioner 1 of the embodiment of the present invention, when the user sets the air conditioner key, by receiving the key setting instruction sent by the mobile terminal, the air conditioner is controlled to enter the key setting state, and in the key setting state, based on the communication between the communication module, the server and the controller, the key is set, so that the user can customize the key of the air conditioner, simplify the key generation process, and further encrypt on the basis of the existing encryption password, improve the encryption level, thereby increasing the security of communication.
[0078] The following describes the key setting method of the air conditioner according to the embodiment of the present invention. As Figure 8 shown, the fresh air control method of the air conditioner according to the embodiment of the present invention includes steps S17 to S20.
[0079] Step S17, receiving the key setting instruction sent by the mobile terminal to control the air conditioner to enter the key setting state.
[0080] In the embodiment, the mobile terminal sends the key setting instruction to the server, the server sends the key setting instruction to the communication module, the communication module sends the key setting instruction to the controller, and after receiving the key setting instruction, the controller controls the air conditioner to enter the key setting state.
[0081] Step S18, in the key setting state, receiving the remote control information corresponding to the first key information sent by the mobile terminal and sent by the air conditioner remote control.
[0082] In the embodiment, when the air conditioner is in the key setting state, the user operates the air conditioner remote control to send the remote control information corresponding to the first key information according to the input icon content in the user setting interface. For example, when the first key information is the key information corresponding to the cooling icon, the corresponding remote control information is cooling; when the first key information is the key information corresponding to the medium wind icon, the corresponding remote control information is medium wind; when the first key information is the key information corresponding to the temperature icon, the corresponding remote control information is the temperature, for example, 26°C.
[0083] Step S19, determining the second key information according to the remote control information.
[0084] In the embodiment, after receiving the remote control information, the controller parses the remote control information to generate the second key information. For example, cooling, medium wind and 26°C are converted into digital key information, for example, 12345678.
[0085] Step S20, sending the second key information to the communication module.
[0086] In the embodiment, the controller sends the generated second key information to the communication module, synchronizes the first key information and the second key information through the communication module, and when the synchronization is completed, it is determined that the user has completed setting the key.
[0087] According to the key setting method of an air conditioner according to an embodiment of the present invention, when a user sets the key of the air conditioner, by receiving a key setting instruction sent by a mobile terminal, the air conditioner is controlled to enter a key setting state, and in the key setting state, based on the communication between the communication module, the server and the controller, key setting is performed, so that the user can customize the key of the air conditioner, simplifying the key generation process, and further encrypting on the basis of the existing encryption password, improving the encryption level, thereby increasing the security of communication.
[0088] In some embodiments, controlling the air conditioner to enter the key setting state includes: sending a reminder message to enter the key setting state to remind the user that the air conditioner has entered the key setting state.
[0089] In an embodiment, after receiving a key setting command, for example, an air conditioner control MCU of the controller controls the air conditioner to enter the user key setting state. At this time, a reminder message is sent to remind the user that the air conditioner has entered the key setting state. For example, the indicator light is lit, and it is considered that the air conditioner has entered the key setting state. By sending a reminder message when the air conditioner enters the key setting state to remind the user that the air conditioner has entered the key setting state, the user can be reminded to complete the key setting within a set time, avoiding the failure of key setting due to no key setting for too long. Thus, it is convenient for the user to perform key setting according to the reminder message, increasing the probability of successful key setting.
[0090] According to the key setting method of an air conditioner according to an embodiment of the present invention, when a user sets the key of the air conditioner, by receiving a key setting instruction sent by a mobile terminal, the air conditioner is controlled to enter a key setting state, and in the key setting state, based on the communication between the communication module, the server and the controller, key setting is performed, so that the user can customize the key of the air conditioner, simplifying the key generation process, and further encrypting on the basis of the existing encryption password, improving the encryption level, thereby increasing the security of communication.
[0091] In the description of this specification, the description with reference to terms such as "one embodiment", "some embodiments", "schematic embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic descriptions of the above terms do not necessarily refer to the same embodiment or example.
[0092] Although the embodiments of the present invention have been shown and described, those of ordinary skill in the art can understand that various changes, modifications, substitutions, and variations can be made to these embodiments without departing from the principles and purposes of the present invention. The scope of the present invention is defined by the claims and their equivalents.
Claims
1. An air conditioner, characterized in that, comprising: The air conditioner includes: a communication module and a controller, The communication module, the communication module communicates with a mobile terminal through a server, the communication module is configured to receive first key information sent by the mobile terminal through the server and second key information sent by the controller of the air conditioner, and synchronize the first key information and the second key information, and set the key of the air conditioner according to the synchronization result. When synchronizing the first key information and the second key information, the communication module is configured to: determine whether the first key information and the second key information match; if the first key information and the second key information match, determine that the key setting is successful; if the first key information and the second key information do not match, determine that the key setting fails; The controller is configured to: receive a key setting instruction sent by the mobile terminal to control the air conditioner to enter a key setting state; In the key setting state, receive remote control information corresponding to the first key information sent by the mobile terminal from an air conditioner remote control; Determine the second key information according to the remote control information; Send the second key information to the communication module.
2. The air conditioner according to claim 1, characterized in that, When controlling the air conditioner to enter the key setting state, the controller is configured to: Send a reminder message for entering the key setting state to remind the user that the air conditioner enters the key setting state.
3. The air conditioner according to claim 1, characterized in that, When controlling the air conditioner to enter the key setting state, the controller is further configured to: Time the duration of the air conditioner entering the key setting state, and when the duration exceeds a first preset duration, control the air conditioner to exit the key setting state.
4. The air conditioner according to claim 1, characterized in that, When synchronizing the first key information and the second key information, the communication module is further configured to: Time the synchronization duration of the first key information and the second key information, and when the synchronization duration exceeds a second preset duration threshold, determine that the key setting fails.
5. The air conditioner according to claim 1 or 4, characterized in that, After determining that the key setting fails, the controller is further configured to: send a reminder message for key setting failure.
6. The air conditioner according to claim 1, characterized in that, When determining the second key information according to the remote control information, the controller is configured to: Determine the graphic information corresponding to the first key information; Determine the remote control information corresponding to the graphic information according to the graphic information; Determine the second key information according to the remote control information, wherein multiple sets of corresponding relationship sets between different remote control information and the second key information are pre-stored in the controller.
7. The air conditioner according to claim 1, characterized in that, After determining that the key setting is successful, the communication module is further configured to: store the second key information.
8. A method for setting a key of an air conditioner, characterized in that, comprising: The air conditioner includes: a communication module and a controller, The controller receives a key setting instruction sent by the mobile terminal to control the air conditioner to enter the key setting state; In the key setting state, it receives the remote control information corresponding to the first key information sent by the mobile terminal from the air conditioner remote control; Determine the second key information according to the remote control information; Send the second key information to the communication module; The communication module receives the first key information sent by the mobile terminal through the server and the second key information sent by the controller of the air conditioner, synchronizes the first key information and the second key information, and sets the key of the air conditioner according to the synchronization result. When synchronizing the first key information and the second key information, the communication module is configured to: determine whether the first key information and the second key information match; if the first key information and the second key information match, determine that the key setting is successful; if the first key information and the second key information do not match, determine that the key setting fails.
9. The key setting method of the air conditioner according to claim 8, characterized in that, Controlling the air conditioner to enter the key setting state includes: Sending a reminder message to enter the key setting state to remind the user that the air conditioner has entered the key setting state.
Citation Information
Patent Citations
Household appliance network distribution method and device, electronic equipment and storage medium
CN111954212A
Assigning Scenarios to Command Buttons
US20110208359A1