WO2024001491A1 - 家电系统及其通讯方法、设备、存储介质 - Google Patents

家电系统及其通讯方法、设备、存储介质 Download PDF

Info

Publication number
WO2024001491A1
WO2024001491A1 PCT/CN2023/091272 CN2023091272W WO2024001491A1 WO 2024001491 A1 WO2024001491 A1 WO 2024001491A1 CN 2023091272 W CN2023091272 W CN 2023091272W WO 2024001491 A1 WO2024001491 A1 WO 2024001491A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
communication bus
bus
interface
arbitration frame
Prior art date
Application number
PCT/CN2023/091272
Other languages
English (en)
French (fr)
Inventor
玉维友
章文凯
黄永林
Original Assignee
佛山市顺德区美的电子科技有限公司
广东美的制冷设备有限公司
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 佛山市顺德区美的电子科技有限公司, 广东美的制冷设备有限公司 filed Critical 佛山市顺德区美的电子科技有限公司
Publication of WO2024001491A1 publication Critical patent/WO2024001491A1/zh

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F1/00Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station
    • F24F1/0003Room units for air-conditioning, e.g. separate or self-contained units or units receiving primary air from a central station characterised by a split arrangement, wherein parts of the air-conditioning system, e.g. evaporator and condenser, are in separately located units
    • 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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • 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/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/70Control systems characterised by their outputs; Constructional details thereof
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/175Controlling the light source by remote control
    • H05B47/18Controlling the light source by remote control via data-bus transmission
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/30Velocity
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/62Tobacco smoke
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/64Airborne particle content
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/65Concentration of specific substances or contaminants
    • F24F2110/70Carbon dioxide
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present disclosure relates to the technical field of home appliances, and in particular, provides a home appliance system and its communication method, equipment, and storage medium.
  • Air conditioning systems generally consist of outdoor units, indoor units and wire controllers.
  • the multi-split system is a one-to-multiple air conditioning system, which includes multiple indoor units.
  • a communication network needs to be established between multiple indoor units and outdoor units for communication.
  • the RS485 communication network is mainly used.
  • the RS485 communication network generally adopts the master-slave mode, that is, it is composed of one host and multiple slaves.
  • the outdoor unit serves as the host, the indoor unit and the wire controller serve as the slaves.
  • the host polls the slaves and the slaves respond. , the slave machine whose name is not called cannot actively send data.
  • the characteristics of master-slave communication mean that in some special circumstances, the slave cannot actively send data. For example, when an emergency failure occurs and requires shutdown, a fire alarm occurs, etc., the signal cannot be sent to the master or other slaves at the first time, which can easily cause Damage to the unit or other losses.
  • the present disclosure aims to solve one of the technical problems in the related art, at least to a certain extent.
  • the first purpose of the present disclosure is to propose a communication method for a home appliance system.
  • the device can send data when it monitors that the communication bus is in an idle state.
  • Arbitration frames are used to compete for control of the communication bus, thereby achieving timely and efficient transmission of business data.
  • a second object of the present disclosure is to provide a computer-readable storage medium.
  • a third object of the present disclosure is to propose a device.
  • the fourth object of the present disclosure is to provide a home appliance system.
  • the first embodiment of the present disclosure proposes a communication method for a home appliance system.
  • the home appliance system includes multiple devices, each device includes a communication interface and a monitoring interface, and each device communicates through the communication interface and the monitoring interface respectively. Connect to the communication bus to perform carrier communication.
  • the method includes: when any one of the multiple devices has a data sending requirement, the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, communicates through the communication
  • the interface sends an arbitration frame to the communication bus; the device receives the arbitration frame on the communication bus through the monitoring port, and competes for communication bus control based on the received arbitration frame and the sent arbitration frame, and successfully competes for communication bus control.
  • the device when any one of the multiple devices has a data transmission requirement, the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, the device monitors the status of the communication bus through the communication interface.
  • Send an arbitration frame to the communication bus and the device receives the arbitration frame on the communication bus through the monitoring port, and competes for control of the communication bus based on the received arbitration frame and the sent arbitration frame, and communicates through the communication when the competition for communication bus control is successful.
  • the interface sends data frames to the communication bus.
  • the device can compete for control of the communication bus by sending an arbitration frame when it detects that the communication bus is in an idle state, and competes for the control of the communication bus. After the control is successful, the data frame is sent to achieve timely and efficient transmission of business data.
  • a second embodiment of the present disclosure provides a computer-readable storage medium on which a communication program of a home appliance system is stored.
  • the communication program of the home appliance system is executed by a processor, the home appliance of any of the above embodiments is implemented.
  • Systematic communication methods are used.
  • the device can monitor that the communication bus is in an idle state through Arbitration frames are sent to compete for control of the communication bus, and after the competition for control of the communication bus is successful, data frames are sent to achieve timely and efficient transmission of business data.
  • the third embodiment of the present disclosure provides a device, including: a memory, a processor, and a communication program of a home appliance system stored in the memory and runable on the processor.
  • the processor executes the communication of the home appliance system.
  • the communication method of the home appliance system of any of the above embodiments is implemented.
  • the above communication method of the home appliance system is used.
  • the device can send an arbitration frame when it monitors that the communication bus is in an idle state. Methods are used to compete for control of the communication bus, and after the competition for control of the communication bus is successful, data frames are sent, thereby achieving timely and efficient transmission of business data.
  • the fourth embodiment of the present disclosure proposes a home appliance system, which includes multiple devices.
  • Each device includes a communication interface and a monitoring interface, and each device is connected to the communication bus through the communication interface and the monitoring interface.
  • the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is idle, sends an arbitration message to the communication bus through the communication interface frames, and receive arbitration frames on the communication bus through the monitoring port, and compete for communication bus control rights based on the received arbitration frames and sent arbitration frames, and send data frames to the communication bus through the communication interface when the competition for communication bus control rights is successful.
  • the device when any one of the multiple devices has a data transmission requirement, the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends data to the home appliance through the communication interface.
  • the communication bus sends an arbitration frame, and the device receives the arbitration frame on the communication bus through the monitoring port, and competes for control of the communication bus based on the received arbitration frame and the sent arbitration frame, and when the competition for communication bus control is successful, through the communication interface Send a data frame to the communication bus.
  • the device can compete for control of the communication bus by sending an arbitration frame when it detects that the communication bus is in an idle state, and competes for the control of the communication bus. After the control is successful, the data frame is sent to achieve timely and efficient transmission of business data.
  • Figures 1a-1b are schematic structural diagrams of a home appliance system according to an embodiment of the present disclosure
  • Figure 2 is a schematic flowchart of a communication method of a home appliance system according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a communication method of a home appliance system according to another embodiment of the present disclosure.
  • the home appliance system in the embodiment of the present disclosure can be any system that requires network communication.
  • the following description will mainly take a multi-connection system as an example.
  • the home appliance system includes multiple devices, specifically including an outdoor unit, n indoor units, and n wire controllers corresponding to the n indoor units, where n is an integer greater than 1.
  • each device includes communication interface A, monitoring interface B and MCU (Micro Controller Unit, micro control unit), and each device is connected to the computer through communication interface A, monitoring interface B and two-core communication lines.
  • Communication bus for carrier communication means that the communication bus realizes the power supply of two-core communication lines and the transmission of differential signals (such as RS485 differential signals) through carrier communication technology.
  • Communication interface A is responsible for the modulation and transmission of carrier signals
  • the monitoring interface B is responsible for the reception and interpretation of carrier signals. adjust, and detect the idle and busy status of the communication bus.
  • the entire communication network is a multi-master communication network, that is, a communication network without a master. All devices have equal status and there is no distinction between master and slave.
  • FIG. 2 is a schematic flowchart of a communication method of a home appliance system according to an embodiment of the present disclosure.
  • the Communication methods for home appliance systems may include:
  • the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends an arbitration frame to the communication bus through the communication interface.
  • any one of the multiple devices has a data sending requirement, for example, when the indoor unit 1 has an emergency fault and needs to be shut down, or a fire alarm occurs, the fault status data needs to be sent to
  • indoor unit 1 first monitors the status of the communication bus through the monitoring interface on it.
  • the device monitors the status of the communication bus through the monitoring interface by: monitoring the level signal of the communication bus through the monitoring interface, and determining the status of the communication bus based on the level signal.
  • the level signal refers to the signal represented by the level.
  • the level is divided into high level "1" and low level "0". According to the carrier communication characteristics, when a continuous high level is detected through the monitoring interface, It is determined that the communication bus is in a busy state; when the falling edge level signal is detected through the monitoring interface, it is determined that the communication bus is in an idle state.
  • the status of the communication bus can be represented by the status identifier BS.
  • the indoor unit 1 monitors the level of the communication bus through the monitoring interface on it. When a sustained high level is detected, it indicates that there is signal transmission on the communication bus. , the communication bus is in a busy state at this time, the status identifier BS can be set to 1; when the falling edge is detected, it switches from high level to low level, indicating that there is no signal transmission on the communication bus, and the communication bus is in In the idle state, the status identifier BS can be set to 0. During subsequent control, the status of the current communication bus can be learned based on the status identifier BS.
  • an arbitration frame can be sent to the communication bus through the communication interface to compete for control of the communication bus; when it is determined that the communication bus is in a busy state, because the communication bus is occupied by other devices, the device does not communicate through The interface sends an arbitration frame to the communication bus.
  • the sending identifier SF can be used to indicate whether an arbitration frame is sent to the communication bus. For example, when the indoor unit 1 determines that the communication bus is in an idle state, the indoor unit 1 sends an arbitration frame to the communication bus through its communication interface. frame, and sets the sending identifier SF to 1 after the transmission is completed; when indoor unit 1 determines that the communication bus is in a busy state, indoor unit 1 does not send an arbitration frame to the communication interface, and sets the sending identifier SF to 0 at this time.
  • the cache identifier BF can also be used to indicate whether there is currently a need to send arbitration frames to the communication bus. For example, when there is a demand, the cache identifier BF is set to 1, and when there is no demand, the cache identifier BF is set to 0. .
  • the above embodiment can enable all devices connected to the communication bus to send arbitration frames to the communication bus through the communication interface on the communication bus as needed, thereby realizing free competition for control rights of the communication bus.
  • the device receives the arbitration frame on the communication bus through the monitoring port, competes for control of the communication bus based on the received arbitration frame and the sent arbitration frame, and sends data to the communication bus through the communication interface when the competition for communication bus control is successful. frame.
  • the device after the device sends the arbitration frame to the communication bus, it also receives the arbitration frame on the communication bus.
  • the received arbitration frame may be the arbitration frame sent by itself, or it may be the arbitration frame sent by other devices. According to the arbitration frame sent by itself, The arbitration frame and the received arbitration frame can determine whether you currently have bus control rights, that is, whether you have competed for bus control rights. If you have competed for bus control rights, you can send data frames to the communication bus through the communication interface. Otherwise, you cannot send data frames. And continue to monitor the status of the communication bus through the monitoring interface to re-compete for bus control.
  • indoor unit 1 when indoor unit 1 sends an arbitration frame to the communication bus through the communication interface on it, it also monitors the arbitration frame on the communication bus through the monitoring interface. Indoor unit 1 responds to the arbitration frame sent and the received arbitration frame. Arbitration frame is used to determine whether it has competed for bus control. If so, the data to be sent can be sent to the communication bus through the communication interface on it. Otherwise, the status of the communication bus can be monitored again through the monitoring interface on it for the next time. Competition for bus control.
  • the method of competing for control of the communication bus based on the received arbitration frame and the sent arbitration frame may be: when the received arbitration frame is consistent with the sent arbitration frame, it is determined that the competition for communication bus control is successful. ; When the received arbitration frame is inconsistent with the sent arbitration frame, it is determined that the competition for communication bus control has failed.
  • the indoor unit 1 when the indoor unit 1 detects that the communication bus is in an idle state, the indoor unit 1 sends an arbitration frame to the communication bus through its communication interface to apply for bus control and at the same time receive communications.
  • Arbitration frame on the bus if indoor unit 1 receives the arbitration frame sent by itself through the monitoring interface, that is, the arbitration frame sent is consistent with the arbitration frame received, indicating that the current communication bus has not been preempted, and indoor unit 1 has successfully preempted and obtained bus control.
  • the competition identifier AF can be used to indicate whether bus control is obtained. For example, when the bus control is not obtained, the competition identifier AF is set to 1; when the bus control is obtained, the competition identifier AF is set to 0. During subsequent control, based on the competition identifier AF, it can be learned whether to enter the data frame sending state or to re-monitor the status of the communication bus to enter the next round of competition.
  • the reception identifier BF can also be used to indicate whether an arbitration frame is received from an idle communication bus. For example, when it is received, the reception identifier BF is set to 1. When it is not received, the reception identifier BF is set. Set to 0, and then the competition identifier AF can be determined based on the received identifier BF, and then whether there is bus control right for subsequent operations.
  • the communication method when the competition for control of the communication bus fails, the communication method also includes: if the device still has data sending requirements, continue to monitor the status of the communication bus through the monitoring interface.
  • the device when the device fails to compete for bus control, if the device still has the need to send data, it will continue to monitor the status of the communication bus through the monitoring interface on it. If it is detected that the communication bus is in an idle state, it can continue to communicate through The interface sends an arbitration frame to the communication bus to compete for bus control again so that some important data can be communicated in time. Sent through the communication bus, for example, if indoor unit 1 fails, control signals need to be sent to the outdoor unit, other indoor units or line controllers to avoid further failures or dangerous accidents; and for some data that are not particularly important, they can be sent in the next Send again when the sending cycle arrives. The specific choice can be made according to the actual situation.
  • the device waits, and after waiting for a preset time, receives the arbitration frame on the communication bus through the monitoring port.
  • the device when the device detects that the communication bus is in an idle state, after sending an arbitration frame to the communication bus through the communication interface, the device waits for a preset time (this time is when sending an arbitration frame to the communication bus through the communication interface). After sending the arbitration frame, wait for the time required for the communication bus to return the arbitration frame), receive the arbitration frame on the communication bus through the monitoring port, and compare the received arbitration frame with the sent arbitration frame. When the arbitration frame is consistent with the sent arbitration frame, it is determined that the competition for bus control is successful. At this time, the data frame can be sent through the communication bus; when the received arbitration frame is inconsistent with the sent arbitration frame, it is determined that the competition for bus control has failed. At this time, if If there is still a need to send data, continue to repeat the above steps until the competition for bus control is successful.
  • the monitoring interface is used to cyclically monitor whether the communication bus is in an idle state, and when the communication bus is in an idle state, arbitration frames are continued to be sent to the communication bus to compete for bus control rights until the competition for bus control rights is completed.
  • business data such as control data, fault alarm data, etc., are sent to achieve timely and efficient sending of business data.
  • the communication method may include:
  • the device monitors whether the communication bus is in an idle state through the monitoring interface. If so, execute S203; otherwise, execute S204.
  • the device continues to monitor whether the communication bus is in an idle state through the monitoring interface.
  • S206 The device monitors whether it receives an arbitration frame on the communication bus through the monitoring port. If so, executes S207; otherwise, returns to execute S205.
  • S209 Send the data frame to the communication bus through the communication interface.
  • the monitoring interface is used to cyclically monitor whether the communication bus is in an idle state, and when the communication bus is in an idle state, an arbitration frame is sent to the communication bus through the communication interface.
  • the device receives arbitration frames on the communication bus through the monitoring port, competes for bus control based on the received arbitration frames and sent arbitration frames, and sends a message to the communication bus through the communication interface when the competition for bus control is successful.
  • the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state
  • the arbitration frame is sent to the communication bus through the communication interface
  • the device receives the arbitration frame on the communication bus through the monitoring port, and competes for the communication bus control right based on the received arbitration frame and the sent arbitration frame, and competes for the communication bus control right.
  • the data frame is sent to the communication bus through the communication interface.
  • the device can compete for control of the communication bus by sending an arbitration frame when it detects that the communication bus is in an idle state, and competes for the control of the communication bus. After the control is successful, the data frame is sent to achieve timely and efficient transmission of business data.
  • embodiments of the present disclosure also provide a computer-readable storage medium on which a communication program of a home appliance system is stored.
  • the communication program of the home appliance system is executed by a processor, the home appliance system of any of the above embodiments is implemented. communication method.
  • the device can monitor that the communication bus is in an idle state through Arbitration frames are sent to compete for control of the communication bus, and after the competition for control of the communication bus is successful, data frames are sent to achieve timely and efficient transmission of business data.
  • embodiments of the present disclosure also provide a device, including: a memory, a processor, and a communication program of a home appliance system stored in the memory and runable on the processor.
  • a device including: a memory, a processor, and a communication program of a home appliance system stored in the memory and runable on the processor.
  • the processor executes the communication program of the home appliance system , implement the communication method of the home appliance system of any of the above embodiments.
  • the above communication method of the home appliance system is used.
  • the device can send an arbitration frame when it monitors that the communication bus is in an idle state. Methods are used to compete for control of the communication bus, and after the competition for control of the communication bus is successful, data frames are sent, thereby achieving timely and efficient transmission of business data.
  • embodiments of the present disclosure also provide a home appliance system.
  • the home appliance system includes multiple devices, each device includes a communication interface and a monitoring interface, and each device is connected to the communication bus through the communication interface and the monitoring interface to perform carrier communication, wherein any one of the multiple devices
  • the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is idle, sends arbitration frames to the communication bus through the communication interface, and receives arbitration frames on the communication bus through the monitoring port, and based on The received arbitration frame and the sent arbitration frame compete for control of the communication bus, and when the competition for control of the communication bus succeeds, a data frame is sent to the communication bus through the communication interface.
  • the home appliance system is an air conditioning system
  • the multiple devices include an outdoor unit, multiple indoor units, and a wire controller corresponding to each indoor unit.
  • the device when any one of the multiple devices has a data transmission requirement, the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends a request to the communication bus through the communication interface.
  • Send arbitration frames the device receives arbitration frames on the communication bus through the monitoring port, and competes for control of the communication bus based on the received arbitration frames and sent arbitration frames, and when the competition for communication bus control is successful, it sends a message to the communication bus through the communication interface.
  • Send data frame when any one of the multiple devices has a data transmission requirement, the device monitors the status of the communication bus through the monitoring interface, and when the communication bus is in an idle state, sends a request to the communication bus through the communication interface.
  • Send arbitration frames the device receives arbitration frames on the communication bus through the monitoring port, and competes for control of the communication bus based on the received arbitration frames and sent arbitration frames, and when the competition for communication bus control is successful, it sends a message to the communication bus through the communication interface.
  • Send data frame
  • the device can compete for control of the communication bus by sending an arbitration frame when it detects that the communication bus is in an idle state, and competes for the control of the communication bus. After the control is successful, the data frame is sent to achieve timely and efficient transmission of business data.
  • a "computer-readable medium” may be any device that can contain, store, communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
  • Non-exhaustive list of computer readable media include the following: electrical connections with one or more wires (electronic device), portable computer disk cartridges (magnetic device), random access memory (RAM), Read-only memory (ROM), erasable and programmable read-only memory (EPROM or flash memory), fiber optic devices, and portable compact disc read-only memory (CDROM).
  • the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as the paper or other medium may be optically scanned, for example, and subsequently edited, interpreted, or otherwise suitable as necessary. process to obtain the program electronically and then store it in computer memory.
  • various parts of the present disclosure may be implemented in hardware, software, firmware, or combinations thereof.
  • various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system.
  • a logic gate circuit with a logic gate circuit for implementing a logic function on a data signal.
  • Discrete logic circuits application specific integrated circuits with suitable combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), etc.
  • the word “plurality” means at least two or two and more, such as two, three, four, etc., unless otherwise clearly and specifically limited in the embodiment.

