WO2020073614A1 - 空调器的通讯方法、装置、室外机、室内机及空调器 - Google Patents

空调器的通讯方法、装置、室外机、室内机及空调器 Download PDF

Info

Publication number
WO2020073614A1
WO2020073614A1 PCT/CN2019/078820 CN2019078820W WO2020073614A1 WO 2020073614 A1 WO2020073614 A1 WO 2020073614A1 CN 2019078820 W CN2019078820 W CN 2019078820W WO 2020073614 A1 WO2020073614 A1 WO 2020073614A1
Authority
WO
WIPO (PCT)
Prior art keywords
indoor unit
communication
protocol type
priority number
air conditioner
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.)
Ceased
Application number
PCT/CN2019/078820
Other languages
English (en)
French (fr)
Inventor
骆恒
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Air Conditioning Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Air Conditioning Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to US17/282,582 priority Critical patent/US11339989B2/en
Publication of WO2020073614A1 publication Critical patent/WO2020073614A1/zh
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5038Address allocation for local use, e.g. in LAN or USB networks, or in a controller area network [CAN]

Definitions

  • the present application relates to the field of electrical appliances, in particular to a communication method and device of an air conditioner, an outdoor unit, an indoor unit, and an air conditioner.
  • the free random number air conditioner automatic random addressing communication method based on RS485 is usually adopted, and the automatic addressing method is adopted to solve the problems of manual addressing installation trouble, low efficiency and high cost.
  • the embodiment of the present application solves the problem that may occur when multiple indoor units in a time period access the outdoor unit at the same time in the prior art by providing an air conditioner communication method, device, outdoor unit, indoor unit, and air conditioner
  • the problem of access conflicts realizes the communication mode between the indoor unit and the outdoor unit, which can flexibly configure the indoor unit of multiple protocols.
  • An embodiment of the first aspect of the present application provides a communication method for an air conditioner, which is applied to an outdoor unit and includes the following steps: receiving an indoor unit model, an indoor unit protocol type, and a priority number sent by a plurality of indoor units; Machine type, indoor unit protocol type and priority number, determine the communication protocol type and communication address corresponding to the indoor unit communication; send the communication protocol type and communication address to the corresponding indoor unit for the The corresponding indoor unit establishes a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication of the air conditioner before determining the communication protocol type and communication address corresponding to each indoor unit communication according to the indoor unit model, indoor unit protocol type and priority number, the communication of the air conditioner The method further includes: determining the communication level of each indoor unit according to the indoor unit model and the priority number; and sequentially invoking the multiple indoor units according to the priority order of the communication level.
  • the priority number is generated by the indoor unit according to a pre-stored priority number seed, priority number length, and current system time.
  • An embodiment of the second aspect of the present application provides an air conditioner communication method, which is applied to an indoor unit and includes the following steps: sending the indoor unit model, indoor unit protocol type, and priority number corresponding to the indoor unit to the outdoor unit; Receiving the communication protocol type and communication address corresponding to the indoor unit communication sent by the outdoor unit, the communication protocol type and communication address being the outdoor unit according to the indoor unit model, indoor unit protocol type and priority number Determined; establish a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication method of the air conditioner before sending the indoor unit model, indoor unit protocol type and priority number corresponding to the indoor unit to the outdoor unit, the communication method of the air conditioner further includes: obtaining a pre-stored priority number Seed, priority number length and current system time; generate the priority number according to the priority number seed, priority number length and the current system time.
  • An embodiment of a third aspect of the present application provides a communication device for an air conditioner, including: a first receiving module, configured to receive indoor unit models, indoor unit protocol types, and priority numbers sent by multiple indoor units; and a first determination module , Used to determine the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit model, indoor unit protocol type and priority number; the first sending module is used to convert the communication protocol type and communication The address is sent to the corresponding indoor unit for the corresponding indoor unit to establish a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication device of the air conditioner further includes: a second determination module configured to determine the communication level of each indoor unit according to the indoor unit model and the priority number; The module is used to sequentially call the plurality of indoor units according to the priority order of the communication levels.
  • An embodiment of the fourth aspect of the present application provides a communication device for an air conditioner, including: a second sending module, configured to send an indoor unit model, an indoor unit protocol type and a priority number corresponding to the indoor unit to an outdoor unit;
  • the second receiving module is used to receive the communication protocol type and communication address sent by the outdoor unit corresponding to the indoor unit communication.
  • the communication protocol type and communication address are the outdoor unit according to the indoor unit model, The indoor unit protocol type and priority number are determined; the establishment module is used to establish a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication device of the air conditioner further includes: an acquisition module for acquiring a pre-stored priority number seed, priority number length and current system time; a generation module for generating the priority number seed , The length of the priority number and the current system time, the priority number is generated.
  • An embodiment of the fifth aspect of the present application provides an outdoor unit, including: the communication device of the air conditioner as described in the embodiment of the third aspect of the present application.
  • An embodiment of the sixth aspect of the present application provides an indoor unit, including: the communication device of the air conditioner as described in the embodiment of the fourth aspect of the present application.
  • An embodiment of the seventh aspect of the present application provides an air conditioner, including: the outdoor unit as described in the fifth aspect of the present application, and / or the indoor unit as the sixth aspect of the present application.
  • An embodiment of the eighth aspect of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, The communication method of the air conditioner according to the embodiment of the first aspect of the present application, or the communication method of the air conditioner as described in the embodiment of the second aspect of the present application.
  • An embodiment of the ninth aspect of the present application provides a non-transitory computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • an air conditioner as described in the embodiment of the first aspect of the present application is implemented
  • the communication method, or the communication method of the air conditioner as described in the embodiment of the second aspect of the present application is implemented.
  • the outdoor unit determines the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit type, indoor unit protocol type and priority number sent by the multiple indoor units received, so that the corresponding indoor unit can use the communication protocol type Establish a communication connection with the outdoor unit with the communication address. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit of the agreement is the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit type, indoor unit protocol type and priority number sent by the multiple indoor units received, so that the corresponding indoor unit can use the communication protocol type Establish a communication connection with the outdoor unit with the communication address. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit of the agreement is the communication protocol
  • the outdoor unit determines the communication level of each indoor unit according to the indoor unit type and priority number, and sequentially calls multiple indoor units according to the priority order of the communication level to ensure the response speed of the indoor unit with a high communication level priority Fast, ensure the throughput of the outdoor unit (the number of requests processed per unit time), and improve the user experience.
  • the indoor unit sends the corresponding indoor unit model, indoor unit protocol type and priority number to the outdoor unit, and establishes the communication with the outdoor unit according to the communication protocol type and communication address corresponding to the indoor unit communication sent by the received outdoor unit Communication connection. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit of the agreement is the corresponding indoor unit model, indoor unit protocol type and priority number to the outdoor unit, and establishes the communication with the outdoor unit according to the communication protocol type and communication address corresponding to the indoor unit communication sent by the received outdoor unit Communication connection. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit generates a priority number based on the obtained pre-stored priority number seed, priority number length and current system time, which can effectively determine the priority level of the indoor unit.
  • FIG. 1 is a flowchart of a communication method of an air conditioner according to an embodiment of the present application
  • FIG. 2 is a flowchart of a communication method of an air conditioner before step S102 of the embodiment shown in FIG. 1;
  • FIG. 3 is a flowchart of a communication method of an air conditioner according to another embodiment of the present application.
  • FIG. 4 is a flowchart of a communication method of an air conditioner before step S301 of the embodiment shown in FIG. 3;
  • FIG. 5 is a structural diagram of a communication device of an air conditioner according to an embodiment of the present application.
  • FIG. 6 is a structural diagram of a communication device of an air conditioner according to another embodiment of the present application.
  • FIG. 7 is a structural diagram of an outdoor unit according to an embodiment of the present application.
  • FIG. 8 is a structural diagram of an indoor unit according to an embodiment of the present application.
  • FIG. 9 is a structural diagram of an air conditioner according to an embodiment of the present application.
  • FIG. 10 is a structural diagram of an electronic device according to an embodiment of the present application.
  • This application provides a communication method and device for an air conditioner, an outdoor unit, an indoor unit, and an air conditioner in order to solve the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time in the prior art
  • the outdoor unit determines the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit type, indoor unit protocol type and priority number sent by the multiple indoor units, so that the corresponding indoor unit can use the communication protocol type Establish a communication connection with the outdoor unit to the communication address, and then realize the communication mode between the indoor unit and the outdoor unit, which can flexibly configure the indoor unit with multiple protocols.
  • FIG. 1 is a flowchart of an air conditioner communication method according to an embodiment of the present application.
  • the air conditioner communication method is applied to an outdoor unit.
  • the air conditioner communication method may include:
  • the multiple indoor units are at least two indoor units. After the indoor unit and the outdoor unit are powered on, the indoor unit and the outdoor unit can establish a Transmission Control Protocol (TCP) connection.
  • TCP Transmission Control Protocol
  • the outdoor unit receives the indoor unit model, indoor unit protocol type and priority number sent by the indoor unit through the TCP connection .
  • the priority number of the indoor unit may be generated by the priority number seed, the priority number length, and the current system time pre-stored by the indoor unit.
  • the priority number may be generated by a priority number algorithm.
  • S102 Determine the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit model, indoor unit protocol type and priority number.
  • the mapping relationship between the indoor unit model, the indoor unit protocol type and the priority number, and the communication protocol type and communication address corresponding to the indoor unit communication can be established in advance.
  • the indoor unit model After the indoor unit protocol type and priority number, query the above mapping relationship to determine the communication protocol type and communication address corresponding to the indoor unit communication.
  • S103 Send the communication protocol type and communication address to the corresponding indoor unit, so that the corresponding indoor unit establishes a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication protocol type and communication address may be sent to the corresponding indoor unit through a TCP connection.
  • the indoor unit establishes a communication with the outdoor unit according to the communication protocol type and communication address Communication connection.
  • the communication connection may specifically be RS485 communication.
  • the outdoor unit determines the communication protocol type and communication address corresponding to the indoor unit communication according to the received indoor unit type, indoor unit protocol type and priority number sent by the multiple indoor units, so that the corresponding indoor unit can communicate according to the communication protocol type and communication
  • the address establishes a communication connection with the outdoor unit, so it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a long delay between the indoor unit and the outdoor unit.
  • Communication mode which can flexibly configure indoor units with multiple protocols.
  • FIG. 2 is a flowchart of the communication method of the air conditioner before step S102 of the embodiment shown in FIG. 1.
  • the communication method of the air conditioner may further include:
  • S201 Determine the communication level of each indoor unit according to the indoor unit type and priority number.
  • the mapping relationship between the indoor unit model and the priority number and the communication level of each indoor unit can be established in advance. After obtaining the indoor unit model and the priority number, query the above mapping relationship to determine The communication level of each indoor unit. As a feasible implementation manner, after determining the communication level of each indoor unit, the communication level of each indoor unit may be stored in the memory of the outdoor unit in the form of a two-way queue data structure.
  • the communication levels of each indoor unit stored in the bidirectional queue of the outdoor unit can be traversed, and the communication levels of each indoor unit can be compared to find the communication level with the highest priority from them, and Call the indoor unit corresponding to the highest priority communication level, that is, perform steps S102 and S103 in the embodiment shown in FIG. 1 on the corresponding indoor unit. After the call is completed, repeat the above process to find the priority in the two-way queue again The communication level with the highest level and calling the indoor unit corresponding to the communication level with the highest priority until all indoor units are called.
  • the outdoor unit determines the communication level of each indoor unit according to the indoor unit type and priority number, and calls multiple indoor units in sequence according to the priority order of the communication level, to ensure that the indoor unit with a high communication level priority responds quickly. Ensure the throughput of the outdoor unit (the number of requests processed per unit time) and improve the user experience.
  • FIG. 3 is a flowchart of an air conditioner communication method according to another embodiment of the present application.
  • the air conditioner communication method is applied to an indoor unit.
  • the air conditioner communication method may include:
  • S301 Send the indoor unit model, indoor unit protocol type and priority number corresponding to the indoor unit to the outdoor unit.
  • the indoor unit model, indoor unit protocol type and priority number corresponding to the indoor unit can be stored in the electrically erasable programmable read-only memory (Electrically Erasable Programmable Read Only Memory (EEPROM) for short)
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • the unit can obtain the corresponding indoor unit model, indoor unit protocol type and priority number from the EEPROM, and then establish a TCP connection with the outdoor unit, and the indoor unit sends the indoor unit model, indoor unit protocol type and priority number to the TCP connection The outdoor unit.
  • EEPROM Electrically Erasable Programmable Read Only Memory
  • the communication protocol type and communication address are determined by the outdoor unit according to the indoor unit model, indoor unit protocol type and priority number.
  • the outdoor unit determines the communication protocol type and communication address corresponding to the indoor unit communication according to the received indoor unit type, indoor unit protocol type and priority number, and the indoor unit can receive the indoor unit through TCP connection Communication protocol type and communication address corresponding to communication.
  • the indoor unit establishes a communication connection with the outdoor unit according to the communication protocol type and communication address received in step S302.
  • the communication connection may specifically be RS485 communication.
  • the indoor unit sends the corresponding indoor unit model, indoor unit protocol type and priority number to the outdoor unit, and establishes communication with the outdoor unit according to the communication protocol type and communication address corresponding to the indoor unit communication sent by the received outdoor unit connection. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit of the agreement is the corresponding indoor unit model, indoor unit protocol type and priority number to the outdoor unit, and establishes communication with the outdoor unit according to the communication protocol type and communication address corresponding to the indoor unit communication sent by the received outdoor unit connection. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the communication method of the air conditioner may further include:
  • the priority number seed and the priority number length can be pre-stored in the EEPROM of the indoor unit, the indoor unit can obtain the pre-stored priority number seed and priority number length from the EEPROM, and at the same time, the indoor unit can obtain the current system time .
  • S402 Generate a priority number according to the priority number seed, priority number length, and current system time.
  • the indoor unit generates the priority number according to the priority number seed, the priority number length and the current system time.
  • the priority number can be generated by the priority number algorithm.
  • the indoor unit generates a priority number based on the obtained pre-stored priority number seed, priority number length and current system time, which can effectively determine the priority level of the indoor unit.
  • Embodiment 5 Based on the same application concept, the embodiments of the present application also provide apparatuses corresponding to the methods in Embodiment 1 and Embodiment 2, see Embodiment 5.
  • FIG. 5 is a structural diagram of a communication device of an air conditioner according to an embodiment of the present application. As shown in FIG. 5, the communication device of the air conditioner includes:
  • the first receiving module 21 is used to receive indoor unit models, indoor unit protocol types and priority numbers sent by multiple indoor units;
  • the first determining module 22 is used to determine the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit type, indoor unit protocol type and priority number;
  • the first sending module 23 is used to send the communication protocol type and communication address to the corresponding indoor unit, so that the corresponding indoor unit establishes a communication connection with the outdoor unit according to the communication protocol type and communication address.
  • the communication device of the air conditioner further includes:
  • the second determination module is used to determine the communication level of each indoor unit according to the indoor unit type and priority number;
  • the calling module is used to call multiple indoor units in sequence according to the priority order of the communication level.
  • the outdoor unit determines the communication protocol type and communication address corresponding to the indoor unit communication according to the indoor unit type, indoor unit protocol type and priority number sent by the multiple indoor units received, so that the corresponding indoor unit can use the communication protocol type
  • Establish a communication connection with the outdoor unit to the communication address so it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a large number of indoor units and outdoor
  • the communication mode of the machine can flexibly configure the indoor unit of multiple protocols.
  • the outdoor unit determines the communication level of each indoor unit according to the indoor unit type and priority number, and sequentially calls multiple indoor units according to the priority order of the communication level to ensure the response speed of the indoor unit with a high communication level priority Fast, ensure the throughput of the outdoor unit (the number of requests processed per unit time), and improve the user experience.
  • Embodiment 6 Based on the same application concept, the embodiments of the present application also provide apparatuses corresponding to the methods in Embodiment 3 and Embodiment 4, see Embodiment 6.
  • FIG. 6 is a structural diagram of a communication device of an air conditioner according to another embodiment of the present application. As shown in FIG. 6, the communication device of the air conditioner includes:
  • the second sending module 31 is used to send the indoor unit model, indoor unit protocol type and priority number corresponding to the indoor unit to the outdoor unit;
  • the second receiving module 32 is used to receive the communication protocol type and communication address sent by the outdoor unit corresponding to the indoor unit communication.
  • the communication protocol type and communication address are determined by the outdoor unit according to the indoor unit model, indoor unit protocol type and priority number ;
  • the establishment module 33 is used to establish a communication connection with the outdoor unit according to the communication protocol type and the communication address.
  • the communication device of the air conditioner further includes:
  • the acquisition module is used to acquire the pre-stored priority number seed, priority number length and current system time;
  • the generation module is used to generate the priority number according to the priority number seed, the priority number length and the current system time.
  • the device described in the sixth embodiment of the present application is a device used to implement the methods of the third and fourth embodiments of the present application, based on the methods described in the third and fourth embodiments of the present application, persons skilled in the art can Understand the specific structure and deformation of the device, so it will not be repeated here. All devices used in the methods of Embodiment 3 and Embodiment 4 of the present application are within the scope of protection of the present application.
  • the indoor unit sends its corresponding indoor unit model, indoor unit protocol type and priority number to the outdoor unit, and establishes an outdoor unit with the outdoor unit according to the communication protocol type and communication address corresponding to the indoor unit communication sent by the received outdoor unit Communication connection. Therefore, it effectively solves the problem of access conflicts that may occur when multiple indoor units access the outdoor unit at the same time, and thus realizes a communication mode of multiple indoor units and outdoor units, which can be flexibly configured.
  • the indoor unit of the agreement is the indoor unit of the agreement.
  • the indoor unit generates a priority number according to the pre-stored priority number seed, priority number length and current system time, which can effectively determine the priority level of the indoor unit.
  • Embodiment 7 Based on the same application concept, the embodiments of the present application also provide an outdoor unit corresponding to the device in Embodiment 5, see Embodiment 7.
  • the outdoor unit 70 includes: a communication device 71 of an air conditioner as shown in the device of the fifth embodiment.
  • Embodiment 8 Based on the same application concept, the embodiment of the present application also provides the indoor unit corresponding to the device in Embodiment 6, see Embodiment 8.
  • the indoor unit 80 includes: a communication device 81 of an air conditioner as shown in the device of the sixth embodiment.
  • Embodiment 9 Based on the same application concept, the embodiments of the present application also provide air conditioners corresponding to the outdoor unit in Embodiment 7 and the indoor unit in Embodiment 8, see Embodiment 9.
  • FIG. 9 is a structural diagram of an air conditioner according to an embodiment of the present application.
  • the air conditioner 90 includes: an outdoor unit 70 shown in Embodiment 7 and / or an indoor unit shown in Embodiment 8. 80.
  • Embodiment 10 Based on the same application concept, the embodiments of the present application also provide electronic devices corresponding to the methods in Embodiment 1, Embodiment 2, Embodiment 3, and Embodiment 4, see Embodiment 10.
  • FIG. 10 is a structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device 91 includes: a memory 92, a processor 93, and a computer program stored on the memory 92 and executable on the processor.
  • the processor 93 executes the program, it is implemented as described in the above embodiment The communication method of the air conditioner shown.
  • Embodiment 11 Based on the same application concept, the embodiments of the present application also provide non-transitory computer-readable storage media corresponding to the methods in Embodiment 1, Embodiment 2, Embodiment 3, and Embodiment 4, see Embodiment 11.
  • the non-transitory computer-readable storage medium has stored thereon a computer program, and when the program is executed by the processor, the communication method of the air conditioner as shown in the above embodiment is implemented.
  • the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer usable program code.
  • computer usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer readable memory that can guide a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, the instructions The device implements the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.

