WO2019196485A1 - Networking method and apparatus for air conditioning system, and storage medium and processor - Google Patents

Networking method and apparatus for air conditioning system, and storage medium and processor Download PDF

Info

Publication number
WO2019196485A1
WO2019196485A1 PCT/CN2018/121280 CN2018121280W WO2019196485A1 WO 2019196485 A1 WO2019196485 A1 WO 2019196485A1 CN 2018121280 W CN2018121280 W CN 2018121280W WO 2019196485 A1 WO2019196485 A1 WO 2019196485A1
Authority
WO
WIPO (PCT)
Prior art keywords
networking
air conditioning
state
conditioning system
network
Prior art date
Application number
PCT/CN2018/121280
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 WO2019196485A1 publication Critical patent/WO2019196485A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2801Broadband local area networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L2012/2847Home automation networks characterised by the type of home appliance used
    • H04L2012/285Generic home appliances, e.g. refrigerators

Definitions

  • the present invention relates to the field of air conditioning, and in particular to a networking method and apparatus for an air conditioning system, a storage medium, and a processor.
  • the multi-connection system is mainly composed of external devices, internal machines, and line controllers.
  • the internal machines and other equipment are installed on the indoor side, and the external units are basically installed on the outdoor side, while the external air outlets in the external machine are mostly installed outside.
  • the wall, unit commissioning and maintenance environment is bad, which brings a lot of inconvenience to the commissioning personnel, and may also bring problems such as high cost and poor safety.
  • the embodiments of the present invention provide a networking method and apparatus, a storage medium, and a processor for an air conditioning system, so as to at least solve the technical problem of debugging inconvenience caused by relying on an external machine for networking and unit equipment management in the prior art.
  • a networking method of an air conditioning system includes: a first device in an air conditioning system detects a specified trigger event; and when a specified trigger event is detected, the first device is in an air conditioning system
  • the at least one second device sends a networking command, where the networking command is used to indicate that the at least one second device accesses the network, where the first device and the second device are any one of the air conditioning systems;
  • the acknowledgment command sent by the second device after receiving the networking command completes the networking, where the acknowledgment command is used to indicate that the second device has access to the network.
  • the first device in the air conditioning system detects the specified trigger event, including: determining, by the first device, whether the specified data frame is received, wherein determining, when the specified data frame is received, determining that the specified trigger event is detected, wherein the specified data
  • the frame carries indication information for indicating the status of the device.
  • the device status includes: a first state, and the device corresponding to the first state is configured to send a networking command.
  • the device status further includes: a second state; the device corresponding to the second state is configured to receive the networking command and access the network; and before the first device sends the networking command to the at least one second device in the air conditioning system, The method also includes switching the state of the first device from the second state to the first state.
  • the method includes: the first device receives the network access request sent by the second device, where the network access request carries the attribute information of the second device.
  • the first device transmits the communication address and/or communication authority assigned according to the attribute information to the second device.
  • the attribute information includes at least one of the following: a physical address, a device type, and an operating status of the device.
  • the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
  • a networking apparatus for an air conditioning system which is applied to a first device in an air conditioning system, the device includes: a detection module configured to detect a specified trigger event; and a sending module configured to And sending, to the at least one second device in the air conditioning system, a networking instruction, where the networking instruction is used to indicate that the at least one second device accesses the network, where the first device and the second device are both Any one of the air conditioning systems; the receiving module is configured to receive an acknowledgment command sent by the second device after receiving the networking instruction, and complete the networking, wherein the acknowledgment command is used to indicate that the second device has accessed the network.
  • the detecting module includes: a determining unit, configured to determine whether the specified data frame is received, where it is determined that the specified triggering event is detected when the specified data frame is received, where the specified data frame carries a status indicating the device
  • the indication information, the device status includes: a first state, and the device corresponding to the first state is set to send a networking instruction.
  • the device status further includes: a second state; the device corresponding to the second state is configured to receive the networking command and access the network; the sending module includes: a switching unit, configured to set the state of the first device from the second state Switch to the first state.
  • the sending module further includes: a receiving unit, configured to receive a network access request sent by the second device, where the network access request carries the attribute information of the second device; and the sending unit is configured to allocate the communication address according to the attribute information And/or communication rights are sent to the second device.
  • a receiving unit configured to receive a network access request sent by the second device, where the network access request carries the attribute information of the second device
  • the sending unit is configured to allocate the communication address according to the attribute information And/or communication rights are sent to the second device.
  • a storage medium comprising a stored program, wherein the device in which the storage medium is located controls the networking method of the air conditioning system described above when the program is running.
  • a processor configured to execute a program, wherein the program running performs the networking method of the air conditioning system described above.
  • the specified trigger event is detected by the first device in the air conditioning system; when the specified trigger event is detected, the first device sends a networking instruction to the at least one second device in the air conditioning system, wherein the group The network command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives an acknowledgement command sent by the second device after receiving the networking instruction, The networking is completed, wherein the confirmation instruction is used to indicate that the second device has accessed the network, and the purpose of facilitating debugging and maintenance of the unit is achieved, thereby achieving the technical effect of improving the adaptability and flexibility of the multi-line communication system, and further The technical problem of debugging inconvenience caused by relying on the external machine for networking and unit equipment management in the prior art is solved.
  • FIG. 1 is a flow chart of a networking method of an air conditioning system according to an embodiment of the present invention
  • FIG. 2 is a flow chart of a networking method of an optional air conditioning system according to an embodiment of the present invention
  • FIG. 3 is a structural diagram of a networking apparatus of an air conditioning system according to an embodiment of the present invention.
  • a method embodiment of networking of an air conditioning system is provided, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
  • FIG. 1 is a flow chart of a networking method of an air conditioning system according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • Step S102 the first device in the air conditioning system detects a specified trigger event.
  • the specified trigger event may be whether the first device receives the specified data frame, and the first device determines whether the specified data frame is received to determine whether a specified trigger event occurs, wherein the determination is detected when the specified data frame is received.
  • a trigger event is specified, the designated trigger event being used to switch the first device from the second state to the first state.
  • an air-conditioning multi-line communication system consists of a central coordinator and a site. One node in the system is a central coordinator, and the remaining nodes are stations.
  • the first state refers to the central coordinator, and the central coordinator plays the master. The role is responsible for initiating functions such as communication network formation, address assignment, and node authority management.
  • the second state refers to the site, and the site is controlled by the central coordinator.
  • the specified trigger event may also be a button command.
  • the following may be implemented but not limited to: the state of the target device is switched to the central coordinator through a button set on the device, for example, the user wants to connect multiple times.
  • the user presses a button set on the internal machine to switch the central coordinator, and when the button is pressed, the state of the internal machine is switched to the central coordinator.
  • the central coordinator for example, the state of the device in the air conditioning system is switched to the central coordinator by using a remote control device.
  • the remote control device can send a setting command to the device, and the setting command carries the status.
  • Information one of the above devices sets its own shape according to the status information in the setting instruction.
  • the status information includes: a first status information and the second status information.
  • the switching of the foregoing state includes, but is not limited to, switching from the second state to the first state, or, if the device in the first state is not detected in the air conditioning system, setting the state of the target device to the first state by using the foregoing operation, Set the target device to the central coordinator.
  • buttons include, but are not limited to, a specific button, or a specific button combination.
  • the specified data frame carries the indication information for indicating the state of the device.
  • the designated data frame includes a frame header, a frame tail, and a data portion, where the data portion is provided with a function code, where the function code is used to indicate the first device. Switching from the second state to the first state.
  • the function code can be carried in a specified field of the data part, for example, it can be a new dedicated field, or it can redefine an existing field (for example, assigning a free extension field therein).
  • the device state in the air conditioning system includes: a first state and a second state, where the device corresponding to the first state is configured to send a networking command, and the device corresponding to the second state is configured to receive the networking command and access the network, where Both the first device and the second device may be devices in an air conditioning system such as an internal unit, an external unit, or a line controller.
  • the method of dynamically switching the central coordinator is adopted, and the device of the air-conditioning system realizes the establishment of the multi-line communication network and the gateway management function, thereby achieving the purpose of convenient debugging and maintenance of the unit. .
  • Step S104 The first device sends a networking instruction to the at least one second device in the air conditioning system, where the networking instruction is used to indicate that the at least one second device accesses the network, the first device, when the specified trigger event is detected.
  • the second device is any one of the air conditioning systems.
  • the state of the first device is switched from the second state to the first state, and when the specified trigger event is detected, the first device is in the air conditioning system
  • At least one second device sends a networking instruction.
  • the first device may send the networking instruction to the second device by means of a broadcast.
  • the first device receives the network access request sent by the second device, where the network access request carries the attribute information of the second device, and then the first device sends the communication address and/or the communication right according to the attribute information.
  • the communication address can be sent to the second device, or the communication right can be sent to the second device, or the communication address and the communication right can be sent to the second device.
  • the foregoing attribute information includes, but is not limited to, at least one of the following: a physical address, a device type, an operating state of the device, and specifically, the physical address refers to a physical address of the second device (including but not limited to a MAC address), and the device The type refers to whether the second device is an internal device or an external device or a wire controller.
  • the attribute information includes the running state of the device, that is, the operating state parameter of the device, and the running state of the device refers to parameters such as the running temperature or the operating frequency of the second device.
  • the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
  • Step S106 The first device receives the confirmation command sent by the second device after receiving the networking instruction, and completes the networking, where the confirmation command is used to indicate that the second device has accessed the network.
  • the application provides an optional application scenario, such as a multi-line communication system:
  • the multi-line communication system is composed of terminal devices such as an external unit, an internal unit, and a line controller. Specifically, it is generally composed of an external unit, a plurality of internal units, and a plurality of line controllers.
  • the multi-line communication system consists of two roles: central coordinator and site. One node in the system is the central coordinator, and the other nodes are stations.
  • the central coordinator is responsible for initiating communication network formation, site address allocation, site authority assignment and Management function.
  • the multi-line communication system has the function of dynamically switching the node role, and the external machine, the internal machine or the line controller can be switched from the site role to the central coordinator role according to actual needs.
  • the central coordinator role setting is implemented by specifying a data frame. When the target station receives the data frame, it automatically switches the role to the central coordinator role and sends a broadcast command to control other nodes to switch to the site role.
  • FIG. 2 is a flowchart of a networking method of an optional air conditioning system according to an embodiment of the present invention. As shown in FIG. 2, the networking is performed according to the following process:
  • Step S202 Initiating a networking identifier by the selected device as a central coordinator
  • Step S204 After receiving the permission of the networking identifier, each site requests to enter the network, and announces its own attribute information when entering the network;
  • Step S206 After receiving the network access request of the site, the central coordinator allocates a communication address according to the device attribute of the site, and allocates the communication authority according to the device type of the site;
  • Step S208 after receiving the address and authority information assigned by the central coordinator, each station saves the allocated address and authority information to its own memory, and feeds back the successful network access flag to the central coordinator;
  • the central coordinator After receiving the network access success flag of all sites, the central coordinator ends the networking.
  • the multi-line communication system can realize the manual or automatic switching of the external device, the internal machine or the line controller to the central coordinator role according to actual needs, and the central coordinator initiates the communication network establishment, address allocation, Features such as node rights management improve the adaptability and flexibility of multi-line communication systems.
  • FIG. 3 is a networking device of an air conditioning system according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
  • the detecting module 30 is configured to detect, by the first device in the air conditioning system, a specified trigger event
  • the detecting module 30 includes: a determining unit, configured to determine, by the first device, whether the specified data frame is received, wherein the specified triggering event is determined when the specified data frame is received, where the specified data frame carries a status indicating the device
  • the indication information, the device status includes: a first state, and the device corresponding to the first state is set to send a networking instruction.
  • the sending module 32 is configured to: when the specified trigger event is detected, the first device sends a networking instruction to the at least one second device in the air conditioning system, where the networking instruction is used to indicate that the at least one second device accesses the network,
  • the first device and the second device are any one of the air conditioning systems; the device state further includes: a second state; the state of the first device is a second state;
  • the sending module 32 includes: a switching unit, configured to switch the state of the first device from the second state to the first state; and the receiving unit is configured to receive, by the first device, a network access request sent by the second device, where the network access request carries the first The attribute information of the two devices; the sending unit is configured to send, by the first device, the communication address and/or the communication right allocated according to the attribute information to the second device.
  • the receiving module 34 is configured to receive, by the first device, an acknowledgment command sent by the second device after receiving the networking instruction, to complete the networking, where the acknowledgment command is used to indicate that the second device has accessed the network.
  • the attribute information includes at least one of the following: a physical address, a device type, and an operating status of the device.
  • the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
  • the foregoing detection module 30, the sending module 32, and the receiving module 34 correspond to steps S102 to S106 in the foregoing embodiment, and the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited thereto.
  • the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
  • the embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, wherein the device in which the storage medium is located controls the networking method of the air conditioning system described above when the program is running.
  • the storage medium is configured to store a program that performs the following functions: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device sends a networking command to the at least one second device in the air conditioning system
  • the networking command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives the second device after receiving the networking command.
  • the acknowledgment command is sent to complete the networking, where the acknowledgment command is used to indicate that the second device has access to the network.
  • the embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program runs to execute the networking method of the air conditioning system described above.
  • a processor configured to execute a program that implements the following function: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device sends a networking command to the at least one second device in the air conditioning system,
  • the networking command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives the second device and sends the network device after receiving the networking command.
  • the confirmation command completes the networking, wherein the confirmation command is used to indicate that the second device has access to the network.
  • the disclosed technical contents may be implemented in other manners.
  • the device embodiments described above are only schematic.
  • the division of the unit may be a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
  • 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, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
  • the solution provided by the embodiment of the present invention is applicable to the networking process of the air conditioning system, and the method provided by the present invention includes: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device Sending a network instruction to at least one second device in the air conditioning system, wherein the networking instruction is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; The first device receives the confirmation command sent by the second device after receiving the networking instruction, and completes the networking, where the confirmation command is used to indicate that the second device has accessed the network.