Landscapes

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

Abstract

一种家电系统及其通讯方法、设备、存储介质,涉及家用电器技术领域。其中,方法包括:在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧(S101);该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧(S102)。

Description

家电系统及其通讯方法、设备、存储介质
相关申请的交叉引用
本公开要求于2022年06月27日提交的申请号为202210744756.1,名称为“家电系统及其通讯方法、设备、存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本公开中。
技术领域
本公开涉及家用电器技术领域,尤其设置一种家电系统及其通讯方法、设备、存储介质。
背景技术
空调系统一般由室外机、室内机和线控器组成。多联机系统属于一拖多空调系统,其包括多个室内机,多个室内机与室外机之间需要组建通讯网络进行通讯,目前主要采用RS485通讯网络。RS485通讯网络一般采用主从方式,即由一个主机和多个从机构成,室外机作为主机,室内机和线控器作为从机,主机轮询点名从机,点到名的从机进行应答,未点到名的从机不能主动发送数据。主从通讯的特性造成在某些特殊情况下,从机不能主动发送数据,例如,发生紧急故障需要停机、发生火警等情况时,信号不能第一时间发送给主机或其他从机,极易造成机组损坏或是其他损失。
公开内容
本公开旨在至少在一定程度上解决相关技术中的技术问题之一。为此,本公开的第一个目的在于提出一种家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,从而实现业务数据的及时高效的发送。
本公开的第二个目的在于提出一种计算机可读存储介质。
本公开的第三个目的在于提出一种设备。
本公开的第四个目的在于提出一种家电系统。
为达上述目的,本公开第一方面实施例提出了一种家电系统的通讯方法,家电系统包括多个设备,每个设备包括通讯接口和监测接口,且每个设备通过通讯接口和监测接口分别连接到通讯总线,以进行载波通讯,方法包括:在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧;该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功 时通过通讯接口向通讯总线发送数据帧。
根据本公开实施例的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧,以及该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。由此,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
为达上述目的,本公开第二方面实施例提出了一种计算机可读存储介质,其上存储有家电系统的通讯程序,该家电系统的通讯程序被处理器执行时实现上述任意实施例的家电系统的通讯方法。
根据本公开实施例的计算机可读存储介质,采用上述的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
为达上述目的,本公开第三方面实施例提出了一种设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的家电系统的通讯程序,处理器执行家电系统的通讯程序时,实现上述任一实施例的家电系统的通讯方法。
根据本公开实施例的设备,采用上述的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
为达上述目的,本公开第四方面实施例提出了一种家电系统,包括多个设备,每个设备包括通讯接口和监测接口,且每个设备通过通讯接口和监测接口分别连接到通讯总线,以进行载波通讯,其中,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧,以及通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。
根据本公开实施例的家电系统,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向 通讯总线发送仲裁帧,以及该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。由此,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
本公开附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本公开的实践了解到。
附图说明
本公开的上述和/或附加的方面和优点从结合下面附图对实施方式的描述中将变得明显和容易理解,其中:
图1a-图1b为根据本公开一个实施例的家电系统的结构示意图;
图2为根据本公开一个实施例的家电系统的通讯方法的流程示意图;
图3为根据本公开另一个实施例的家电系统的通讯方法的流程示意图。
具体实施方式
下面详细描述本公开的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,旨在用于解释本公开,而不能理解为对本公开的限制。
下面参考附图描述本公开实施例的家电系统及其通讯方法、设备、存储介质。
需要说明的是,本公开实施例的家电系统可以是任意一个需要组网通讯的系统,为便于描述,下面主要以多联机系统为例进行说明。
如图1a所示,家电系统包括多个设备,具体包括一个室外机、n个内机以及与n个室内机一一对应的n个线控器,其中,n为大于1的整数。如图1b所示,每个设备均包括通讯接口A、监测接口B和MCU(Micro Controller Unit,微控制单元),并且每个设备通过通讯接口A和监测接口B以及两芯通讯线分别连接到通讯总线,以进行载波通讯。其中,载波通讯是指通讯总线通过载波通讯技术实现两芯通讯线供电和差分信号(如RS485差分信号)传输,通讯接口A负责载波信号的调制与发送,监测接口B负责载波信号的接收与解调,并进行通讯总线空闲和繁忙状态的检测。整个通讯网络为多主通讯网络,即无主通讯网络,各设备地位平等,无主从之分。
图2为根据本公开的一个实施例的家电系统的通讯方法的流程示意图。如图2所示,该 家电系统的通讯方法可包括:
S101,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧。
示例性地,以图1b为例,当多个设备中的任意一个设备具有数据发送需求时,例如,当室内机1发生紧急故障需要停机、或者发生火警等情况时,需要发送故障状态数据给室外机或者其他室内机时,室内机1先通过其上的监测接口监测通讯总线的状态。
在一些实施例中,该设备通过监测接口监测通讯总线的状态的方式可以为:通过监测接口监测通讯总线的电平信号,并根据电平信号确定通讯总线的状态。
需要说明的是,电平信号是指用电平表示的信号,电平分为高电平“1”和低电平“0”,根据载波通讯特性,在通过监测接口监测到持续高电平时,确定通讯总线处于繁忙状态;在通过监测接口监测到下降沿电平信号时,确定通讯总线处于空闲状态。
在实际应用时,通讯总线的状态可用状态标识符BS进行表示,例如,室内机1通过其上的监测接口监测通讯总线的电平,当监测到持续高电平时,说明通讯总线上有信号传输,此时通讯总线处于繁忙状态,可将状态标识符BS置1;当监测到下降沿时,即由高电平切换至低电平,说明通讯总线上已经无信号传输,此时通讯总线处于空闲状态,可将状态标识符BS置0。在后续控制时,基于该状态标识符BS即可获悉当前通讯总线的状态。
在确定通讯总线处于空闲状态时,可通过通讯接口向通讯总线发送仲裁帧来竞争通讯总线的控制权;在确定通讯总线处于繁忙状态时,由于通讯总线被其他设备占用,因此该设备不通过通讯接口向通讯总线发送仲裁帧。
在实际应用时,可使用发送标识符SF来表示有无向通讯总线发送仲裁帧,例如,室内机1在确定通讯总线处于空闲状态时,室内机1通过其上的通讯接口向通讯总线发送仲裁帧,并在发送完成后将发送标识符SF置1;室内机1在确定通讯总线处于繁忙状态时,室内机1不向通讯接口发送仲裁帧,此时将发送标识符SF置0。在后续控制时,基于该发送标识符SF即可获悉之前室内机1有无向通讯总线发送仲裁帧,以进行总线竞争,进而获取总线控制权,以便将需要发送的数据通过通讯总线进行发送。进一步的,也可以使用缓存标识符BF来表示当前是否有向通讯总线发送仲裁帧的需求,例如,当有需求时,将缓存标识符BF置1,无需求时,将缓存标识符BF置0。
上述实施例,可使连接在通讯总线上的所有设备按需通过其上的通讯接口向通讯总线发送仲裁帧,从而实现通讯总线控制权的自由竞争。
S102,该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。
也就是说,在设备向通讯总线发送仲裁帧后,还接收通讯总线上的仲裁帧,所接收的仲裁帧可能是自身发送的仲裁帧,也可能是其它设备发送的仲裁帧,根据自身发送的仲裁帧以及接收的仲裁帧可以确定当前是否具有总线控制权,即是否竞争到了总线控制权,若竞争到了总线控制权,则可以通过通讯接口向通讯总线发送数据帧,否则,不能发送数据帧,并继续通过监测接口监测通讯总线的状态,以重新竞争总线控制权。
继续以室内机1为例,当室内机1通过其上的通讯接口向通讯总线发送仲裁帧之后,还通过监测接口监测通讯总线上的仲裁帧,室内机1根据发送的仲裁帧和接收到的仲裁帧来判断自身是否竞争到了总线控制权,若是,则可以通过其上的通讯接口向通讯总线发送所要发送的数据,否则,重新通过其上的监测接口监测通讯总线的状态,以进行下一次的总线控制权的竞争。
在一些实施例中,根据接收到的仲裁帧和发送的仲裁帧来竞争通讯总线控制权的方式可以为:在接收到的仲裁帧与发送的仲裁帧保持一致时,确定竞争通讯总线控制权成功;在接收到的仲裁帧与发送的仲裁帧不一致时,确定竞争通讯总线控制权失败。
示例性地,继续以室内机1为例,当室内机1监测到通讯总线处于空闲状态时,室内机1通过其上的通讯接口向通讯总线发送仲裁帧,以申请总线控制权,同时接收通讯总线上的仲裁帧,如果室内机1通过监测接口接收到自己发送的仲裁帧,即发送的仲裁帧和接收的仲裁帧一致,说明当前通讯总线未被抢占,室内机1抢占成功并获得总线控制权,此时可发送数据;如果室内机1通过监测接口接收到的仲裁帧不是自己发送的,即发送的仲裁帧和接收的仲裁帧不一致,说明当前通讯总线已经被抢占,室内机1竞争失败,未获得总线控制权,而是其它设备获得了总线控制权,此时不可发送数据。
在实际应用时,可使用竞争标识符AF表示是否获得总线控制权,例如,当未获得总线控制权时,竞争标识符AF置1;当获得总线控制权时,竞争标识符AF置0。在后续控制时,基于该竞争标识符AF即可获悉是进入数据帧发送状态,还是重新监测通讯总线的状态以进入下一轮的竞争。进一步的,也可以使用接收标识符BF来表示是否从空闲的通讯总线上接收到仲裁帧,例如,当接收到时,将接收标识符BF置1,当未接收到时,将接收标识符BF置0,而后根据接收标识符BF即可确定出竞争标识符AF,进而确定出是否有总线控制权,以便进行后续操作。
在一些实施例中,在竞争通讯总线控制权失败时,通讯方法还包括:如果该设备仍具有数据发送需求,则继续通过监测接口监测通讯总线的状态。
也就是说,在设备竞争总线控制权失败时,如果该设备仍具有数据发送需求,则继续通过其上的监测接口监测通讯总线的状态,若监测到通讯总线处于空闲状态,则可继续通过通讯接口向通讯总线发送仲裁帧,以再次竞争总线控制权,以便一些重要数据能够及时通 过通讯总线发送,例如室内机1设备故障,需要发送控制信号给室外机、其它室内机或线控器,以避免出现进一步故障或危险事故发生;而对于一些不是特别重要的数据,可以在下一个发送周期到来时再进行发送,具体可根据实际情况选择。
在一些实施例中,在通过通讯接口向通讯总线发送仲裁帧后,该设备进行等待,并在等待预设时间后,通过监测端口接收通讯总线上的仲裁帧。
示例性地,当设备在监测到通讯总线处于空闲状态时,在通过通讯接口向通讯总线发送仲裁帧后,该设备进行等待,并在等待预设时间(该时间为在通过通讯接口向通讯总线发送仲裁帧后,等待通讯总线返回仲裁帧所需的时间)后,通过监测端口接收通讯总线上的仲裁帧,并将接收到的仲裁帧与发送的仲裁帧进行比较,在接收到的仲裁帧与发送的仲裁帧保持一致时,确定竞争总线控制权成功,此时可通过通讯总线发送数据帧;在接收到的仲裁帧与发送的仲裁帧不一致时,确定竞争总线控制权失败,此时若仍有数据发送需求,则继续重复上述步骤,直至竞争总线控制权成功。
由此,在竞争总线控制权失败时,通过监测接口循环监测通讯总线是否处于空闲状态,并在通讯总线处于空闲状态时,继续向通讯总线发送仲裁帧来竞争总线控制权,直至竞争总线控制权成功之后,发送业务数据,例如控制数据、故障报警数据等,从而实现业务数据的及时高效的发送。
在一个示例中,参考图3所示,该通讯方法可包括:
S201,在多个设备中的任意一个设备具有数据发送需求时(BF=1),执行S202。
S202,该设备通过监测接口监测通讯总线是否处于空闲状态,如果是,则执行S203;否则,执行S204。
S203,通过通讯接口向通讯总线发送仲裁帧(SF=1)。
S204,该设备通过监测接口继续监测通讯总线是否处于空闲状态。
S205,该设备进行等待,并等待预设时间T1。
S206,该设备通过监测端口监测是否接收到通讯总线上的仲裁帧,如果是,则执行S207;否则,返回执行S205。
S207,比较发送的仲裁帧与接收的仲裁帧是否一致。
S208,如果发送的仲裁帧与接收的仲裁帧一致,则执行S209;否则,返回执行S201。
S209,通过通讯接口向通讯总线发送数据帧。
上述实施例中,在多个设备中的任意一个设备具有数据发送需求时,通过监测接口循环监测通讯总线是否处于空闲状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧;该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争总线控制权,以及在竞争总线控制权成功时通过通讯接口向通讯总线发 送数据帧,而在竞争总线控制权失败之后,继续通过监测接口监测通讯总线的状态,以在通讯总线空闲时,继续竞争总线的控制权,直至竞争总线控制权成功之后,发送业务数据,从而实现业务数据的及时高效的发送。
综上所述,根据本公开实施例的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧;该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。由此,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
对应上述实施例,本公开的实施例还提出了一种计算机可读存储介质,其上存储有家电系统的通讯程序,该家电系统的通讯程序被处理器执行时实现上述任意实施例的家电系统的通讯方法。
根据本公开实施例的计算机可读存储介质,采用上述的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
对应上述实施例,本公开的实施例还提出一种设备,包括:存储器、处理器及存储在存储器上并可在处理器上运行的家电系统的通讯程序,处理器执行家电系统的通讯程序时,实现上述任意实施例的家电系统的通讯方法。
根据本公开实施例的设备,采用上述的家电系统的通讯方法,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
对应上述实施例,本公开的实施例还提供了一种家电系统。
该家电系统包括多个设备,每个设备包括通讯接口和监测接口,且每个设备通过通讯接口和监测接口分别连接到通讯总线,以进行载波通讯,其中,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧,以及通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。
在一些实施例中,家电系统为空调系统,多个设备包括室外机、多个室内机、以及每个室内机对应的线控器。
需要说明的是,关于家电系统中未披露的细节,请参考家电系统的通讯方法中所披露的细节,这里不再赘述。
根据本公开实施例的家电系统,在多个设备中的任意一个设备具有数据发送需求时,该设备通过监测接口监测通讯总线的状态,并在通讯总线处于空闲状态时,通过通讯接口向通讯总线发送仲裁帧;该设备通过监测端口接收通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争通讯总线控制权,以及在竞争通讯总线控制权成功时通过通讯接口向通讯总线发送数据帧。由此,在多个设备中的任意一个设备具有数据发送需求时,该设备可在监听到通讯总线处于空闲状态时,通过发送仲裁帧的方式来竞争通讯总线的控制权,并在竞争通讯总线控制权成功之后,发送数据帧,从而实现业务数据的及时高效的发送。
需要说明的是,在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,“计算机可读介质”可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印所述程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得所述程序,然后将其存储在计算机存储器中。
应当理解,本公开的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。
在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具 体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本公开的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不一定指的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任何的一个或多个实施例或示例中以合适的方式结合。
在本公开的描述中,词语“多个”的含义是至少两个或者两个及以上,例如两个、三个、四个等,除非实施例中另有明确具体的限定。
尽管上面已经示出和描述了本公开的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本公开的限制,本领域的普通技术人员在本公开的范围内可以对上述实施例进行变化、修改、替换和变型。