Landscapes

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

Abstract

本申请公开了一种空调器的通讯方法、装置、室外机、室内机及空调器,该空调器的通讯方法包括:接收多个室内机发送的室内机机型、室内机协议类型和优先数;根据室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址;将通讯协议类型和通讯地址发送至对应的室内机,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接。本申请的空调器的通讯方法、装置、室外机、室内机及空调器,解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。

Description

空调器的通讯方法、装置、室外机、室内机及空调器
相关申请的交叉引用
本申请基于申请号为201811173661.9,申请日为2018年10月09日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本申请涉及电器领域,尤其涉及一种空调器的通讯方法、装置、室外机、室内机及空调器。
背景技术
目前市场上的变频多联式空调器系统大部分采用手动定址方式,在销售或安装时通过手动调整达到定址的目的,这种方式安装比较麻烦,工作效率低,人工成本高。
相关技术中,通常采用基于RS485的自由数量空调自动随机定址通信方法采用自动定址方式,解决手动定址安装麻烦,效率低及成本高的问题。
但本申请发明人发现上述技术至少存在如下技术问题:
当一个时间段中有多个室内机同时访问室外机时,可能发生访问冲突的问题,无法实现一拖多的室内机与室外机的通信模式。
发明内容
本申请实施例通过提供一种空调器的通讯方法、装置、室外机、室内机及空调器,解决了现有技术中当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
本申请第一方面实施例提供了一种空调器的通讯方法,应用于室外机,包括以下步骤:接收多个室内机发送的室内机机型、室内机协议类型和优先数;根据所述室内机机型、室内机协议类型和优先数,确定与所述室内机通讯对应的通讯协议类型和通讯地址;将所述通讯协议类型和通讯地址发送至对应的所述室内机,以供所述对应的所述室内机根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
根据本申请的一个实施例,所述根据所述室内机机型、室内机协议类型和优先数,确定与每个所述室内机通讯对应的通讯协议类型和通讯地址之前,该空调器的通讯方法还包括:根据所述室内机机型和所述优先数,确定每个所述室内机的通讯等级;根据所述通讯 等级的优先级顺序,依次调用所述多个室内机。
根据本申请的一个实施例,所述优先数为所述室内机根据预先存储的优先数种子、优先数长度和当前系统时间生成的。
本申请第二方面实施例提供了一种空调器的通讯方法,应用于室内机,包括以下步骤:将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机;接收所述室外机发送的与所述室内机通讯对应的通讯协议类型和通讯地址,所述通讯协议类型和通讯地址为所述室外机根据所述室内机机型、室内机协议类型和优先数确定的;根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
根据本申请的一个实施例,所述将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机之前,该空调器的通讯方法还包括:获取预先存储的优先数种子、优先数长度和当前系统时间;根据所述优先数种子、优先数长度和所述当前系统时间,生成所述优先数。
本申请第三方面实施例提供了一种空调器的通讯装置,包括:第一接收模块,用于接收多个室内机发送的室内机机型、室内机协议类型和优先数;第一确定模块,用于根据所述室内机机型、室内机协议类型和优先数,确定与所述室内机通讯对应的通讯协议类型和通讯地址;第一发送模块,用于将所述通讯协议类型和通讯地址发送至对应的所述室内机,以供所述对应的所述室内机根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
根据本申请的一个实施例,该空调器的通讯装置,还包括:第二确定模块,用于根据所述室内机机型和所述优先数,确定每个所述室内机的通讯等级;调用模块,用于根据所述通讯等级的优先级顺序,依次调用所述多个室内机。
本申请第四方面实施例提供了一种空调器的通讯装置,包括:第二发送模块,用于将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机;第二接收模块,用于接收所述室外机发送的与所述室内机通讯对应的通讯协议类型和通讯地址,所述通讯协议类型和通讯地址为所述室外机根据所述室内机机型、室内机协议类型和优先数确定的;建立模块,用于根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
根据本申请的一个实施例,该空调器的通讯装置,还包括:获取模块,用于获取预先存储的优先数种子、优先数长度和当前系统时间;生成模块,用于根据所述优先数种子、优先数长度和所述当前系统时间,生成所述优先数。
本申请第五方面实施例提供了一种室外机,包括:如本申请第三方面实施例所述的空调器的通讯装置。
本申请第六方面实施例提供了一种室内机,包括:如本申请第四方面实施例所述的空 调器的通讯装置。
本申请第七方面实施例提供了一种空调器,包括:如本申请第五方面实施例所述的室外机,和/或如本申请第六方面实施例的室内机。
本申请第八方面实施例提供了一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时,实现如本申请第一方面实施例的空调器的通讯方法,或者如本申请第二方面实施例所述的空调器的通讯方法。
本申请第九方面实施例提供了一种非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现如本申请第一方面实施例所述的空调器的通讯方法,或者如本申请第二方面实施例所述的空调器的通讯方法。
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:
1、室外机根据接收的多个室内机发送的室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接。所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
2、室外机根据室内机机型和优先数,确定每个室内机的通讯等级,并根据通讯等级的优先级顺序,依次调用多个室内机,可确保通讯等级优先级高的室内机响应速度快,确保室外机的吞吐量(单位时间内处理的请求数量),提升用户的体验。
3、室内机将其对应的室内机机型、室内机协议类型和优先数发送至室外机,并根据接收的室外机发送的与室内机通讯对应的通讯协议类型和通讯地址,建立与室外机的通讯连接。所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
4、室内机根据获取的预先存储的优先数种子、优先数长度和当前系统时间生成优先数,可有效的确定室内机的优先级别。
附图说明
图1是根据本申请一个实施例的空调器的通讯方法的流程图;
图2是图1所示实施例S102步骤之前空调器的通讯方法的流程图;
图3是根据本申请另一个实施例的空调器的通讯方法的流程图;
图4是图3所示实施例S301步骤之前空调器的通讯方法的流程图;
图5是根据本申请一个实施例的空调器的通讯装置的结构图;
图6是根据本申请另一个实施例的空调器的通讯装置的结构图;
图7是根据本申请一个实施例的室外机的结构图;
图8是根据本申请一个实施例的室内机的结构图;
图9是根据本申请一个实施例的空调器的结构图;
图10是根据本申请一个实施例的电子设备的结构图。
具体实施方式
本申请为了解决现有技术中当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,提供了一种空调器的通讯方法、装置、室外机、室内机及空调器,室外机根据接收的多个室内机发送的室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
为了更好的理解上述技术方案,下面将参照附图更详细地描述本公开的示例性实施例。虽然附图中显示了本公开的示例性实施例,然而应当理解,可以以各种形式实现本公开而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更透彻地理解本公开,并且能够将本公开的范围完整的传达给本领域的技术人员。
为了更好的理解上述技术方案,下面将结合说明书附图以及具体的实施方式对上述技术方案进行详细的说明。
实施例一:
图1是根据本申请一个实施例的空调器的通讯方法的流程图,该空调器的通讯方法应用于室外机中,如图1所示,该空调器的通讯方法可包括:
S101,接收多个室内机发送的室内机机型、室内机协议类型和优先数。
本申请实施例中,多个室内机即至少两个室内机。室内机与室外机上电后,室内机与室外机可建立传输控制协议(Transmission Control Protocol,简称TCP)连接,室外机通过TCP连接接收室内机发送的室内机机型、室内机协议类型和优先数。作为一种可行的实施方式,室内机的优先数可通过室内机预先存储的优先数种子、优先数长度和当前系统时间生成,具体的,可通过优先数算法产生优先数。
S102,根据室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址。
本申请实施例中,可预先建立室内机机型、室内机协议类型和优先数和与室内机通讯 对应的通讯协议类型和通讯地址之间的映射关系,当S101步骤获取到室内机机型、室内机协议类型和优先数后,查询上述映射关系,即可确定与室内机通讯对应的通讯协议类型和通讯地址。
S103,将通讯协议类型和通讯地址发送至对应的室内机,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接。
本申请实施例中,在S102步骤获取通讯协议类型和通讯地址后,可通过TCP连接将通讯协议类型和通讯地址发送至对应的室内机,室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接。作为一种可行的实施方式,通讯连接具体可为RS485通讯。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
室外机根据接收的多个室内机发送的室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接,所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
实施例二:
图2是图1所示实施例S102步骤之前空调器的通讯方法的流程图,如图2所示,在图1所示实施例S102步骤之前,该空调器的通讯方法还可包括:
S201,根据室内机机型和优先数,确定每个室内机的通讯等级。
本申请实施例中,可预先建立室内机机型和优先数与每个室内机的通讯等级之间的映射关系,当获取到室内机机型和优先数后,查询上述映射关系,即可确定每个室内机的通讯等级。作为一种可行的实施方式,确定每个室内机的通讯等级后,可将每个室内机的通讯等级按照双向队列数据结构的形式存储于室外机的存储器中。
S202,根据通讯等级的优先级顺序,依次调用多个室内机。
本申请实施例中,可对存储在室外机的双向队列中每个室内机的通讯等级进行遍历,并对每个室内机的通讯等级进行比较,从其中找出优先级最高的通讯等级,并对优先级最高的通讯等级对应的室内机进行调用,即对对应的室内机执行图1所示实施例中的S102步骤及S103步骤,调用完毕后,重复上述过程,再次在双向队列中寻找优先级最高的通讯等级,并对优先级最高的通讯等级对应的室内机进行调用,直至所有室内机调用完毕。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
室外机根据室内机机型和优先数,确定每个室内机的通讯等级,并根据通讯等级的优先级顺序,依次调用多个室内机,可确保通讯等级优先级高的室内机响应速度快,确保室外机的吞吐量(单位时间内处理的请求数量),提升用户的体验。
实施例三:
图3是根据本申请另一个实施例的空调器的通讯方法的流程图,该空调器的通讯方法应用于室内机中,如图3所示,该空调器的通讯方法可包括:
S301,将室内机对应的室内机机型、室内机协议类型和优先数发送至室外机。
本申请实施例中,室内机对应的室内机机型、室内机协议类型和优先数可存储在室内机的带电可擦可编程只读存储器(Electrically Erasable Programmable Read Only Memory,简称EEPROM)中,室内机可从EEPROM中获取其对应的室内机机型、室内机协议类型和优先数,然后与室外机建立TCP连接,室内机通过TCP连接将室内机机型、室内机协议类型和优先数发送至室外机。
S302,接收室外机发送的与室内机通讯对应的通讯协议类型和通讯地址,通讯协议类型和通讯地址为室外机根据室内机机型、室内机协议类型和优先数确定的。
本申请实施例中,室外机根据接收到的室内机机型、室内机协议类型和优先数确定与室内机通讯对应的通讯协议类型和通讯地址,室内机可通过TCP连接的方式接收与室内机通讯对应的通讯协议类型和通讯地址。
S303,根据通讯协议类型和通讯地址建立与室外机的通讯连接。
本申请实施例中,室内机根据S302步骤接收的通讯协议类型和通讯地址建立与室外机的通讯连接。作为一种可行的实施方式,通讯连接具体可为RS485通讯。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
室内机将其对应的室内机机型、室内机协议类型和优先数发送至室外机,并根据接收的室外机发送的与室内机通讯对应的通讯协议类型和通讯地址,建立与室外机的通讯连接。所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
实施例四:
图4是图3所示实施例S301步骤之前空调器的通讯方法的流程图,如图4所示,在图3所示实施例S301步骤之前,该空调器的通讯方法还可包括:
S401,获取预先存储的优先数种子、优先数长度和当前系统时间。
本申请实施例中,优先数种子、优先数长度可预先存储在室内机的EEPROM中,室内机可从EEPROM中获取预先存储的优先数种子、优先数长度,同时,室内机可获取当前系统时间。
S402,根据优先数种子、优先数长度和当前系统时间,生成优先数。
本申请实施例中,室内机根据优先数种子、优先数长度和当前系统时间,生成优先数。 具体的,可通过优先数算法产生优先数。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
室内机根据获取的预先存储的优先数种子、优先数长度和当前系统时间生成优先数,可有效的确定室内机的优先级别。
基于同一申请构思,本申请实施例还提供了实施例一及实施例二中方法对应的装置,见实施例五。
实施例五:
图5是根据本申请一个实施例的空调器的通讯装置的结构图,如图5所示,该空调器的通讯装置包括:
第一接收模块21,用于接收多个室内机发送的室内机机型、室内机协议类型和优先数;
第一确定模块22,用于根据室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址;
第一发送模块23,用于将通讯协议类型和通讯地址发送至对应的室内机,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接。
进一步的,在本申请实施例一种可能的实现方式中,该空调器的通讯装置还包括:
第二确定模块,用于根据室内机机型和优先数,确定每个室内机的通讯等级;
调用模块,用于根据通讯等级的优先级顺序,依次调用多个室内机。
由于本申请实施例五所介绍的装置,为实施本申请实施例一及实施例二的方法所采用的装置,故而基于本申请实施例一及实施例二所介绍的方法,本领域所属人员能够了解该装置的具体结构及变形,故而在此不再赘述。凡是本申请实施例一及实施例二的方法所采用的装置都属于本申请所欲保护的范围。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
1、室外机根据接收的多个室内机发送的室内机机型、室内机协议类型和优先数,确定与室内机通讯对应的通讯协议类型和通讯地址,以供对应的室内机根据通讯协议类型和通讯地址建立与室外机的通讯连接,所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
2、室外机根据室内机机型和优先数,确定每个室内机的通讯等级,并根据通讯等级的优先级顺序,依次调用多个室内机,可确保通讯等级优先级高的室内机响应速度快,确保室外机的吞吐量(单位时间内处理的请求数量),提升用户的体验。
基于同一申请构思,本申请实施例还提供了实施例三及实施例四中方法对应的装置,见实施例六。
实施例六:
图6是根据本申请另一个实施例的空调器的通讯装置的结构图,如图6所示,该空调器的通讯装置包括:
第二发送模块31,用于将室内机对应的室内机机型、室内机协议类型和优先数发送至室外机;
第二接收模块32,用于接收室外机发送的与室内机通讯对应的通讯协议类型和通讯地址,通讯协议类型和通讯地址为室外机根据室内机机型、室内机协议类型和优先数确定的;
建立模块33,用于根据通讯协议类型和通讯地址建立与室外机的通讯连接。
进一步的,在本申请实施例一种可能的实现方式中,该空调器的通讯装置还包括:
获取模块,用于获取预先存储的优先数种子、优先数长度和当前系统时间;
生成模块,用于根据优先数种子、优先数长度和当前系统时间,生成优先数。
由于本申请实施例六所介绍的装置,为实施本申请实施例三及实施例四的方法所采用的装置,故而基于本申请实施例三及实施例四所介绍的方法,本领域所属人员能够了解该装置的具体结构及变形,故而在此不再赘述。凡是本申请实施例三及实施例四的方法所采用的装置都属于本申请所欲保护的范围。
上述本申请实施例中的技术方案,至少具有如下的技术效果或优点:
1、室内机将其对应的室内机机型、室内机协议类型和优先数发送至室外机,并根据接收的室外机发送的与室内机通讯对应的通讯协议类型和通讯地址,建立与室外机的通讯连接。所以,有效解决了当一个时间段中有多个室内机同时访问室外机时,可能发生的访问冲突问题,进而实现了一拖多的室内机与室外机的通信模式,从而可以灵活的配置多种协议的室内机。
2、室内机根据获取的预先存储的优先数种子、优先数长度和当前系统时间生成优先数,可有效的确定室内机的优先级别。
基于同一申请构思,本申请实施例还提供了实施例五中装置对应的室外机,见实施例七。
实施例七:
图7是根据本申请一个实施例的室外机的结构图,如图7所示,该室外机70包括:如实施例五装置所示的空调器的通讯装置71。
基于同一申请构思,本申请实施例还提供了实施例六中装置对应的室内机,见实施例八。
实施例八:
图8是根据本申请一个实施例的室内机的结构图,如图8所示,该室内机80包括:如 实施例六装置所示的空调器的通讯装置81。
基于同一申请构思,本申请实施例还提供了实施例七中室外机及实施例八中室内机对应的空调器,见实施例九。
实施例九:
图9是根据本申请一个实施例的空调器的结构图,如图9所示,该空调器90包括:如实施例七所示的室外机70和/或如实施例八所示的室内机80。
基于同一申请构思,本申请实施例还提供了实施例一、实施例二、实施例三及实施例四中方法对应的电子设备,见实施例十。
实施例十:
图10是根据本申请一个实施例的电子设备的结构图。如图10所示,该电子设备91,包括:存储器92、处理器93及存储在存储器92上并可在处理器上运行的计算机程序,处理器93执行程序时,以实现如上述实施例所示的空调器的通讯方法。
基于同一申请构思,本申请实施例还提供了实施例一、实施例二、实施例三及实施例四中方法对应的非临时性计算机可读存储介质,见实施例十一。
实施例十一:
该非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,实现如上述实施例所示的空调器的通讯方法。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
应当注意的是,在权利要求中,不应将位于括号之间的任何参考符号构造成对权利要求的限制。单词“包含”不排除存在未列在权利要求中的部件或步骤。位于部件之前的单词“一”或“一个”不排除存在多个这样的部件。本申请可以借助于包括有若干不同部件的硬件以及借助于适当编程的计算机来实现。在列举了若干装置的单元权利要求中,这些装置中的若干个可以是通过同一个硬件项来具体体现。单词第一、第二、以及第三等的使用不表示任何顺序。可将这些单词解释为名称。
尽管已描述了本申请的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例作出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请范围的所有变更和修改。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (14)

  1. 一种空调器的通讯方法,其特征在于,应用于室外机,包括以下步骤:
    接收多个室内机发送的室内机机型、室内机协议类型和优先数;
    根据所述室内机机型、室内机协议类型和优先数,确定与所述室内机通讯对应的通讯协议类型和通讯地址;
    将所述通讯协议类型和通讯地址发送至对应的所述室内机,以供所述对应的所述室内机根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
  2. 根据权利要求1所述的通讯方法,其特征在于,所述根据所述室内机机型、室内机协议类型和优先数,确定与每个所述室内机通讯对应的通讯协议类型和通讯地址之前,还包括:
    根据所述室内机机型和所述优先数,确定每个所述室内机的通讯等级;
    根据所述通讯等级的优先级顺序,依次调用所述多个室内机。
  3. 根据权利要求1或2所述的通讯方法,其特征在于,所述优先数为所述室内机根据预先存储的优先数种子、优先数长度和当前系统时间生成的。
  4. 一种空调器的通讯方法,其特征在于,应用于室内机,包括以下步骤:
    将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机;
    接收所述室外机发送的与所述室内机通讯对应的通讯协议类型和通讯地址,所述通讯协议类型和通讯地址为所述室外机根据所述室内机机型、室内机协议类型和优先数确定的;
    根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
  5. 根据权利要求4所述的通讯方法,其特征在于,所述将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机之前,还包括:
    获取预先存储的优先数种子、优先数长度和当前系统时间;
    根据所述优先数种子、优先数长度和所述当前系统时间,生成所述优先数。
  6. 一种空调器的通讯装置,其特征在于,包括:
    第一接收模块,用于接收多个室内机发送的室内机机型、室内机协议类型和优先数;
    第一确定模块,用于根据所述室内机机型、室内机协议类型和优先数,确定与所述室内机通讯对应的通讯协议类型和通讯地址;
    第一发送模块,用于将所述通讯协议类型和通讯地址发送至对应的所述室内机,以供所述对应的所述室内机根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
  7. 根据权利要求6所述的通讯装置,其特征在于,还包括:
    第二确定模块,用于根据所述室内机机型和所述优先数,确定每个所述室内机的通讯 等级;
    调用模块,用于根据所述通讯等级的优先级顺序,依次调用所述多个室内机。
  8. 一种空调器的通讯装置,其特征在于,包括:
    第二发送模块,用于将所述室内机对应的室内机机型、室内机协议类型和优先数发送至室外机;
    第二接收模块,用于接收所述室外机发送的与所述室内机通讯对应的通讯协议类型和通讯地址,所述通讯协议类型和通讯地址为所述室外机根据所述室内机机型、室内机协议类型和优先数确定的;
    建立模块,用于根据所述通讯协议类型和通讯地址建立与所述室外机的通讯连接。
  9. 根据权利要求8所述的通讯装置,其特征在于,还包括:
    获取模块,用于获取预先存储的优先数种子、优先数长度和当前系统时间;
    生成模块,用于根据所述优先数种子、优先数长度和所述当前系统时间,生成所述优先数。
  10. 一种室外机,其特征在于,包括:如权利要求6或7所述的空调器的通讯装置。
  11. 一种室内机,其特征在于,包括:如权利要求8或9所述的空调器的通讯装置。
  12. 一种空调器,其特征在于,包括:如权利要求10所述的室外机,和/或如权利要求10所述的室内机。
  13. 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述程序时,实现如权利要求1-3任一项所述的空调器的通讯方法,或者如权利要求4或5所述的空调器的通讯方法。
  14. 一种非临时性计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时,实现如权利要求1-3任一项所述的空调器的通讯方法,或者如权利要求4或5所述的空调器的通讯方法。
