WO2019196467A1 - Method and apparatus for pairing air conditioner devices, storage medium, and processor - Google Patents

Method and apparatus for pairing air conditioner devices, storage medium, and processor Download PDF

Info

Publication number
WO2019196467A1
WO2019196467A1 PCT/CN2018/120656 CN2018120656W WO2019196467A1 WO 2019196467 A1 WO2019196467 A1 WO 2019196467A1 CN 2018120656 W CN2018120656 W CN 2018120656W WO 2019196467 A1 WO2019196467 A1 WO 2019196467A1
Authority
WO
WIPO (PCT)
Prior art keywords
air conditioner
unit
pairing
controller
line controller
Prior art date
Application number
PCT/CN2018/120656
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 WO2019196467A1 publication Critical patent/WO2019196467A1/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/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/49Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring ensuring correct operation, e.g. by trial operation or configuration checks
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/544Setting up communications; Call and signalling arrangements

Definitions

  • the present invention relates to the field of computer networks, and in particular to a method and device for pairing air conditioner devices.
  • the embodiment of the invention provides a method and a device for pairing air conditioner devices, so as to at least solve the problem of multiple online pairing caused by disordered networking of air conditioners, air conditioners, and line controllers in a multi-line system in the related art.
  • a method for pairing an air conditioner device includes: respectively assigning a label to a line controller and an air conditioner internal unit in a power line carrier PLC communication network, wherein the line controller and the station Providing a short-range wireless communication NFC module in the air conditioner; receiving a pairing message sent by the wire controller, wherein the pairing message carries at least one read by the NFC module of the wire controller a label 1 of the internal unit of the air conditioner and a label 2 of the line controller itself; generating pairing relationship data between the line controller and the at least one air conditioner internal machine according to the label 1 and the label 2; generating After the pairing relationship data, it is determined that the line controller and the at least one air conditioner internal machine are successfully paired.
  • the air conditioner device pairing method further includes: determining the line controller, the air conditioner internal unit, and The unit network outside the air conditioner was successful.
  • determining that the line controller, the air conditioner internal unit, and the air conditioner external unit network successfully comprise: acquiring a MAC address of the air conditioner internal machine read by the NFC module of the line controller; Collecting the MAC address 2 of the line controller; generating corresponding relationship data between the line controller and the internal unit of the air conditioner according to the MAC address 1 and the MAC address 2; after generating the corresponding relationship data, Determining that the wire controller, the air conditioner inner machine, and the air conditioner outer unit network are successful.
  • the air conditioner device pairing method further includes: adjusting the correspondence data.
  • the adjusting the correspondence data includes: deleting the label 1 of the at least one air conditioner from the correspondence data, and releasing the at least one air conditioner and the line controller a pairing relationship; and/or, adding a new label 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and adding an air conditioner internal unit paired with the line controller.
  • an air conditioner device pairing device including: an allocating unit, configured to respectively assign a label to a line controller and an air conditioner internal unit in a power line carrier PLC communication network, where The remote controller and the internal unit of the air conditioner are each provided with a short-range wireless communication NFC module; the receiving unit is configured to receive a pairing message sent by the line controller, wherein the pairing message carries a label 1 of the at least one air conditioner and a label 2 of the line controller itself read by the NFC module of the line controller; and a generating unit configured to generate the line control according to the label 1 and the label 2 Pairing relationship data between the device and the at least one air conditioner internal unit; the first determining unit, configured to determine that the line controller and the at least one air conditioner internal machine are successfully paired after the pairing relationship data is generated.
  • the air conditioner device pairing device further includes: a second determining unit, configured to determine the wire controller, before respectively assigning labels to the wire controller and the air conditioner internal machine in the power line carrier PLC network The internal unit of the air conditioner and the unit network outside the air conditioner are successful.
  • the second determining unit includes: an acquiring module, configured to acquire a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller; and an acquiring module, configured to collect the wire controller a MAC address 2; a generating module, configured to generate, according to the MAC address 1 and the MAC address 2, corresponding relationship data of the line controller and the air conditioner internal device; and a determining module, configured to generate the corresponding After the relationship data, it is determined that the wire controller, the air conditioner inner unit, and the air conditioner outer unit network are successful.
  • the air conditioner device pairing device further includes: an adjusting unit, configured to adjust the correspondence data after determining that the wire controller and the at least one air conditioner are paired successfully.
  • the adjusting unit includes: a releasing module, configured to delete the label 1 of the at least one air conditioner from the correspondence data, and cancel the at least one air conditioner and the line controller And a matching module, configured to add a new label 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and add an air conditioner internal unit paired with the line controller.
  • a storage medium comprising a stored program, wherein the program performs the air conditioner device pairing method according to any one of the above.
  • a processor configured to execute a program, wherein the program is executed to perform the air conditioner device pairing method according to any one of the above.
  • the line controller and the air conditioner internal machine in the power line carrier PLC communication network are respectively assigned labels, wherein the line controller and the air conditioner are respectively provided with a short-range wireless communication NFC module; a pairing message sent by the line controller, wherein the pairing message carries the label 1 of the at least one air conditioner and the label 2 of the line controller read by the NFC module of the cable controller; generating a line according to the label 1 and the label 2
  • the pairing relationship data of the controller and the at least one air conditioner internal machine after the pairing relationship data is generated, determining the manner in which the line controller and the at least one air conditioner internal machine are successfully paired, the air conditioner device pairing method provided by the example of the present invention can be realized
  • the purpose of the free networking of the air conditioner and the air conditioner outside the multi-connection system is also to achieve the purpose of accurately matching the line controller and the air conditioner, and achieve the group of improving the multi-connected air-conditioning system.
  • FIG. 1 is a topological view of a multi-connected air conditioning system in accordance with an embodiment of the present invention
  • FIG. 2 is a flow chart of a method of pairing an air conditioner device according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of an air conditioner device pairing device according to an embodiment of the present invention.
  • NFC Near filed communication
  • Power line carrier It is a unique communication method for power systems. Power line carrier communication refers to a technology that uses an existing power line to transmit analog or digital signals at high speed through a carrier.
  • Bluetooth A wireless technology standard that enables short-distance data exchange between fixed devices, mobile devices, and building personal area networks.
  • the air conditioners in the embodiments of the present invention are all multi-connected air conditioner systems.
  • the multi-connected air conditioner system mainly refers to an air conditioner external unit that connects two or more air conditioner internal units through piping.
  • the investment will be less, only one air conditioner is used, the installation is convenient and beautiful, and the control is flexible and convenient. It can realize the centralized management of the internal machines of each air conditioner. With network control, it can start the internal operation of one air conditioner separately, or the internal machines of multiple air conditioners can be started at the same time, which makes the control more flexible and energy-saving. The details will be described below.
  • FIG. 1 is a topological view of a multi-connected air conditioning system according to an embodiment of the present invention.
  • a PLC communication network there are a plurality of external air conditioners (external air conditioner 1, outer air conditioner 2, etc. Air conditioner outside machine N), multiple air conditioner internal machines (air conditioner internal machine 1, air conditioner internal machine 2, air conditioner internal machine 3...
  • the air conditioner internal machine N and multiple line controllers (wire controller 1) , line controller 2 and line controller N), all air conditioners, air conditioners and line controllers are connected to the power line, each air conditioner outside, each air conditioner and each line
  • the controller has independent MAC address, all the air conditioner external unit, the air conditioner internal unit and the line controller form a network of multiple online systems independent of other PLC communication networks through the PLC communication network networking mechanism, wherein An air conditioner external machine is used as the main control device of the PLC communication network. After forming a network, the main control device assigns each air conditioner internal machine and the line controller a unique label in the PLC communication network, which can be an IP address. It is used to identify the internal unit and remote controller of each air conditioner.
  • All network devices in the PLC communication network can receive and transmit data through the power line, and if a device needs to send data to a specific target device, then The device first sends the data out. After receiving the data, the master device forwards the data to the corresponding target device. After receiving the data of the master device, the target device performs the corresponding action.
  • a method embodiment of an air conditioner device pairing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed 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. 2 is a flowchart of a method for pairing an air conditioner device according to an embodiment of the present invention. As shown in FIG. 2, the method for pairing an air conditioner device includes the following steps:
  • Step S202 respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module.
  • step S202 in order to realize the control of the internal unit of the air conditioner by the line controller, it is necessary to first establish a correspondence relationship between the line controller and the internal unit of the air conditioner. Therefore, if a corresponding relationship is established between the above-mentioned line controller and the internal unit of the air conditioner, it is necessary to provide a label for identifying the above-mentioned line controller and the air conditioner internal unit for the above-mentioned line controller and the air conditioner internal machine, The label is mainly used to distinguish each line controller, as well as the internal unit of each air conditioner.
  • the label of the above-mentioned remote controller air conditioner can be assigned in the following manner.
  • the line controller is assigned a label of the number "1"
  • the label "11" can be assigned to the air conditioner to be controlled by the line controller whose label is "1".
  • the wire controller can automatically search for the same air conditioner internal machine with the same tag, and perform pairing. After the pairing is successful, the internal control of the air conditioner can be realized.
  • an IP address may be assigned to the above-mentioned line controller and the air conditioner internal unit in the power line carrier PLC communication network, and pairing may be performed by addressing.
  • wire controller and the air conditioner internal machine respectively correspond to one unique tag.
  • Step S204 receiving a pairing message sent by the line controller, wherein the pairing message carries the label 1 of at least one air conditioner and the label 2 of the line controller itself read by the NFC module of the cable controller.
  • Step S206 generating pairing relationship data between the line controller and the at least one air conditioner internal unit according to the label one and the label two.
  • the pairing relationship data may be in the form of a table, and after the pairing relationship data is generated, the pairing relationship data may be stored. The user can view the above-mentioned pairing relationship data through the line controller, and then know which air conditioners can be controlled by the above-mentioned line controller.
  • Step S208 after generating the pairing relationship data, determining that the line controller and the at least one air conditioner internal machine are successfully paired.
  • the NFC module can be separately set for the air conditioner internal unit, the air conditioner outer unit and the line controller of the air conditioner in the PLC communication network, and the pairing of the above-mentioned line controller and the air conditioner internal unit can be realized through the NFC module.
  • the air conditioner device pairing method provided by the example of the invention can realize the purpose of free networking of the air conditioner inner machine and the air conditioner outer machine in the multi-connection system based on the PLC communication network, and realize the accurateness of the line controller and the air conditioner internal machine.
  • the purpose of the pairing is to achieve the technical effect of improving the accuracy of the pairing of the internal and external unit network of the multi-connected air-conditioning system and the internal unit and the line controller of the air conditioner, thereby solving the internal air conditioner of the multi-line system in the related art,
  • the technical problems of multiple online pairing difficulties caused by the disordered networking of the air conditioner and the remote controller improve the user experience.
  • the air conditioner device pairing method may further include: determining the line controller and the air conditioner internal unit. And the unit network outside the air conditioner was successful.
  • determining the line controller, the air conditioner internal unit and the air conditioner outside unit network success may include: acquiring the MAC address of the air conditioner internal machine read by the NFC module of the line controller; collecting the MAC address of the line controller 2; According to the MAC address one and the MAC address two, the corresponding relationship data between the line controller and the air conditioner internal machine is generated; after the corresponding relationship data is generated, the line controller, the air conditioner internal unit, and the air conditioner unit network are determined to be successful.
  • each device in the multi-connected air conditioning system in the PLC communication network (for example, an air conditioner internal unit, an air conditioner external unit, and a line controller, etc.) is provided with an NFC module, and it is necessary to determine which air conditioners are required before networking.
  • the internal unit and the air conditioner can form a network system.
  • the NFC module of the line controller is close to the NFC module of the air conditioner, and the NFC module of the line controller reads the MAC address of the internal unit of the air conditioner.
  • which air conditioner internal machine can also name the read air conditioner internal unit, for example, "bedroom one", “bedroom two", “living room” and the like.
  • the relationship between the internal unit of the air conditioner or the line controller and the multi-connected air conditioning system may be cancelled by deleting the MAC address one or the MAC address two. After changing the above correspondence data on the online controller, it is necessary to re-write the changed correspondence data to the external unit of the air conditioner.
  • the air conditioner device pairing method may further include: adjusting the correspondence data.
  • the adjusting the correspondence data may include: deleting the label 1 of the at least one air conditioner from the corresponding relationship data, and canceling the pairing relationship between the at least one air conditioner and the line controller; and/or, in the corresponding relationship Add a new air conditioner internal machine tag 3 to the data, and add an air conditioner internal machine paired with the wire controller.
  • the following describes the pairing between the internal unit of the air conditioner and the line controller based on the NFC communication method.
  • the master control device CCO Since the internal unit and the line controller of the air conditioner are all connected to the same PLC communication network, if a wire controller sends data out, the master control device CCO does not know which air conditioner to forward to, so it must first The corresponding air conditioner internal unit and the line controller are paired, wherein the following describes the manner in which the NFC module is paired:
  • the main control device assigns a label to each air conditioner internal unit and the line controller, which may be the unique IP in the above PLC communication network.
  • the address, through the NFC module of the line controller is close to the NFC module of the air conditioner internal machine, reads the IP address of the air conditioner internal machine, and the line controller sends the IP address of the paired air conditioner internal machine to the main control device, and the main control device receives
  • the pairing information of the line controller according to the IP address of the sent line controller and the IP address of the paired air conditioner, the pairing relationship data of the pair of the line controller and the corresponding air conditioner is formed, which may be a list. form.
  • the master control device After each line controller performs the pairing operation, the master control device stores the pairing relationship data of the respective air conditioner internal air conditioners. After the pairing relationship data is established, the paired air conditioners can be viewed on the line controller. List of IP addresses of the machine, and can delete the pairing relationship between the internal machine of the air conditioner by deleting the IP address of the air conditioner in the list, or add a new IP address of the internal air conditioner to establish a new air conditioner. Pairing relationship. After establishing the pairing relationship list, the master control device CCO will inform the corresponding line controller and the air conditioner internal machine to successfully pair, and the line controller can control the internal machine of the air conditioner.
  • the generation and update of the MAC address and IP address data of the network devices are through the communication method of the NFC module. Completed, but also can be replaced by other wireless communication methods, such as infrared sensors, Bluetooth and so on.
  • the embodiment of the present invention further provides an air conditioner device pairing device. It should be noted that the air conditioner device pairing device of the embodiment of the present invention can be used to perform the air conditioner device pairing method provided by the embodiment of the present invention.
  • the air conditioner device pairing device provided by the embodiment of the present invention is introduced below.
  • the air conditioner device pairing device includes: an allocating unit 31, a receiving unit 33, a generating unit 35, and a first determining unit 37.
  • the air conditioner device pairing device will be described in detail below.
  • the distribution unit 31 is configured to respectively assign a label to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module.
  • the receiving unit 33 is connected to the foregoing allocating unit 31 for receiving a pairing message sent by the line controller, wherein the pairing message carries the label 1 and the line control of at least one air conditioner internal machine read by the NFC module of the cable controller The label of the device itself.
  • the generating unit 35 is connected to the receiving unit 33 for generating pairing relationship data between the line controller and the at least one air conditioner internal unit according to the label one and the label two.
  • the first determining unit 37 is connected to the receiving unit 33 for determining that the pairing of the line controller and the at least one air conditioner is successful after generating the pairing relationship data.
  • a distribution unit may be used for respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are all equipped with short-range wireless devices.
  • a communication unit configured to receive a pairing message sent by the line controller, wherein the pairing message carries the label of at least one air conditioner and the label of the line controller itself read by the NFC module of the cable controller
  • a generating unit configured to generate pairing relationship data between the wire controller and the at least one air conditioner internal device according to the label 1 and the label 2; the first determining unit, configured to determine the line controller and the at least one after generating the pairing relationship data The air conditioner is successfully paired.
  • the air conditioner device pairing method provided by the example of the invention can realize the purpose of free networking of the air conditioner inner machine and the air conditioner outer machine in the multi-connection system based on the PLC communication network, and realize the accurateness of the line controller and the air conditioner internal machine.
  • the purpose of the pairing is to achieve the technical effect of improving the accuracy of the pairing of the internal and external unit network of the multi-connected air-conditioning system and the internal unit and the line controller of the air conditioner, thereby solving the internal air conditioner of the multi-line system in the related art,
  • the technical problems of multiple online pairing difficulties caused by the disordered networking of the air conditioner and the remote controller improve the user experience.
  • the air conditioner device pairing device may further include: a second determining unit, configured to determine a line before respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC network The controller, the air conditioner and the air conditioner outside the unit network were successful.
  • the second determining unit may include: an acquiring module, configured to acquire a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller; and an acquiring module, configured to collect the line a MAC address of the controller; a generating module, configured to generate, according to the MAC address 1 and the MAC address 2, a correspondence data between the line controller and the air conditioner internal unit; and a determining module, configured to determine the line controller after generating the corresponding relationship data The internal unit of the air conditioner and the unit outside the air conditioner were successful.
  • the air conditioner device pairing device may further include: an adjusting unit, configured to adjust the correspondence data after determining that the line controller and the at least one air conditioner are successfully paired.
  • the adjusting unit may include: a releasing module, configured to delete the label 1 of the at least one air conditioner internal device from the correspondence data, and cancel the pairing of the at least one air conditioner internal device and the line controller And/or, adding a module, for adding a new label 3 corresponding to the internal unit of the air conditioner in the corresponding relationship data, and adding an air conditioner internal machine paired with the line controller.
  • the air conditioner device pairing device may further include a processor and a memory, and the connection and distribution unit 31, the receiving unit 33, the generating unit 35, the first determining unit 37, and the like are all stored as a program unit in the memory, and are executed by the processor.
  • the above program units in the memory implement the corresponding functions.
  • the above processor includes a kernel, and the kernel removes the corresponding program unit from the memory.
  • the kernel can be set to one or more. After the pairing relationship data is generated by adjusting the kernel parameters, it is determined that the line controller and the at least one air conditioner are successfully paired.
  • the above memory may include a form of non-persistent memory, random access memory (RAM) and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least A memory chip.
  • RAM random access memory
  • ROM read only memory
  • flash RAM flash memory
  • a storage medium comprising a stored program, wherein the program performs the air conditioner device pairing method of any one of the above.
  • a processor configured to execute a program, wherein the program is executed while the air conditioner device pairing method of any one of the above is performed.
  • a device comprising: a processor, a memory, and a program stored on the memory and operable on the processor, wherein the processor implements the following steps: respectively: power line carrier PLC communication The line controller and the air conditioner internal distribution label in the network, wherein the line controller and the air conditioner are all equipped with a short-range wireless communication NFC module; receiving the pairing message sent by the line controller, wherein, in the pairing message The tag 1 of the at least one air conditioner and the tag 2 of the wire controller read by the NFC module carrying the cable controller; generating the pairing relationship data of the wire controller and the at least one air conditioner internal device according to the tag 1 and the tag 2; After generating the pairing relationship data, it is determined that the line controller and the at least one air conditioner internal machine are successfully paired.
  • a computer program product when executed on a data processing device, adapted to perform a program for initializing the following method steps: a line controller and an air conditioner in a power line carrier PLC communication network, respectively
  • the internal machine assigns a label, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module; receiving a pairing message sent by the line controller, wherein the pairing message carries the NFC module of the cable controller to read At least one label of the inner unit of the air conditioner and the label 2 of the line controller itself; generating pairing relationship data between the line controller and the at least one air conditioner according to the label 1 and the label 2; determining the line after generating the pairing relationship data The controller and the at least one air conditioner are successfully paired.
  • 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. .

