CN110830338A - Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium - Google Patents

Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium Download PDF

Info

Publication number
CN110830338A
CN110830338A CN201911105846.0A CN201911105846A CN110830338A CN 110830338 A CN110830338 A CN 110830338A CN 201911105846 A CN201911105846 A CN 201911105846A CN 110830338 A CN110830338 A CN 110830338A
Authority
CN
China
Prior art keywords
address
sequence
equipment
addresses
devices
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911105846.0A
Other languages
Chinese (zh)
Inventor
洪伟鸿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Midea Group Co Ltd
GD Midea Heating and Ventilating Equipment Co Ltd
Guangdong Midea HVAC Equipment Co Ltd
Original Assignee
Midea Group Co Ltd
GD Midea Heating and Ventilating Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Midea Group Co Ltd, GD Midea Heating and Ventilating Equipment Co Ltd filed Critical Midea Group Co Ltd
Priority to CN201911105846.0A priority Critical patent/CN110830338A/en
Publication of CN110830338A publication Critical patent/CN110830338A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention provides a method and a device for managing equipment addresses of multiple systems, an air conditioner and a storage medium, wherein the method for managing the equipment addresses of the multiple systems comprises the following steps: sequencing the plurality of systems to obtain a first sequence; according to the first sequence, sequentially ordering the equipment in the system to obtain a second sequence; and sequentially allocating the equipment addresses to the equipment according to the second sequence. By applying the technical scheme provided by the invention, the equipment of the multiple systems are sequenced in a multiple sequencing mode, so that all the equipment of the multiple systems are positioned in the same sequence, and therefore, when the equipment address is allocated to the equipment in the sequence, namely the second sequence, the problem of address repetition is avoided, the automatic address management scheme suitable for the multiple systems is realized, on one hand, manual addressing is not needed, the workload during the installation of the air conditioning system is effectively reduced, and on the other hand, the addressing efficiency and the accuracy are improved.