PCT/CN2019/078820 2018-10-09 2019-03-20 空调器的通讯方法、装置、室外机、室内机及空调器 Ceased WO2020073614A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/282,582 US11339989B2 (en) 2018-10-09 2019-03-20 Communication method and device for air conditioner, outdoor unit, indoor unit, and air conditioner

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811173661.9 2018-10-09
CN201811173661.9A CN109373521B (zh) 2018-10-09 2018-10-09 空调器的通讯方法、装置、室外机、室内机及空调器

Publications (1)

Publication Number Publication Date
WO2020073614A1 true WO2020073614A1 (zh) 2020-04-16

Family

ID=65403875

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078820 Ceased WO2020073614A1 (zh) 2018-10-09 2019-03-20 空调器的通讯方法、装置、室外机、室内机及空调器

Country Status (3)

Country Link
US (1) US11339989B2 (zh)
CN (1) CN109373521B (zh)
WO (1) WO2020073614A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109373521B (zh) * 2018-10-09 2020-08-25 广东美的制冷设备有限公司 空调器的通讯方法、装置、室外机、室内机及空调器
CN110290231A (zh) * 2019-06-24 2019-09-27 广东美的暖通设备有限公司 分配方法、分配装置、中央空调系统和存储介质
CN111023262B (zh) * 2019-12-19 2021-04-16 青岛海信日立空调系统有限公司 一种Modbus协议转换装置及多联机集控系统
KR102780059B1 (ko) * 2020-07-01 2025-03-12 삼성전자주식회사 유선 리모컨 및 이의 절전 방법

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050074825A (ko) * 2004-01-14 2005-07-19 엘지전자 주식회사 에어컨의 피크전력 제어시스템 및 그 동작방법
CN104833047A (zh) * 2015-04-22 2015-08-12 四川长虹电器股份有限公司 一种控制方法及温度调节系统
CN104964399A (zh) * 2015-07-21 2015-10-07 珠海格力电器股份有限公司 空调设备的地址分配方法和装置
CN109373521A (zh) * 2018-10-09 2019-02-22 广东美的制冷设备有限公司 空调器的通讯方法、装置、室外机、室内机及空调器

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100550220B1 (ko) * 2004-04-27 2006-02-08 위니아만도 주식회사 멀티 에어컨의 통신을 위한 자동 주소 설정 방법
US8055387B2 (en) * 2005-08-22 2011-11-08 Trane International Inc. Building automation system data management
JP5082590B2 (ja) * 2007-05-30 2012-11-28 沖電気工業株式会社 通信装置および通信ネットワーク
US8239068B1 (en) * 2009-06-26 2012-08-07 Comverge, Inc. Method and system for cooperative powering of unitary air conditioners
US10563884B2 (en) * 2018-01-29 2020-02-18 Lennox Industries Inc. Auto addressing for HVAC units
WO2019148427A1 (en) * 2018-02-01 2019-08-08 Ademco Inc. Universal wireless hvac controller with an internally stored infrared (ir) database
CN110710173B (zh) * 2018-05-09 2022-02-11 日立江森自控空调有限公司 空调机系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050074825A (ko) * 2004-01-14 2005-07-19 엘지전자 주식회사 에어컨의 피크전력 제어시스템 및 그 동작방법
CN104833047A (zh) * 2015-04-22 2015-08-12 四川长虹电器股份有限公司 一种控制方法及温度调节系统
CN104964399A (zh) * 2015-07-21 2015-10-07 珠海格力电器股份有限公司 空调设备的地址分配方法和装置
CN109373521A (zh) * 2018-10-09 2019-02-22 广东美的制冷设备有限公司 空调器的通讯方法、装置、室外机、室内机及空调器