Abstract

A networking method and apparatus for an air conditioning system, and a storage medium and a processor. The method comprises: a first device in the air conditioning system detects a designated trigger event; when the designated trigger event is detected, the first device sends a networking instruction to at least one second device in the air conditioning system, wherein the networking instruction is used for indicating the at least one second device to access a network, and both the first device and the second device are any device in the air conditioning system; and the first device receives an acknowledgment instruction sent by the second device after receiving the networking instruction, to complete networking, wherein the acknowledgment instruction is used for indicating that the second device has access to the network. The apparatus comprises a detection module (30), a sending module (32), and a receiving module (34). The technical problems that an outdoor unit is used for networking and debugging is inconvenient due to unit device management in the prior art are solved.

Description

空调系统的组网方法和装置、存储介质和处理器Networking method and device for air conditioning system, storage medium and processor 技术领域Technical field
本发明涉及空调领域,具体而言,涉及一种空调系统的组网方法和装置、存储介质和处理器。The present invention relates to the field of air conditioning, and in particular to a networking method and apparatus for an air conditioning system, a storage medium, and a processor.
背景技术Background technique
多联机系统主要由外机、内机和线控器等设备构成,内机等设备均安装在室内侧,外机基本都安装在室外侧,而外机中的侧出风外机大多安装在外墙,机组工程调试和维修环境恶劣,给调试人员带来诸多不便,也可能带来成本高和安全性差等问题。The multi-connection system is mainly composed of external devices, internal machines, and line controllers. The internal machines and other equipment are installed on the indoor side, and the external units are basically installed on the outdoor side, while the external air outlets in the external machine are mostly installed outside. The wall, unit commissioning and maintenance environment is bad, which brings a lot of inconvenience to the commissioning personnel, and may also bring problems such as high cost and poor safety.
目前多联机的通信网络大多以外机作为主控节点,负责内外机通信网络的组建、地址分配、权限管理等内容。而在实际工程中,大部分需要到外机进行相应的操作才能完成网络的调试。At present, most of the multi-connected communication networks are used as the main control node, and are responsible for the establishment of internal and external communication networks, address allocation, and rights management. In actual engineering, most of them need to go to the external machine to perform corresponding operations to complete the network debugging.
针对上述现有技术中依赖外机进行组网以及机组设备管理造成的调试不便的问题,目前尚未提出有效的解决方案。In view of the above-mentioned problems of debugging inconvenience caused by relying on external computers for networking and unit equipment management, an effective solution has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种空调系统的组网方法和装置、存储介质和处理器,以至少解决现有技术中依赖外机进行组网以及机组设备管理造成的调试不便的技术问题。The embodiments of the present invention provide a networking method and apparatus, a storage medium, and a processor for an air conditioning system, so as to at least solve the technical problem of debugging inconvenience caused by relying on an external machine for networking and unit equipment management in the prior art.
根据本发明实施例的一个方面,提供了一种空调系统的组网方法,包括:空调系统中的第一设备检测指定触发事件;在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。According to an aspect of the embodiments of the present invention, a networking method of an air conditioning system includes: a first device in an air conditioning system detects a specified trigger event; and when a specified trigger event is detected, the first device is in an air conditioning system The at least one second device sends a networking command, where the networking command is used to indicate that the at least one second device accesses the network, where the first device and the second device are any one of the air conditioning systems; The acknowledgment command sent by the second device after receiving the networking command completes the networking, where the acknowledgment command is used to indicate that the second device has access to the network.
可选地,空调系统中的第一设备检测指定触发事件,包括:第一设备判断是否接收到指定数据帧,其中,在接收到指定数据帧时确定检测到指定触发事件,其中,该指定数据帧中携带有用于指示设备状态的指示信息,设备状态包括:第一状态,与第一状态对应的设备设置为发送组网指令。Optionally, the first device in the air conditioning system detects the specified trigger event, including: determining, by the first device, whether the specified data frame is received, wherein determining, when the specified data frame is received, determining that the specified trigger event is detected, wherein the specified data The frame carries indication information for indicating the status of the device. The device status includes: a first state, and the device corresponding to the first state is configured to send a networking command.
可选地,设备状态还包括:第二状态;与第二状态对应的设备设置为接收组网指令并接入网络;第一设备向空调系统中的至少一个第二设备发送组网指令之前,方法还包括:第一设备的状态由第二状态切换为第一状态。Optionally, the device status further includes: a second state; the device corresponding to the second state is configured to receive the networking command and access the network; and before the first device sends the networking command to the at least one second device in the air conditioning system, The method also includes switching the state of the first device from the second state to the first state.
可选地,第一设备向空调系统中的至少一个第二设备发送组网指令之后,包括:第一设备接收第二设备发送的入网请求,其中,入网请求中携带有第二设备的属性信息;第一设备将依据属性信息分配的通信地址和/或通信权限发送至第二设备。Optionally, after the first device sends the networking instruction to the at least one second device in the air conditioning system, the method includes: the first device receives the network access request sent by the second device, where the network access request carries the attribute information of the second device The first device transmits the communication address and/or communication authority assigned according to the attribute information to the second device.
可选地,属性信息包括以下至少之一:物理地址、设备类型、设备的运行状态。Optionally, the attribute information includes at least one of the following: a physical address, a device type, and an operating status of the device.
可选地,第一设备和第二设备均包括以下至少之一:内机、外机、线控器。Optionally, the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
根据本发明实施例的另一方面,还提供了一种空调系统的组网装置,应用于空调系统中的第一设备,装置包括:检测模块,设置为检测指定触发事件;发送模块,设置为在检测到指定触发事件时,向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;接收模块,设置为接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。According to another aspect of the embodiments of the present invention, a networking apparatus for an air conditioning system is provided, which is applied to a first device in an air conditioning system, the device includes: a detection module configured to detect a specified trigger event; and a sending module configured to And sending, to the at least one second device in the air conditioning system, a networking instruction, where the networking instruction is used to indicate that the at least one second device accesses the network, where the first device and the second device are both Any one of the air conditioning systems; the receiving module is configured to receive an acknowledgment command sent by the second device after receiving the networking instruction, and complete the networking, wherein the acknowledgment command is used to indicate that the second device has accessed the network.
可选地,检测模块包括:判断单元,设置为判断是否接收到指定数据帧,其中,在接收到指定数据帧时确定检测到指定触发事件,其中,该指定数据帧中携带有用于指示设备状态的指示信息,设备状态包括:第一状态,与第一状态对应的设备设置为发送组网指令。Optionally, the detecting module includes: a determining unit, configured to determine whether the specified data frame is received, where it is determined that the specified triggering event is detected when the specified data frame is received, where the specified data frame carries a status indicating the device The indication information, the device status includes: a first state, and the device corresponding to the first state is set to send a networking instruction.
可选地,设备状态还包括:第二状态;与第二状态对应的设备设置为接收组网指令并接入网络;发送模块包括:切换单元,设置为将第一设备的状态由第二状态切换为第一状态。Optionally, the device status further includes: a second state; the device corresponding to the second state is configured to receive the networking command and access the network; the sending module includes: a switching unit, configured to set the state of the first device from the second state Switch to the first state.
可选地,发送模块还包括:接收单元,设置为接收第二设备发送的入网请求,其中,入网请求中携带有第二设备的属性信息;发送单元,设置为将依据属性信息分配的通信地址和/或通信权限发送至第二设备。Optionally, the sending module further includes: a receiving unit, configured to receive a network access request sent by the second device, where the network access request carries the attribute information of the second device; and the sending unit is configured to allocate the communication address according to the attribute information And/or communication rights are sent to the second device.
根据本发明实施例的另一方面,还提供了一种存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述的空调系统的组网方法。According to another aspect of the embodiments of the present invention, there is also provided a storage medium comprising a stored program, wherein the device in which the storage medium is located controls the networking method of the air conditioning system described above when the program is running.
根据本发明实施例的另一方面,还提供了一种处理器,处理器设置为运行程序,其中,程序运行时执行上述的空调系统的组网方法。According to another aspect of an embodiment of the present invention, there is further provided a processor configured to execute a program, wherein the program running performs the networking method of the air conditioning system described above.
在本发明实施例中,通过空调系统中的第一设备检测指定触发事件;在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该 组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络,达到了方便对机组进行调试以及维护的目的,从而实现了提高多联机通讯系统的适应性和灵活性的技术效果,进而解决了现有技术中依赖外机进行组网以及机组设备管理造成的调试不便的技术问题。In the embodiment of the present invention, the specified trigger event is detected by the first device in the air conditioning system; when the specified trigger event is detected, the first device sends a networking instruction to the at least one second device in the air conditioning system, wherein the group The network command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives an acknowledgement command sent by the second device after receiving the networking instruction, The networking is completed, wherein the confirmation instruction is used to indicate that the second device has accessed the network, and the purpose of facilitating debugging and maintenance of the unit is achieved, thereby achieving the technical effect of improving the adaptability and flexibility of the multi-line communication system, and further The technical problem of debugging inconvenience caused by relying on the external machine for networking and unit equipment management in the prior art is solved.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的一种空调系统的组网方法的流程图;1 is a flow chart of a networking method of an air conditioning system according to an embodiment of the present invention;
图2是根据本发明实施例的一种可选的空调系统的组网方法的流程图;以及2 is a flow chart of a networking method of an optional air conditioning system according to an embodiment of the present invention;
图3是根据本发明实施例的一种空调系统的组网装置的结构图。3 is a structural diagram of a networking apparatus of an air conditioning system according to an embodiment of the present invention.
具体实施方式detailed description
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本发明。It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is an embodiment of the invention, but not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the scope of the present invention.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It is to be understood that the terms "first", "second" and the like in the specification and claims of the present invention are used to distinguish similar objects, and are not necessarily used to describe a particular order or order. It is to be understood that the data so used may be interchanged where appropriate, so that the embodiments of the invention described herein can be implemented in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
相关技术中,目前空调系统中多联机的通信网络大多以外机作为主控节点,负责 内外机通信网络的组建、地址分配、权限管理等内容,而在实际工程中,大部分工作人员需要到外机进行相应的操作,才能完成网络的调试,即目前的多联机网络的建立过度依赖于外机,由此带来调试不便等技术问题。为解决上述问题,本申请实施例提供了相应的解决方案,以下详细说明。In the related art, at present, most of the communication networks in the air-conditioning system are used as the main control node, and are responsible for the establishment, address allocation, and authority management of the internal and external communication networks. In actual engineering, most of the staff need to go outside. The corresponding operation of the machine can complete the debugging of the network, that is, the establishment of the current multi-network network relies too much on the external machine, thereby causing technical problems such as debugging inconvenience. To solve the above problem, the embodiment of the present application provides a corresponding solution, which is described in detail below.
根据本发明实施例,提供了一种空调系统的组网的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。In accordance with an embodiment of the present invention, a method embodiment of networking of an air conditioning system is provided, it being noted that the steps illustrated in the flowchart of the figures may be performed in a computer system such as a set of computer executable instructions. Also, although logical sequences are shown in the flowcharts, in some cases the steps shown or described may be performed in a different order than the ones described herein.
图1是根据本发明实施例的空调系统的组网方法的流程图,如图1所示,该方法包括如下步骤:1 is a flow chart of a networking method of an air conditioning system according to an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
步骤S102,空调系统中的第一设备检测指定触发事件。Step S102, the first device in the air conditioning system detects a specified trigger event.
步骤S102中,指定触发事件可以是第一设备是否接收到指定数据帧,通过来第一设备判断是否接收到指定数据帧判断是否发生指定触发事件,其中,在接收到指定数据帧时确定检测到指定触发事件,该指定触发事件用于将第一设备从第二状态切换为第一状态。例如,空调多联机通信系统由中央协调器和站点两种角色构成,一个系统中一个节点为中央协调器,其余节点为站点,而上述第一状态是指中央协调器,中央协调器扮演主控角色,负责发起通信网络组建、地址分配、节点权限管理等功能,上述第二状态是指站点,站点被中央协调器控制。In step S102, the specified trigger event may be whether the first device receives the specified data frame, and the first device determines whether the specified data frame is received to determine whether a specified trigger event occurs, wherein the determination is detected when the specified data frame is received. A trigger event is specified, the designated trigger event being used to switch the first device from the second state to the first state. For example, an air-conditioning multi-line communication system consists of a central coordinator and a site. One node in the system is a central coordinator, and the remaining nodes are stations. The first state refers to the central coordinator, and the central coordinator plays the master. The role is responsible for initiating functions such as communication network formation, address assignment, and node authority management. The second state refers to the site, and the site is controlled by the central coordinator.
上述指定触发事件还可以为按键指令,在实际应用过程中,可以通过以下方式实现但不限于此:通过设备上设置的按键将目标设备的状态切换为中央协调器,例如,用户想将多联机通信系统中其中一个内机的状态切换为中央协调器,则用户按下该内机上设置为切换中央协调器的按键,在该按键被按下时,将上述内机的状态切换为中央协调器;或者带有选择菜单的线控器,通过选择线控器的显示屏幕上显示的虚拟按键将该设备的状态切换为中央协调器;或者单独设置一个设备设置为设置空调系统中的某个设备为中央协调器,例如利用遥控设备将空调系统中的一个设备状态切换为中央协调器,具体地,可以通过以下方式实现:遥控设备向上述某个设备发送设置指令,该设置指令中携带有状态信息;上述某个设备依据设置指令中的状态信息设置自身的状态,其中,状态信息包括:第一状态信息和第二状态信息。The specified trigger event may also be a button command. In the actual application process, the following may be implemented but not limited to: the state of the target device is switched to the central coordinator through a button set on the device, for example, the user wants to connect multiple times. When the state of one of the internal machines in the communication system is switched to the central coordinator, the user presses a button set on the internal machine to switch the central coordinator, and when the button is pressed, the state of the internal machine is switched to the central coordinator. Or a line controller with a selection menu to switch the state of the device to the central coordinator by selecting the virtual button displayed on the display screen of the remote controller; or setting a device separately to set a device in the air conditioning system For the central coordinator, for example, the state of the device in the air conditioning system is switched to the central coordinator by using a remote control device. Specifically, the remote control device can send a setting command to the device, and the setting command carries the status. Information; one of the above devices sets its own shape according to the status information in the setting instruction. , Wherein the status information includes: a first status information and the second status information.
上述状态的切换包括但不限于:由第二状态切换为第一状态,或者,在空调系统中未检测到处于第一状态的设备,则通过上述操作将目标设备的状态设置为第一状态,即将目标设备设置为中央协调器。The switching of the foregoing state includes, but is not limited to, switching from the second state to the first state, or, if the device in the first state is not detected in the air conditioning system, setting the state of the target device to the first state by using the foregoing operation, Set the target device to the central coordinator.
其中,上述指定按键包括但不限于:一个特定按键,或者,特定按键组合。The designated buttons include, but are not limited to, a specific button, or a specific button combination.
上述指定数据帧中携带有用于指示设备状态的指示信息,具体地,指定数据帧包括帧头、帧尾、数据部分,其中,数据部分中设置有功能码,该功能码用于指示第一设备从第二状态切换为第一状态。该功能码可以携带在数据部分的指定字段中,例如,可以是新增的专用字段,也可以是对已有字段进行重新定义(例如,对其中的空闲扩展字段进行赋值)。The specified data frame carries the indication information for indicating the state of the device. Specifically, the designated data frame includes a frame header, a frame tail, and a data portion, where the data portion is provided with a function code, where the function code is used to indicate the first device. Switching from the second state to the first state. The function code can be carried in a specified field of the data part, for example, it can be a new dedicated field, or it can redefine an existing field (for example, assigning a free extension field therein).
空调系统中的设备状态包括:第一状态和第二状态,与第一状态对应的设备设置为发送组网指令,与第二状态对应的设备设置为接收组网指令并接入网络,其中,第一设备和第二设备均可以是内机、外机或者线控器等空调系统中的设备。The device state in the air conditioning system includes: a first state and a second state, where the device corresponding to the first state is configured to send a networking command, and the device corresponding to the second state is configured to receive the networking command and access the network, where Both the first device and the second device may be devices in an air conditioning system such as an internal unit, an external unit, or a line controller.
通过将第一设备从第二状态切换为第一状态,采用动态切换中央协调器的方式,通过空调系统中的设备实现多联机通讯网络的组建和网关管理功能,达到机组便捷调试及维护的目的。By switching the first device from the second state to the first state, the method of dynamically switching the central coordinator is adopted, and the device of the air-conditioning system realizes the establishment of the multi-line communication network and the gateway management function, thereby achieving the purpose of convenient debugging and maintenance of the unit. .
步骤S104,在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备。Step S104: The first device sends a networking instruction to the at least one second device in the air conditioning system, where the networking instruction is used to indicate that the at least one second device accesses the network, the first device, when the specified trigger event is detected. And the second device is any one of the air conditioning systems.
在第一设备向空调系统中的至少一个第二设备发送组网指令之前,第一设备的状态由第二状态切换为第一状态,在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令。可选地,第一设备可以通过广播的方式将组网指令发送给第二设备。Before the first device sends the networking instruction to the at least one second device in the air conditioning system, the state of the first device is switched from the second state to the first state, and when the specified trigger event is detected, the first device is in the air conditioning system At least one second device sends a networking instruction. Optionally, the first device may send the networking instruction to the second device by means of a broadcast.
发送组网命令之后,第一设备接收第二设备发送的入网请求,其中,入网请求中携带有第二设备的属性信息,然后第一设备将依据属性信息分配的通信地址和/或通信权限发送至第二设备,即可以将通信地址发送至第二设备,或者将通信权限发送至第二设备,或者将通信地址以及通信权限发送至第二设备。可选地,上述属性信息包括但不限于以下至少之一:物理地址、设备类型、设备的运行状态,具体地,物理地址是指第二设备的物理地址(包括但不限于MAC地址)、设备类型指第二设备是内机还是外机或者是线控器,属性信息包括设备的运行状态,即设备的运行状态参数,设备的运行状态是指第二设备的运行温度或者运行频率等参数。After the network command is sent, the first device receives the network access request sent by the second device, where the network access request carries the attribute information of the second device, and then the first device sends the communication address and/or the communication right according to the attribute information. To the second device, the communication address can be sent to the second device, or the communication right can be sent to the second device, or the communication address and the communication right can be sent to the second device. Optionally, the foregoing attribute information includes, but is not limited to, at least one of the following: a physical address, a device type, an operating state of the device, and specifically, the physical address refers to a physical address of the second device (including but not limited to a MAC address), and the device The type refers to whether the second device is an internal device or an external device or a wire controller. The attribute information includes the running state of the device, that is, the operating state parameter of the device, and the running state of the device refers to parameters such as the running temperature or the operating frequency of the second device.
可选地,第一设备和第二设备均包括以下至少之一:内机、外机、线控器。Optionally, the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
步骤S106,第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。Step S106: The first device receives the confirmation command sent by the second device after receiving the networking instruction, and completes the networking, where the confirmation command is used to indicate that the second device has accessed the network.
本申请提供一种可选地应用场景,例如多联机通信系统:The application provides an optional application scenario, such as a multi-line communication system:
多联机通讯系统由外机、内机、和线控器等终端设备构成,具体地,一般由一个外机和多个内机、多个线控器构成。多联机通讯系统由中央协调器和站点两种角色构成,一个系统中其中一个节点为中央协调器,其余节点为站点,其中,中央协调器负责发起通讯网络组建,站点地址分配、站点权限分配与管理功能。The multi-line communication system is composed of terminal devices such as an external unit, an internal unit, and a line controller. Specifically, it is generally composed of an external unit, a plurality of internal units, and a plurality of line controllers. The multi-line communication system consists of two roles: central coordinator and site. One node in the system is the central coordinator, and the other nodes are stations. The central coordinator is responsible for initiating communication network formation, site address allocation, site authority assignment and Management function.
多联机通讯系统具有节点角色可动态切换的功能,外机、内机或线控器可根据实际需求由站点角色切换为中央协调器角色。中央协调器角色设定通过指定数据帧实现,当目标站点收到该数据帧后,自动将角色切换为中央协调器角色,并发送广播命令控制其他节点切换至站点角色。The multi-line communication system has the function of dynamically switching the node role, and the external machine, the internal machine or the line controller can be switched from the site role to the central coordinator role according to actual needs. The central coordinator role setting is implemented by specifying a data frame. When the target station receives the data frame, it automatically switches the role to the central coordinator role and sends a broadcast command to control other nodes to switch to the site role.
本申请实施例中的多联机通讯系统,图2是根据本发明实施例的一种可选的空调系统的组网方法的流程图,如图2所示,按照如下流程进行组网:The multi-line communication system in the embodiment of the present application, FIG. 2 is a flowchart of a networking method of an optional air conditioning system according to an embodiment of the present invention. As shown in FIG. 2, the networking is performed according to the following process:
首先,根据需求选择一个设备作为中央协调器,然后执行以下步骤:First, select a device as a central coordinator based on your needs, then perform the following steps:
步骤S202:由被选择的作为中央协调器的设备发起组网标志;Step S202: Initiating a networking identifier by the selected device as a central coordinator;
步骤S204:各站点收到允许组网标志后请求入网,入网时公布自身属性信息;Step S204: After receiving the permission of the networking identifier, each site requests to enter the network, and announces its own attribute information when entering the network;
步骤S206:中央协调器收到站点的入网请求后,根据站点的设备属性分配通讯地址,根据站点的设备类型分配通讯权限;Step S206: After receiving the network access request of the site, the central coordinator allocates a communication address according to the device attribute of the site, and allocates the communication authority according to the device type of the site;
步骤S208:各站点接收到中央协调器分配的地址和权限信息后,将分配的地址和权限信息保存至自身存储器,并将入网成功的标志反馈给中央协调器;Step S208: after receiving the address and authority information assigned by the central coordinator, each station saves the allocated address and authority information to its own memory, and feeds back the successful network access flag to the central coordinator;
最后,中央协调器在收到所有站点入网成功标志后,结束组网。Finally, after receiving the network access success flag of all sites, the central coordinator ends the networking.
通过上述步骤,实现了多联机通信系统可以根据实际需求,将外机、内机或线控器等设备手动或自动切换为中央协调器角色,并由中央协调器发起通信网络组建、地址分配、节点权限管理等功能,提高了多联机通信系统的适应性和灵活性。Through the above steps, the multi-line communication system can realize the manual or automatic switching of the external device, the internal machine or the line controller to the central coordinator role according to actual needs, and the central coordinator initiates the communication network establishment, address allocation, Features such as node rights management improve the adaptability and flexibility of multi-line communication systems.
根据本发明实施例,提供了一种空调系统的组网装置的产品实施例,图3是根据本发明实施例的空调系统的组网装置,如图3所示,该装置包括:According to an embodiment of the present invention, a product embodiment of a networking device of an air conditioning system is provided. FIG. 3 is a networking device of an air conditioning system according to an embodiment of the present invention. As shown in FIG. 3, the device includes:
检测模块30,设置为空调系统中的第一设备检测指定触发事件;The detecting module 30 is configured to detect, by the first device in the air conditioning system, a specified trigger event;
检测模块30包括:判断单元,设置为第一设备判断是否接收到指定数据帧,其中,在接收到指定数据帧时确定检测到指定触发事件,其中,该指定数据帧中携带有用于指示设备状态的指示信息,设备状态包括:第一状态,与第一状态对应的设备设置为发送组网指令。The detecting module 30 includes: a determining unit, configured to determine, by the first device, whether the specified data frame is received, wherein the specified triggering event is determined when the specified data frame is received, where the specified data frame carries a status indicating the device The indication information, the device status includes: a first state, and the device corresponding to the first state is set to send a networking instruction.
发送模块32,设置为在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;设备状态还包括:第二状态;第一设备的状态为第二状态;The sending module 32 is configured to: when the specified trigger event is detected, the first device sends a networking instruction to the at least one second device in the air conditioning system, where the networking instruction is used to indicate that the at least one second device accesses the network, The first device and the second device are any one of the air conditioning systems; the device state further includes: a second state; the state of the first device is a second state;
发送模块32包括:切换单元,设置为第一设备的状态由第二状态切换为第一状态;接收单元,设置为第一设备接收第二设备发送的入网请求,其中,入网请求中携带有第二设备的属性信息;发送单元,设置为第一设备将依据属性信息分配的通信地址和/或通信权限发送至第二设备。The sending module 32 includes: a switching unit, configured to switch the state of the first device from the second state to the first state; and the receiving unit is configured to receive, by the first device, a network access request sent by the second device, where the network access request carries the first The attribute information of the two devices; the sending unit is configured to send, by the first device, the communication address and/or the communication right allocated according to the attribute information to the second device.
接收模块34,设置为第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。The receiving module 34 is configured to receive, by the first device, an acknowledgment command sent by the second device after receiving the networking instruction, to complete the networking, where the acknowledgment command is used to indicate that the second device has accessed the network.
可选地,属性信息包括以下至少之一:物理地址、设备类型、设备的运行状态。Optionally, the attribute information includes at least one of the following: a physical address, a device type, and an operating status of the device.
可选地,第一设备和第二设备均包括以下至少之一:内机、外机、线控器。Optionally, the first device and the second device each include at least one of the following: an internal machine, an external machine, and a wire controller.
此处需要说明的是,上述检测模块30、发送模块32、接收模块34对应于上述实施例中的步骤S102至步骤S106,上述模块与对应的步骤所实现的示例和应用场景相同,但不限于上述实施例所公开的内容。需要说明的是,上述模块作为装置的一部分可以在诸如一组计算机可执行指令的计算机系统中执行。It should be noted that the foregoing detection module 30, the sending module 32, and the receiving module 34 correspond to steps S102 to S106 in the foregoing embodiment, and the foregoing modules are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited thereto. The content disclosed in the above embodiments. It should be noted that the above modules may be implemented as part of a device in a computer system such as a set of computer executable instructions.
本申请实施例还提供了一种存储介质,存储介质包括存储的程序,其中,在程序运行时控制存储介质所在设备执行上述的空调系统的组网方法。The embodiment of the present application further provides a storage medium, where the storage medium includes a stored program, wherein the device in which the storage medium is located controls the networking method of the air conditioning system described above when the program is running.
上述存储介质,设置为存储执行以下功能的程序:空调系统中的第一设备检测指定触发事件;在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。The storage medium is configured to store a program that performs the following functions: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device sends a networking command to the at least one second device in the air conditioning system The networking command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives the second device after receiving the networking command. The acknowledgment command is sent to complete the networking, where the acknowledgment command is used to indicate that the second device has access to the network.
本申请实施例还提供了一种处理器,处理器设置为运行程序,其中,程序运行时执行上述的空调系统的组网方法。The embodiment of the present application further provides a processor, where the processor is configured to run a program, where the program runs to execute the networking method of the air conditioning system described above.
处理器,设置为执行实现以下功能的程序:空调系统中的第一设备检测指定触发事件;在检测到指定触发事件时,第一设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。a processor configured to execute a program that implements the following function: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device sends a networking command to the at least one second device in the air conditioning system, The networking command is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; the first device receives the second device and sends the network device after receiving the networking command. The confirmation command completes the networking, wherein the confirmation command is used to indicate that the second device has access to the network.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
在本发明的上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的技术内容,可通过其它的方式实现。其中,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,可以为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,单元或模块的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed technical contents may be implemented in other manners. The device embodiments described above are only schematic. For example, the division of the unit may be a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be Integrate into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, unit or module, and may be electrical or otherwise.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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, may be located in one place, or may be distributed to multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, and the like. .
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It should be considered as the scope of protection of the present invention.
工业实用性Industrial applicability
本发明实施例提供的方案,可应用于对空调系统的组网过程中,本发明提供的方法包括:空调系统中的第一设备检测指定触发事件;在检测到指定触发事件时,第一 设备向空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示至少一个第二设备接入网络,第一设备和第二设备均为空调系统中的任意一个设备;第一设备接收第二设备在接收到组网指令后发送的确认指令,完成组网,其中,确认指令用于指示第二设备已经接入网络。达到了方便对机组进行调试以及维护的目的,从而实现了提高多联机通讯系统的适应性和灵活性的技术效果,进而解决了现有技术中依赖外机进行组网以及机组设备管理造成的调试不便的技术问题。The solution provided by the embodiment of the present invention is applicable to the networking process of the air conditioning system, and the method provided by the present invention includes: the first device in the air conditioning system detects a specified trigger event; and when the specified trigger event is detected, the first device Sending a network instruction to at least one second device in the air conditioning system, wherein the networking instruction is used to indicate that at least one second device accesses the network, and the first device and the second device are any one of the air conditioning systems; The first device receives the confirmation command sent by the second device after receiving the networking instruction, and completes the networking, where the confirmation command is used to indicate that the second device has accessed the network. The purpose of facilitating commissioning and maintenance of the unit is achieved, thereby realizing the technical effect of improving the adaptability and flexibility of the multi-line communication system, thereby solving the debugging caused by relying on the external machine for networking and unit equipment management in the prior art. Inconvenient technical issues.

