WO2024093357A1 - Method and apparatus for controlling bus system, and bus system and storage medium - Google Patents

Method and apparatus for controlling bus system, and bus system and storage medium Download PDF

Info

Publication number
WO2024093357A1
WO2024093357A1 PCT/CN2023/107189 CN2023107189W WO2024093357A1 WO 2024093357 A1 WO2024093357 A1 WO 2024093357A1 CN 2023107189 W CN2023107189 W CN 2023107189W WO 2024093357 A1 WO2024093357 A1 WO 2024093357A1
Authority
WO
WIPO (PCT)
Prior art keywords
indoor unit
indoor
master
unit
slave
Prior art date
Application number
PCT/CN2023/107189
Other languages
French (fr)
Chinese (zh)
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 WO2024093357A1 publication Critical patent/WO2024093357A1/en

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/54Control or safety arrangements characterised by user interfaces or communication using one central controller connected to several sub-controllers
    • 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/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F2110/00Control inputs relating to air properties
    • F24F2110/50Air quality properties
    • F24F2110/64Airborne particle content

Definitions

  • the present application relates to the field of communication technology, for example, to a method and device for controlling a bus system, a bus system, and a storage medium.
  • the wired controller controls the indoor unit of the air conditioner
  • the one-control-one scenario can be the query of parameters, static pressure level, fault, room card and other information
  • the one-control-many scenario can be the query of basic switches, modes, wind speed, set temperature and so on.
  • the indoor units connected to the wire controller need to be connected hand in hand, and can only realize one-to-one control or one-to-multiple control.
  • the wire controller needs to confirm whether each indoor unit exists by searching for units.
  • the embodiments of the present disclosure provide a method and device for controlling a bus system, a bus system, and a storage medium to simplify wiring and realize partial one-control-one and partial one-control-many.
  • the bus system includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through the bus, and the first master indoor unit is connected to the first master indoor unit through the bus.
  • a master indoor unit and a slave indoor unit are connected in series; multiple wire controllers, each wire controller can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and is indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through a bus; the method includes: when the indoor unit is powered on and initialized, determining the wire control mode of the indoor unit; when the wire control mode of the indoor unit is one-to-many, controlling the wire controller to communicate directly with the connected master indoor unit, and/or, indirectly communicating with the slave indoor unit connected in series with the connected master indoor unit; when the wire control mode of the indoor unit is one-to-one, controlling the wire controller to communicate directly with the connected master indoor unit.
  • the bus system includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through the bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through the bus; multiple wire controllers, each wire controller can be directly connected and communicated with the master indoor unit of one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through the bus; the device includes: a determination module, configured to determine the wire control mode of the indoor unit when the indoor unit is powered on and initialized; a one-control-many communication module, configured to control the wire controller to directly communicate with the connected master indoor unit when the wire control mode of the indoor unit is one-control-many, and/or to indirectly communicate with the slave indoor unit connected in series with
  • the device includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling a bus system when running the program instructions.
  • the bus system includes: a bus system body, including: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, and in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through the bus; multiple wire controllers, each wire controller can be directly connected to and communicate with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected to and communicate with the slave indoor unit connected in series with the master indoor unit that directly communicates with the wire controller through the bus; the above-mentioned device for controlling the bus system is installed in the product body.
  • the storage medium stores program instructions, and when the program instructions are run, the above-mentioned method for controlling a bus system is executed.
  • the method and device for controlling a bus system, the bus system, and the storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:
  • the bus system includes multiple wire controllers, each of which can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor units connected in series with the master indoor unit directly communicating with the wire controller through the bus. Communication can realize one-to-one or one-to-many indoor units connected to the wire controller.
  • the wiring can be combined arbitrarily on the bus, and there is no need for the wire controller to be wired to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
  • the wire controller can be controlled to communicate with the indoor unit to control one or one to control multiple, and one control one or one control multiple can be realized at the same time. It is only necessary to set one control one or one control multiple on the indoor unit end. During the communication process, the wire controller can be informed to control one or one control multiple, without the need to set it on the wire controller end, which is convenient for after-sales and installation.
  • FIG1 is a schematic diagram of a bus system provided by an embodiment of the present disclosure.
  • FIG2 is a schematic diagram of a set of internal and external machine systems in a bus system provided by an embodiment of the present disclosure
  • FIG3 is a schematic diagram of a method for controlling a bus system provided by an embodiment of the present disclosure
  • FIG4 is a schematic diagram of another method for controlling a bus system provided by an embodiment of the present disclosure.
  • FIG5 is a schematic diagram of a device for controlling a bus system provided by an embodiment of the present disclosure.
  • FIG. 6 is a schematic diagram of another device for controlling a bus system provided by an embodiment of the present disclosure.
  • the character "/" indicates that the preceding and following objects are in an "or" relationship.
  • A/B indicates: A or B.
  • a and/or B is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and/or B, It represents the following three relationships: A or B, or A and B.
  • correspondence may refer to an association relationship or a binding relationship.
  • correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
  • smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application.
  • the operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips.
  • smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.
  • the terminal device refers to an electronic device with a wireless connection function.
  • the terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can communicate with the above-mentioned smart home appliances directly through Bluetooth, WiFi, etc.
  • the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof.
  • Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
  • a bus system provided in an embodiment of the present disclosure includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, and in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through a bus.
  • Multiple wire controllers each wire controller can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through a bus.
  • XY in the figure represents the air conditioner remote control wiring, which is used to transmit control signals between the wire controller and the indoor unit.
  • PQ in the figure represents the air conditioner signal line, which is used to control the air conditioner switch, adjust the temperature, wind speed and other control signals between the indoor units or between the indoor unit and the outdoor unit.
  • the bus system provided by the embodiment of the present disclosure is adopted, and the bus system includes multiple wire controllers.
  • Each wire controller can be directly connected to and communicate with the main indoor unit in one or more sets of indoor and outdoor unit systems, and can be indirectly connected to and communicate with the slave indoor unit connected in series with the main indoor unit that directly communicates with the wire controller through the bus. It can realize one-to-one control or one-to-multiple control of indoor units connected to the wire controller, and the wiring can be arbitrarily combined on the bus. There is no need to connect the wire controller to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
  • an embodiment of the present disclosure provides a method for controlling a bus system, including:
  • the bus system determines the wire control mode of the indoor unit.
  • the bus system controls the wired controller to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit.
  • the method for controlling a bus system includes multiple wire controllers.
  • Each wire controller can be directly connected and communicated with the main indoor unit in one or more sets of internal and external unit systems, and indirectly connected and communicated with the slave indoor unit in series with the main indoor unit directly communicating with the wire controller through the bus. It can realize one-to-one control or one-to-many control of the indoor units connected to the wire controller.
  • the wiring can be arbitrarily combined on the bus, and there is no need for the wire controller to be connected to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
  • the wire controller is controlled to communicate with the indoor unit in one-to-one control or one-to-many control, and one-to-one control or one-to-many control can be realized at the same time. It is only necessary to set one-to-one control or one-to-many control on the indoor unit end, and the wire controller can be informed to control one-to-one or one-to-many control during the communication process, without the need to set it on the wire controller end, which is convenient for after-sales and installation.
  • the bus system determines the wire control mode of the indoor unit, including: the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit.
  • the wire control mode of the indoor unit is first determined according to the first dial address of the indoor unit, and then the wire controller is controlled to communicate with the indoor unit to control one or one control many according to the wire control mode of the indoor unit, so that one control one or one control many can be achieved at the same time. It is only necessary to set the first dial address on the indoor unit end to set one control one or one control many.
  • the wire controller can be informed to control one control one or one control many without setting it on the wire controller end, which is convenient for after-sales and installation.
  • the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit, including: when the code value of the first bit of the first indoor unit dial address of the indoor unit is the first code value, the bus system determines that the wire control mode of the indoor unit is one control multiple. When the code value of the first bit of the first indoor unit dial address of the indoor unit is the second code value, the bus system determines that the wire control mode of the indoor unit is one control one.
  • the first code value is greater than the second code value.
  • the value of the first code value can be 1, and the value of the second code value can be 0.
  • the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit, including: when one wire controller is connected to more than two sets of indoor and outdoor unit systems, the bus system controls the wire controller to communicate directly with the master indoor unit in each set of indoor and outdoor unit systems connected, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit.
  • the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit.
  • the wire control mode of the indoor unit is one-control-many, which can be divided into one wire controller connected to more than two sets of indoor and outdoor unit systems, or multiple wire controllers. Connect one set of indoor and outdoor unit systems.
  • the wire controller is controlled to communicate directly with the master indoor unit in each set of indoor and outdoor unit systems connected, and/or, to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, so as to achieve one control multiple.
  • the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or, to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, so as to achieve one control multiple. This is conducive to better control of the wire controller and the indoor unit to perform one control multiple communication.
  • the bus system controls the wire controller to communicate directly with the master indoor unit in each connected indoor and outdoor unit system, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit, including: the bus system determines one or more controlled indoor and outdoor unit systems according to the outdoor unit dial address. The bus system determines the communication address of the controlled indoor unit in each controlled indoor and outdoor unit system according to the indoor unit dial address. The bus system controls the wire controller to communicate directly with the controlled master indoor unit in the controlled indoor and outdoor unit system according to the communication address, and/or to communicate indirectly with the controlled slave indoor unit in the controlled indoor and outdoor unit system connected in series with the connected master indoor unit.
  • the value range of the outdoor unit dial address can be [1, 32].
  • the controlled indoor and outdoor unit systems are first located according to the outdoor unit dial address, and then the communication address of the controlled indoor unit in each controlled indoor and outdoor unit system is located according to the indoor unit dial address, and then the controlled indoor unit in the one control of multiple units is communicated directly or indirectly according to the obtained communication address, so as to better achieve one control of multiple units.
  • the bus system determines one or more sets of controlled indoor and outdoor unit systems according to the outdoor unit dial address of the outdoor unit, including: the bus system determines one or more sets of indoor and outdoor unit systems where the outdoor unit corresponding to the outdoor unit dial address is located as the controlled indoor and outdoor unit systems.
  • the bus system determines the communication address of the controlled indoor unit in each set of controlled indoor and outdoor unit systems according to the indoor unit dial address of the indoor unit, including: the bus system determines one or more indoor units in each set of controlled indoor and outdoor unit systems corresponding to the indoor unit dial address as the communication address of the controlled indoor and outdoor unit system in each set of controlled indoor and outdoor unit systems.
  • the value range of the indoor unit dial address can be [1, 64].
  • the outdoor unit dial address is 1 and/or 2
  • the outdoor unit 1-1, indoor unit 1-1-1, and The indoor and outdoor unit system to which the indoor unit 1-1-2 belongs, and/or the indoor and outdoor unit system to which the outdoor unit 1-2, indoor unit 1-2-1, and indoor unit 1-2-2 corresponding to the outdoor unit dial address 2 belong is the controlled indoor and outdoor unit system.
  • the indoor unit dial address of the indoor unit 1-1-1 is 1, and the indoor unit dial address of the indoor unit 1-1-2 is 2, thereby determining the communication address of the indoor unit in the controlled indoor and outdoor unit system.
  • the wire controller communicates directly with the directly connected indoor unit 1-1-1, and communicates indirectly with the indoor unit 1-1-2 through the bus and the indoor unit 1-1-1, thereby realizing one control of multiple.
  • the indoor unit dial address of the indoor unit 1-2-1 is 1, and the indoor unit dial address of the indoor unit 1-2-2 is 2, thereby determining the communication address of the indoor unit in the controlled indoor and outdoor unit system.
  • the wire controller communicates directly with the directly connected indoor unit 1-2-1, and communicates indirectly with the indoor unit 1-2-2 through the bus and the indoor unit 1-2-1, thereby realizing one control of multiple.
  • the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit, including: the bus system determines the category of the master and slave indoor units communicating with the master wire controller and the address of the master wire controller according to the first indoor unit dial address of the indoor unit.
  • the bus system controls the master indoor unit connected to the master wire controller to communicate directly and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit according to the second indoor unit dial address of the indoor unit.
  • the bus system determines the category of the master and slave indoor units communicating with the master wire controller and the address of the master wire controller according to the first indoor unit dial address of the indoor unit, including: the bus system determines the category of the master and slave indoor units according to the code value of the second digit of the first indoor unit dial address of the indoor unit. The bus system determines the address of the master wire controller according to the code value of the third digit and the code value of the fourth digit of the first indoor unit dial address of the indoor unit.
  • the category of the master and slave indoor units is determined according to the code value of the second digit of the first indoor unit dial address
  • the address of the master wire controller is determined according to the code values of the third and fourth digits of the first indoor unit dial address to locate the master wire controller, which is conducive to better locating the master and slave indoor units that communicate directly or indirectly with the master wire controller, thereby better realizing one control of multiple units.
  • the bus system determines the category of the master-slave indoor unit according to the code value of the second bit of the first indoor unit dial address of the indoor unit, including: when the code value of the second bit of the first indoor unit dial address of the indoor unit is the first code value, the bus system determines the category of the master-slave indoor unit as the slave indoor unit. When the code value of the second bit of the first indoor unit dial address of the indoor unit is the second code value, the bus system determines the category of the master-slave indoor unit as the master indoor unit. Wherein, the first code value is greater than the second code value.
  • the bus system determines the value of the third digit and the value of the fourth digit of the first indoor unit dial address of the indoor unit according to the value of the third digit and the value of the fourth digit.
  • Determining the address of the master wire controller includes: when the code value of the third digit and the code value of the fourth digit of the first indoor unit dial address of the indoor unit are both the second code value, the bus system determines the address of the master wire controller to be the address of the first wire controller.
  • the bus system determines the address of the master wire controller to be the address of the second wire controller.
  • the bus system determines the address of the master wire controller to be the address of the third wire controller.
  • the bus system determines the address of the master wire controller to be the address of the fourth wire controller.
  • the bus system controls the direct communication of the master indoor unit connected to the wire controller of the master control according to the second indoor unit dial address of the indoor unit, and/or the indirect communication of the slave indoor unit connected in series with the connected master indoor unit, including: when the first bit of the second indoor unit dial address of the indoor unit is the first code value, the bus system determines the communication address of the master indoor unit connected to the wire controller of the master control according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dial address of the indoor unit, and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit.
  • the bus system controls the wire controller to communicate directly with the master indoor unit connected to the wire controller of the master control according to the communication address, and/or the indirect communication of the slave indoor unit connected in series with the connected master indoor unit.
  • it is beneficial to better obtain the communication addresses of the master and slave indoor units directly or indirectly connected to the wire controller of the master control according to the second indoor unit dial address of the indoor unit, thereby realizing direct or indirect communication with the master and slave indoor units, and is beneficial to better control the wire controller to perform one-control-multiple communication with the indoor unit.
  • the bus system determines the communication address of the master indoor unit connected to the master control wire controller and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dialing address of the indoor unit, including: the bus system queries and determines the communication address of the master indoor unit connected to the master control wire controller and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit in the code value information library according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dialing address of the indoor unit.
  • the master-slave indoor unit is determined to be a master indoor unit; if the second bit of the first indoor unit dial address is 1, the master-slave indoor unit is determined to be a slave indoor unit. If the code value of the third digit of the first indoor unit dial address is 0 and the code value of the fourth digit is 0, the address of the master wire controller is determined to be the address of the wire controller 2-1.
  • the master indoor unit is the indoor unit 2-1-1 connected to the wire controller 2-1, and the slave indoor units are the indoor units 2-1-2 to 2-1-16 connected in series with the indoor unit 2-1-1 on the bus. If the code value of the third digit of the first indoor unit dial address is 0 and the code value of the fourth digit is 1, the address of the master wire controller is determined to be the address of the wire controller 2-2. At this time, the master indoor unit is the indoor unit 2-1-17 connected to the wire controller 2-2, and the slave indoor units are the indoor units 2-1-18 to 2-1-32 connected in series with the indoor unit 2-1-17 on the bus.
  • the address of the master wire controller is determined to be the address of wire controller 2-3.
  • the master indoor unit is indoor unit 2-1-33 connected to wire controller 2-3, and the slave indoor units are indoor units 2-1-34 to indoor units 2-1-48 connected in series with indoor unit 2-1-33 on the bus.
  • the code value of the third digit of the first indoor unit dial address is 1 and the code value of the fourth digit is 1, the address of the master wire controller is determined to be the address of wire controller 2-4.
  • the master indoor unit is indoor unit 2-1-49 connected to wire controller 2-4, and the slave indoor units are indoor units 2-1-50 to indoor units 2-1-64 connected in series with indoor unit 2-1-49 on the bus.
  • the first indoor unit dial address is arranged in the order of the second digit, the first digit, the third digit, and the fourth digit.
  • the first indoor unit dial address of the indoor unit 2-1-1 is 0100
  • the first indoor unit dial address of the indoor unit 2-1-2 to the indoor unit 2-1-16 is 1100.
  • the master indoor unit with the first indoor unit dial address of 0100 is responsible for transmitting control information or communication signals between the line controller 2-1 and the indoor unit with the first indoor unit dial address of 1100.
  • the order of the second indoor unit dial address is the first, second, third, fourth, fifth, sixth, seventh, and eighth.
  • the second indoor unit dial address of indoor unit 2-1-1 is 10000000
  • the second indoor unit dial address of indoor unit 2-1-2 is 10000001
  • the second indoor unit dial address of indoor unit 2-1-3 is 10000010
  • the second indoor unit dial address of indoor unit 2-1-64 is 10111111. According to the second indoor unit dial address, the communication address of the master indoor unit connected to the master control wire controller and the communication address of the slave indoor unit connected in series with the connected master indoor unit can be located, thereby realizing one control of multiple units.
  • the embodiment of the present disclosure provides another method for controlling a bus system, including:
  • the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit.
  • the bus system controls the wired controller to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit.
  • the bus system controls the wired controller to communicate directly with the connected master indoor unit.
  • the bus system includes multiple wire controllers, each of which can be directly connected to and communicated with a master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected to and communicated with a slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through the bus, so that one-to-one or one-to-many control can be achieved.
  • the indoor units connected to the wired controller can be wired in any combination on the bus. There is no need to wire the wired controller to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
  • the wired control method of the indoor unit is first determined according to the first dial address of the indoor unit, and then the wired controller is controlled to communicate with the indoor unit to control one or one control multiple according to the wired control method of the indoor unit, which can realize one control one or one control multiple at the same time. It is only necessary to set the first dial address on the indoor unit end to set one control one or one control multiple. During the communication process, the wired controller can be informed to control one control one or one control multiple without setting it on the wired controller end, which is convenient for after-sales and installation.
  • an embodiment of the present disclosure provides a device 200 for controlling a bus system, including a determination module 501, a one-control-many communication module 502, and a one-control-one communication module 503.
  • the determination module 501 is configured to determine the wire control mode of the indoor unit when the indoor unit is powered on and initialized.
  • the one-control-many communication module 502 is configured to control the wire controller to communicate directly with the connected master indoor unit when the wire control mode of the indoor unit is one-control-many, and/or to indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit.
  • the one-control-one communication module 503 is configured to control the wire controller to communicate directly with the connected master indoor unit when the wire control mode of the indoor unit is one-control-one.
  • the device for controlling the bus system provided by the embodiment of the present disclosure is adopted.
  • the bus system includes multiple wire controllers.
  • Each wire controller can be directly connected and communicated with the main indoor unit in one or more sets of indoor and outdoor unit systems, and can be indirectly connected and communicated with the slave indoor unit in series with the main indoor unit that directly communicates with the wire controller through the bus. It can realize one-to-one control or one-to-many control of the indoor units connected to the wire controller.
  • the wiring can be arbitrarily combined on the bus, and there is no need for the wire controller to be connected to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
  • the wire controller is controlled to communicate with the indoor unit in one-to-one control or one-to-many control, and one-to-one control or one-to-many control can be realized at the same time. It is only necessary to set one-to-one control or one-to-many control on the indoor unit end. During the communication process, the wire controller can be informed to control one-to-one or one-to-many control without setting it on the wire controller end, which is convenient for after-sales and installation.
  • an embodiment of the present disclosure provides a device 300 for controlling a bus system, including a processor 600 and a memory 601.
  • the device may also include a communication interface 602 and a bus 603.
  • the processor 600, the communication interface 602, and the memory 601 may communicate with each other through the bus 603.
  • the communication interface 602 may be used for information transmission.
  • the processor 600 may call the logic instructions in the memory 601 to execute the method for controlling a bus system of the above embodiment.
  • logic instructions in the memory 601 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 601 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 600 executes functional applications and data processing by running the program instructions/modules stored in the memory 601, that is, implementing the method for controlling the bus system in the above-mentioned embodiments.
  • the memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc.
  • the memory 601 may include a high-speed random access memory and may also include a non-volatile memory.
  • the embodiments of the present disclosure provide a bus system, including: a bus system body, and the above-mentioned device 200 (300) for controlling the bus system.
  • the device 200 (300) for controlling the bus system is installed in the bus system body.
  • the installation relationship described here is not limited to placement inside the bus system, but also includes installation connections with other components of the bus system, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 200 (300) for controlling the bus system can be adapted to a feasible bus system body, thereby realizing other feasible embodiments.
  • An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for controlling a bus system.
  • the computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
  • An embodiment of the present disclosure provides a computer program.
  • the computer program When the computer program is executed by a computer, the computer implements the above method for controlling a bus system.
  • An embodiment of the present disclosure provides a computer program product, which includes computer instructions stored on a computer-readable storage medium.
  • the program instructions When executed by a computer, the computer implements the above-mentioned method for controlling a bus system.
  • the technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure.
  • the aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
  • the term “and/or” as used in this application means including one or any and all possible combinations of more than one associated listing.
  • the term “comprise” and its variants “comprises” and/or comprising refer to the presence of stated features, wholes, steps, operations, elements, and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and/or groups of these.
  • the elements defined by the statement "comprise one" do not exclude the presence of other identical elements in the process, method or device including the elements.
  • each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts may refer to the description of the method part.
  • the disclosed methods and products can be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed.
  • the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
  • each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
  • each box in the flowchart or block diagram may represent a module, a program segment or a portion of code, and the module, program segment or a portion of code contains one or more executable instructions for implementing the specified logical functions.
  • the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, which They may sometimes be performed in reverse order, depending on the functions involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