Claims (10)

  1. 一种家电系统的通讯方法,所述家电系统包括多个设备,每个所述设备包括通讯接口和监测接口,且每个所述设备通过所述通讯接口和所述监测接口分别连接到通讯总线,以进行载波通讯,所述方法包括:
    在多个所述设备中的任意一个设备具有数据发送需求时,该设备通过所述监测接口监测所述通讯总线的状态,并在所述通讯总线处于空闲状态时,通过所述通讯接口向所述通讯总线发送仲裁帧;
    该设备通过所述监测端口接收所述通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争总线控制权,以及在竞争所述总线控制权成功时通过所述通讯接口向所述通讯总线发送数据帧。
  2. 根据权利要求1所述的方法,其中,该设备通过所述监测接口监测所述通讯总线的状态,包括:
    该设备通过所述监测接口监测所述通讯总线的电平信号,并根据所述电平信号确定所述通讯总线的状态。
  3. 根据权利要求2所述的方法,其中,根据所述电平信号确定所述通讯总线的状态,包括:
    在通过所述监测接口监测到持续高电平时,确定所述通讯总线处于繁忙状态;
    在通过所述监测接口监测到下降沿电平信号时,确定所述通讯总线处于空闲状态。
  4. 根据权利要求1-3中任一项所述的方法,其中,根据接收到的仲裁帧和发送的仲裁帧竞争总线控制权,包括:
    在接收到的仲裁帧与发送的仲裁帧保持一致时,确定竞争所述总线控制权成功;
    在接收到的仲裁帧与发送的仲裁帧不一致时,确定竞争所述总线控制权失败。
  5. 根据权利要求4所述的方法,其中,在竞争所述总线控制权失败时,所述方法还包括:
    如果该设备仍具有数据发送需求,则继续通过所述监测接口监测所述通讯总线的状态。
  6. 根据权利要求1所述的方法,其中,在通过所述通讯接口向所述通讯总线发送仲裁帧后,该设备进行等待,并在等待预设时间后,通过所述监测端口接收所述通讯总线上的仲裁帧。
  7. 一种计算机可读存储介质,其上存储有家电系统的通讯程序,该家电系统的通讯程序被处理器执行时实现根据权利要求1-6中任一项所述的家电系统的通讯方法。
  8. 一种设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的家电系统 的通讯程序,所述处理器执行所述家电系统的通讯程序时,实现根据权利要求1-6中任一项所述的家电系统的通讯方法。
  9. 一种家电系统,包括多个设备,每个所述设备包括通讯接口和监测接口,且每个所述设备通过所述通讯接口和所述监测接口分别连接到通讯总线,以进行载波通讯,其中,
    在多个所述设备中的任意一个设备具有数据发送需求时,该设备通过所述监测接口监测所述通讯总线的状态,并在所述通讯总线处于空闲状态时,通过所述通讯接口向所述通讯总线发送仲裁帧,以及通过所述监测端口接收所述通讯总线上的仲裁帧,并根据接收到的仲裁帧和发送的仲裁帧竞争总线控制权,以及在竞争所述总线控制权成功时通过所述通讯接口向所述通讯总线发送数据帧。
  10. 根据权利要求9所述的家电系统,其中,所述家电系统为空调系统,多个所述设备包括室外机、多个室内机、以及每个所述室内机对应的线控器。