Claims (12)

  1. 一种空调系统的组网方法,包括:A networking method for an air conditioning system, comprising:
    空调系统中的第一设备检测指定触发事件;The first device in the air conditioning system detects a specified trigger event;
    在检测到所述指定触发事件时,所述第一设备向所述空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示所述至少一个第二设备接入网络,所述第一设备和第二设备均为所述空调系统中的任意一个设备;When the specified triggering event is detected, the first device sends a networking instruction to at least one second device in the air conditioning system, where the networking instruction is used to indicate that the at least one second device is accessed. a network, the first device and the second device are each one of the air conditioning systems;
    所述第一设备接收所述第二设备在接收到所述组网指令后发送的确认指令,完成组网,其中,所述确认指令用于指示所述第二设备已经接入所述网络。The first device receives an acknowledgment command sent by the second device after receiving the networking instruction, and completes the networking, where the acknowledgment instruction is used to indicate that the second device has accessed the network.
  2. 根据权利要求1所述的方法,其中,空调系统中的第一设备检测指定触发事件,包括:The method of claim 1 wherein the first device in the air conditioning system detects the specified triggering event, comprising:
    所述第一设备判断是否接收到指定数据帧,其中,在接收到所述指定数据帧时确定检测到所述指定触发事件,其中,该指定数据帧中携带有用于指示设备状态的指示信息,所述设备状态包括:第一状态,与所述第一状态对应的设备设置为发送所述组网指令。Determining, by the first device, that the specified data frame is received, wherein the specified triggering event is determined when the specified data frame is received, where the designated data frame carries indication information for indicating a status of the device, The device state includes: a first state, and a device corresponding to the first state is configured to send the networking instruction.
  3. 根据权利要求2所述的方法,其中,所述设备状态还包括:第二状态;与所述第二状态对应的设备设置为接收组网指令并接入所述网络;所述第一设备向所述空调系统中的至少一个所述第二设备发送组网指令之前,所述方法还包括:The method of claim 2, wherein the device state further comprises: a second state; the device corresponding to the second state is configured to receive a networking command and access the network; the first device Before the at least one of the second devices in the air conditioning system sends a networking command, the method further includes:
    所述第一设备的状态由所述第二状态切换为第一状态。The state of the first device is switched from the second state to the first state.
  4. 根据权利要求1所述的方法,其中,所述第一设备向所述空调系统中的至少一个第二设备发送组网指令之后,包括:The method of claim 1, wherein after the first device sends the networking instruction to the at least one second device in the air conditioning system, the method comprises:
    所述第一设备接收第二设备发送的入网请求,其中,所述入网请求中携带有所述第二设备的属性信息;The first device receives the network access request sent by the second device, where the network access request carries the attribute information of the second device;
    所述第一设备将依据所述属性信息分配的通信地址和/或通信权限发送至所述第二设备。The first device sends a communication address and/or communication authority allocated according to the attribute information to the second device.
  5. 根据权利要求4所述的方法,其中,所述属性信息包括以下至少之一:物理地址、设备类型、设备的运行状态。The method according to claim 4, wherein the attribute information comprises at least one of: a physical address, a device type, and an operating status of the device.
  6. 根据权利要求1至5中任意一项所述的方法,其中,所述第一设备和第二设备均包括以下至少之一:内机、外机、线控器。The method according to any one of claims 1 to 5, wherein the first device and the second device each comprise at least one of the following: an internal machine, an external machine, and a line controller.
  7. 一种空调系统的组网装置,应用于空调系统中的第一设备,所述装置包括:A networking device for an air conditioning system, applied to a first device in an air conditioning system, the device comprising:
    检测模块,设置为检测指定触发事件;a detection module configured to detect a specified trigger event;
    发送模块,设置为在检测到所述指定触发事件时,向所述空调系统中的至少一个第二设备发送组网指令,其中,该组网指令用于指示所述至少一个第二设备接入网络,所述第一设备和第二设备均为所述空调系统中的任意一个设备;a sending module, configured to send a networking instruction to the at least one second device in the air conditioning system when the specified trigger event is detected, where the networking instruction is used to indicate that the at least one second device is connected a network, the first device and the second device are each one of the air conditioning systems;
    接收模块,设置为接收所述第二设备在接收到所述组网指令后发送的确认指令,完成组网,其中,所述确认指令用于指示所述第二设备已经接入所述网络。The receiving module is configured to receive an acknowledgment command sent by the second device after receiving the networking instruction, and complete the networking, where the acknowledgment command is used to indicate that the second device has accessed the network.
  8. 根据权利要求7所述的装置,其中,所述检测模块包括:The apparatus of claim 7 wherein said detecting module comprises:
    判断单元,设置为判断是否接收到指定数据帧,其中,在接收到所述指定数据帧时确定检测到所述指定触发事件,其中,该指定数据帧中携带有用于指示设备状态的指示信息,所述设备状态包括:第一状态,与所述第一状态对应的设备设置为发送所述组网指令。a determining unit, configured to determine whether a specified data frame is received, wherein the specified triggering event is determined when the specified data frame is received, where the designated data frame carries indication information for indicating a status of the device, The device state includes: a first state, and a device corresponding to the first state is configured to send the networking instruction.
  9. 根据权利要求7所述的装置,其中,所述设备状态还包括:第二状态;与所述第二状态对应的设备设置为接收组网指令并接入所述网络;所述发送模块包括:The device according to claim 7, wherein the device state further comprises: a second state; the device corresponding to the second state is configured to receive a networking instruction and access the network; the sending module comprises:
    切换单元,设置为将所述第一设备的状态由所述第二状态切换为第一状态。The switching unit is configured to switch the state of the first device from the second state to the first state.
  10. 根据权利要求7所述的装置,其中,所述发送模块还包括:The apparatus of claim 7, wherein the sending module further comprises:
    接收单元,设置为接收第二设备发送的入网请求,其中,所述入网请求中携带有所述第二设备的属性信息;The receiving unit is configured to receive the network access request sent by the second device, where the network access request carries the attribute information of the second device;
    发送单元,设置为将依据所述属性信息分配的通信地址和/或通信权限发送至所述第二设备。And a sending unit, configured to send the communication address and/or the communication right allocated according to the attribute information to the second device.
  11. 一种存储介质,所述存储介质包括存储的程序,其中,在所述程序运行时控制所述存储介质所在设备执行权利要求1至6中任意一项所述的空调系统的组网方法。A storage medium, comprising a stored program, wherein the device in which the storage medium is located controls the networking method of the air conditioning system according to any one of claims 1 to 6 while the program is running.
  12. 一种处理器,所述处理器设置为运行程序,其中,所述程序运行时执行权利要求1至6中任意一项所述的空调系统的组网方法。A processor, the processor being configured to run a program, wherein the program is executed to perform the networking method of the air conditioning system according to any one of claims 1 to 6.