Disclosed in the present application is a method for controlling a bus system. The bus system comprises: a plurality of indoor and outdoor unit systems, which each comprise an outdoor unit and indoor units, wherein the indoor units comprise master indoor units and a slave indoor unit, and in each indoor and outdoor unit system, the outdoor unit is connected to a first master indoor unit by means of a bus, and the first master indoor unit is connected in series to the other master indoor units and the slave indoor unit by means of the bus; and a plurality of wired controllers, each of which can be directly connected to and communicate with the master indoor units in one or more indoor and outdoor unit systems, and is indirectly connected to and communicates with, by means of the bus, the slave indoor unit which is connected in series to the master indoor units that directly communicate with the wired controller. The method comprises: when indoor units are powered on and initialized, determining the wired control mode of the indoor units; if the wired control mode of the indoor units involves one wired controller controlling a plurality of indoor units, controlling a wired controller to directly communicate with a master indoor unit connected thereto, and/or to indirectly communicate with a slave indoor unit which is connected in series to the master indoor unit connected to the wired controller; and if the wired control mode of the indoor units involves one wired controller controlling one indoor unit, controlling the wired controller to directly communicate with the master indoor unit connected thereto.

Description

用于控制总线系统的方法及装置、总线系统、存储介质Method and device for controlling bus system, bus system, and storage medium
本申请基于申请号为202211378275.X、申请日为2022年11月4日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with application number 202211378275.X and application date November 4, 2022, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference.
技术领域Technical Field
本申请涉及通信技术领域,例如涉及一种用于控制总线系统的方法及装置、总线系统、存储介质。The present application relates to the field of communication technology, for example, to a method and device for controlling a bus system, a bus system, and a storage medium.
背景技术Background technique
目前,线控器控制空调器室内机时,存在一控一和一控多两种场景。其中,一控一的场景可以是对参数、静压档、故障、房卡等信息的查询,一控多的场景可以是对基本的开关、模式、风速、设定温度等的查询。At present, when the wired controller controls the indoor unit of the air conditioner, there are two scenarios: one-control-one and one-control-many. Among them, the one-control-one scenario can be the query of parameters, static pressure level, fault, room card and other information, and the one-control-many scenario can be the query of basic switches, modes, wind speed, set temperature and so on.
相关技术公开了与线控器连接的室内机都需要手拉手连接,只能单独实现一控一,或单独实现一控多。上电搜机的时候,线控器要通过搜机来确认每个室内机是否存在。Related art discloses that the indoor units connected to the wire controller need to be connected hand in hand, and can only realize one-to-one control or one-to-multiple control. When searching for units at power-on, the wire controller needs to confirm whether each indoor unit exists by searching for units.
在实现本公开实施例的过程中,发现相关技术中至少存在如下问题:In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
相关技术中与线控器连接的室内机实现一控多时,都需要采取手拉手连接的方式才能进行通讯,接线复杂,无法同时实现部分一控一和部分一控多。In the related art, when the indoor unit connected to the wire controller realizes one-to-many control, a hand-in-hand connection method is required to communicate, and the wiring is complicated, and it is impossible to realize partial one-to-one control and partial one-to-many control at the same time.
需要说明的是,在上述背景技术部分公开的信息仅用于加强对本申请的背景的理解,因此可以包括不构成对本领域普通技术人员已知的现有技术的信息。It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field.
发明内容Summary of the invention
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key/critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于控制总线系统的方法及装置、总线系统、存储介质,以简化接线,同时实现部分一控一和部分一控多。The embodiments of the present disclosure provide a method and device for controlling a bus system, a bus system, and a storage medium to simplify wiring and realize partial one-control-one and partial one-control-many.
在一些实施例中,所述总线系统包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其 他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;所述方法包括:在室内机上电初始化的情况下,确定室内机的线控方式;在室内机的线控方式为一控多的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯;在室内机的线控方式为一控一的情况下,控制线控器与所连接的主室内机直接通讯。In some embodiments, the bus system includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through the bus, and the first master indoor unit is connected to the first master indoor unit through the bus. A master indoor unit and a slave indoor unit are connected in series; multiple wire controllers, each wire controller can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and is indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through a bus; the method includes: when the indoor unit is powered on and initialized, determining the wire control mode of the indoor unit; when the wire control mode of the indoor unit is one-to-many, controlling the wire controller to communicate directly with the connected master indoor unit, and/or, indirectly communicating with the slave indoor unit connected in series with the connected master indoor unit; when the wire control mode of the indoor unit is one-to-one, controlling the wire controller to communicate directly with the connected master indoor unit.
在一些实施例中,所述总线系统包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;所述装置包括:确定模块,被配置为在室内机上电初始化的情况下,确定室内机的线控方式;一控多通讯模块,被配置为在室内机的线控方式为一控多的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯;一控一通讯模块,被配置为在室内机的线控方式为一控一的情况下,控制线控器与所连接的主室内机直接通讯。In some embodiments, the bus system includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through the bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through the bus; multiple wire controllers, each wire controller can be directly connected and communicated with the master indoor unit of one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through the bus; the device includes: a determination module, configured to determine the wire control mode of the indoor unit when the indoor unit is powered on and initialized; a one-control-many communication module, configured to control the wire controller to directly communicate with the connected master indoor unit when the wire control mode of the indoor unit is one-control-many, and/or to indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit; a one-control-one communication module, configured to control the wire controller to directly communicate with the connected master indoor unit when the wire control mode of the indoor unit is one-control-one.
在一些实施例中,所述装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在运行所述程序指令时,执行上述的用于控制总线系统的方法。In some embodiments, the device includes a processor and a memory storing program instructions, and the processor is configured to execute the above-mentioned method for controlling a bus system when running the program instructions.
在一些实施例中,所述总线系统,包括:总线系统本体,包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;上述的用于控制总线系统的装置,被安装于所述产品本体。In some embodiments, the bus system includes: a bus system body, including: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, and in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through the bus; multiple wire controllers, each wire controller can be directly connected to and communicate with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected to and communicate with the slave indoor unit connected in series with the master indoor unit that directly communicates with the wire controller through the bus; the above-mentioned device for controlling the bus system is installed in the product body.
在一些实施例中,所述存储介质,存储有程序指令,所述程序指令在运行时,执行上述的用于控制总线系统的方法。In some embodiments, the storage medium stores program instructions, and when the program instructions are run, the above-mentioned method for controlling a bus system is executed.
本公开实施例提供的用于控制总线系统的方法及装置、总线系统、存储介质,可以实现以下技术效果:The method and device for controlling a bus system, the bus system, and the storage medium provided by the embodiments of the present disclosure can achieve the following technical effects:
总线系统中包含多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并 通讯,可以实现一控一或一控多的与线控器连接的室内机,可以在总线上任意组合接线,无需线控器与每台室内机接线,简化了接线方式和操作,且,减少了通讯故障的发生。同时,根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。The bus system includes multiple wire controllers, each of which can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor units connected in series with the master indoor unit directly communicating with the wire controller through the bus. Communication can realize one-to-one or one-to-many indoor units connected to the wire controller. The wiring can be combined arbitrarily on the bus, and there is no need for the wire controller to be wired to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures. At the same time, according to the wire control method of the indoor unit, the wire controller can be controlled to communicate with the indoor unit to control one or one to control multiple, and one control one or one control multiple can be realized at the same time. It is only necessary to set one control one or one control multiple on the indoor unit end. During the communication process, the wire controller can be informed to control one or one control multiple, without the need to set it on the wire controller end, which is convenient for after-sales and installation.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
图1是本公开实施例提供的一个总线系统的示意图;FIG1 is a schematic diagram of a bus system provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一个总线系统中的一套内外机系统的示意图;FIG2 is a schematic diagram of a set of internal and external machine systems in a bus system provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一个用于控制总线系统的方法的示意图;FIG3 is a schematic diagram of a method for controlling a bus system provided by an embodiment of the present disclosure;
图4是本公开实施例提供的另一个用于控制总线系统的方法的示意图;FIG4 is a schematic diagram of another method for controlling a bus system provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一个用于控制总线系统的装置的示意图;FIG5 is a schematic diagram of a device for controlling a bus system provided by an embodiment of the present disclosure;
图6是本公开实施例提供的另一个用于控制总线系统的装置的示意图。FIG. 6 is a schematic diagram of another device for controlling a bus system provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
除非另有说明,术语“多个”表示两个或两个以上。Unless otherwise stated, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an "or" relationship. For example, A/B indicates: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B, 表示:A或B,或,A和B这三种关系。The term "and/or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and/or B, It represents the following three relationships: A or B, or A and B.
术语“对应”可以指的是一种关联关系或绑定关系,A与B相对应指的是A与B之间是一种关联关系或绑定关系。The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
本公开实施例中,智能家电设备是指将微处理器、传感器技术、网络通信技术引入家电设备后形成的家电产品,具有智能控制、智能感知及智能应用的特征,智能家电设备的运作过程往往依赖于物联网、互联网以及电子芯片等现代技术的应用和处理,例如智能家电设备可以通过连接电子设备,实现用户对智能家电设备的远程控制和管理。In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.
公开实施例中,终端设备是指具有无线连接功能的电子设备,终端设备可以通过连接互联网,与如上的智能家电设备进行通信连接,也可以直接通过蓝牙、wifi等方式与如上的智能家电设备进行通信连接。在一些实施例中,终端设备例如为移动设备、电脑、或悬浮车中内置的车载设备等,或其任意组合。移动设备例如可以包括手机、智能家居设备、可穿戴设备、智能移动设备、虚拟现实设备等,或其任意组合,其中,可穿戴设备例如包括:智能手表、智能手环、计步器等。In the disclosed embodiments, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can communicate with the above-mentioned smart home appliances directly through Bluetooth, WiFi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
结合图1和图2所示,本公开实施例提供的一个总线系统包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联。多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯。在本公开实施例中,图中的XY代表空调遥控器接线,在线控器和室内机之间的用于传输控制信号。图中的PQ代表空调信号线,在室内机之间或室内机和室外机之间,用于控制空调开关、调节温度、风速等控制信号。As shown in FIG. 1 and FIG. 2 , a bus system provided in an embodiment of the present disclosure includes: multiple sets of indoor and outdoor unit systems, each set of indoor and outdoor unit systems includes an outdoor unit and multiple indoor units, wherein the multiple indoor units include one or more master indoor units and one or more slave indoor units, and in each set of indoor and outdoor unit systems, the outdoor unit is connected to the first master indoor unit through a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through a bus. Multiple wire controllers, each wire controller can be directly connected and communicated with the master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected and communicated with the slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through a bus. In the embodiment of the present disclosure, XY in the figure represents the air conditioner remote control wiring, which is used to transmit control signals between the wire controller and the indoor unit. PQ in the figure represents the air conditioner signal line, which is used to control the air conditioner switch, adjust the temperature, wind speed and other control signals between the indoor units or between the indoor unit and the outdoor unit.
采用本公开实施例提供的总线系统,总线系统中包含多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯,可以实现一控一或一控多的与线控器连接的室内机,可以在总线上任意组合接线,无需线控器与每台室内机接线,简化了接线方式和操作,且,减少了通讯故障的发生。The bus system provided by the embodiment of the present disclosure is adopted, and the bus system includes multiple wire controllers. Each wire controller can be directly connected to and communicate with the main indoor unit in one or more sets of indoor and outdoor unit systems, and can be indirectly connected to and communicate with the slave indoor unit connected in series with the main indoor unit that directly communicates with the wire controller through the bus. It can realize one-to-one control or one-to-multiple control of indoor units connected to the wire controller, and the wiring can be arbitrarily combined on the bus. There is no need to connect the wire controller to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures.
结合图3所示,本公开实施例提供一种用于控制总线系统的方法,包括:As shown in FIG3 , an embodiment of the present disclosure provides a method for controlling a bus system, including:
S301,在室内机上电初始化的情况下,总线系统确定室内机的线控方式。S301, when the indoor unit is powered on and initialized, the bus system determines the wire control mode of the indoor unit.
S302,在室内机的线控方式为一控多的情况下,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。S302, when the wired control mode of the indoor unit is one-control-many, the bus system controls the wired controller to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit.
S303,在室内机的线控方式为一控一的情况下,总线系统控制线控器与所连接的主室 内机直接通讯。S303, when the wire control mode of the indoor unit is one-to-one, the bus system controls the wire controller and the connected master room Direct indoor communication.
采用本公开实施例提供的用于控制总线系统的方法,总线系统中包含多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯,可以实现一控一或一控多的与线控器连接的室内机,可以在总线上任意组合接线,无需线控器与每台室内机接线,简化了接线方式和操作,且,减少了通讯故障的发生。同时,根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。The method for controlling a bus system provided by the embodiment of the present disclosure is adopted. The bus system includes multiple wire controllers. Each wire controller can be directly connected and communicated with the main indoor unit in one or more sets of internal and external unit systems, and indirectly connected and communicated with the slave indoor unit in series with the main indoor unit directly communicating with the wire controller through the bus. It can realize one-to-one control or one-to-many control of the indoor units connected to the wire controller. The wiring can be arbitrarily combined on the bus, and there is no need for the wire controller to be connected to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures. At the same time, according to the wire control method of the indoor unit, the wire controller is controlled to communicate with the indoor unit in one-to-one control or one-to-many control, and one-to-one control or one-to-many control can be realized at the same time. It is only necessary to set one-to-one control or one-to-many control on the indoor unit end, and the wire controller can be informed to control one-to-one or one-to-many control during the communication process, without the need to set it on the wire controller end, which is convenient for after-sales and installation.
可选地,总线系统确定室内机的线控方式,包括:总线系统根据室内机的第一内机拨码地址确定室内机的线控方式。这样,先根据室内机的第一拨码地址确定室内机的线控方式,再根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置第一拨码地址从而设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。Optionally, the bus system determines the wire control mode of the indoor unit, including: the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit. In this way, the wire control mode of the indoor unit is first determined according to the first dial address of the indoor unit, and then the wire controller is controlled to communicate with the indoor unit to control one or one control many according to the wire control mode of the indoor unit, so that one control one or one control many can be achieved at the same time. It is only necessary to set the first dial address on the indoor unit end to set one control one or one control many. During the communication process, the wire controller can be informed to control one control one or one control many without setting it on the wire controller end, which is convenient for after-sales and installation.
可选地,总线系统根据室内机的第一内机拨码地址确定室内机的线控方式,包括:在室内机的第一内机拨码地址的第一位的码值为第一码值的情况下,总线系统确定室内机的线控方式为一控多。在室内机的第一内机拨码地址的第一位的码值为第二码值的情况下,总线系统确定室内机的线控方式为一控一。其中,第一码值大于第二码值。具体地,第一码值的取值可以是1,第二码值的取值可以是0。这样,有利于更好地根据室内机的第一拨码地址的第一位码值确定室内机的线控方式,再根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置第一拨码地址的第一位码值从而设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。Optionally, the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit, including: when the code value of the first bit of the first indoor unit dial address of the indoor unit is the first code value, the bus system determines that the wire control mode of the indoor unit is one control multiple. When the code value of the first bit of the first indoor unit dial address of the indoor unit is the second code value, the bus system determines that the wire control mode of the indoor unit is one control one. Among them, the first code value is greater than the second code value. Specifically, the value of the first code value can be 1, and the value of the second code value can be 0. In this way, it is beneficial to better determine the wire control mode of the indoor unit according to the first code value of the first dial address of the indoor unit, and then control the wire controller to communicate with the indoor unit to control one or one control multiple according to the wire control mode of the indoor unit, so that one control one or one control multiple can be realized at the same time. It is only necessary to set the first code value of the first dial address at the indoor unit end to set one control one or one control multiple, and the wire controller can be informed to control one control one or one control multiple during the communication process, without having to set it at the wire controller end, which is convenient for after-sales and installation.
可选地,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:在一个线控器连接两套以上的内外机系统的情况下,总线系统根据室外机的外机拨码地址和室内机的内机拨码地址,控制线控器与所连接的每套内外机系统中的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。在多个线控器连接一套内外机系统的情况下,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。这样,室内机的线控方式为一控多,可以划分为一个线控器连接两套以上的内外机系统,或者多个线控器 连接一套内外机系统。在一个线控器连接两套以上的内外机系统的情况下,根据室外机的外机拨码地址和室内机的内机拨码地址,控制线控器与所连接的每套内外机系统中的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,以实现一控多。在多个线控器连接一套内外机系统的情况下,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,以实现一控多。有利于更好地控制线控器与室内机进行一控多通讯。Optionally, the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit, including: when one wire controller is connected to more than two sets of indoor and outdoor unit systems, the bus system controls the wire controller to communicate directly with the master indoor unit in each set of indoor and outdoor unit systems connected, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit. When multiple wire controllers are connected to one set of indoor and outdoor unit systems, the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit. In this way, the wire control mode of the indoor unit is one-control-many, which can be divided into one wire controller connected to more than two sets of indoor and outdoor unit systems, or multiple wire controllers. Connect one set of indoor and outdoor unit systems. When one wire controller is connected to more than two sets of indoor and outdoor unit systems, according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit, the wire controller is controlled to communicate directly with the master indoor unit in each set of indoor and outdoor unit systems connected, and/or, to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, so as to achieve one control multiple. When multiple wire controllers are connected to one set of indoor and outdoor unit systems, the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or, to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, so as to achieve one control multiple. This is conducive to better control of the wire controller and the indoor unit to perform one control multiple communication.
可选地,总线系统根据室外机的外机拨码地址和室内机的内机拨码地址,控制线控器与所连接的每套内外机系统中的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:总线系统根据室外机的外机拨码地址确定一套或多套被控的内外机系统。总线系统根据室内机的内机拨码地址,确定每套被控的内外机系统中的被控的室内机的通讯地址。总线系统控制线控器按照通讯地址与被控的内外机系统中的被控的主室内机直接通讯,和/或,与被控的内外机系统中的被控的与所连接的主室内机串联的从室内机间接通讯。具体地,外机拨码地址的取值范围可以是[1,32]。这样,在多个线控器连接一套内外机系统实现一控多的情况下,先根据外机拨码地址定位到被控的内外机系统,再根据内机拨码地址定位到每套被控的内外机系统中的被控的室内机的通讯地址,再按照得到的通讯地址与一控多中被控的室内机进行直接或间接通讯,从而更好地实现一控多。Optionally, the bus system controls the wire controller to communicate directly with the master indoor unit in each connected indoor and outdoor unit system, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit, according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit, including: the bus system determines one or more controlled indoor and outdoor unit systems according to the outdoor unit dial address. The bus system determines the communication address of the controlled indoor unit in each controlled indoor and outdoor unit system according to the indoor unit dial address. The bus system controls the wire controller to communicate directly with the controlled master indoor unit in the controlled indoor and outdoor unit system according to the communication address, and/or to communicate indirectly with the controlled slave indoor unit in the controlled indoor and outdoor unit system connected in series with the connected master indoor unit. Specifically, the value range of the outdoor unit dial address can be [1, 32]. In this way, when multiple wire controllers are connected to a set of indoor and outdoor unit systems to achieve one control of multiple units, the controlled indoor and outdoor unit systems are first located according to the outdoor unit dial address, and then the communication address of the controlled indoor unit in each controlled indoor and outdoor unit system is located according to the indoor unit dial address, and then the controlled indoor unit in the one control of multiple units is communicated directly or indirectly according to the obtained communication address, so as to better achieve one control of multiple units.
可选地,总线系统根据室外机的外机拨码地址确定一套或多套被控的内外机系统,包括:总线系统将与外机拨码地址所对应的室外机所在的一套或多套内外机系统,确定为被控的内外机系统。这样,在多个线控器连接一套内外机系统实现一控多的情况下,有利于更好地根据外机拨码地址定位到被控的内外机系统,从而有利于更好地再根据内机拨码地址定位到每套被控的内外机系统中的被控的室内机的通讯地址,再按照得到的通讯地址与一控多中被控的室内机进行直接或间接通讯,进而更好地实现一控多。Optionally, the bus system determines one or more sets of controlled indoor and outdoor unit systems according to the outdoor unit dial address of the outdoor unit, including: the bus system determines one or more sets of indoor and outdoor unit systems where the outdoor unit corresponding to the outdoor unit dial address is located as the controlled indoor and outdoor unit systems. In this way, when multiple wire controllers are connected to one indoor and outdoor unit system to realize one-to-many control, it is helpful to better locate the controlled indoor and outdoor unit system according to the outdoor unit dial address, and thus it is helpful to better locate the communication address of the controlled indoor unit in each set of controlled indoor and outdoor unit system according to the indoor unit dial address, and then communicate directly or indirectly with the controlled indoor unit in the one-to-many control according to the obtained communication address, so as to better realize one-to-many control.
可选地,总线系统根据室内机的内机拨码地址,确定每套被控的内外机系统中的被控的室内机的通讯地址,包括:总线系统将与内机拨码地址所对应的每套被控的内外机系统中的一个或多个室内机,确定为每套被控的内外机系统中的被控的内外机系统的通讯地址。具体地,内机拨码地址的取值范围可以是[1,64]。这样,在多个线控器连接一套内外机系统实现一控多的情况下,有利于更好地根据内机拨码地址定位到每套被控的内外机系统中的被控的室内机的通讯地址,再按照得到的通讯地址与一控多中被控的室内机进行直接或间接通讯,从而更好地实现一控多。Optionally, the bus system determines the communication address of the controlled indoor unit in each set of controlled indoor and outdoor unit systems according to the indoor unit dial address of the indoor unit, including: the bus system determines one or more indoor units in each set of controlled indoor and outdoor unit systems corresponding to the indoor unit dial address as the communication address of the controlled indoor and outdoor unit system in each set of controlled indoor and outdoor unit systems. Specifically, the value range of the indoor unit dial address can be [1, 64]. In this way, when multiple wire controllers are connected to a set of indoor and outdoor unit systems to realize one-to-many control, it is helpful to better locate the communication address of the controlled indoor unit in each set of controlled indoor and outdoor unit systems according to the indoor unit dial address, and then communicate directly or indirectly with the controlled indoor unit in the one-to-many control according to the obtained communication address, so as to better realize one-to-many control.
结合图1所示,在一个线控器连接两套以上的内外机系统实现一控多的情况下,若室外机的外机拨码地址为1和/或2,则确定与外机拨码地址1对应的室外机1-1、室内机1-1-1、 室内机1-1-2所属于的内外机系统、和/或,与外机拨码地址2对应的室外机1-2、室内机1-2-1、室内机1-2-2所属于的内外机系统为被控的内外机系统。而室内机1-1-1的内机拨码地址为1,室内机1-1-2的内机拨码地址为2,由此确定被控的内外机系统中的室内机的通讯地址。线控器与直接连接的室内机1-1-1直接进行通讯,与室内机1-1-2通过总线和室内机1-1-1进行间接通讯,从而实现一控多。室内机1-2-1的内机拨码地址为1,室内机1-2-2的内机拨码地址为2,由此确定被控的内外机系统中的室内机的通讯地址。线控器与直接连接的室内机1-2-1直接进行通讯,与室内机1-2-2通过总线和室内机1-2-1进行间接通讯,从而实现一控多。As shown in FIG1 , when one wired controller is connected to two or more indoor and outdoor unit systems to realize one-to-many control, if the outdoor unit dial address is 1 and/or 2, then the outdoor unit 1-1, indoor unit 1-1-1, and The indoor and outdoor unit system to which the indoor unit 1-1-2 belongs, and/or the indoor and outdoor unit system to which the outdoor unit 1-2, indoor unit 1-2-1, and indoor unit 1-2-2 corresponding to the outdoor unit dial address 2 belong is the controlled indoor and outdoor unit system. The indoor unit dial address of the indoor unit 1-1-1 is 1, and the indoor unit dial address of the indoor unit 1-1-2 is 2, thereby determining the communication address of the indoor unit in the controlled indoor and outdoor unit system. The wire controller communicates directly with the directly connected indoor unit 1-1-1, and communicates indirectly with the indoor unit 1-1-2 through the bus and the indoor unit 1-1-1, thereby realizing one control of multiple. The indoor unit dial address of the indoor unit 1-2-1 is 1, and the indoor unit dial address of the indoor unit 1-2-2 is 2, thereby determining the communication address of the indoor unit in the controlled indoor and outdoor unit system. The wire controller communicates directly with the directly connected indoor unit 1-2-1, and communicates indirectly with the indoor unit 1-2-2 through the bus and the indoor unit 1-2-1, thereby realizing one control of multiple.
可选地,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:总线系统根据室内机的第一内机拨码地址,确定与主控线控器通讯的主从室内机的类别、主控的线控器的地址。总线系统根据室内机的第二内机拨码地址,控制与主控的线控器连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。这样,在多个线控器连接一套内外机系统以实现一控多的情况下,先根据第一内机拨码地址,确定与主控线控器通讯的主从室内机的类别、定位到主控的线控器,再根据第二内机拨码地址定位到与主控线控器直接或间接通讯的主从室内机,从而更好地实现一控多。Optionally, the bus system controls the wire controller to communicate directly with the connected master indoor unit, and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit, including: the bus system determines the category of the master and slave indoor units communicating with the master wire controller and the address of the master wire controller according to the first indoor unit dial address of the indoor unit. The bus system controls the master indoor unit connected to the master wire controller to communicate directly and/or indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit according to the second indoor unit dial address of the indoor unit. In this way, when multiple wire controllers are connected to a set of indoor and outdoor unit systems to achieve one-to-many control, first determine the category of the master and slave indoor units communicating with the master wire controller and locate the master wire controller according to the first indoor unit dial address, and then locate the master and slave indoor units communicating directly or indirectly with the master wire controller according to the second indoor unit dial address, so as to better achieve one-to-many control.
可选地,总线系统根据室内机的第一内机拨码地址,确定与主控线控器通讯的主从室内机的类别、主控的线控器的地址,包括:总线系统根据室内机的第一内机拨码地址的第二位的码值,确定主从室内机的类别。总线系统根据室内机的第一内机拨码地址的第三位的码值和第四位的码值,确定主控的线控器的地址。这样,根据第一内机拨码地址的第二位的码值确定主从室内机的类别,并根据第一内机拨码地址的第三位、第四位的码值确定主控的线控器的地址以定位到主控的线控器,从而有利于更好地定位到与主控线控器直接或间接通讯的主从室内机,进而更好地实现一控多。Optionally, the bus system determines the category of the master and slave indoor units communicating with the master wire controller and the address of the master wire controller according to the first indoor unit dial address of the indoor unit, including: the bus system determines the category of the master and slave indoor units according to the code value of the second digit of the first indoor unit dial address of the indoor unit. The bus system determines the address of the master wire controller according to the code value of the third digit and the code value of the fourth digit of the first indoor unit dial address of the indoor unit. In this way, the category of the master and slave indoor units is determined according to the code value of the second digit of the first indoor unit dial address, and the address of the master wire controller is determined according to the code values of the third and fourth digits of the first indoor unit dial address to locate the master wire controller, which is conducive to better locating the master and slave indoor units that communicate directly or indirectly with the master wire controller, thereby better realizing one control of multiple units.
可选地,总线系统根据室内机的第一内机拨码地址的第二位的码值,确定主从室内机的类别,包括:在室内机的第一内机拨码地址的第二位的码值为第一码值的情况下,总线系统确定主从室内机的类别为从室内机。在室内机的第一内机拨码地址的第二位的码值为第二码值的情况下,总线系统确定主从室内机的类别为主室内机。其中,第一码值大于第二码值。这样,有利于更好地根据第一内机拨码地址的第二位的码值确定主从室内机的类别,从而有利于更好地定位到与主控线控器直接或间接通讯的主从室内机,进而更好地实现一控多。Optionally, the bus system determines the category of the master-slave indoor unit according to the code value of the second bit of the first indoor unit dial address of the indoor unit, including: when the code value of the second bit of the first indoor unit dial address of the indoor unit is the first code value, the bus system determines the category of the master-slave indoor unit as the slave indoor unit. When the code value of the second bit of the first indoor unit dial address of the indoor unit is the second code value, the bus system determines the category of the master-slave indoor unit as the master indoor unit. Wherein, the first code value is greater than the second code value. In this way, it is beneficial to better determine the category of the master-slave indoor unit according to the code value of the second bit of the first indoor unit dial address, so as to better locate the master-slave indoor unit that communicates directly or indirectly with the main control wire controller, and further better realize one control multiple.
可选地,总线系统根据室内机的第一内机拨码地址的第三位的码值和第四位的码值, 确定主控的线控器的地址,包括:在室内机的第一内机拨码地址的第三位的码值和第四位的码值都为第二码值的情况下,总线系统确定主控的线控器的地址为第一线控器的地址。在室内机的第一内机拨码地址的第三位的码值为第二码值,且第四位的码值为第一码值的情况下,总线系统确定主控的线控器的地址为第二线控器的地址。在室内机的第一内机拨码地址的第三位的码值为第一码值,且第四位的码值为第二码值的情况下,总线系统确定主控的线控器的地址为第三线控器的地址。在室内机的第一内机拨码地址的第三位的码值和第四位的码值都为第一码值的情况下,总线系统确定主控的线控器的地址为第四线控器的地址。这样,在多个线控器连接一套内外机系统以实现一控多的情况下,有利于根据第一内机拨码地址定位到主控的线控器,从而有利于更好地定位到与主控线控器直接或间接通讯的主从室内机,从而更好地实现一控多。Optionally, the bus system determines the value of the third digit and the value of the fourth digit of the first indoor unit dial address of the indoor unit according to the value of the third digit and the value of the fourth digit. Determining the address of the master wire controller includes: when the code value of the third digit and the code value of the fourth digit of the first indoor unit dial address of the indoor unit are both the second code value, the bus system determines the address of the master wire controller to be the address of the first wire controller. When the code value of the third digit of the first indoor unit dial address of the indoor unit is the second code value, and the code value of the fourth digit is the first code value, the bus system determines the address of the master wire controller to be the address of the second wire controller. When the code value of the third digit of the first indoor unit dial address of the indoor unit is the first code value, and the code value of the fourth digit is the second code value, the bus system determines the address of the master wire controller to be the address of the third wire controller. When the code value of the third digit and the code value of the fourth digit of the first indoor unit dial address of the indoor unit are both the first code value, the bus system determines the address of the master wire controller to be the address of the fourth wire controller. In this way, when multiple wire controllers are connected to a set of indoor and outdoor unit systems to achieve one control of multiple units, it is helpful to locate the master wire controller according to the first indoor unit dial address, which is conducive to better locating the master and slave indoor units that communicate directly or indirectly with the master wire controller, thereby better achieving one control of multiple units.
可选地,总线系统根据室内机的第二内机拨码地址,控制与主控的线控器连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:在室内机的第二内机拨码地址的第一位为第一码值的情况下,总线系统根据室内机的第二内机拨码地址的第二位、第三位、第四位、第五位、第六位、第七位和第八位的码值确定与主控的线控器连接的主室内机的通讯地址,和/或,与所连接的主室内机串联的从室内机的通讯地址。总线系统控制线控器按照通讯地址与主控的线控器连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。这样,有利于更好地根据室内机的第二内机拨码地址获取到与主控的线控器直接或间接连接的主从室内机的通讯地址,从而实现直接或间接与主从室内机通讯,有利于更好地控制线控器与室内机进行一控多通讯。Optionally, the bus system controls the direct communication of the master indoor unit connected to the wire controller of the master control according to the second indoor unit dial address of the indoor unit, and/or the indirect communication of the slave indoor unit connected in series with the connected master indoor unit, including: when the first bit of the second indoor unit dial address of the indoor unit is the first code value, the bus system determines the communication address of the master indoor unit connected to the wire controller of the master control according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dial address of the indoor unit, and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit. The bus system controls the wire controller to communicate directly with the master indoor unit connected to the wire controller of the master control according to the communication address, and/or the indirect communication of the slave indoor unit connected in series with the connected master indoor unit. In this way, it is beneficial to better obtain the communication addresses of the master and slave indoor units directly or indirectly connected to the wire controller of the master control according to the second indoor unit dial address of the indoor unit, thereby realizing direct or indirect communication with the master and slave indoor units, and is beneficial to better control the wire controller to perform one-control-multiple communication with the indoor unit.
可选地,总线系统根据室内机的第二内机拨码地址的第二位、第三位、第四位、第五位、第六位、第七位和第八位的码值确定与主控的线控器连接的主室内机的通讯地址,和/或,与所连接的主室内机串联的从室内机的通讯地址,包括:总线系统根据室内机的第二内机拨码地址的第二位、第三位、第四位、第五位、第六位、第七位和第八位的码值在码值信息库中查询确定与主控的线控器连接的主室内机的通讯地址,和/或,与所连接的主室内机串联的从室内机的通讯地址。这样,有利于更好地根据室内机的第二内机拨码地址的第二位至第八位的码值,获取到与主控的线控器直接或间接连接的主从室内机的通讯地址,从而实现直接或间接与主从室内机通讯,有利于更好地控制线控器与室内机进行一控多通讯。Optionally, the bus system determines the communication address of the master indoor unit connected to the master control wire controller and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dialing address of the indoor unit, including: the bus system queries and determines the communication address of the master indoor unit connected to the master control wire controller and/or the communication address of the slave indoor unit connected in series with the connected master indoor unit in the code value information library according to the code values of the second, third, fourth, fifth, sixth, seventh and eighth bits of the second indoor unit dialing address of the indoor unit. In this way, it is beneficial to better obtain the communication addresses of the master and slave indoor units directly or indirectly connected to the master control wire controller according to the code values of the second to eighth bits of the second indoor unit dialing address of the indoor unit, thereby realizing direct or indirect communication with the master and slave indoor units, and is beneficial to better control the wire controller and the indoor unit to perform one-control-multiple communication.
结合图2所示,在第一内机拨码地址的第一位为1且多个线控器连接一套内外机系统的情况下,若第一内机拨码地址的第二位的码值为0,则确定主从室内机的类别为主室内机,若第一内机拨码地址的第二位的码值为1,则确定主从室内机的类别为从室内机。若 第一内机拨码地址的第三位的码值为0,第四位的码值为0,则确定主控的线控器的地址为线控器2-1的地址,此时主室内机为与线控器2-1连接的室内机2-1-1,从室内机为与室内机2-1-1在总线上串联的室内机2-1-2至室内机2-1-16。若第一内机拨码地址的第三位的码值为0,第四位的码值为1,则确定主控的线控器的地址为线控器2-2的地址,此时主室内机为与线控器2-2连接的室内机2-1-17,从室内机为与室内机2-1-17在总线上串联的室内机2-1-18至室内机2-1-32。若第一内机拨码地址的第三位的码值为1,第四位的码值为0,则确定主控的线控器的地址为线控器2-3的地址,此时主室内机为与线控器2-3连接的室内机2-1-33,从室内机为与室内机2-1-33在总线上串联的室内机2-1-34至室内机2-1-48。若第一内机拨码地址的第三位的码值为1,第四位的码值为1,则确定主控的线控器的地址为线控器2-4的地址,此时主室内机为与线控器2-4连接的室内机2-1-49,从室内机为与室内机2-1-49在总线上串联的室内机2-1-50至室内机2-1-64。As shown in Figure 2, when the first bit of the first indoor unit dial address is 1 and multiple wire controllers are connected to a set of indoor and outdoor unit systems, if the second bit of the first indoor unit dial address is 0, the master-slave indoor unit is determined to be a master indoor unit; if the second bit of the first indoor unit dial address is 1, the master-slave indoor unit is determined to be a slave indoor unit. If the code value of the third digit of the first indoor unit dial address is 0 and the code value of the fourth digit is 0, the address of the master wire controller is determined to be the address of the wire controller 2-1. At this time, the master indoor unit is the indoor unit 2-1-1 connected to the wire controller 2-1, and the slave indoor units are the indoor units 2-1-2 to 2-1-16 connected in series with the indoor unit 2-1-1 on the bus. If the code value of the third digit of the first indoor unit dial address is 0 and the code value of the fourth digit is 1, the address of the master wire controller is determined to be the address of the wire controller 2-2. At this time, the master indoor unit is the indoor unit 2-1-17 connected to the wire controller 2-2, and the slave indoor units are the indoor units 2-1-18 to 2-1-32 connected in series with the indoor unit 2-1-17 on the bus. If the code value of the third digit of the first indoor unit dial address is 1 and the code value of the fourth digit is 0, the address of the master wire controller is determined to be the address of wire controller 2-3. At this time, the master indoor unit is indoor unit 2-1-33 connected to wire controller 2-3, and the slave indoor units are indoor units 2-1-34 to indoor units 2-1-48 connected in series with indoor unit 2-1-33 on the bus. If the code value of the third digit of the first indoor unit dial address is 1 and the code value of the fourth digit is 1, the address of the master wire controller is determined to be the address of wire controller 2-4. At this time, the master indoor unit is indoor unit 2-1-49 connected to wire controller 2-4, and the slave indoor units are indoor units 2-1-50 to indoor units 2-1-64 connected in series with indoor unit 2-1-49 on the bus.
其中,第一内机拨码地址的排列顺序为第二位、第一位、第三位、第四位。室内机2-1-1的第一内机拨码地址为0100,室内机2-1-2至室内机2-1-16的第一内机拨码地址为1100,第一内机拨码地址为0100的主室内机负责在线控器2-1与第一内机拨码地址为1100的室内机之间传递控制信息或通讯信号。The first indoor unit dial address is arranged in the order of the second digit, the first digit, the third digit, and the fourth digit. The first indoor unit dial address of the indoor unit 2-1-1 is 0100, and the first indoor unit dial address of the indoor unit 2-1-2 to the indoor unit 2-1-16 is 1100. The master indoor unit with the first indoor unit dial address of 0100 is responsible for transmitting control information or communication signals between the line controller 2-1 and the indoor unit with the first indoor unit dial address of 1100.
第二内机拨码地址的排列顺序为第一位、第二位、第三位、第四位、第五位、第六位、第七位、第八位。室内机2-1-1的第二内机拨码地址为10000000,室内机2-1-2的第二内机拨码地址为10000001,室内机2-1-3的第二内机拨码地址为10000010,以此类推,室内机2-1-64的第二内机拨码地址为10111111。根据第二内机拨码地址即可定位到与主控的线控器连接的主室内机的通讯地址、与所连接的主室内机串联的从室内机的通讯地址,从而实现一控多。The order of the second indoor unit dial address is the first, second, third, fourth, fifth, sixth, seventh, and eighth. The second indoor unit dial address of indoor unit 2-1-1 is 10000000, the second indoor unit dial address of indoor unit 2-1-2 is 10000001, the second indoor unit dial address of indoor unit 2-1-3 is 10000010, and so on. The second indoor unit dial address of indoor unit 2-1-64 is 10111111. According to the second indoor unit dial address, the communication address of the master indoor unit connected to the master control wire controller and the communication address of the slave indoor unit connected in series with the connected master indoor unit can be located, thereby realizing one control of multiple units.
结合图4所示,本公开实施例提供另一种用于控制总线系统的方法,包括:As shown in FIG4 , the embodiment of the present disclosure provides another method for controlling a bus system, including:
S401,在室内机上电初始化的情况下,总线系统根据室内机的第一内机拨码地址确定室内机的线控方式。S401, when the indoor unit is powered on and initialized, the bus system determines the wire control mode of the indoor unit according to the first indoor unit dial address of the indoor unit.
S402,在室内机的线控方式为一控多的情况下,总线系统控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。S402, when the wired control mode of the indoor unit is one-control-many, the bus system controls the wired controller to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit.
S403,在室内机的线控方式为一控一的情况下,总线系统控制线控器与所连接的主室内机直接通讯。S403, when the wired control mode of the indoor unit is one-to-one, the bus system controls the wired controller to communicate directly with the connected master indoor unit.
采用本公开实施例提供的用于控制总线系统的方法,总线系统中包含多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯,可以实现一控一或一控多的与 线控器连接的室内机,可以在总线上任意组合接线,无需线控器与每台室内机接线,简化了接线方式和操作,且,减少了通讯故障的发生。同时,先根据室内机的第一拨码地址确定室内机的线控方式,再根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置第一拨码地址从而设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。By adopting the method for controlling a bus system provided by the embodiment of the present disclosure, the bus system includes multiple wire controllers, each of which can be directly connected to and communicated with a master indoor unit in one or more sets of indoor and outdoor unit systems, and indirectly connected to and communicated with a slave indoor unit connected in series with the master indoor unit directly communicating with the wire controller through the bus, so that one-to-one or one-to-many control can be achieved. The indoor units connected to the wired controller can be wired in any combination on the bus. There is no need to wire the wired controller to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures. At the same time, the wired control method of the indoor unit is first determined according to the first dial address of the indoor unit, and then the wired controller is controlled to communicate with the indoor unit to control one or one control multiple according to the wired control method of the indoor unit, which can realize one control one or one control multiple at the same time. It is only necessary to set the first dial address on the indoor unit end to set one control one or one control multiple. During the communication process, the wired controller can be informed to control one control one or one control multiple without setting it on the wired controller end, which is convenient for after-sales and installation.
结合图5所示,本公开实施例提供一种用于控制总线系统的装置200,包括确定模块501、一控多通讯模块502和一控一通讯模块503。确定模块501,被配置为在室内机上电初始化的情况下,确定室内机的线控方式。一控多通讯模块502,被配置为在室内机的线控方式为一控多的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。一控一通讯模块503,被配置为在室内机的线控方式为一控一的情况下,控制线控器与所连接的主室内机直接通讯。As shown in FIG5 , an embodiment of the present disclosure provides a device 200 for controlling a bus system, including a determination module 501, a one-control-many communication module 502, and a one-control-one communication module 503. The determination module 501 is configured to determine the wire control mode of the indoor unit when the indoor unit is powered on and initialized. The one-control-many communication module 502 is configured to control the wire controller to communicate directly with the connected master indoor unit when the wire control mode of the indoor unit is one-control-many, and/or to indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit. The one-control-one communication module 503 is configured to control the wire controller to communicate directly with the connected master indoor unit when the wire control mode of the indoor unit is one-control-one.
采用本公开实施例提供的用于控制总线系统的装置,总线系统中包含多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯,可以实现一控一或一控多的与线控器连接的室内机,可以在总线上任意组合接线,无需线控器与每台室内机接线,简化了接线方式和操作,且,减少了通讯故障的发生。同时,根据室内机的线控方式控制线控器与室内机进行一控一或一控多通讯,可以同时实现一控一或一控多。只需要在室内机端设置一控一或一控多即可,在通讯过程中即可告知线控器进行一控一或一控多,而无需在线控器端也进行设置,便于售后和安装。The device for controlling the bus system provided by the embodiment of the present disclosure is adopted. The bus system includes multiple wire controllers. Each wire controller can be directly connected and communicated with the main indoor unit in one or more sets of indoor and outdoor unit systems, and can be indirectly connected and communicated with the slave indoor unit in series with the main indoor unit that directly communicates with the wire controller through the bus. It can realize one-to-one control or one-to-many control of the indoor units connected to the wire controller. The wiring can be arbitrarily combined on the bus, and there is no need for the wire controller to be connected to each indoor unit, which simplifies the wiring method and operation, and reduces the occurrence of communication failures. At the same time, according to the wire control method of the indoor unit, the wire controller is controlled to communicate with the indoor unit in one-to-one control or one-to-many control, and one-to-one control or one-to-many control can be realized at the same time. It is only necessary to set one-to-one control or one-to-many control on the indoor unit end. During the communication process, the wire controller can be informed to control one-to-one or one-to-many control without setting it on the wire controller end, which is convenient for after-sales and installation.
结合图6所示,本公开实施例提供一种用于控制总线系统的装置300,包括处理器(processor)600和存储器(memory)601。可选地,该装置还可以包括通信接口(Communication Interface)602和总线603。其中,处理器600、通信接口602、存储器601可以通过总线603完成相互间的通信。通信接口602可以用于信息传输。处理器600可以调用存储器601中的逻辑指令,以执行上述实施例的用于控制总线系统的方法。As shown in FIG6 , an embodiment of the present disclosure provides a device 300 for controlling a bus system, including a processor 600 and a memory 601. Optionally, the device may also include a communication interface 602 and a bus 603. The processor 600, the communication interface 602, and the memory 601 may communicate with each other through the bus 603. The communication interface 602 may be used for information transmission. The processor 600 may call the logic instructions in the memory 601 to execute the method for controlling a bus system of the above embodiment.
此外,上述的存储器601中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the logic instructions in the memory 601 described above can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
存储器601作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器600通过运行存储在存储器601中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述实施例中用于控制总线系统的方法。 The memory 601 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 600 executes functional applications and data processing by running the program instructions/modules stored in the memory 601, that is, implementing the method for controlling the bus system in the above-mentioned embodiments.
存储器601可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 601 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 601 may include a high-speed random access memory and may also include a non-volatile memory.
本公开实施例提供了一种总线系统,包括:总线系统本体,以及上述的用于控制总线系统的装置200(300)。用于控制总线系统的装置200(300)被安装于总线系统本体。这里所表述的安装关系,并不仅限于在总线系统内部放置,还包括了与总线系统的其他元器件的安装连接,包括但不限于物理连接、电性连接或者信号传输连接等。本领域技术人员可以理解的是,用于控制总线系统的装置200(300)可以适配于可行的总线系统主体,进而实现其他可行的实施例。The embodiments of the present disclosure provide a bus system, including: a bus system body, and the above-mentioned device 200 (300) for controlling the bus system. The device 200 (300) for controlling the bus system is installed in the bus system body. The installation relationship described here is not limited to placement inside the bus system, but also includes installation connections with other components of the bus system, including but not limited to physical connections, electrical connections or signal transmission connections. It can be understood by those skilled in the art that the device 200 (300) for controlling the bus system can be adapted to a feasible bus system body, thereby realizing other feasible embodiments.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述用于控制总线系统的方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for controlling a bus system.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The computer-readable storage medium mentioned above may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
本公开实施例提供了一种计算机程序,当所述计算机程序被计算机执行时,使所述计算机实现上述用于控制总线系统的方法。An embodiment of the present disclosure provides a computer program. When the computer program is executed by a computer, the computer implements the above method for controlling a bus system.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机指令,当所述程序指令被计算机执行时,使所述计算机实现上述用于控制总线系统的方法。An embodiment of the present disclosure provides a computer program product, which includes computer instructions stored on a computer-readable storage medium. When the program instructions are executed by a computer, the computer implements the above-mentioned method for controlling a bus system.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes, or a transient storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个 或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者设备中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The above description and accompanying drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless expressly required, individual components and functions are optional, and the order of operations may vary. Portions and features of some embodiments may be included in or replace portions and features of other embodiments. Moreover, the terms used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, the singular forms of "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. Similarly, the term "and/or" as used in this application means including one or any and all possible combinations of more than one associated listing. In addition, when used in the present application, the term "comprise" and its variants "comprises" and/or comprising refer to the presence of stated features, wholes, steps, operations, elements, and/or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and/or groups of these. In the absence of further restrictions, the elements defined by the statement "comprise one..." do not exclude the presence of other identical elements in the process, method or device including the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts may refer to the description of the method part.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、设备等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它 们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。 The flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment or a portion of code, and the module, program segment or a portion of code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, which They may sometimes be performed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be performed substantially in parallel, and they may sometimes be performed in reverse order, depending on the functions involved. Each block in the block diagram and/or flowchart, and the combination of blocks in the block diagram and/or flowchart, may be implemented with a dedicated hardware-based system that performs the specified functions or actions, or may be implemented with a combination of dedicated hardware and computer instructions.