Abstract

A method and apparatus for pairing air conditioner devices, a storage medium, and a processor. The method for pairing air conditioner devices comprises: respectively allocating tags to a wired controller and an air conditioner indoor unit in a power line carrier (PLC) communication network, the wired controller and the air conditioner indoor unit being both provided with a near-field communication (NFC) module; receiving a pairing message sent by the wired controller, the pairing message carrying a tag I of at least one air conditioner indoor unit and a tag II of the wired controller read by the NFC module of the wired controller; generating, according to the tag I and the tag II, pairing relationship data of the wired controller and the at least one air conditioner indoor unit; and after generating the pairing relationship data, determining that the wired controller and the at least one air conditioner indoor unit are paired successfully. The apparatus for pairing air conditioner devices comprises an allocating unit, a receiving unit, a generating unit, and a first determining unit. The present invention solves the technical problem of the difficulty in the pairing of multi-split air conditioners due to indiscriminate networking of air conditioner indoor units, air conditioner outdoor units, and wired controllers in a multi-split air conditioner system.

Description

[根据细则37.2由ISA制定的发明名称] 空调器设备配对方法及装置、存储介质和处理器[Invention name established by ISA according to Rule 37.2] Air conditioner device pairing method and device, storage medium and processor
本申请要求于2018年04月13日提交中国专利局、申请号为201810333225.7、申请名称“空调器设备配对方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to the Chinese Patent Application, the entire disclosure of which is hereby incorporated by reference.
技术领域Technical field
本发明涉及计算机网络领域,具体而言,涉及一种空调器设备配对方法及装置。The present invention relates to the field of computer networks, and in particular to a method and device for pairing air conditioner devices.
背景技术Background technique
传统的多连机系统外机、内机、线控器等设备都是采用CAN、485、HBS等通讯方式,但是这些通讯方式需要安装人员布置专用的通讯线,存在额外施工、布线复杂、成本较高、维护困难等问题。Traditional multi-connector systems, such as external, internal, and line controllers, use CAN, 485, HBS, etc., but these communication methods require the installation personnel to lay out dedicated communication lines, which have additional construction, complicated wiring, and cost. Higher, difficult to maintain and other issues.
另外,由于没有通讯线连接,无线组网后,很难确认通信网络中的内机和外机是否属于同一制冷系统,通讯系统内的内外机是否和实际制冷系统的内外机一一对应,同时无法确定哪个线控器和哪个内机是匹配使用的。在工程安装时,经常会出现该制冷系统的通讯网络中出现了其他制冷系统的内机的情况,线控器和内机匹配紊乱的情况,此种异常很难排查,造成调试工期加长,安装成本上升。In addition, since there is no communication line connection, it is difficult to confirm whether the internal and external units in the communication network belong to the same refrigeration system after the wireless networking, and whether the internal and external machines in the communication system are in one-to-one correspondence with the internal and external machines of the actual refrigeration system. It is not possible to determine which wire controller and which internal machine are used in the match. During the installation of the project, the internal machine of other refrigeration systems appears in the communication network of the refrigeration system. The line controller and the internal machine are in a disorderly match. This kind of abnormality is difficult to check, resulting in longer adjustment period and installation. The cost is rising.
针对上述相关技术中多联机系统内空调器内机、空调器外机以及线控器进行组网较为紊乱导致的多联机配对困难的问题,目前尚未提出有效的解决方案。In view of the above-mentioned related art, the problem that the multi-connection pairing caused by the disorder of the internal air conditioner, the external air conditioner and the remote controller of the multi-line system is not effective has not been proposed yet.
发明内容Summary of the invention
本发明实施例提供了一种空调器设备配对方法及装置,以至少解决相关技术中多联机系统内空调器内机、空调器外机以及线控器进行组网较为紊乱导致的多联机配对困难的技术问题。The embodiment of the invention provides a method and a device for pairing air conditioner devices, so as to at least solve the problem of multiple online pairing caused by disordered networking of air conditioners, air conditioners, and line controllers in a multi-line system in the related art. Technical problem.
根据本发明实施例的一个方面,提供了一种空调器设备配对方法,包括:分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,所述线控器、所述空调器内机内均设置有近距离无线通讯NFC模块;接收由所述线控器发送的配对消息,其中,所述配对消息中携带有所述线控器的NFC模块读取的至少一个空调器内机的标签一和所述线控器自身的标签二;根据所述标签一和所述标签二生成所述线控器 和所述至少一个空调器内机的配对关系数据;在生成所述配对关系数据之后,确定所述线控器和所述至少一个空调器内机配对成功。According to an aspect of an embodiment of the present invention, a method for pairing an air conditioner device includes: respectively assigning a label to a line controller and an air conditioner internal unit in a power line carrier PLC communication network, wherein the line controller and the station Providing a short-range wireless communication NFC module in the air conditioner; receiving a pairing message sent by the wire controller, wherein the pairing message carries at least one read by the NFC module of the wire controller a label 1 of the internal unit of the air conditioner and a label 2 of the line controller itself; generating pairing relationship data between the line controller and the at least one air conditioner internal machine according to the label 1 and the label 2; generating After the pairing relationship data, it is determined that the line controller and the at least one air conditioner internal machine are successfully paired.
可选地,在分别为所述电力线载波PLC网络中的线控器和空调器内机分配标签之前,上述空调器设备配对方法还包括:确定所述线控器、所述空调器内机以及空调器外机组网成功。Optionally, before the assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC network, the air conditioner device pairing method further includes: determining the line controller, the air conditioner internal unit, and The unit network outside the air conditioner was successful.
可选地,确定所述线控器、所述空调器内机以及所述空调器外机组网成功包括:获取由所述线控器的NFC模块读取的空调器内机的MAC地址一;采集所述线控器的MAC地址二;根据所述MAC地址一和所述MAC地址二生成所述线控器和所述空调器内机的对应关系数据;在生成所述对应关系数据之后,确定所述线控器、所述空调器内机以及所述空调器外机组网成功。Optionally, determining that the line controller, the air conditioner internal unit, and the air conditioner external unit network successfully comprise: acquiring a MAC address of the air conditioner internal machine read by the NFC module of the line controller; Collecting the MAC address 2 of the line controller; generating corresponding relationship data between the line controller and the internal unit of the air conditioner according to the MAC address 1 and the MAC address 2; after generating the corresponding relationship data, Determining that the wire controller, the air conditioner inner machine, and the air conditioner outer unit network are successful.
可选地,在确定所述线控器和所述至少一个空调器内机配对成功之后,上述空调器设备配对方法还包括:对所述对应关系数据进行调整。Optionally, after determining that the remote controller and the at least one air conditioner are successfully paired, the air conditioner device pairing method further includes: adjusting the correspondence data.
可选地,对所述对应关系数据进行调整包括:从所述对应关系数据中删除所述至少一个空调器内机的标签一,解除所述至少一个空调器内机与所述线控器的配对关系;和/或,在所述对应关系数据中添加新的空调器内机对应的标签三,增加与所述线控器配对的空调器内机。Optionally, the adjusting the correspondence data includes: deleting the label 1 of the at least one air conditioner from the correspondence data, and releasing the at least one air conditioner and the line controller a pairing relationship; and/or, adding a new label 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and adding an air conditioner internal unit paired with the line controller.
根据本发明实施例的另外一个方面,还提供了一种空调器设备配对装置,包括:分配单元,用于分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,所述线控器、所述空调器内机内均设置有近距离无线通讯NFC模块;接收单元,用于接收由所述线控器发送的配对消息,其中,所述配对消息中携带有所述线控器的NFC模块读取的至少一个空调器内机的标签一和所述线控器自身的标签二;生成单元,用于根据所述标签一和所述标签二生成所述线控器和所述至少一个空调器内机的配对关系数据;第一确定单元,用于在生成所述配对关系数据之后,确定所述线控器和所述至少一个空调器内机配对成功。According to another aspect of the embodiments of the present invention, an air conditioner device pairing device is further provided, including: an allocating unit, configured to respectively assign a label to a line controller and an air conditioner internal unit in a power line carrier PLC communication network, where The remote controller and the internal unit of the air conditioner are each provided with a short-range wireless communication NFC module; the receiving unit is configured to receive a pairing message sent by the line controller, wherein the pairing message carries a label 1 of the at least one air conditioner and a label 2 of the line controller itself read by the NFC module of the line controller; and a generating unit configured to generate the line control according to the label 1 and the label 2 Pairing relationship data between the device and the at least one air conditioner internal unit; the first determining unit, configured to determine that the line controller and the at least one air conditioner internal machine are successfully paired after the pairing relationship data is generated.
可选地,上述空调器设备配对装置还包括:第二确定单元,用于在分别为所述电力线载波PLC网络中的线控器和空调器内机分配标签之前,确定所述线控器、所述空调器内机以及空调器外机组网成功。Optionally, the air conditioner device pairing device further includes: a second determining unit, configured to determine the wire controller, before respectively assigning labels to the wire controller and the air conditioner internal machine in the power line carrier PLC network The internal unit of the air conditioner and the unit network outside the air conditioner are successful.
可选地,所述第二确定单元包括:获取模块,用于获取由所述线控器的NFC模块读取的空调器内机的MAC地址一;采集模块,用于采集所述线控器的MAC地址二;生成模块,用于根据所述MAC地址一和所述MAC地址二生成所述线控器和所述空调器内机的对应关系数据;确定模块,用于在生成所述对应关系数据之后,确定所述线控器、 所述空调器内机以及所述空调器外机组网成功。Optionally, the second determining unit includes: an acquiring module, configured to acquire a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller; and an acquiring module, configured to collect the wire controller a MAC address 2; a generating module, configured to generate, according to the MAC address 1 and the MAC address 2, corresponding relationship data of the line controller and the air conditioner internal device; and a determining module, configured to generate the corresponding After the relationship data, it is determined that the wire controller, the air conditioner inner unit, and the air conditioner outer unit network are successful.
可选地,上述空调器设备配对装置还包括:调整单元,用于在确定所述线控器和所述至少一个空调器内机配对成功之后,对所述对应关系数据进行调整。Optionally, the air conditioner device pairing device further includes: an adjusting unit, configured to adjust the correspondence data after determining that the wire controller and the at least one air conditioner are paired successfully.
可选地,所述调整单元包括:解除模块,用于从所述对应关系数据中删除所述至少一个空调器内机的标签一,解除所述至少一个空调器内机与所述线控器的配对关系;和/或,增加模块,用于在所述对应关系数据中添加新的空调器内机对应的标签三,增加与所述线控器配对的空调器内机。Optionally, the adjusting unit includes: a releasing module, configured to delete the label 1 of the at least one air conditioner from the correspondence data, and cancel the at least one air conditioner and the line controller And a matching module, configured to add a new label 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and add an air conditioner internal unit paired with the line controller.
根据本发明实施例的另外一个方面,还提供了一种存储介质,所述存储介质包括存储的程序,其中,所述程序执行上述中任意一项所述的空调器设备配对方法。According to still another aspect of the present invention, a storage medium is provided, the storage medium comprising a stored program, wherein the program performs the air conditioner device pairing method according to any one of the above.
根据本发明实施例的另外一个方面,还提供了一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行上述中任意一项所述的空调器设备配对方法。According to still another aspect of the embodiments of the present invention, there is further provided a processor, wherein the processor is configured to execute a program, wherein the program is executed to perform the air conditioner device pairing method according to any one of the above.
在本发明实施例中,采用分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块;接收由线控器发送的配对消息,其中,配对消息中携带有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二;根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据;在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功的方式,通过本发明实例提供的空调器设备配对方法可以实现基于PLC通讯网络的多连接系统中空调器内机和空调器外机的自由组网的目的,也实现了线控器和空调器内机准确配对的目的,达到了提升多联机空调系统的组网内外机组网以及空调器内机和线控器的配对的准确度的技术效果,进而解决了相关技术中多联机系统内空调器内机、空调器外机以及线控器进行组网较为紊乱导致的多联机配对困难的技术问题,提升了用户体验。In the embodiment of the present invention, the line controller and the air conditioner internal machine in the power line carrier PLC communication network are respectively assigned labels, wherein the line controller and the air conditioner are respectively provided with a short-range wireless communication NFC module; a pairing message sent by the line controller, wherein the pairing message carries the label 1 of the at least one air conditioner and the label 2 of the line controller read by the NFC module of the cable controller; generating a line according to the label 1 and the label 2 The pairing relationship data of the controller and the at least one air conditioner internal machine; after the pairing relationship data is generated, determining the manner in which the line controller and the at least one air conditioner internal machine are successfully paired, the air conditioner device pairing method provided by the example of the present invention can be realized Based on the PLC communication network, the purpose of the free networking of the air conditioner and the air conditioner outside the multi-connection system is also to achieve the purpose of accurately matching the line controller and the air conditioner, and achieve the group of improving the multi-connected air-conditioning system. The technical effect of the accuracy of the pairing of the internal and external unit network and the internal unit of the air conditioner and the line controller, thereby solving the problem of the multi-line system in the related art Inside the machine unit, an air conditioner wired remote machines and external disturbances caused by the networking more line pairs is much more difficult technical problems, improving user experience.
附图说明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 topological view of a multi-connected air conditioning system in accordance with an embodiment of the present invention;
图2是根据本发明实施例的空调器设备配对方法的流程图;2 is a flow chart of a method of pairing an air conditioner device according to an embodiment of the present invention;
图3是根据本发明实施例的空调器设备配对装置的示意图。3 is a schematic diagram of an air conditioner device pairing device according to an embodiment of the present invention.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。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.
为了便于描述,下面对本发明实施例中出现的部分名词或术语进行详细说明。For convenience of description, some of the nouns or terms appearing in the embodiments of the present invention are described in detail below.
近距离无线通讯技术(near filed communication,简称NFC):是一种新兴的技术,使用NFC技术的设备(比如手机)可以在彼此靠近的情况下进行数据交换,是由非接触式射频识别及互联互通技术整合演变而来,通过在单一芯片上集成感应式读卡器、感应式卡片和点对点通信的功能,利用移动终端实现移动支付、电子票务、门禁、移动身份识别、防伪等应用。Near filed communication (NFC): an emerging technology in which NFC-enabled devices (such as mobile phones) can exchange data in close proximity to each other, using contactless RFID and interconnection. The integration of interoperability technology has evolved. By integrating inductive card readers, inductive cards and peer-to-peer communication on a single chip, mobile terminals are used to implement applications such as mobile payment, electronic ticketing, access control, mobile identification, and anti-counterfeiting.
电力线载波(power line carrier,简称PLC):是电力系统特有的通信方式,电力线载波通讯是指利用现有电力线,通过载波方式将模拟或数字信号进行高速传输的技术。Power line carrier (PLC): It is a unique communication method for power systems. Power line carrier communication refers to a technology that uses an existing power line to transmit analog or digital signals at high speed through a carrier.
蓝牙:是一种无线技术标准,可以实现固定设备、移动设备和楼宇个人域网之间的短距离数据交换。Bluetooth: A wireless technology standard that enables short-distance data exchange between fixed devices, mobile devices, and building personal area networks.
实施例1Example 1
下述在本发明实施例中的空调器均为多联机空调器系统,多联机空调器系统主要是指一台空调器外机通过配管连接两台及以上的空调器内机。相对于多台空调器相比投资会较少,只需使用一个空调器外机,安装方便美观、控制灵活方便。它可以实现各个空调器内机的集中管理,采用网络控制,可以单独启动一台空调器内机运行,也可以多台空调器内机同时启动,使得控制更加灵活和节能。下面进行详细说明。The air conditioners in the embodiments of the present invention are all multi-connected air conditioner systems. The multi-connected air conditioner system mainly refers to an air conditioner external unit that connects two or more air conditioner internal units through piping. Compared with multiple air conditioners, the investment will be less, only one air conditioner is used, the installation is convenient and beautiful, and the control is flexible and convenient. It can realize the centralized management of the internal machines of each air conditioner. With network control, it can start the internal operation of one air conditioner separately, or the internal machines of multiple air conditioners can be started at the same time, which makes the control more flexible and energy-saving. The details will be described below.
图1是根据本发明实施例的多联机空调系统的拓扑图,如图1所示,在PLC通讯网络中,有多个空调器外机(空调器外机1、空调器外机2……空调器外机N)、多个空调器内机(空调器内机1、空调器内机2、空调器内机3……空调器内机N)和多个线控器(线控器1、线控器2以及线控器N),所有的空调器外机、空调器内机以及线控器都连接到电力线上,每个空调器外机、每个空调器内机以及每个线控器都有独立的MAC地址,所有的空调器外机、空调器内机以及线控器通过PLC通讯网络组网机制组成一个独立于其他PLC通讯网络的多联机系统的网络,其中,可以将一个空调器外机作为PLC通讯网络的主控设备,组成一个网络后,主控设备会给每台空调器内机和线控器分配一个在PLC通讯网络中唯一的标签,可以是IP地址,用于识别各个空调器内机和线控器。PLC通讯网络中的所有网络设备(例如,线控器、空调器内机、空调器外机等)都可以通过电力线接收和发送数据,并且如果某个设备需要发送数据给特定的目标设备,那么这个设备首先将数据发送出来,主控设备收到数据后,再将此数据转发给对应的目标设备,目标设备收到主控设备的数据后执行相应的动作。1 is a topological view of a multi-connected air conditioning system according to an embodiment of the present invention. As shown in FIG. 1, in a PLC communication network, there are a plurality of external air conditioners (external air conditioner 1, outer air conditioner 2, etc. Air conditioner outside machine N), multiple air conditioner internal machines (air conditioner internal machine 1, air conditioner internal machine 2, air conditioner internal machine 3... air conditioner internal machine N) and multiple line controllers (wire controller 1) , line controller 2 and line controller N), all air conditioners, air conditioners and line controllers are connected to the power line, each air conditioner outside, each air conditioner and each line The controller has independent MAC address, all the air conditioner external unit, the air conditioner internal unit and the line controller form a network of multiple online systems independent of other PLC communication networks through the PLC communication network networking mechanism, wherein An air conditioner external machine is used as the main control device of the PLC communication network. After forming a network, the main control device assigns each air conditioner internal machine and the line controller a unique label in the PLC communication network, which can be an IP address. It is used to identify the internal unit and remote controller of each air conditioner. All network devices in the PLC communication network (for example, wire controllers, air conditioners, air conditioners, etc.) can receive and transmit data through the power line, and if a device needs to send data to a specific target device, then The device first sends the data out. After receiving the data, the master device forwards the data to the corresponding target device. After receiving the data of the master device, the target device performs the corresponding action.
根据本发明实施例,提供了一种空调器设备配对方法的方法实施例,需要说明的是,在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执行,并且,虽然在流程图中示出了逻辑顺序,但是在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤。According to an embodiment of the present invention, a method embodiment of an air conditioner device pairing method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings may be executed 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.
图2是根据本发明实施例的空调器设备配对方法的流程图,如图2所示,该空调器设备配对方法包括如下步骤:2 is a flowchart of a method for pairing an air conditioner device according to an embodiment of the present invention. As shown in FIG. 2, the method for pairing an air conditioner device includes the following steps:
步骤S202,分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块。Step S202, respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module.
在上述步骤S202中,要想通过线控器实现对空调器内机的控制,需要先建立线控器和空调器内机之间的对应关系。因此,如果要实现上述线控器和空调器内机之间建立对应的关系,则需要为上述线控器和空调器内机设置用于识别上述线控器和空调器内机的标签,该标签主要是用来区分各个线控器,以及各个空调器内机的。可以通过以下方式为上述线控器可空调器内机分配标签。In the above step S202, in order to realize the control of the internal unit of the air conditioner by the line controller, it is necessary to first establish a correspondence relationship between the line controller and the internal unit of the air conditioner. Therefore, if a corresponding relationship is established between the above-mentioned line controller and the internal unit of the air conditioner, it is necessary to provide a label for identifying the above-mentioned line controller and the air conditioner internal unit for the above-mentioned line controller and the air conditioner internal machine, The label is mainly used to distinguish each line controller, as well as the internal unit of each air conditioner. The label of the above-mentioned remote controller air conditioner can be assigned in the following manner.
例如,为线控器分配标签为数字“1”,那么可以为该标签为“1”的线控器要控制的空调器内机分配标签“11”,在空调器工作的时候,用户想要通过线控器实现对空调器内机的控制的时候,线控器可以自动搜索与其标签相同的空调器内机,进行配对,在配对成功后,可以实现对空调器内机的控制。又例如,可以为上述线控器和空调器内机分配一个在电力线载波PLC通讯网络中分别分配IP地址,通过寻址的方式来进行配对。For example, if the line controller is assigned a label of the number "1", the label "11" can be assigned to the air conditioner to be controlled by the line controller whose label is "1". When the air conditioner is working, the user wants When the wire controller realizes the control of the internal machine of the air conditioner, the wire controller can automatically search for the same air conditioner internal machine with the same tag, and perform pairing. After the pairing is successful, the internal control of the air conditioner can be realized. For another example, an IP address may be assigned to the above-mentioned line controller and the air conditioner internal unit in the power line carrier PLC communication network, and pairing may be performed by addressing.
需要说明的是,上述线控器以及空调器内机分别对应一个唯一的标签。It should be noted that the above-mentioned wire controller and the air conditioner internal machine respectively correspond to one unique tag.
步骤S204,接收由线控器发送的配对消息,其中,配对消息中携带有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二。Step S204, receiving a pairing message sent by the line controller, wherein the pairing message carries the label 1 of at least one air conditioner and the label 2 of the line controller itself read by the NFC module of the cable controller.
步骤S206,根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据。Step S206, generating pairing relationship data between the line controller and the at least one air conditioner internal unit according to the label one and the label two.
需要说明的是,上述配对关系数据可以是表格的形式,在生成上述配对关系数据之后,可以将上述配对关系数据存储起来。用户可以通过线控器查看上述配对关系数据,进而了解上述线控器可以实现对哪些空调器内机的控制。It should be noted that the pairing relationship data may be in the form of a table, and after the pairing relationship data is generated, the pairing relationship data may be stored. The user can view the above-mentioned pairing relationship data through the line controller, and then know which air conditioners can be controlled by the above-mentioned line controller.
步骤S208,在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功。Step S208, after generating the pairing relationship data, determining that the line controller and the at least one air conditioner internal machine are successfully paired.
通过上述步骤,可以PLC通讯网络中,为空调器的空调器内机、空调器外机以及线控器分别设置NFC模块,通过NFC模块实现上述线控器与空调器内机的配对。相对于相关技术中使用多联机空调器系统时,由于没有通讯线连接,在进行无线组网后,很难确定通信网络中空调器内机和空调器外机是否属于同一制冷系统,通信系统内的空调器内机和空调器内机是否与实际制冷系统的空调器内机和空调器外机一一对应,同时,无法确定哪个线控器和哪个空调器内机是匹配使用的等弊端,通过本发明实例提供的空调器设备配对方法可以实现基于PLC通讯网络的多连接系统中空调器内机和空调器外机的自由组网的目的,也实现了线控器和空调器内机准确配对的目的,达到了提升多联机空调系统的组网内外机组网以及空调器内机和线控器的配对的准确度的技术效果,进而解决了相关技术中多联机系统内空调器内机、空调器外机以及线控器进行组网较为紊乱导致的多联机配对困难的技术问题,提升了用户体验。Through the above steps, the NFC module can be separately set for the air conditioner internal unit, the air conditioner outer unit and the line controller of the air conditioner in the PLC communication network, and the pairing of the above-mentioned line controller and the air conditioner internal unit can be realized through the NFC module. Compared with the related art, when the multi-connected air conditioner system is used, since there is no communication line connection, after the wireless networking, it is difficult to determine whether the air conditioner internal unit and the air conditioner external unit in the communication network belong to the same refrigeration system, and the communication system Whether the internal unit of the air conditioner and the internal unit of the air conditioner are in one-to-one correspondence with the air conditioner inner unit and the air conditioner outer unit of the actual refrigeration system, and at the same time, it is impossible to determine which line controller and which air conditioner internal machine are matched and used. The air conditioner device pairing method provided by the example of the invention can realize the purpose of free networking of the air conditioner inner machine and the air conditioner outer machine in the multi-connection system based on the PLC communication network, and realize the accurateness of the line controller and the air conditioner internal machine. The purpose of the pairing is to achieve the technical effect of improving the accuracy of the pairing of the internal and external unit network of the multi-connected air-conditioning system and the internal unit and the line controller of the air conditioner, thereby solving the internal air conditioner of the multi-line system in the related art, The technical problems of multiple online pairing difficulties caused by the disordered networking of the air conditioner and the remote controller improve the user experience.
作为本发明一个可选的实施例,在分别为电力线载波PLC网络中的线控器和空调器内机分配标签之前,上述空调器设备配对方法还可以包括:确定线控器、空调器内机以及空调器外机组网成功。As an optional embodiment of the present invention, before the labeling of the line controller and the air conditioner internal unit in the power line carrier PLC network, the air conditioner device pairing method may further include: determining the line controller and the air conditioner internal unit. And the unit network outside the air conditioner was successful.
其中,确定线控器、空调器内机以及空调器外机组网成功可以包括:获取由线控器的NFC模块读取的空调器内机的MAC地址一;采集线控器的MAC地址二;根据MAC地址一和MAC地址二生成线控器和空调器内机的对应关系数据;在生成对应关系数据之后,确定线控器、空调器内机以及空调器外机组网成功。Wherein, determining the line controller, the air conditioner internal unit and the air conditioner outside unit network success may include: acquiring the MAC address of the air conditioner internal machine read by the NFC module of the line controller; collecting the MAC address of the line controller 2; According to the MAC address one and the MAC address two, the corresponding relationship data between the line controller and the air conditioner internal machine is generated; after the corresponding relationship data is generated, the line controller, the air conditioner internal unit, and the air conditioner unit network are determined to be successful.
例如,PLC通讯网络中的多联机空调系统中的每个设备(例如,空调器内机、空调器外机以及线控器等)都设置有NFC模块,在进行组网前需要先确定哪些空调器内机、空调器外可以组成一个网络系统,确定后将线控器的NFC模块靠近空调器内机的 NFC模块,通过线控器的NFC模块读取空调器内机的MAC地址一,同时为了方便识别是哪台空调器内机还可以为读取的空调器内机命名,例如,“卧室一”、“卧室二”、“起居室”等。另外,还需要把上述空调器内机的MAC地址一记录下来,然后通过空调器外机NFC模块再将上述记录下来的MAC地址一存储到空调器外机。当然,还需要把线控器的MAC地址二也存储到空调器外机中,根据MAC地址一和MAC地址二生成线控器和空调器内机的对应关系数据,从而可以确定线控器、空调器内机以及空调器外机组网成功,进而使得线控器、空调器内机以及空调器外机组成一个网络系统,并可以在线控器上查看上述对应关系数据。For example, each device in the multi-connected air conditioning system in the PLC communication network (for example, an air conditioner internal unit, an air conditioner external unit, and a line controller, etc.) is provided with an NFC module, and it is necessary to determine which air conditioners are required before networking. The internal unit and the air conditioner can form a network system. After determining, the NFC module of the line controller is close to the NFC module of the air conditioner, and the NFC module of the line controller reads the MAC address of the internal unit of the air conditioner. In order to facilitate identification, which air conditioner internal machine can also name the read air conditioner internal unit, for example, "bedroom one", "bedroom two", "living room" and the like. In addition, it is also necessary to record the MAC address of the internal unit of the air conditioner, and then store the recorded MAC address to the outside of the air conditioner through the NFC module of the air conditioner. Of course, it is also necessary to store the MAC address 2 of the line controller in the external unit of the air conditioner, and generate corresponding data of the line controller and the internal unit of the air conditioner according to the MAC address 1 and the MAC address 2, thereby determining the line controller, The internal unit of the air conditioner and the unit network outside the air conditioner are successful, so that the line controller, the air conditioner internal unit and the air conditioner external unit form a network system, and the corresponding relationship data can be viewed on the line controller.
另外,也可以通过删除上述MAC地址一或者MAC地址二来解除上述空调器内机或者线控器与多联机空调系统的关系。在线控器上更改上述对应关系数据后,需要重新把更改后的对应关系数据写入到空调器外机中。Alternatively, the relationship between the internal unit of the air conditioner or the line controller and the multi-connected air conditioning system may be cancelled by deleting the MAC address one or the MAC address two. After changing the above correspondence data on the online controller, it is necessary to re-write the changed correspondence data to the external unit of the air conditioner.
下面结合附图对本发明实施例提供的空调器设备配对方法Air conditioner device pairing method provided by embodiment of the present invention with reference to the accompanying drawings
作为本发明一个可选的实施例,在确定线控器和至少一个空调器内机配对成功之后,上述空调器设备配对方法还可以包括:对对应关系数据进行调整。As an optional embodiment of the present invention, after determining that the line controller and the at least one air conditioner are successfully paired, the air conditioner device pairing method may further include: adjusting the correspondence data.
例如,在一个家庭中,有多个卧室,每个卧室内都安装一个空调器内机,卧室A中居住的是老人,卧室B中居住的是青年人,卧室C中居住的是亲戚,其中,卧室C中居住亲戚属于临时居住的人员,在卧室C中没有人居住的情况下,线控器和卧室C中的空调器内机之间是处于为没有任何关系的情况,在亲戚需要居住的情况下,需要将线控器和卧室C中空调器内机进行配对,并从而实现线控器对卧室C中的空调器内机进行控制,在该亲戚离开后又可以解除线控器与该卧室C中的空调器内机的配对关系。For example, in a home, there are multiple bedrooms, each with an air conditioner inside, bedroom A with an old man, bedroom B with a young person, and bedroom C with a relative. In the bedroom C, the relatives living in the bedroom are temporary residents. In the case of no one living in the bedroom C, there is no relationship between the remote controller and the air conditioner in the bedroom C, and the relatives need to live. In this case, the line controller and the air conditioner in the bedroom C need to be paired, and thus the line controller can control the air conditioner inside the bedroom C, and the line controller can be released after the relative leaves. The pairing relationship of the air conditioners in the bedroom C.
具体地,对对应关系数据进行调整可以包括:从对应关系数据中删除至少一个空调器内机的标签一,解除至少一个空调器内机与线控器的配对关系;和/或,在对应关系数据中添加新的空调器内机对应的标签三,增加与线控器配对的空调器内机。Specifically, the adjusting the correspondence data may include: deleting the label 1 of the at least one air conditioner from the corresponding relationship data, and canceling the pairing relationship between the at least one air conditioner and the line controller; and/or, in the corresponding relationship Add a new air conditioner internal machine tag 3 to the data, and add an air conditioner internal machine paired with the wire controller.
下面对基于NFC通讯方式实现的空调器内机和线控器之间的配对进行详细说明。The following describes the pairing between the internal unit of the air conditioner and the line controller based on the NFC communication method.
由于空调器内机和线控器都接到同一个PLC通讯网络中,所以如果某个线控器发送数据出来,主控设备CCO并不知道要转发给哪台空调器内机,所以要先将对应的空调器内机和线控器进行配对,其中,下面对基于NFC模块进行配对的方式进行说明:Since the internal unit and the line controller of the air conditioner are all connected to the same PLC communication network, if a wire controller sends data out, the master control device CCO does not know which air conditioner to forward to, so it must first The corresponding air conditioner internal unit and the line controller are paired, wherein the following describes the manner in which the NFC module is paired:
在上述空调器内机、空调器外机以及线控器组网成功后,主控设备会给每台空调器内机和线控器分配一个标签,可以是在上述PLC通讯网络中的唯一IP地址,通过线控器的NFC模块靠近空调器内机的NFC模块,读取空调器内机的IP地址,线控器将配 对的空调器内机IP地址发送给主控设备,主控设备收到线控器的配对信息后,根据发送的线控器的IP地址和配对的空调器内机的IP地址形成一个线控器和对应空调器内机配对的配对关系数据,可以是以列表的形式。每个线控器都进行配对操作后,主控设备就存储各个线控器根对应空调器内机的配对关系数据,在建立好配对关系数据后,可以在线控器上查看配对的空调器内机的IP地址列表,并且可以通过删除列表中的空调器内机IP地址删除跟词空调器内机的配对关系,或者增加新的空调器内机IP地址来建立和新的空调器内机的配对关系。在建立配对关系列表后,主控设备CCO会告知对应的线控器和空调器内机配对成功,便可实现线控器对空调器内机的控制。After the above-mentioned air conditioner internal unit, air conditioner external unit and line controller are successfully networked, the main control device assigns a label to each air conditioner internal unit and the line controller, which may be the unique IP in the above PLC communication network. The address, through the NFC module of the line controller is close to the NFC module of the air conditioner internal machine, reads the IP address of the air conditioner internal machine, and the line controller sends the IP address of the paired air conditioner internal machine to the main control device, and the main control device receives After the pairing information of the line controller, according to the IP address of the sent line controller and the IP address of the paired air conditioner, the pairing relationship data of the pair of the line controller and the corresponding air conditioner is formed, which may be a list. form. After each line controller performs the pairing operation, the master control device stores the pairing relationship data of the respective air conditioner internal air conditioners. After the pairing relationship data is established, the paired air conditioners can be viewed on the line controller. List of IP addresses of the machine, and can delete the pairing relationship between the internal machine of the air conditioner by deleting the IP address of the air conditioner in the list, or add a new IP address of the internal air conditioner to establish a new air conditioner. Pairing relationship. After establishing the pairing relationship list, the master control device CCO will inform the corresponding line controller and the air conditioner internal machine to successfully pair, and the line controller can control the internal machine of the air conditioner.
需要说明的是上述多联机空调系统中的网络设备(例如,空调器内机、空调器外机以及线控器)的MAC地址和IP地址数据的生成和更新,是通过NFC模块的通讯方式来完成的,同时也可换为其他的无线通讯方式,例如,红外传感器、蓝牙等。It should be noted that the generation and update of the MAC address and IP address data of the network devices (for example, the air conditioner internal device, the air conditioner external device, and the wire controller) in the above multi-connected air conditioning system are through the communication method of the NFC module. Completed, but also can be replaced by other wireless communication methods, such as infrared sensors, Bluetooth and so on.
实施例2Example 2
本发明实施例还提供了一种空调器设备配对装置,需要说明的是,本发明实施例的空调器设备配对装置可以用于执行本发明实施例所提供的用于空调器设备配对方法。以下对本发明实施例提供的空调器设备配对装置进行介绍。The embodiment of the present invention further provides an air conditioner device pairing device. It should be noted that the air conditioner device pairing device of the embodiment of the present invention can be used to perform the air conditioner device pairing method provided by the embodiment of the present invention. The air conditioner device pairing device provided by the embodiment of the present invention is introduced below.
图3是根据本发明实施例的空调器设备配对装置的示意图,如图3所示,该空调器设备配对装置包括:分配单元31,接收单元33,生成单元35以及第一确定单元37。下面对该空调器设备配对装置进行详细说明。3 is a schematic diagram of an air conditioner device pairing device according to an embodiment of the present invention. As shown in FIG. 3, the air conditioner device pairing device includes: an allocating unit 31, a receiving unit 33, a generating unit 35, and a first determining unit 37. The air conditioner device pairing device will be described in detail below.
分配单元31,用于分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块。The distribution unit 31 is configured to respectively assign a label to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module.
接收单元33,与上述分配单元31连接,用于接收由线控器发送的配对消息,其中,配对消息中携带有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二。The receiving unit 33 is connected to the foregoing allocating unit 31 for receiving a pairing message sent by the line controller, wherein the pairing message carries the label 1 and the line control of at least one air conditioner internal machine read by the NFC module of the cable controller The label of the device itself.
生成单元35,与上述接收单元33连接,用于根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据。The generating unit 35 is connected to the receiving unit 33 for generating pairing relationship data between the line controller and the at least one air conditioner internal unit according to the label one and the label two.
第一确定单元37,与上述接收单元33连接,用于在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功。The first determining unit 37 is connected to the receiving unit 33 for determining that the pairing of the line controller and the at least one air conditioner is successful after generating the pairing relationship data.
在上述实施例中,可以采用分配单元,用于分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块;接收单元,用于接收由线控器发送的配对消息,其中,配对消息中携带 有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二;生成单元,用于根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据;第一确定单元,用于在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功。相对于相关技术中使用多联机空调器系统时,由于没有通讯线连接,在进行无线组网后,很难确定通信网络中空调器内机和空调器外机是否属于同一制冷系统,通信系统内的空调器内机和空调器内机是否与实际制冷系统的空调器内机和空调器外机一一对应,同时,无法确定哪个线控器和哪个空调器内机是匹配使用的等弊端,通过本发明实例提供的空调器设备配对方法可以实现基于PLC通讯网络的多连接系统中空调器内机和空调器外机的自由组网的目的,也实现了线控器和空调器内机准确配对的目的,达到了提升多联机空调系统的组网内外机组网以及空调器内机和线控器的配对的准确度的技术效果,进而解决了相关技术中多联机系统内空调器内机、空调器外机以及线控器进行组网较为紊乱导致的多联机配对困难的技术问题,提升了用户体验。In the above embodiment, a distribution unit may be used for respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are all equipped with short-range wireless devices. a communication unit, configured to receive a pairing message sent by the line controller, wherein the pairing message carries the label of at least one air conditioner and the label of the line controller itself read by the NFC module of the cable controller a generating unit, configured to generate pairing relationship data between the wire controller and the at least one air conditioner internal device according to the label 1 and the label 2; the first determining unit, configured to determine the line controller and the at least one after generating the pairing relationship data The air conditioner is successfully paired. Compared with the related art, when the multi-connected air conditioner system is used, since there is no communication line connection, after the wireless networking, it is difficult to determine whether the air conditioner internal unit and the air conditioner external unit in the communication network belong to the same refrigeration system, and the communication system Whether the internal unit of the air conditioner and the internal unit of the air conditioner are in one-to-one correspondence with the air conditioner inner unit and the air conditioner outer unit of the actual refrigeration system, and at the same time, it is impossible to determine which line controller and which air conditioner internal machine are matched and used. The air conditioner device pairing method provided by the example of the invention can realize the purpose of free networking of the air conditioner inner machine and the air conditioner outer machine in the multi-connection system based on the PLC communication network, and realize the accurateness of the line controller and the air conditioner internal machine. The purpose of the pairing is to achieve the technical effect of improving the accuracy of the pairing of the internal and external unit network of the multi-connected air-conditioning system and the internal unit and the line controller of the air conditioner, thereby solving the internal air conditioner of the multi-line system in the related art, The technical problems of multiple online pairing difficulties caused by the disordered networking of the air conditioner and the remote controller improve the user experience.
作为本发明一个可选的实施例,上述空调器设备配对装置还可以包括:第二确定单元,用于在分别为电力线载波PLC网络中的线控器和空调器内机分配标签之前,确定线控器、空调器内机以及空调器外机组网成功。As an optional embodiment of the present invention, the air conditioner device pairing device may further include: a second determining unit, configured to determine a line before respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC network The controller, the air conditioner and the air conditioner outside the unit network were successful.
作为本发明一个可选的实施例,上述第二确定单元可以包括:获取模块,用于获取由线控器的NFC模块读取的空调器内机的MAC地址一;采集模块,用于采集线控器的MAC地址二;生成模块,用于根据MAC地址一和MAC地址二生成线控器和空调器内机的对应关系数据;确定模块,用于在生成对应关系数据之后,确定线控器、空调器内机以及空调器外机组网成功。As an optional embodiment of the present invention, the second determining unit may include: an acquiring module, configured to acquire a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller; and an acquiring module, configured to collect the line a MAC address of the controller; a generating module, configured to generate, according to the MAC address 1 and the MAC address 2, a correspondence data between the line controller and the air conditioner internal unit; and a determining module, configured to determine the line controller after generating the corresponding relationship data The internal unit of the air conditioner and the unit outside the air conditioner were successful.
作为本发明一个可选的实施例,上述空调器设备配对装置还可以包括:调整单元,用于在确定线控器和至少一个空调器内机配对成功之后,对对应关系数据进行调整。As an optional embodiment of the present invention, the air conditioner device pairing device may further include: an adjusting unit, configured to adjust the correspondence data after determining that the line controller and the at least one air conditioner are successfully paired.
作为本发明一个可选的实施例,上述调整单元可以包括:解除模块,用于从对应关系数据中删除至少一个空调器内机的标签一,解除至少一个空调器内机与线控器的配对关系;和/或,增加模块,用于在对应关系数据中添加新的空调器内机对应的标签三,增加与线控器配对的空调器内机。As an optional embodiment of the present invention, the adjusting unit may include: a releasing module, configured to delete the label 1 of the at least one air conditioner internal device from the correspondence data, and cancel the pairing of the at least one air conditioner internal device and the line controller And/or, adding a module, for adding a new label 3 corresponding to the internal unit of the air conditioner in the corresponding relationship data, and adding an air conditioner internal machine paired with the line controller.
上述的空调器设备配对装置还可以包括处理器和存储器,上述接分配单元31,接收单元33,生成单元35以及第一确定单元37等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The air conditioner device pairing device may further include a processor and a memory, and the connection and distribution unit 31, the receiving unit 33, the generating unit 35, the first determining unit 37, and the like are all stored as a program unit in the memory, and are executed by the processor. The above program units in the memory implement the corresponding functions.
上述处理器中包含内核,由内核去存储器中调取相应的程序单元。内核可以设置一个或以上,通过调整内核参数来在生成配对关系数据之后,确定线控器和至少一个 空调器内机配对成功。The above processor includes a kernel, and the kernel removes the corresponding program unit from the memory. The kernel can be set to one or more. After the pairing relationship data is generated by adjusting the kernel parameters, it is determined that the line controller and the at least one air conditioner are successfully paired.
上述存储器可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM),存储器包括至少一个存储芯片。The above memory may include a form of non-persistent memory, random access memory (RAM) and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory (flash RAM), the memory including at least A memory chip.
根据本发明实施例的另外一个方面,还提供了一种存储介质,存储介质包括存储的程序,其中,程序执行上述中任意一项的空调器设备配对方法。According to still another aspect of the embodiments of the present invention, a storage medium is provided, the storage medium comprising a stored program, wherein the program performs the air conditioner device pairing method of any one of the above.
根据本发明实施例的另外一个方面,还提供了一种处理器,处理器用于运行程序,其中,程序运行时执行上述中任意一项的空调器设备配对方法。According to still another aspect of the embodiments of the present invention, there is further provided a processor, wherein a processor is configured to execute a program, wherein the program is executed while the air conditioner device pairing method of any one of the above is performed.
在本发明实施例中还提供了一种设备,该设备包括处理器、存储器及存储在存储器上并可以在处理器上运行的程序,处理器执行程序时实现以下步骤:分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块;接收由线控器发送的配对消息,其中,配对消息中携带有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二;根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据;在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功。In the embodiment of the present invention, there is further provided a device, comprising: a processor, a memory, and a program stored on the memory and operable on the processor, wherein the processor implements the following steps: respectively: power line carrier PLC communication The line controller and the air conditioner internal distribution label in the network, wherein the line controller and the air conditioner are all equipped with a short-range wireless communication NFC module; receiving the pairing message sent by the line controller, wherein, in the pairing message The tag 1 of the at least one air conditioner and the tag 2 of the wire controller read by the NFC module carrying the cable controller; generating the pairing relationship data of the wire controller and the at least one air conditioner internal device according to the tag 1 and the tag 2; After generating the pairing relationship data, it is determined that the line controller and the at least one air conditioner internal machine are successfully paired.
在本发明实施例中还提供了一种计算机程序产品,当在数据处理设备上执行时,适于执行初始化有如下方法步骤的程序:分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,线控器、空调器内机内均设置有近距离无线通讯NFC模块;接收由线控器发送的配对消息,其中,配对消息中携带有线控器的NFC模块读取的至少一个空调器内机的标签一和线控器自身的标签二;根据标签一和标签二生成线控器和至少一个空调器内机的配对关系数据;在生成配对关系数据之后,确定线控器和至少一个空调器内机配对成功。In the embodiment of the present invention, there is further provided a computer program product, when executed on a data processing device, adapted to perform a program for initializing the following method steps: a line controller and an air conditioner in a power line carrier PLC communication network, respectively The internal machine assigns a label, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module; receiving a pairing message sent by the line controller, wherein the pairing message carries the NFC module of the cable controller to read At least one label of the inner unit of the air conditioner and the label 2 of the line controller itself; generating pairing relationship data between the line controller and the at least one air conditioner according to the label 1 and the label 2; determining the line after generating the pairing relationship data The controller and the at least one air conditioner are successfully paired.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。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.