PCT/CN2018/121280 2018-04-13 2018-12-14 Networking method and apparatus for air conditioning system, and storage medium and processor WO2019196485A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810332070.5A CN108709290A (en) 2018-04-13 2018-04-13 Network-building method and device, the storage medium and processor of air-conditioning system
CN201810332070.5 2018-04-13

Publications (1)

Publication Number Publication Date
WO2019196485A1 true WO2019196485A1 (en) 2019-10-17

Family

ID=63866700

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/121280 WO2019196485A1 (en) 2018-04-13 2018-12-14 Networking method and apparatus for air conditioning system, and storage medium and processor

Country Status (2)

Country Link
CN (1) CN108709290A (en)
WO (1) WO2019196485A1 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108709290A (en) * 2018-04-13 2018-10-26 珠海格力电器股份有限公司 Network-building method and device, the storage medium and processor of air-conditioning system
CN109670201B (en) * 2018-11-15 2023-12-05 珠海格力电器股份有限公司 Pipeline connection method and device and multi-split air conditioning system
CN110657557B (en) * 2019-09-11 2023-10-03 珠海格力电器股份有限公司 Method and device for acquiring information of electric appliance, storage medium and processor
CN111866815A (en) * 2020-03-02 2020-10-30 国网江苏省电力有限公司电力科学研究院 Communication networking method and device
CN112556131B (en) * 2020-12-15 2022-03-25 佛山市顺德区美的电子科技有限公司 Switching control panel for air conditioning system, air conditioning system and self-adaptive control method
CN113280478B (en) * 2021-06-28 2023-01-31 佛山市顺德区美的电子科技有限公司 Networking method of air conditioning system, air conditioning equipment and storage medium
CN115277615B (en) * 2022-05-31 2024-02-23 北京北信源软件股份有限公司 Instant messaging method, system, computer device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020041679A (en) * 2000-11-28 2002-06-03 구자홍 The communication system of an air-conditioner
JP2012202662A (en) * 2011-03-28 2012-10-22 Daikin Industries Ltd Air conditioning system
CN104613588A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method and device
CN104968028A (en) * 2015-07-23 2015-10-07 珠海格力电器股份有限公司 Networking method, system and device for VRV air-conditioning system
CN105846858A (en) * 2016-05-18 2016-08-10 珠海格力电器股份有限公司 Multi connection air conditioning units, networking method thereof and device
CN106288249A (en) * 2015-05-26 2017-01-04 青岛海尔空调电子有限公司 A kind of air conditioner wireless network-building method and device
CN108709290A (en) * 2018-04-13 2018-10-26 珠海格力电器股份有限公司 Network-building method and device, the storage medium and processor of air-conditioning system

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201041396Y (en) * 2007-01-31 2008-03-26 四川长虹电器股份有限公司 Radio network air conditioner
CN101852472B (en) * 2009-04-01 2012-09-05 欧威尔空调科技(中国)有限公司 Automatic addressing method for air conditioning system and air conditioning controller
CN201448966U (en) * 2009-04-22 2010-05-05 珠海格力电器股份有限公司 Air conditioning multi-couple machine wire control controller
CN201417392Y (en) * 2009-04-29 2010-03-03 湖南省第四工程有限公司 Intelligent home system based on LonWorks
CN105091198A (en) * 2014-05-14 2015-11-25 青岛海尔空调电子有限公司 Method and device for realizing networking for wireless communication of indoor and outdoor units of air conditioner
CN105526647A (en) * 2015-12-11 2016-04-27 广东美的暖通设备有限公司 Multi-split system and networking method thereof
US20170176033A1 (en) * 2015-12-18 2017-06-22 Archimedes Controls Corp. Intelligent mission critical environmental monitoring and energy management system
CN106980274A (en) * 2016-01-19 2017-07-25 珠海格力电器股份有限公司 Air-conditioner set control method
CN105911947A (en) * 2016-06-29 2016-08-31 珠海格力电器股份有限公司 Monitoring system for air conditioning unit and monitoring method
CN106322662B (en) * 2016-08-24 2019-11-15 青岛海尔空调电子有限公司 Machine wireless communication system and communication means inside and outside air-conditioning
JP6848289B2 (en) * 2016-09-20 2021-03-24 日産自動車株式会社 Vehicle-mounted function proposal method and vehicle-mounted function proposal system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20020041679A (en) * 2000-11-28 2002-06-03 구자홍 The communication system of an air-conditioner
JP2012202662A (en) * 2011-03-28 2012-10-22 Daikin Industries Ltd Air conditioning system
CN104613588A (en) * 2013-11-05 2015-05-13 海尔集团公司 Air-conditioning wireless networking method and device
CN106288249A (en) * 2015-05-26 2017-01-04 青岛海尔空调电子有限公司 A kind of air conditioner wireless network-building method and device
CN104968028A (en) * 2015-07-23 2015-10-07 珠海格力电器股份有限公司 Networking method, system and device for VRV air-conditioning system
CN105846858A (en) * 2016-05-18 2016-08-10 珠海格力电器股份有限公司 Multi connection air conditioning units, networking method thereof and device
CN108709290A (en) * 2018-04-13 2018-10-26 珠海格力电器股份有限公司 Network-building method and device, the storage medium and processor of air-conditioning system