Claims (12)

  1. 一种用于控制总线系统的方法,其特征在于,所述总线系统包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;所述方法包括:A method for controlling a bus system, characterized in that the bus system comprises: a plurality of indoor and outdoor unit systems, each of which comprises an outdoor unit and a plurality of indoor units, wherein the plurality of indoor units comprises one or more master indoor units and one or more slave indoor units, in each of which the outdoor unit is connected to a first master indoor unit via a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units via the bus; a plurality of wire controllers, each of which can be directly connected to and communicate with a master indoor unit in one or more of the indoor and outdoor unit systems, and indirectly connected to and communicate with a slave indoor unit connected in series with a master indoor unit that directly communicates with the wire controller via the bus; the method comprises:
    在室内机上电初始化的情况下,确定室内机的线控方式;When the indoor unit is powered on and initialized, determine the wire control mode of the indoor unit;
    在室内机的线控方式为一控多的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯;In the case where the wire control mode of the indoor unit is one-control-multiple, the wire controller is controlled to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor unit connected in series with the connected master indoor unit;
    在室内机的线控方式为一控一的情况下,控制线控器与所连接的主室内机直接通讯。When the wired control mode of the indoor unit is one-to-one, the wired controller directly communicates with the connected master indoor unit.
  2. 根据权利要求1所述的方法,其特征在于,所述确定室内机的线控方式,包括:The method according to claim 1, characterized in that the determining the wire control mode of the indoor unit comprises:
    根据室内机的第一内机拨码地址确定室内机的线控方式。The wire control mode of the indoor unit is determined according to the first indoor unit dial address of the indoor unit.
  3. 根据权利要求1或2所述的方法,其特征在于,所述控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:The method according to claim 1 or 2, characterized in that the control wire controller directly communicates with the connected master indoor unit, and/or indirectly communicates with the slave indoor unit connected in series with the connected master indoor unit, comprising:
    在一个线控器连接两套以上的内外机系统的情况下,根据室外机的外机拨码地址和室内机的内机拨码地址,控制线控器与所连接的每套内外机系统中的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯;When one wire controller is connected to more than two indoor and outdoor unit systems, the wire controller is controlled to communicate directly with the master indoor unit in each indoor and outdoor unit system connected thereto, and/or to communicate indirectly with the slave indoor unit connected in series with the master indoor unit, according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit;
    在多个线控器连接一套内外机系统的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。In the case where multiple wire controllers are connected to a set of indoor and outdoor unit systems, the wire controllers are controlled to communicate directly with the connected master indoor unit, and/or to communicate indirectly with the slave indoor units connected in series with the connected master indoor unit.
  4. 根据权利要求3所述的方法,其特征在于,所述根据室外机的外机拨码地址和室内机的内机拨码地址,控制线控器与所连接的每套内外机系统中的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括:The method according to claim 3 is characterized in that, according to the outdoor unit dial address of the outdoor unit and the indoor unit dial address of the indoor unit, controlling the wire controller to directly communicate with the master indoor unit in each set of indoor and outdoor unit systems connected thereto, and/or indirectly communicate with the slave indoor unit connected in series with the master indoor unit, comprises:
    根据室外机的外机拨码地址确定一套或多套被控的内外机系统;Determine one or more controlled indoor and outdoor unit systems according to the outdoor unit dial address;
    根据室内机的内机拨码地址,确定每套被控的内外机系统中的被控的室内机的通讯地址;According to the indoor unit dial address, determine the communication address of the controlled indoor unit in each controlled indoor and outdoor unit system;
    控制线控器按照通讯地址与被控的内外机系统中的被控的主室内机直接通讯,和/或,与被控的内外机系统中的被控的与所连接的主室内机串联的从室内机间接通讯。The control wire controller directly communicates with the controlled master indoor unit in the controlled indoor and outdoor unit system according to the communication address, and/or indirectly communicates with the controlled slave indoor unit in the controlled indoor and outdoor unit system which is connected in series with the connected master indoor unit.
  5. 根据权利要求3所述的方法,其特征在于,所述控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯,包括: The method according to claim 3 is characterized in that the control wire controller directly communicates with the connected master indoor unit, and/or indirectly communicates with the slave indoor unit connected in series with the connected master indoor unit, comprising:
    根据室内机的第一内机拨码地址,确定与主控线控器通讯的主从室内机的类别、主控的线控器的地址;According to the first indoor unit dial address of the indoor unit, the type of the master and slave indoor units communicating with the master wired controller and the address of the master wired controller are determined;
    根据室内机的第二内机拨码地址,控制与主控的线控器连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯。According to the second indoor unit dial address of the indoor unit, the master indoor unit connected to the wired controller of the master control is controlled to directly communicate, and/or the slave indoor unit connected in series to the connected master indoor unit indirectly communicates.
  6. 根据权利要求5所述的方法,其特征在于,所述根据室内机的第一内机拨码地址,确定与主控线控器通讯的主从室内机的类别、主控的线控器的地址,包括:The method according to claim 5 is characterized in that the step of determining the type of the master and slave indoor units communicating with the master wired controller and the address of the master wired controller according to the first indoor unit dial address of the indoor unit comprises:
    根据室内机的第一内机拨码地址的第二位的码值,确定主从室内机的类别;Determine the types of the master and slave indoor units according to the code value of the second digit of the first indoor unit dial address of the indoor unit;
    根据室内机的第一内机拨码地址的第三位的码值和第四位的码值,确定主控的线控器的地址。The address of the master wire controller is determined according to the third and fourth digits of the first indoor unit dial address of the indoor unit.
  7. 一种用于控制总线系统的装置,其特征在于,所述总线系统包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;所述装置包括:A device for controlling a bus system, characterized in that the bus system comprises: a plurality of indoor and outdoor unit systems, each of which comprises an outdoor unit and a plurality of indoor units, wherein the plurality of indoor units comprises one or more master indoor units and one or more slave indoor units, in each of which the outdoor unit is connected to a first master indoor unit via a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units via the bus; a plurality of wire controllers, each of which can be directly connected to and communicate with a master indoor unit in one or more of the indoor and outdoor unit systems, and can be indirectly connected to and communicate with a slave indoor unit connected in series with a master indoor unit that directly communicates with the wire controller via the bus; the device comprises:
    确定模块,被配置为在室内机上电初始化的情况下,确定室内机的线控方式;A determination module is configured to determine a wire control mode of the indoor unit when the indoor unit is powered on and initialized;
    一控多通讯模块,被配置为在室内机的线控方式为一控多的情况下,控制线控器与所连接的主室内机直接通讯,和/或,与所连接的主室内机串联的从室内机间接通讯;The one-control-many communication module is configured to control the wire controller to directly communicate with the connected master indoor unit and/or to indirectly communicate with the slave indoor unit connected in series with the connected master indoor unit when the wire control mode of the indoor unit is one-control-many.
    一控一通讯模块,被配置为在室内机的线控方式为一控一的情况下,控制线控器与所连接的主室内机直接通讯。The one-control-one communication module is configured to control the wire controller to communicate directly with the connected master indoor unit when the wire control mode of the indoor unit is one-control-one.
  8. 一种用于控制总线系统的装置,包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在运行所述程序指令时,执行如权利要求1至6任一项所述的用于控制总线系统的方法。A device for controlling a bus system, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute a method for controlling a bus system as claimed in any one of claims 1 to 6 when running the program instructions.
  9. 一种总线系统,其特征在于,包括:A bus system, comprising:
    总线系统本体,包括:多套内外机系统,每套内外机系统包括一个室外机和多个室内机,其中,多个室内机包括一个或多个主室内机和一个或多个从室内机,在每套内外机系统中,室外机通过总线与第一主室内机连接,第一主室内机通过总线与其他主室内机和从室内机串联;多个线控器,每个线控器可和一套或多套内外机系统中的主室内机直接连接并通讯,且通过总线与和与线控器直接通讯的主室内机串联的从室内机间接连接并通讯;The bus system body includes: a plurality of indoor and outdoor unit systems, each of which includes an outdoor unit and a plurality of indoor units, wherein the plurality of indoor units include one or more master indoor units and one or more slave indoor units, and in each of which the outdoor unit is connected to a first master indoor unit through a bus, and the first master indoor unit is connected in series with other master indoor units and slave indoor units through the bus; a plurality of wire controllers, each of which can be directly connected to and communicate with a master indoor unit in one or more indoor and outdoor unit systems, and can be indirectly connected to and communicate with a slave indoor unit connected in series with a master indoor unit that directly communicates with the wire controller through a bus;
    如权利要求7或8所述的用于控制总线系统的装置,被安装于所述产品本体。 The device for controlling a bus system according to claim 7 or 8 is installed in the product body.
  10. 一种存储介质,存储有程序指令,其特征在于,所述程序指令在运行时,执行如权利要求1至6任一项所述的用于控制总线系统的方法。A storage medium storing program instructions, characterized in that when the program instructions are run, the method for controlling a bus system according to any one of claims 1 to 6 is executed.
  11. 一种计算机程序,当所述计算机程序被计算机执行时,使所述计算机实现如权利要求1至6任一项所述的用于控制总线系统的方法。A computer program, when executed by a computer, causes the computer to implement the method for controlling a bus system according to any one of claims 1 to 6.
  12. 一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机指令,当所述程序指令被计算机执行时,使所述计算机实现如权利要求1至6任一项所述的用于控制总线系统的方法。 A computer program product, comprising computer instructions stored on a computer-readable storage medium, and when the program instructions are executed by a computer, the computer is enabled to implement the method for controlling a bus system as claimed in any one of claims 1 to 6.