Description

Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium
Technical Field
The invention relates to the technical field of air conditioner installation, in particular to a method for managing equipment addresses of multiple systems, a device for managing the equipment addresses of the multiple systems, an air conditioner system and a computer readable storage medium.
Background
In the related art, a central air conditioning system having multiple systems needs to address each of the multiple systems in order to implement communication and control between an indoor unit and an outdoor unit. The current automatic addressing method is not suitable for multiple systems because the initial addresses are all fixed, which causes address repetition when multiple systems are automatically addressed. And the manual addressing has large workload, is easy to make mistakes and has low efficiency.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art or the related art.
Therefore, the first aspect of the present invention provides a method for managing device addresses of multiple systems.
A second aspect of the present invention provides a device for managing device addresses of multiple systems.
A third aspect of the present invention provides an air conditioning system.
A fourth aspect of the present invention is directed to a computer-readable storage medium.
In view of this, a first aspect of the present invention provides a method for managing addresses of devices in a multi-system, where the system is provided with a plurality of devices, and the method for managing addresses includes: sequencing the plurality of systems to obtain a first sequence; according to the first sequence, sequentially ordering the equipment in the system to obtain a second sequence; and sequentially allocating the equipment addresses to the equipment according to the second sequence.
In the technical scheme, a multi-system automatic addressing method is provided. First, a plurality of installed systems are sequenced to obtain a sequence of the systems, i.e. a first sequence. After the first sequence is obtained, all the devices in the multiple systems are sequentially sequenced according to the first sequence to obtain a sequence of all online devices of all the systems which are online in the first sequence, namely a second sequence, and device addresses are sequentially allocated to all the online devices according to the second sequence.
By applying the technical scheme provided by the invention, the equipment of the multiple systems are sequenced in a multiple sequencing mode, so that all the equipment of the multiple systems are positioned in the same sequence, and therefore, when the equipment address is allocated to the equipment in the sequence, namely the second sequence, the problem of address repetition is avoided, the automatic address management scheme suitable for the multiple systems is realized, on one hand, manual addressing is not needed, the workload during the installation of the air conditioning system is effectively reduced, and on the other hand, the addressing efficiency and the accuracy are improved.
In addition, the method for managing device addresses of multiple systems in the above technical solution provided by the present invention may further have the following additional technical features:
in the above technical solution, the step of sequentially allocating device addresses to the devices according to the second sequence specifically includes: acquiring a first starting address; determining a first equipment address sequence by taking a first initial address as a column head according to a preset address determination rule; and sequentially allocating the equipment addresses to the equipment in the second sequence according to the second sequence and the first equipment address sequence.
In the technical scheme, when the device addresses are sequentially allocated to the online devices according to the second sequence, the first start address is firstly acquired. The first start address may be a preset start address, or an address may be manually designated by an installer as the first start address. After the first start address is determined, according to a preset address determination rule, a plurality of device addresses behind the first start address can be obtained, and a first device address sequence containing the plurality of device addresses is generated. The device at the head of the second sequence is assigned a first start address and subsequent devices in the second sequence are sequentially assigned subsequent device addresses in the first sequence of device addresses until all devices are assigned independent device addresses.
In any of the above technical solutions, based on a situation that all devices in any system are not powered on, the address management method further includes: determining a second starting address according to the device address corresponding to the device at the tail of the column in the second sequence; determining a second equipment address sequence by taking a second initial address as a column head according to a preset address determination rule; according to the time sequence of the power-on signals of the equipment which receives the unallocated addresses, sequencing the equipment corresponding to the power-on signals to obtain a third sequence; and sequentially allocating the equipment addresses to the equipment in the third sequence according to the third sequence and the second equipment address sequence.
In the technical scheme, if some devices are not powered on simultaneously when the system is powered on for the first time, after the device addresses are allocated to the more powered devices in the second sequence, the second start address is determined according to the device addresses of the devices located at the tail of the column. Specifically, the second start address, even if located in the second sequence column, is the next address of the device address determined according to the preset address determination rule.
And after the second initial address is determined, continuously determining a plurality of device addresses behind the second initial address according to a preset address determination rule, and obtaining a second device address sequence. And sequencing the newly electrified equipment according to the sequence of the electrifying time to obtain a third sequence. And according to the second equipment address sequence, allocating equipment addresses to the equipment in the third sequence in the same way as the first equipment address sequence.
In any of the above technical solutions, the device address is a digital address, and the address of any device in the second sequence is: in the second sequence, the sum of the number of devices preceding any one device is summed with the corresponding value of the first start address.
In this solution, the device address is a numeric address, i.e. the representation of the device address is a number or a combination of numbers. In the second sequence, the address of any one device is the sum of the number of devices preceding it, the sum of the values corresponding to the first starting address.
For example, if the first start address is "0", that is, the value corresponding to the first start address is 0, the device addresses of the devices in the 6 th sequence position in the second sequence satisfy: 0+5 is 5, i.e. the device address of the device located at the 6 th sequence position is "5".
In any of the above technical solutions, the presetting of the address determination rule specifically includes: determining an arithmetic sequence by taking the first initial address as a first item and a first preset constant as a tolerance, wherein the items in the arithmetic sequence sequentially correspond to the equipment addresses of the equipment in the second sequence; or determining an equal ratio sequence by taking the first initial address as a head term and a second preset constant as a common ratio, wherein the terms in the equal ratio sequence sequentially correspond to the equipment addresses of the equipment in the second sequence.
In this technical solution, for the case that the device address is in the form of a number or a combination of numbers, the preset address determination rule may be: and determining an arithmetic progression by taking the first initial address as a head term and a first preset constant as a tolerance, wherein the terms in the arithmetic progression sequentially correspond to the equipment addresses of the equipment in the second sequence. For example, the first starting address is "0", the first predetermined constant is "1", that is, the first entry is 0, and 1 is a tolerance, so as to determine an arithmetic progression "0, 1, 2, 3, …", and each numerical entry in the arithmetic progression is in turn used as the device address of each device in the second sequence.
The preset address determination rule may also be: and determining an equal ratio sequence by taking the first initial address as a first item and a second preset constant as a common ratio, wherein the items in the equal ratio sequence sequentially correspond to the equipment addresses of the equipment in the second sequence. For example, the first starting address is "1", the second predetermined constant is "2", that is, 1 is the first term, 2 is the common ratio to determine an equal ratio sequence "1, 2, 4, 8, …", and each number term in the equal ratio sequence is in turn used as the device address of each device in the second sequence.
In any of the above technical solutions, the method for managing device addresses of multiple systems further includes: detecting the total number of the equipment in the second sequence, and acquiring the number of the online equipment in the system; sending a device address set of the online devices to the devices based on a condition that the number of the online devices is less than the total number of the devices; and receiving prompt information which is sent by the offline device and generated based on the fact that the device address of the offline device is not in the device address set, and marking the offline device as address repeating device.
In the technical scheme, the system detects the total number of the devices in the second sequence in real time, namely the total number of the existing devices, and simultaneously acquires the number of the online devices in the system, and if the number of the online devices is smaller than the total number of the devices, the problem that part of the addresses of the devices are repeated is solved. At this time, the device address set of the devices on line is transmitted to each device. When any equipment receives the equipment address set and finds that the equipment address corresponding to the equipment is not in the equipment address set, the equipment judges that other equipment is duplicated with the equipment address of the equipment, randomly generates corresponding prompt information and sends the prompt information to a system, and the system marks the equipment as address duplication equipment.
By sending the online address set to the equipment, the equipment can automatically check whether other equipment and the equipment have address duplication, so that the problem of address duplication of the equipment can be effectively solved, and the checking efficiency is improved.
In any of the above technical solutions, the method for managing device addresses of multiple systems further includes: and controlling the address repeating equipment to send out warning information, and sending the equipment address corresponding to the address repeating equipment and the installation information of the address repeating equipment to a preset terminal.
In the technical scheme, the equipment with the repeated address is controlled to send out warning information, and the equipment address corresponding to the equipment with the repeated address and the installation information of the equipment with the repeated address are sent to the preset terminal, so that an installer can quickly locate the equipment with the repeated address, and the installation or maintenance personnel can conveniently clear faults.
A second aspect of the present invention provides an apparatus for managing device addresses of multiple systems, including: a memory configured to store a computer program; the processor is configured to execute a computer program to implement the method for managing the device addresses of multiple systems provided in any one of the above technical solutions, and therefore, the apparatus for managing the device addresses of multiple systems includes all the beneficial effects of the method for managing the device addresses of multiple systems provided in any one of the above technical solutions, which are not described herein again.
A third aspect of the present invention provides an air conditioning system comprising: an outdoor unit; the plurality of internal machines are connected with the external machine; in the above-mentioned management apparatus for device addresses of multiple systems, the management apparatus for device addresses of multiple systems is connected to the external unit and the internal unit. Therefore, the air conditioning system includes all the advantages of the management device for the device addresses of multiple systems provided in any of the above technical solutions, which are not described herein again.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for managing device addresses of multiple systems provided in any one of the above technical solutions, and therefore, the computer-readable storage medium includes all the beneficial effects of the method for managing device addresses of multiple systems provided in any one of the above technical solutions, which are not described herein again.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 illustrates a flow diagram of a method of managing device addresses for multiple systems according to one embodiment of the invention;
FIG. 2 illustrates another flow diagram of a method of managing device addresses for multiple systems according to one embodiment of the invention;
FIG. 3 illustrates yet another flow diagram of a method of managing device addresses for multiple systems in accordance with one embodiment of the invention;
FIG. 4 illustrates yet another flow diagram of a method for managing device addresses for multiple systems in accordance with one embodiment of the invention;
fig. 5 is a schematic structural diagram of a centralized control system in the method for managing device addresses of multiple systems according to an embodiment of the present invention;
FIG. 6 illustrates a flow diagram for multi-system engineering auto-addressing in one embodiment of the invention;
FIG. 7 illustrates a flow diagram for single system engineering auto-addressing in one embodiment of the invention;
FIG. 8 illustrates a control flow diagram when there is address duplication in single system engineering auto-addressing in one embodiment of the invention;
fig. 9 is a block diagram showing a configuration of a device address management apparatus for a multi-system according to an embodiment of the present invention;
fig. 10 shows a block diagram of an air conditioning system according to an embodiment of the present invention.
Detailed Description
In order that the above objects, features and advantages of the present invention can be more clearly understood, a more particular description of the invention will be rendered by reference to the appended drawings. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention, however, the present invention may be practiced in other ways than those specifically described herein, and therefore the scope of the present invention is not limited by the specific embodiments disclosed below.
A method of managing device addresses of multiple systems, a device for managing device addresses of multiple systems, an air conditioning module, and a computer-readable storage medium according to some embodiments of the present invention are described below with reference to fig. 1 to 10.
The first embodiment is as follows:
as shown in fig. 1, in an embodiment of a first aspect of the present invention, there is provided a method for managing device addresses of multiple systems, where a system is provided with multiple devices, and the method for managing addresses includes:
step S102, sequencing a plurality of systems to obtain a first sequence;
s104, sequencing the devices in the system in sequence according to the first sequence to obtain a second sequence;
and step S106, sequentially allocating the equipment addresses to the equipment according to the second sequence.
In this embodiment, a method for multi-system automatic addressing is provided. First, a plurality of installed systems are sequenced to obtain a sequence of the systems, i.e. a first sequence. After the first sequence is obtained, all the devices in the multiple systems are sequentially sequenced according to the first sequence to obtain a sequence of all online devices of all the systems which are online in the first sequence, namely a second sequence, and device addresses are sequentially allocated to all the online devices according to the second sequence.
The method for managing device addresses of multiple systems provided by the present invention is exemplified by two systems provided with a system a and a system B. The system A comprises a device A1, a device A2, a device A3 and a device A4, and the system B comprises a device B1, a device B2 and a device B3. System a and system B are first ordered to obtain a first sequence (a, B).
Here, when a plurality of systems are sorted, the sorting may be performed according to the order of the initials of the systems, or the order of the installation time of the systems.
After the first sequence (a, B) is obtained, the devices therein are further ordered to obtain a second sequence (a1, a2, A3, a4, B1, B2, B3). Here, when sorting the plurality of devices, the sorting may be performed according to the order of the factory serial numbers of the devices or the order of the installation time of the devices.
In an embodiment of the present invention, as shown in fig. 2, the step of sequentially allocating device addresses to devices according to the second sequence specifically includes:
step S202, acquiring a first starting address;
step S204, determining a first equipment address sequence by taking a first initial address as a column head according to a preset address determination rule;
and step S206, sequentially allocating the device addresses to the devices in the second sequence according to the second sequence and the first device address sequence.
When the online equipment is sequentially allocated with the equipment addresses according to the second sequence, the first starting address is firstly acquired. The first start address may be a preset start address, or an address may be manually designated by an installer as the first start address. After the first start address is determined, according to a preset address determination rule, a plurality of device addresses behind the first start address can be obtained, and a first device address sequence containing the plurality of device addresses is generated. The device at the head of the second sequence is assigned a first start address and subsequent devices in the second sequence are sequentially assigned subsequent device addresses in the first sequence of device addresses until all devices are assigned independent device addresses.
In an embodiment of the present invention, as shown in fig. 3, based on a situation that all devices in any system are not powered on, the address management method further includes:
step S302, determining a second initial address according to the device address corresponding to the device at the tail of the column in the second sequence;
step S304, determining a second equipment address sequence by taking a second initial address as a column head according to a preset address determination rule;
step S306, sorting the equipment corresponding to the power-on signal according to the time sequence of the power-on signal of the equipment which receives the unallocated address to obtain a third sequence;
and step S308, sequentially allocating the device addresses to the devices in the third sequence according to the third sequence and the second device address sequence.
Specifically, if some devices are not powered on simultaneously when the system is powered on for the first time, after the device addresses are allocated to the more powered devices in the second sequence, the second start address is determined according to the device addresses of the devices located at the tail of the column. Specifically, the second start address, even if located in the second sequence column, is the next address of the device address determined according to the preset address determination rule.
And after the second initial address is determined, continuously determining a plurality of device addresses behind the second initial address according to a preset address determination rule, and obtaining a second device address sequence. And sequencing the newly electrified equipment according to the sequence of the electrifying time to obtain a third sequence. And according to the second equipment address sequence, allocating equipment addresses to the equipment in the third sequence in the same way as the first equipment address sequence.
In one embodiment of the present invention, the device address is a numeric address, and the address of any device in the second sequence is: in the second sequence, the sum of the number of devices preceding any one device is summed with the corresponding value of the first start address.
In an embodiment of the present invention, the presetting of the address determination rule specifically includes: and determining an arithmetic progression by taking the first initial address as a head term and a first preset constant as a tolerance, wherein the terms in the arithmetic progression sequentially correspond to the equipment addresses of the equipment in the second sequence.
In an embodiment of the present invention, the presetting of the address determination rule specifically includes: and determining an equal ratio sequence by taking the first initial address as a first item and a second preset constant as a common ratio, wherein the items in the equal ratio sequence sequentially correspond to the equipment addresses of the equipment in the second sequence.
Wherein, for some embodiments, the device address is a numeric address, i.e., the device address is represented as a number or a combination of numbers. In the second sequence, the address of any one device is the sum of the number of devices preceding it, the sum of the values corresponding to the first starting address.
For example, if the first start address is "0", that is, the value corresponding to the first start address is 0, the device addresses of the devices in the 6 th sequence position in the second sequence satisfy: 0+5 is 5, i.e. the device address of the device located at the 6 th sequence position is "5".
For other embodiments, where the device address is in the form of a number or a combination of numbers, the preset address determination rule may be: and determining an arithmetic progression by taking the first initial address as a head term and a first preset constant as a tolerance, wherein the terms in the arithmetic progression sequentially correspond to the equipment addresses of the equipment in the second sequence. For example, the first starting address is "0", the first predetermined constant is "1", that is, the first entry is 0, and 1 is a tolerance, so as to determine an arithmetic progression "0, 1, 2, 3, …", and each numerical entry in the arithmetic progression is in turn used as the device address of each device in the second sequence.
For still other embodiments, for the case where the device address is in the form of a number or a combination of numbers, the preset address determination rule may further be: and determining an equal ratio sequence by taking the first initial address as a first item and a second preset constant as a common ratio, wherein the items in the equal ratio sequence sequentially correspond to the equipment addresses of the equipment in the second sequence. For example, the first starting address is "1", the second predetermined constant is "2", that is, 1 is the first term, 2 is the common ratio to determine an equal ratio sequence "1, 2, 4, 8, …", and each number term in the equal ratio sequence is in turn used as the device address of each device in the second sequence.
Specifically, the system includes the devices (a1, a2, A3, a4, B1, B2, B3), the address determination rule is an arithmetic progression, assuming that when power is first turned on, a1 and a2 in the system a are turned on, and B1 and B2 in the system B are turned on, then a second sequence is obtained: (A1, A2, B1, B2).
And obtaining a first preset initial address of 0 and a first preset constant of 1 to obtain a first device address sequence (0, 1, 2, 3).
Sequentially assigning addresses to devices in the second sequence (a1, a2, B1, B2) according to the first address sequence (0, 1, 2, 3), resulting in the following address relationship:
A1:0,A2:1,B1:2,B2:3。
after that, the power-up of the rest devices A3, a4 and B3 is continuously detected in sequence, and a third sequence (A3, a4 and B3) is obtained according to the power-up sequence.
According to the device address of device B2 at the end of the column in the second sequence: and 3, determining the second initial address to be 4 according to the arithmetic progression tolerance 1, and further determining a second device address sequence (4, 5, 6) by using the second initial address 4. In the same way, the addresses are assigned to the devices in the third sequence (A3, a4, B3), resulting in the following address relationship:
A3:4,A4:5,B3:6。
thus, a complete device address relationship is obtained:
A1:0,A2:1,B1:2,B2:3,A3:4,A4:5,B3:6。
according to the embodiment provided by the invention, the multiple devices of the multiple systems are sequenced in a multiple sequencing mode, so that all the devices of the multiple systems are positioned in the same sequence, and therefore, when the device addresses are allocated to the devices in the sequence, namely the second sequence, the problem of address repetition is avoided, an automatic address management scheme suitable for the multiple systems is realized, on one hand, manual addressing is not needed, the workload during the installation of the air conditioning system is effectively reduced, and on the other hand, the addressing efficiency and accuracy are improved.
Example two:
as shown in fig. 4, in an embodiment of the present invention, the method for managing device addresses of multiple systems further includes:
step S402, detecting the total number of the devices in the second sequence, and acquiring the number of the devices on line in the system;
step S404, based on the condition that the number of the online devices is less than the total number of the devices, sending the device address set of the online devices to the devices;
step S406, receiving a prompt message sent by the offline device and generated based on that the device address of the offline device itself is not in the device address set, and marking the offline device as an address duplication device.
In this embodiment, the system detects the total number of devices in the second sequence in real time, that is, the total number of devices present, and obtains the number of devices on line in the system at the same time, and if the number of devices on line is smaller than the total number of devices, it indicates that there may be a problem of address duplication of part of devices. At this time, the device address set of the devices on line is transmitted to each device. When any equipment receives the equipment address set and finds that the equipment address corresponding to the equipment is not in the equipment address set, the equipment judges that other equipment is duplicated with the equipment address of the equipment, randomly generates corresponding prompt information and sends the prompt information to a system, and the system marks the equipment as address duplication equipment.
By sending the online address set to the equipment, the equipment can automatically check whether other equipment and the equipment have address duplication, so that the problem of address duplication of the equipment can be effectively solved, and the checking efficiency is improved.
In an embodiment of the present invention, the method for managing device addresses of multiple systems further includes: and controlling the address repeating equipment to send out warning information, and sending the equipment address corresponding to the address repeating equipment and the installation information of the address repeating equipment to a preset terminal.
In the embodiment, the equipment with the repeated address is controlled to send out the warning information, and the equipment address corresponding to the equipment with the repeated address and the installation information of the equipment with the repeated address are sent to the preset terminal, so that an installer can quickly locate the equipment with the repeated address, and the installation or maintenance personnel can conveniently clear the fault.
Example three:
in a complete embodiment of the present invention, it is assumed that the current engineering has 4 sets of multi-online systems A, B and C, wherein the a system has a1 indoor units, the B system has B1 indoor units, the C system has C1 indoor units, a1+ B1+ C1< the maximum number of connected indoor units of the centralized controller, and the default automatic addressing start address of the outdoor unit is 0.
When addresses are allocated to the internal machines of the multi-system, the following steps are carried out:
step 1, the system A automatically addresses according to an initial address, and the address range of the internal machine of the system A is 0-a 1-1;
step 2, setting the initial address of the automatic addressing of the system B as a1, and then carrying out automatic addressing, wherein the address range of the internal machine of the system B is a 1-a 1+ B1-1;
step 3, setting the starting address of the automatic addressing of the C system as a1+ b1, and then carrying out automatic addressing, wherein the address range of the machine in the C system is a1+ b 1-a 1+ b1+ C1-1;
and 4, connecting the centralized control system to A, B and the system C, wherein the centralized control can realize the setting of the centralized control.
The structural schematic diagram of the centralized control system is shown in fig. 5.
For the scene that the indoor units are not uniformly electrified, the following conditions are also included:
after the air conditioner is installed, the outdoor unit and the N-4 indoor units are powered on, the system automatically allocates addresses, the address of the N-4 indoor units is assumed to be set to be 0, the address of the N-4 indoor units is allocated to the address from 0 to the address N-5, and after the address is allocated, the outdoor unit automatically changes the automatic addressing initial address to be N-4.
When the remaining 4 indoor units are powered on, the outdoor unit enters automatic addressing again, and addresses (N-4 to N-1) which are not allocated are allocated to the 4 rear indoor units.
For a scene with indoor set address duplication, wherein the addresses of the indoor set X and the indoor set Y are both configured to be 0, the following steps are executed:
step A, powering on an air conditioning system (N indoor units and 1 outdoor unit are powered on);
step B, the outdoor unit detects that N-2 indoor units are on line (the outdoor unit cannot be detected due to address repetition of the indoor unit A and the indoor unit B);
c, the outdoor unit informs the currently detected address of the indoor unit to the indoor unit;
and D, the indoor unit A and the indoor unit B find that the outdoor unit does not detect the address 0, and after the outdoor unit continues for a preset time (such as 1 minute), the indoor unit A and the indoor unit B display faults to remind a user that the communication of the two indoor units has problems or the addresses are repeated.
Specifically, the flow of the multisystem engineering automatic addressing is shown in fig. 6:
step S602, the system A is powered on, and an automatic addressing initial address is set to be 0;
step S604, the system a starts automatic address selection, where the internal machine address is: 0 to a 1-1;
step S606, the system B is powered on, and an automatic addressing starting address is set to be a 1;
step S608, the system B starts automatic suspension, and the internal machine address is: a1 to a1+ b 1-1;
step S610, powering on the system C, and setting the automatic addressing starting address to be a1+ b 1;
step S612, the system C starts to automatically select addresses, wherein the addresses of the internal machines are as follows: a1+ b1 to a1+ b1+ c 1-1.
The flow of single system auto-addressing is shown in fig. 7:
step S702, electrifying the system A outdoor unit and the N-4 indoor units, and setting the automatic addressing starting address to be 0;
step S704, the system A starts to automatically select the address, and the indoor unit address is as follows: 0 to N-5, updating the automatic suspension initial address of the external machine to be N-4;
step S706, remaining 4 indoor machines are electrified;
step S708, the system A carries out automatic address selection again;
step S710, the system A carries out address selection on the newly electrified indoor unit by the N-4 address;
step 712, the automatic address selection of the remaining 4 indoor units is completed, corresponding to addresses N-4 to N-1.
For single system auto-addressing, when there is address duplication, the control flow is as shown in fig. 8:
s802, the external machine counts the addresses of the online internal machines and detects that N-2 internal machines are online;
step S804, each indoor unit obtains the address of the current online indoor unit from the outdoor unit;
step S806, judging whether the address of the indoor unit is not detected to be online or not, and continuing for a preset time length; if yes, the step S808 is carried out, otherwise, the process is ended;
and step S808, controlling the indoor unit with the address not on line to alarm.
Example four:
as shown in fig. 9, in an embodiment of the present invention, an apparatus 900 for managing device addresses of multiple systems is provided, including: a memory 902 configured to store a computer program; the processor 904 is configured to execute a computer program to implement the method for managing device addresses of multiple systems provided in any one of the above technical solutions, and therefore, the apparatus 900 for managing device addresses of multiple systems includes all the beneficial effects of the method for managing device addresses of multiple systems provided in any one of the above technical solutions, which are not described herein again.
Example five:
as shown in fig. 10, in one embodiment of the present invention, there is provided an air conditioning system 1000 including: an outdoor unit 1002; a plurality of internal machines 1004, wherein the internal machines 1004 are connected with the external machine 1002; in any of the above technical solutions, the management device for the device addresses of multiple systems is connected to the external unit 1002 and the internal unit 1004. Therefore, the air conditioning system 1000 includes all the advantages of the management apparatus for the device addresses of multiple systems provided in any of the above technical solutions, which are not described herein again.
In the description of the present invention, the terms "plurality" or "a plurality" refer to two or more, and unless otherwise specifically defined, the terms "upper", "lower", and the like indicate orientations or positional relationships based on the orientations or positional relationships illustrated in the drawings, and are only for convenience in describing the present invention and simplifying the description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention; the terms "connected," "mounted," "secured," and the like are to be construed broadly and include, for example, fixed connections, removable connections, or integral connections; may be directly connected or indirectly connected through an intermediate. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
In the description of the present invention, the description of the terms "one embodiment," "some embodiments," "specific embodiments," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In the present invention, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for managing device addresses of multiple systems, wherein the system is provided with a plurality of devices, the method for managing the addresses comprises the following steps:
sorting a plurality of said systems to obtain a first sequence;
sequencing the equipment in the system in sequence according to the first sequence to obtain a second sequence;
and sequentially allocating the equipment addresses to the equipment according to the second sequence.
2. The method according to claim 1, wherein the step of sequentially assigning device addresses to the devices according to the second sequence specifically includes:
acquiring a first starting address;
determining a first equipment address sequence by taking the first initial address as a column head according to a preset address determination rule;
and sequentially allocating the equipment addresses to the equipment in the second sequence according to the second sequence and the first equipment address sequence.
3. The method for managing device addresses of multiple systems according to claim 2, wherein based on a situation that all the devices in any one of the systems are not powered on, the method for managing addresses further comprises:
determining a second starting address according to the device address corresponding to the device positioned at the tail of the column in the second sequence;
determining a second equipment address sequence by taking the second initial address as a column head according to the preset address determination rule;
according to the time sequence of the power-on signals of the equipment receiving the unallocated addresses, sorting the equipment corresponding to the power-on signals to obtain a third sequence;
and sequentially allocating the equipment addresses to the equipment in the third sequence according to the third sequence and the second equipment address sequence.
4. The method according to claim 3, wherein the device address is a numeric address, and the address of any device in the second sequence is:
in the second sequence, the sum of the numbers of the devices preceding any one of the devices is the sum of the values corresponding to the first start address.
5. The method for managing the device addresses of multiple systems according to claim 3, wherein the preset address determination rule specifically includes:
determining an arithmetic progression with the first start address as a leading entry and a first preset constant as a tolerance, wherein entries in the arithmetic progression sequentially correspond to the device addresses of the devices in the second sequence; or
And determining an equal ratio sequence by taking the first initial address as a head term and a second preset constant as a common ratio, wherein the terms in the equal ratio sequence sequentially correspond to the equipment addresses of the equipment in the second sequence.
6. The method for managing device addresses of multiple systems according to any one of claims 1 to 5, further comprising:
detecting the total number of the devices in the second sequence and acquiring the number of the devices on line in the system;
based on a number of the devices that are online being less than a total number of the devices, sending the set of device addresses of the devices that are online to the devices;
and receiving prompt information which is sent by the offline equipment and generated based on the fact that the equipment address of the offline equipment is not in the equipment address set, and marking the offline equipment as address repeating equipment.
7. The method for managing device addresses of multiple systems according to claim 6, further comprising:
and controlling the address repeating equipment to send out warning information, and sending the equipment address corresponding to the address repeating equipment and the installation information of the address repeating equipment to a preset terminal.
8. An apparatus for managing device addresses of a plurality of systems, comprising:
a memory configured to store a computer program;
a processor configured to execute the computer program to implement the method of managing device addresses for multiple systems according to any of claims 1 to 7.
9. An air conditioning system, comprising:
an outdoor unit;
the plurality of internal machines are connected with the external machine; and
the apparatus for managing device addresses of multiple systems according to claim 8, wherein the apparatus for managing device addresses of multiple systems is connected to the external unit and the internal unit.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method of managing device addresses of multiple systems according to any one of claims 1 to 7.
CN201911105846.0A 2019-11-13 2019-11-13 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium Pending CN110830338A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911105846.0A CN110830338A (en) 2019-11-13 2019-11-13 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911105846.0A CN110830338A (en) 2019-11-13 2019-11-13 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium

Publications (1)

Publication Number Publication Date
CN110830338A true CN110830338A (en) 2020-02-21

Family

ID=69554772

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911105846.0A Pending CN110830338A (en) 2019-11-13 2019-11-13 Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN110830338A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112032986A (en) * 2020-07-28 2020-12-04 四川虹美智能科技有限公司 Central air-conditioning control system and method
CN113014686A (en) * 2021-02-07 2021-06-22 上海埃斯凯变压器有限公司 Method and system for automatically addressing multiple devices and electronic device
CN114285824A (en) * 2021-12-31 2022-04-05 磐石电气(常州)有限公司 Master-slave equipment addressing method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2040010A1 (en) * 2006-07-11 2009-03-25 Daikin Industries, Ltd. Transmission apparatus for air conditioning apparatus
EP2239519A1 (en) * 2008-02-08 2010-10-13 Mitsubishi Heavy Industries, Ltd. Air conditioning system and address setting method
CN103615789A (en) * 2013-12-13 2014-03-05 青岛海信日立空调系统有限公司 Air conditioner centralized control method based on indoor unit marshalling and multi-online-air-conditioner system
CN104965473A (en) * 2015-07-22 2015-10-07 广东美的暖通设备有限公司 VRV air-conditioning system and automatic addressing method therefor based on CAN bus
CN105357714A (en) * 2015-09-24 2016-02-24 广东瑞德智能科技股份有限公司 Wireless electric appliance network and data communication method thereof
CN106101299A (en) * 2016-06-20 2016-11-09 海信(山东)空调有限公司 Method for assigning address to indoor unit and multiple on-line system
CN107249048A (en) * 2017-06-26 2017-10-13 珠海格力电器股份有限公司 Air-conditioning system and its address distribution method and device
CN107770300A (en) * 2017-10-31 2018-03-06 珠海格力电器股份有限公司 Address distribution method and device
CN108105949A (en) * 2017-12-12 2018-06-01 珠海格力电器股份有限公司 Multi-online air-conditioning system and its control method
CN110296501A (en) * 2019-07-11 2019-10-01 珠海格力电器股份有限公司 A kind of centralized management system and method for air-conditioning system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2040010A1 (en) * 2006-07-11 2009-03-25 Daikin Industries, Ltd. Transmission apparatus for air conditioning apparatus
EP2239519A1 (en) * 2008-02-08 2010-10-13 Mitsubishi Heavy Industries, Ltd. Air conditioning system and address setting method
CN103615789A (en) * 2013-12-13 2014-03-05 青岛海信日立空调系统有限公司 Air conditioner centralized control method based on indoor unit marshalling and multi-online-air-conditioner system
CN104965473A (en) * 2015-07-22 2015-10-07 广东美的暖通设备有限公司 VRV air-conditioning system and automatic addressing method therefor based on CAN bus
CN105357714A (en) * 2015-09-24 2016-02-24 广东瑞德智能科技股份有限公司 Wireless electric appliance network and data communication method thereof
CN106101299A (en) * 2016-06-20 2016-11-09 海信(山东)空调有限公司 Method for assigning address to indoor unit and multiple on-line system
CN107249048A (en) * 2017-06-26 2017-10-13 珠海格力电器股份有限公司 Air-conditioning system and its address distribution method and device
CN107770300A (en) * 2017-10-31 2018-03-06 珠海格力电器股份有限公司 Address distribution method and device
CN108105949A (en) * 2017-12-12 2018-06-01 珠海格力电器股份有限公司 Multi-online air-conditioning system and its control method
CN110296501A (en) * 2019-07-11 2019-10-01 珠海格力电器股份有限公司 A kind of centralized management system and method for air-conditioning system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
KATSUNORI SATO: "A scheduling method of air conditioner operation using workers daily action plan towards energy saving and comfort at office", 《PROCEEDINGS OF 2012 IEEE 17TH INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES & FACTORY AUTOMATION (ETFA 2012)》 *
龚英杰: "基于IPv6网络通讯技术的集群空调管控系统的设计与实现", 《中国优秀硕士学位论文全文数据库 工程科技Ⅱ辑》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112032986A (en) * 2020-07-28 2020-12-04 四川虹美智能科技有限公司 Central air-conditioning control system and method
CN113014686A (en) * 2021-02-07 2021-06-22 上海埃斯凯变压器有限公司 Method and system for automatically addressing multiple devices and electronic device
CN114285824A (en) * 2021-12-31 2022-04-05 磐石电气(常州)有限公司 Master-slave equipment addressing method