Claims (12)

  1. 一种空调器设备配对方法,包括:A method for pairing air conditioner devices, comprising:
    分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,所述线控器、所述空调器内机内均设置有近距离无线通讯NFC模块;Dispatching a label for the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module;
    接收由所述线控器发送的配对消息,其中,所述配对消息中携带有所述线控器的NFC模块读取的至少一个空调器内机的标签一和所述线控器自身的标签二;Receiving a pairing message sent by the wire controller, wherein the pairing message carries a label of at least one air conditioner internal machine read by the NFC module of the wire controller and a label of the wire controller itself two;
    根据所述标签一和所述标签二生成所述线控器和所述至少一个空调器内机的配对关系数据;Generating pairing relationship data between the wire controller and the at least one air conditioner internal machine according to the label one and the label two;
    在生成所述配对关系数据之后,确定所述线控器和所述至少一个空调器内机配对成功。After generating the pairing relationship data, it is determined that the line controller and the at least one air conditioner internal machine are successfully paired.
  2. 根据权利要求1所述的方法,其中,在分别为所述电力线载波PLC网络中的线控器和空调器内机分配标签之前,还包括:The method of claim 1 further comprising: prior to assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC network, respectively:
    确定所述线控器、所述空调器内机以及空调器外机组网成功。It is determined that the wire controller, the air conditioner inner unit, and the air conditioner outer unit network are successful.
  3. 根据权利要求2所述的方法,其中,确定所述线控器、所述空调器内机以及所述空调器外机组网成功包括:The method of claim 2, wherein determining the line controller, the air conditioner internal unit, and the air conditioner unit network successfully comprises:
    获取由所述线控器的NFC模块读取的空调器内机的MAC地址一;Obtaining a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller;
    采集所述线控器的MAC地址二;Collecting the MAC address of the wire controller 2;
    根据所述MAC地址一和所述MAC地址二生成所述线控器和所述空调器内机的对应关系数据;Generating corresponding relationship data between the line controller and the internal unit of the air conditioner according to the MAC address one and the MAC address two;
    在生成所述对应关系数据之后,确定所述线控器、所述空调器内机以及所述空调器外机组网成功。After generating the correspondence data, it is determined that the line controller, the air conditioner internal unit, and the air conditioner outer unit network are successful.
  4. 根据权利要求3所述的方法,其中,在确定所述线控器和所述至少一个空调器内机配对成功之后,还包括:The method of claim 3, wherein after determining that the remote controller and the at least one air conditioner are successfully paired, the method further comprises:
    对所述对应关系数据进行调整。Adjusting the correspondence data.
  5. 根据权利要求4所述的方法,其中,对所述对应关系数据进行调整包括:The method of claim 4, wherein the adjusting the correspondence data comprises:
    从所述对应关系数据中删除所述至少一个空调器内机的标签一,解除所述至少一个空调器内机与所述线控器的配对关系;Deleting the tag 1 of the at least one air conditioner internal device from the correspondence data, and canceling a pairing relationship between the at least one air conditioner internal machine and the wire controller;
    和/或,and / or,
    在所述对应关系数据中添加新的空调器内机对应的标签三,增加与所述线控器配对的空调器内机。Adding a new tag 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and adding an internal unit of the air conditioner paired with the line controller.
  6. 一种空调器设备配对装置,包括:A device for pairing air conditioners, comprising:
    分配单元,设置为分别为电力线载波PLC通讯网络中的线控器和空调器内机分配标签,其中,所述线控器、所述空调器内机内均设置有近距离无线通讯NFC模块;The distribution unit is configured to respectively assign a label to the line controller and the air conditioner internal unit in the power line carrier PLC communication network, wherein the line controller and the air conditioner are each provided with a short-range wireless communication NFC module;
    接收单元,设置为接收由所述线控器发送的配对消息,其中,所述配对消息中携带有所述线控器的NFC模块读取的至少一个空调器内机的标签一和所述线控器自身的标签二;a receiving unit, configured to receive a pairing message sent by the line controller, wherein the pairing message carries a label of the at least one air conditioner internal machine read by the NFC module of the line controller and the line The label 2 of the controller itself;
    生成单元,设置为根据所述标签一和所述标签二生成所述线控器和所述至少一个空调器内机的配对关系数据;a generating unit, configured to generate pairing relationship data between the wire controller and the at least one air conditioner internal device according to the label 1 and the label 2;
    第一确定单元,设置为在生成所述配对关系数据之后,确定所述线控器和所述至少一个空调器内机配对成功。The first determining unit is configured to determine that the pairing of the line controller and the at least one air conditioner is successful after the pairing relationship data is generated.
  7. 根据权利要求6所述的装置,其中,还包括:The apparatus of claim 6 further comprising:
    第二确定单元,设置为在分别为所述电力线载波PLC网络中的线控器和空调器内机分配标签之前,确定所述线控器、所述空调器内机以及空调器外机组网成功。a second determining unit, configured to determine that the line controller, the air conditioner internal unit, and the air conditioner unit network are successful before respectively assigning labels to the line controller and the air conditioner internal unit in the power line carrier PLC network .
  8. 根据权利要求7所述的装置,其中,所述第二确定单元包括:The apparatus of claim 7, wherein the second determining unit comprises:
    获取模块,设置为获取由所述线控器的NFC模块读取的空调器内机的MAC地址一;Obtaining a module, configured to obtain a MAC address of the internal device of the air conditioner read by the NFC module of the wire controller;
    采集模块,设置为采集所述线控器的MAC地址二;An acquisition module, configured to collect the MAC address of the wire controller 2;
    生成模块,设置为根据所述MAC地址一和所述MAC地址二生成所述线控器和所述空调器内机的对应关系数据;a generating module, configured to generate, according to the MAC address one and the MAC address two, correspondence data of the wire controller and the air conditioner internal device;
    确定模块,设置为在生成所述对应关系数据之后,确定所述线控器、所述空调器内机以及所述空调器外机组网成功。The determining module is configured to determine that the line controller, the air conditioner internal unit, and the air conditioner outer unit network are successful after generating the correspondence data.
  9. 根据权利要求8所述的装置,其中,还包括:The apparatus of claim 8 further comprising:
    调整单元,设置为在确定所述线控器和所述至少一个空调器内机配对成功之 后,对所述对应关系数据进行调整。And an adjustment unit configured to adjust the correspondence data after determining that the line controller and the at least one air conditioner are successfully paired.
  10. 根据权利要求9所述的装置,其中,所述调整单元包括:The apparatus of claim 9, wherein the adjustment unit comprises:
    解除模块,设置为从所述对应关系数据中删除所述至少一个空调器内机的标签一,解除所述至少一个空调器内机与所述线控器的配对关系;And releasing the module, configured to delete the label 1 of the at least one air conditioner internal machine from the correspondence data, and cancel the pairing relationship between the at least one air conditioner internal machine and the line controller;
    和/或,and / or,
    增加模块,设置为在所述对应关系数据中添加新的空调器内机对应的标签三,增加与所述线控器配对的空调器内机。The adding module is configured to add a new label 3 corresponding to the internal unit of the air conditioner to the corresponding relationship data, and add an air conditioner internal unit paired with the line controller.
  11. 一种存储介质,所述存储介质包括存储的程序,其中,所述程序执行权利要求1至5中任意一项所述的空调器设备配对方法。A storage medium, the storage medium comprising a stored program, wherein the program executes the air conditioner device pairing method according to any one of claims 1 to 5.
  12. 一种处理器,所述处理器用于运行程序,其中,所述程序运行时执行权利要求1至5中任意一项所述的空调器设备配对方法。A processor for executing a program, wherein the program is executed to perform the air conditioner device pairing method according to any one of claims 1 to 5.