PCT/CN2023/091272 2022-06-27 2023-04-27 家电系统及其通讯方法、设备、存储介质 WO2024001491A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210744756.1 2022-06-27
CN202210744756.1A CN117346220A (zh) 2022-06-27 2022-06-27 家电系统及其通讯方法、设备、存储介质

Publications (1)

Publication Number Publication Date
WO2024001491A1 true WO2024001491A1 (zh) 2024-01-04

Family

ID=89369747

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/091272 WO2024001491A1 (zh) 2022-06-27 2023-04-27 家电系统及其通讯方法、设备、存储介质

Country Status (2)

Country Link
CN (1) CN117346220A (zh)
WO (1) WO2024001491A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221686A (zh) * 2008-01-29 2008-07-16 西安特菲尔电子有限公司 一种火灾报警系统中内部通讯的方法
CN108009065A (zh) * 2016-10-31 2018-05-08 深圳市中兴微电子技术有限公司 监控axi总线的方法和装置
CN109284248A (zh) * 2018-08-23 2019-01-29 深圳柴火创客教育服务有限公司 Uart总线通讯方法、采用uart总线通讯的设备及其功能模块
EP3860315A1 (en) * 2020-01-29 2021-08-04 Tridonic GmbH & Co. KG Method for communicating data from a computing device to a lighting technology device
US20220121611A1 (en) * 2020-10-20 2022-04-21 Micron Technology, Inc. Secondary device detection using a synchronous interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101221686A (zh) * 2008-01-29 2008-07-16 西安特菲尔电子有限公司 一种火灾报警系统中内部通讯的方法
CN108009065A (zh) * 2016-10-31 2018-05-08 深圳市中兴微电子技术有限公司 监控axi总线的方法和装置
CN109284248A (zh) * 2018-08-23 2019-01-29 深圳柴火创客教育服务有限公司 Uart总线通讯方法、采用uart总线通讯的设备及其功能模块
EP3860315A1 (en) * 2020-01-29 2021-08-04 Tridonic GmbH & Co. KG Method for communicating data from a computing device to a lighting technology device
US20220121611A1 (en) * 2020-10-20 2022-04-21 Micron Technology, Inc. Secondary device detection using a synchronous interface