Similar Documents

Publication Publication Date Title
CN110830338A (en) Method and device for managing equipment addresses of multiple systems, air conditioner and storage medium
CN107517282B (en) Indoor unit address allocation method, storage medium and multi-online system
CN109654666B (en) Method, device and equipment for debugging unit
JP3364925B2 (en) Operation control device for air conditioner
US11336616B2 (en) Address competition method of multi-connected type control system
CN107249048B (en) Air conditioning system and address allocation method and device thereof
CN100501614C (en) Method and system for automated configuring of a HART multi-drop system
US20080185449A1 (en) Integrated management system and method using enhanced remote communication protocal for controlling multi-type air conditioners
US10120400B2 (en) Air-conditioning apparatus and remote controller power supply method
CN109639544A (en) The system and method for automatic distribution address
CN112378059A (en) Multi-split air conditioner system and automatic addressing method thereof, outdoor unit and storage medium
EP2237484B1 (en) Building equipment system and control method thereof
CN115470165A (en) Address allocation method, battery management system and electronic equipment
KR100633061B1 (en) Network system and method for assigning address
CN114484762B (en) Control method of multi-split air conditioning system, multi-split air conditioning system and electronic equipment
JP2013005374A (en) Measurement system
JP2006094102A (en) Supervisory control system, and address setting method
US20200295965A1 (en) System and method for controlling multiple serial control devices in an emergency vehicle
CN112944571A (en) Method for highly accelerating multi-split wireless networking based on internal and external machines
CN113852699A (en) System and method for automatically distributing bus address
CN112393935A (en) Air conditioner indoor unit test system
JP7019314B2 (en) Interlocking recognition device, interlocking recognition method, and interlocking recognition system
KR100792516B1 (en) Air conditioner and control method thereof
JP3005561B1 (en) Air conditioning system address setting method and device
CN115540227A (en) Equipment pairing method and air conditioning system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200221

RJ01 Rejection of invention patent application after publication