PCT/CN2023/107189 2022-11-04 2023-07-13 Method and apparatus for controlling bus system, and bus system and storage medium WO2024093357A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211378275.X 2022-11-04
CN202211378275.XA CN117989678A (en) 2022-11-04 2022-11-04 Method and device for controlling bus system, bus system and storage medium

Publications (1)

Publication Number Publication Date
WO2024093357A1 true WO2024093357A1 (en) 2024-05-10

Family

ID=90898224

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/107189 WO2024093357A1 (en) 2022-11-04 2023-07-13 Method and apparatus for controlling bus system, and bus system and storage medium

Country Status (2)

Country Link
CN (1) CN117989678A (en)
WO (1) WO2024093357A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109506324A (en) * 2018-12-04 2019-03-22 青岛海信日立空调系统有限公司 Air-conditioner set control method and air-conditioner set
CN112283885A (en) * 2020-10-13 2021-01-29 珠海格力电器股份有限公司 Addressing method and device suitable for multi-online machine and multi-online machine control system
CN113915742A (en) * 2021-09-08 2022-01-11 青岛海尔空调电子有限公司 Communication control method and device for multi-split air conditioning system
CN114484762A (en) * 2022-01-25 2022-05-13 青岛海尔空调电子有限公司 Control method of multi-split air conditioning system, multi-split air conditioning system and electronic equipment
CN216897511U (en) * 2021-12-31 2022-07-05 深圳合一智控科技有限公司 Slave line controller of multi-split air conditioner, multi-split air conditioner and multi-split air conditioner system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109506324A (en) * 2018-12-04 2019-03-22 青岛海信日立空调系统有限公司 Air-conditioner set control method and air-conditioner set
CN112283885A (en) * 2020-10-13 2021-01-29 珠海格力电器股份有限公司 Addressing method and device suitable for multi-online machine and multi-online machine control system
CN113915742A (en) * 2021-09-08 2022-01-11 青岛海尔空调电子有限公司 Communication control method and device for multi-split air conditioning system
CN216897511U (en) * 2021-12-31 2022-07-05 深圳合一智控科技有限公司 Slave line controller of multi-split air conditioner, multi-split air conditioner and multi-split air conditioner system
CN114484762A (en) * 2022-01-25 2022-05-13 青岛海尔空调电子有限公司 Control method of multi-split air conditioning system, multi-split air conditioning system and electronic equipment