PCT/CN2018/120656 2018-04-13 2018-12-12 Method and apparatus for pairing air conditioner devices, storage medium, and processor WO2019196467A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810333225.7A CN108592311B (en) 2018-04-13 2018-04-13 Air conditioner equipment pairing method and device
CN201810333225.7 2018-04-13

Publications (1)

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

Family

ID=63622509

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/120656 WO2019196467A1 (en) 2018-04-13 2018-12-12 Method and apparatus for pairing air conditioner devices, storage medium, and processor

Country Status (2)

Country Link
CN (1) CN108592311B (en)
WO (1) WO2019196467A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108592311B (en) * 2018-04-13 2020-10-20 珠海格力电器股份有限公司 Air conditioner equipment pairing method and device
CN110430293B (en) * 2019-08-06 2021-01-12 珠海格力电器股份有限公司 Pairing method and device of multi-split system, storage medium and processor
CN111023477B (en) * 2019-12-20 2021-06-08 青岛海信日立空调系统有限公司 Drive-by-wire ware
CN111935854B (en) * 2020-06-08 2022-04-15 珠海格力电器股份有限公司 Radio frequency temperature controller and pairing method, device and medium of radio frequency temperature controller and zone controller
CN112378060A (en) * 2020-11-02 2021-02-19 佛山市顺德区美的电子科技有限公司 Outdoor unit, indoor unit, multi-split system and pairing method of humidifier of multi-split system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0933094A (en) * 1995-07-17 1997-02-07 Matsushita Refrig Co Ltd Air conditioner
KR20120059010A (en) * 2010-11-30 2012-06-08 엘지전자 주식회사 A method for controlling air conditioning system
CN104089370A (en) * 2014-06-30 2014-10-08 珠海格力电器股份有限公司 Multi-line pairing method and device and multi-line system
CN104776562A (en) * 2015-04-14 2015-07-15 广东美的暖通设备有限公司 Multi-split air-conditioning system and connection method of indoor units and outdoor units through power line carrier communication
CN204795033U (en) * 2015-06-30 2015-11-18 合肥美的暖通设备有限公司 Communication system of air ability water heater and air ability water heater
CN205208848U (en) * 2015-12-23 2016-05-04 宁波奥克斯电气股份有限公司 Many online cloud control system
CN108592311A (en) * 2018-04-13 2018-09-28 珠海格力电器股份有限公司 Air-conditioner device matching method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20090055670A (en) * 2007-11-29 2009-06-03 엘지전자 주식회사 Multi type air cinditioner system
CN104613590B (en) * 2013-11-05 2018-05-04 海尔集团公司 A kind of air conditioner wireless network-building method
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0933094A (en) * 1995-07-17 1997-02-07 Matsushita Refrig Co Ltd Air conditioner
KR20120059010A (en) * 2010-11-30 2012-06-08 엘지전자 주식회사 A method for controlling air conditioning system
CN104089370A (en) * 2014-06-30 2014-10-08 珠海格力电器股份有限公司 Multi-line pairing method and device and multi-line system
CN104776562A (en) * 2015-04-14 2015-07-15 广东美的暖通设备有限公司 Multi-split air-conditioning system and connection method of indoor units and outdoor units through power line carrier communication
CN204795033U (en) * 2015-06-30 2015-11-18 合肥美的暖通设备有限公司 Communication system of air ability water heater and air ability water heater
CN205208848U (en) * 2015-12-23 2016-05-04 宁波奥克斯电气股份有限公司 Many online cloud control system
CN108592311A (en) * 2018-04-13 2018-09-28 珠海格力电器股份有限公司 Air-conditioner device matching method and device