Also Published As

Publication number Publication date
CN108709290A (en) 2018-10-26

Similar Documents

Publication Publication Date Title
WO2019196485A1 (en) Networking method and apparatus for air conditioning system, and storage medium and processor
CN108064442B (en) Intelligent equipment control method, control device and control system
CN102322672B (en) Method for controlling multiple air-conditioned indoor units by using single wire control device
CN105959906B (en) Network equipment communication method and device and network equipment communication method and device
CN102571996B (en) IP (Internet Protocol) address assignment method, IP address assignment device and network system
CN107969026B (en) Method for realizing wireless screen projection in wireless local area network and wireless controller AC
CN107113892B (en) Method and device for automatically networking gateway equipment
CN105652675A (en) Control method for intelligent household equipment, device, terminal and system
CN110762604B (en) Indoor unit, pairing method and device of indoor unit and wired controller, storage medium and air conditioner
CN106789498B (en) Network address allocation method of Modbus communication network, slave node equipment and communication system
EP3764007B1 (en) Networking method and device for air conditioner, and terminal
CN111064552B (en) Intelligent device control method and device, electronic device and storage medium
CN111031149B (en) Server management method, system, equipment and computer readable storage medium
CN104580029A (en) Address distribution method and device
CN111413904A (en) Display scene switching method, intelligent display screen and readable storage medium
CN105915416B (en) Information processing method and terminal equipment
CN103401954B (en) The implementation method of virtual DHCP
EP3398297A1 (en) Establishment of a connection between two local devices connected to different networks
WO2021017053A1 (en) Network distribution control method and apparatus, household appliance, and storage medium
CN112968860B (en) Method and device for managing electronic device
CN108322425B (en) Man-machine interaction method and system for industrial equipment
CN110868343A (en) KNX node automatic discovery method and KNX system
US20220264267A1 (en) Internet-of-Things Sensor Management Method and Wireless Access Point
CN103200569A (en) Method and device for sending data package
JP6606559B2 (en) NETWORK ARCHITECTURE, RELATED METHOD, AND RELATED DEVICE FOR IMPLEMENTING A SMALL CELL AND M2M SYSTEM FUSION

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18914648

Country of ref document: EP

Kind code of ref document: A1