Also Published As

Publication number Publication date
CN117989678A (en) 2024-05-07

Similar Documents

Publication Publication Date Title
JP5786100B2 (en) Communication between peripheral devices
CN100568187C (en) A kind of method and apparatus that is used for debugging message is carried out mask
US6862643B2 (en) USB compound device operates a plurality of devices by using the same USB logic circuit and the method for implementation thereof
KR900003122B1 (en) Linking system for programmable controller
US20090234998A1 (en) Connection system
CN201063161Y (en) Primary device for serial peripheral interface
US10365624B2 (en) Slave device, method for controlling slave device, and non-transitory computer-readable recording medium
EP3376316B1 (en) Slave device, control method of slave device, information processing program and computer readable recording medium
CN103902485A (en) Multi-channel synchronized monitoring method for controlling parallel optical modules
CN108647180B (en) Operation system and corresponding electronic equipment
CN104516751A (en) Server system
CN105279130A (en) Method for operating multiple I2C devices with same address
CN101082896A (en) Control method and device between master-salve module
CN201259629Y (en) Configurable I/O module for multiple bus interface
US20040205111A1 (en) User configurable data messages in industrial networks
CN110781130A (en) System on chip
WO2024093357A1 (en) Method and apparatus for controlling bus system, and bus system and storage medium
CN101430739A (en) System and method for parameter collocation of integrated chip
CN113424116B (en) Setting information generating device, setting information generating method, and recording medium
US20080222404A1 (en) In-system programming system and method for motherboard
US20120059969A1 (en) Non-invasive direct-mapping usb switching device
CN110795373A (en) Method for converting I2C bus into parallel bus, terminal and storage medium
CN116049030A (en) Method and device for data access, electronic equipment and storage medium
US11907155B2 (en) Bus system connecting slave devices with single-wire data access communication
CN114740739A (en) Method, device, system and storage medium for intelligent household electrical appliance centralized control

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: 23884296

Country of ref document: EP

Kind code of ref document: A1