Also Published As

Publication number Publication date
CN109373521A (zh) 2019-02-22
CN109373521B (zh) 2020-08-25
US11339989B2 (en) 2022-05-24
US20210348793A1 (en) 2021-11-11

Similar Documents

Publication Publication Date Title
WO2020073614A1 (zh) 空调器的通讯方法、装置、室外机、室内机及空调器
CN111464402B (zh) 一种智能家居设备的控制方法、终端设备及介质
US12088580B2 (en) Device binding method and device
CN111512603A (zh) 一种数据传输方法及第一设备
CN104144073A (zh) 主从装置环境的部署方法与主从装置环境的部署系统
CN113625589B (zh) 一种设备控制方法、装置、电子设备和存储介质
CN112019409B (zh) 设备配网处理方法、设备配网处理装置及电子设备
CN111083180B (zh) 物联网系统、物联网设备联动方法及装置
CN106301772A (zh) 密码设置方法、装置及用于设置密码的装置
WO2021196327A1 (zh) 空调器系统的控制方法、空调器系统、服务器及介质
CN115250456A (zh) 智能设备的控制方法、装置、计算机设备及存储介质
CN114338610B (zh) 地址分配方法、设备管理和灌溉系统、从机设备
CN107743081B (zh) 家电设备及其控制方法、系统及计算机可读存储介质
WO2019196464A1 (zh) 空调器的组网方法和装置、终端
WO2019196450A1 (zh) 空调系统的无线组网方法和装置
EP2942711A2 (en) Dynamic generation of proxy connections
US10326659B2 (en) Device and method for automatic switching of communication protocol of network devices based on user action
CN108156060A (zh) 家电设备及其通讯方法、系统及计算机可读存储介质
CN115589437A (zh) 一种工业协议的数据获取方法、装置及介质
CN109525417B (zh) 基于网口的家电设备接入方法、家电控制器及存储介质
CN115210698A (zh) 通信装置、程序、通信方法、信息处理方法、信息处理装置和通信系统
EP4485100A1 (en) Control method, system and apparatus, electronic device, storage medium, and program product
CN106302728B (zh) 家庭设备远程控制方法及装置
CN112241326A (zh) 一种应用的全局事件通知方法、装置
CN111190846A (zh) 一种基于总线系统的组网方法和总线系统

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19872220

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19872220

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20/08/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19872220

Country of ref document: EP

Kind code of ref document: A1