Also Published As

Publication number Publication date
CN117346220A (zh) 2024-01-05

Similar Documents

Publication Publication Date Title
CN101355482B (zh) 实现嵌入式设备地址顺序识别的设备、方法和系统
US20190116480A1 (en) Method and apparatus for a network and device discovery
CN103076768B (zh) 分布式电池管理系统及其标识分配方法
CN106959935B (zh) 一种兼容i2c通信与ipmb通信的方法
CN103645975B (zh) 一种异常恢复的方法及串行总线传输装置
JPS6333945A (ja) ロ−カルエリアデ−タデイストリビユ−シヨンシステム
WO2015184866A1 (zh) 一种监控方法、装置及电源系统中的第一监控单元
CN101594383B (zh) 一种双控制器存储系统的服务和控制器状态监控方法
CN102870374B (zh) 负荷分担方法及装置、单板
CN105159851A (zh) 多控存储系统
CN103838698A (zh) I2c总线架构及设备可用性查询方法
US12078976B2 (en) Systems and methods for building energy management during power-loss event
CN105426171A (zh) 多个二取二系统的同步和切换方法、系统
CN106230622A (zh) 一种集群实现方法及装置
WO2024001491A1 (zh) 家电系统及其通讯方法、设备、存储介质
CN108800482B (zh) 空调集群控制方法
CN110515763A (zh) 一种基于OpenStack的虚拟机双机热备的方法和系统
CN104104567A (zh) 一种双通信链路的组网方法、控制装置及组网系统
JPH09149061A (ja) 通信制御装置、通信ネットワーク及びその競合制御方法
CN116886576A (zh) 一种多控存储集群通信超时控制方法、装置、设备及介质
CN103825781B (zh) 一种基于Canbus总线的系统通信调度算法
CN110661869B (zh) 一种节点上线方法、系统、装置、设备及计算机存储介质
CN105407087A (zh) 消息发送方法和装置
US20160020913A1 (en) Method for power saving in optical access network by using synchronized sleep cycle
CN111400215A (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: 23829677

Country of ref document: EP

Kind code of ref document: A1