Also Published As

Publication number Publication date
CN108592311B (en) 2020-10-20
CN108592311A (en) 2018-09-28

Similar Documents

Publication Publication Date Title
WO2019196467A1 (en) Method and apparatus for pairing air conditioner devices, storage medium, and processor
CN109600252B (en) Equipment network distribution method and device and household electrical appliance
WO2018108134A1 (en) Item shelf, item sharing system comprising same and item sharing methods
CN109212983A (en) Intelligent home furnishing control method, gateway and intelligent home control system
CN107025804A (en) Parking stall reserving method, system and storage medium
CN107959620B (en) Fully mechanized mining equipment identification method, device, system, gateway and storage medium
CN109144971B (en) Apparatus bound method and matching system
CN110762604B (en) Indoor unit, pairing method and device of indoor unit and wired controller, storage medium and air conditioner
WO2019196453A1 (en) Data sending method and apparatus, and multiple on-line system and storage medium
CN103780867A (en) Building access control talkback and advertisement device and system
CN106249611A (en) A kind of Smart Home localization method based on virtual reality, device and system
CN104268500A (en) Method for writing electronic barcode information of product
CN104484958A (en) Express delivery pickup method and system for intelligent express delivery cabinet
EP4139908A1 (en) Method and devices for configuring electronic locks
CN107124481B (en) A kind of configuration method, system and the equipment of KNX group address
CN204859405U (en) Network digital video recorder based on NFC carries out internet protocol camera and inserts
CN106453666A (en) Gateway communication system based on dongle agent
CN210927989U (en) Intelligent Internet of things ad hoc network system oriented to indoor places
CN105577743B (en) Device and method for managing device
CN107529146B (en) Multi-sensing indoor positioning method, device and system combined with audio and storage medium
CN208241667U (en) Multi-line system
KR101989828B1 (en) Home network service providing system using portable terminal
CN101656722A (en) Method for generating dynamic host configuration protocol (DHCP) snooping binding information, and device thereof
WO2010091560A1 (en) Dual interface intelligent card and its communication method, and corresponding positioning system and method
JP2003309882A (en) Remote controller, home server, controller, and radio connecting method

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

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

Country of ref document: EP

Kind code of ref document: A1