Networking method and device of air conditioner and air conditioner
The method of networking indoor units of air conditioners via Bluetooth network solves the problem of complicated communication lines between indoor and outdoor units in traditional multi-split air conditioners, simplifies the installation process, reduces maintenance costs and safety risks, and improves installation efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- QINGDAO HAIER INTELLIGENT BUILDING TECHNOLOGY CO LTD
- Filing Date
- 2024-01-11
- Publication Date
- 2026-05-19
AI Technical Summary
Traditional multi-split air conditioners have high wiring complexity in communication between indoor and outdoor units, making installation complicated and posing safety hazards. Existing high-voltage communication methods further increase the difficulty and danger of installation.
Bluetooth networking is used for data transmission between indoor units. By broadcasting search and play commands within the Bluetooth network range, the indoor units can be networked, avoiding wired communication and simplifying the installation process.
It reduces equipment maintenance costs and installation wiring requirements, improves the response speed of installation and after-sales service, and simplifies the connection lines between indoor units.
Smart Images

Figure CN120302263B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of home appliance technology, and in particular to a networking method, device and air conditioner for an air conditioner. Background Technology
[0002] In traditional multi-split air conditioning units, each outdoor unit and indoor unit need to communicate. During installation, the more indoor and outdoor units there are and the farther apart they are, the more and longer the communication lines need to be connected. The increased number of lines exacerbates the possibility of incorrect wiring, making the installation more complex. Moreover, at present, the communication between indoor and outdoor units is basically high-voltage communication, which poses certain risks. The complexity of the wiring places relatively high demands on installation and use. Summary of the Invention
[0003] This invention provides a networking method, device, and air conditioner to solve the defects of the prior art where the main outdoor unit is used as the transmission and processing unit with the indoor unit, other outdoor units are connected to the outdoor unit, and multiple indoor units communicate via bus through the outdoor unit, resulting in a complex and increased number of wiring connections.
[0004] According to a first aspect of the present invention, a networking method for an air conditioner is applied to the main indoor unit, the method comprising:
[0005] Based on the search and networking command, the indoor unit that receives the search and networking command is assigned as the main indoor unit, and the remaining indoor units are assigned as sub-indoor units. The search and networking command includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units.
[0006] Based on the search and networking command, a search and play command is generated, and the search and play command is broadcast within the Bluetooth network range. The search and play command includes at least the play order information that identifies the sub-unit.
[0007] Based on the search and play command, the search response information fed back by the sub-indoor unit is obtained, and the search result is generated and sent to the main outdoor unit according to the search response information. The search response information is the feedback information of the sub-indoor unit based on the search and play command.
[0008] According to one embodiment of the present invention, the step of generating a search-for-a-device instruction based on the search-for-device networking instruction specifically includes:
[0009] Based on the search and networking command, a search prompt command is generated and broadcast within the Bluetooth network range. The search prompt command includes a prompt message to the sub-unit indicating that it has entered the networking state and the number of the sub-units.
[0010] A search and play code is generated based on the number of sub-units, and a search and play instruction is generated based on the search and play code.
[0011] Specifically, this embodiment provides an implementation method for generating a search-to-play command based on the search-to-play network command.
[0012] According to one embodiment of the present invention, the step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes:
[0013] Obtain the random order information and sub-unit address information fed back by the search and play command based on the broadcast of the sub-unit, wherein the random order information is random identification information generated by the sub-unit according to the play order, and the sub-unit address information identifies the address of the sub-unit;
[0014] If the random order information is a unique on-demand order, lock the corresponding sub-unit and the on-demand order, and update the on-demand order search command;
[0015] If the random order information identifies at least two sub-internal units, a random order regeneration instruction is sent to the corresponding sub-internal unit based on the sub-internal unit address information.
[0016] Specifically, this embodiment provides an implementation method for generating and sending search results to the host and outdoor units based on the search response information.
[0017] According to one embodiment of the present invention, the step of updating the device search and playback command specifically includes:
[0018] Obtain the locking information of the locked sub-machine and the locked on-demand sequence;
[0019] The search and playback command is updated based on the locked sub-unit and the locking information, and the updated content includes all unlocked playback order.
[0020] Send the updated search and play command to the unlocked sub-unit, and obtain the search response information of the unlocked sub-unit.
[0021] Specifically, this embodiment provides an implementation method for updating the search and play command.
[0022] According to one embodiment of the present invention, the step of locking the corresponding sub-device when the random order information is a unique on-demand order specifically includes:
[0023] Based on the unique random sequence information, obtain the corresponding sub-internal address information of the sub-internal unit;
[0024] The address information of the outdoor unit connected to the indoor unit is determined based on the address information of the indoor unit.
[0025] The search result is generated based on the internal unit address information and the external unit address information.
[0026] Specifically, this embodiment provides an implementation method for locking the corresponding sub-machine.
[0027] According to one embodiment of the present invention, the step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes:
[0028] Based on the number of machine search response messages and the sub-internal unit address information, determine the number of online sub-internal units of the sub-internal unit;
[0029] The number of online sub-outdoor units is determined based on the search response information, wherein the search response information sent by the sub-indoor unit includes information on whether there are any online sub-outdoor units;
[0030] The search results are generated based on the number of online sub-units and the number of online sub-units.
[0031] Specifically, this embodiment provides an implementation method for generating and sending search results to the host and outdoor units based on the search response information.
[0032] According to one embodiment of the present invention, the step of generating the search result based on the number of online indoor units and the number of online outdoor units specifically includes:
[0033] Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are multi-connected units, and the number of online sub-indoor units matches the number of online sub-outdoor units, then the search result is generated;
[0034] Based on the networking information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are multi-unit systems, and it is determined that the number of online sub-indoor units does not match the number of sub-indoor units included in the search network command, then an alarm message is generated.
[0035] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online sub-indoor units and the number of online sub-outdoor units.
[0036] According to one embodiment of the present invention, the step of generating the search result based on the number of online indoor units and the number of online outdoor units specifically includes:
[0037] Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are not multi-connected units, if it is determined that the number of online sub-indoor units matches the number of online sub-outdoor units, then the search result is generated.
[0038] Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are not multi-connected units, and it is determined that the number of online sub-indoor units does not match the number of sub-outdoor units included in the search network command, then an alarm message is generated.
[0039] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online sub-indoor units and the number of online sub-outdoor units.
[0040] According to a second aspect of the present invention, a networking device for an air conditioner is applied to the main indoor unit, the device comprising:
[0041] The instruction receiving module is used to assign the indoor unit that receives the search and networking instruction as the main indoor unit and assign the remaining indoor units as sub-indoor units based on the search and networking instruction. The search and networking instruction includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units.
[0042] The instruction broadcasting module is used to generate a search and play instruction based on the search and network command, and broadcast the search and play instruction within the Bluetooth network range. The search and play instruction includes at least play order information that identifies the sub-unit.
[0043] The result generation module is used to obtain the search response information fed back by the sub-indoor unit based on the search and play command, and generate the search result to be sent to the main outdoor unit according to the search response information. The search response information is the feedback information of the sub-indoor unit based on the search and play command.
[0044] An air conditioner according to a third aspect of the present invention includes: a memory and a processor;
[0045] The memory and the processor communicate with each other via a bus;
[0046] The memory stores computer instructions that can be executed on the processor;
[0047] When the processor invokes the computer instructions, it can execute the aforementioned networking method for the air conditioner.
[0048] The above-mentioned one or more technical solutions of the present invention have at least one of the following technical effects: The networking method, device and air conditioner provided by the present invention transmit data between multiple indoor units through Bluetooth broadcasting. There is no need for wired communication between multiple indoor units, which solves the problem of complicated wiring and difficult wiring between existing air conditioner indoor units, effectively reduces equipment maintenance costs and installation wiring operation requirements, and greatly improves the installation and after-sales service response speed. Attached Figure Description
[0049] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0050] Figure 1 This is a flowchart illustrating the networking method for air conditioners provided by the present invention;
[0051] Figure 2 This is one of the schematic diagrams showing the arrangement relationship between the outdoor unit and the indoor unit of the air conditioner in the networking method of the air conditioner provided by the present invention;
[0052] Figure 3 This is the second schematic diagram showing the arrangement relationship between the outdoor and indoor units of the air conditioner in the networking method of the air conditioner provided by the present invention.
[0053] Figure 4 This is a schematic diagram of the networking device for the air conditioner provided by the present invention;
[0054] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention.
[0055] Figure label:
[0056] 100. Command receiving module; 200. Command broadcasting module; 300. Result generation module;
[0057] 810, Processor; 820, Communication interface; 830, Memory; 840, Communication bus. Detailed Implementation
[0058] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0059] The present invention will now be described in detail with reference to the accompanying drawings. The specific operation methods in the method embodiments can also be applied to the device embodiments or system embodiments. In the description of the present invention, unless otherwise stated, "at least one" includes one or more. "Multiple" refers to two or more. For example, at least one of A, B, and C includes: A existing alone, B existing alone, A and B existing simultaneously, A and C existing simultaneously, B and C existing simultaneously, and A, B, and C existing simultaneously. In the present invention, " / " means "or". For example, A / B can mean A or B. "And / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone.
[0060] The present invention will now be described in detail with reference to specific embodiments.
[0061] In some specific embodiments of the present invention, such as Figures 1 to 3 As shown, this solution provides a networking method for air conditioners, applied to the main indoor unit. The method includes:
[0062] Based on the search and networking command, the indoor unit that receives the search and networking command is assigned as the main indoor unit, and the remaining indoor units are assigned as sub-indoor units. The search and networking command includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units.
[0063] Based on the device search and networking command, a device search and playback command is generated and broadcast within the Bluetooth network range. The device search and playback command includes at least the playback order information that identifies the sub-unit.
[0064] The search results are obtained from the sub-unit's search response information based on the search response command, and the search results are generated and sent to the main outdoor unit based on the search response information. The search response information is the feedback information from the sub-unit based on the search response command.
[0065] It should be noted that existing air conditioner indoor units are connected via communication lines, which is cumbersome and difficult to install. This invention uses Bluetooth to enable communication between indoor units, reducing installation difficulty, avoiding complex wiring, and improving the efficiency of networking between the outdoor and indoor units of the air conditioner.
[0066] Furthermore, in traditional multi-split air conditioning units, one outdoor unit is designated as the main outdoor unit, and the indoor unit connected to the main outdoor unit is designated as the main indoor unit. In this invention, the indoor units connected to the main outdoor unit are designated as the main indoor units, and the remaining indoor units are designated as sub-indoor units. The system then transmits the relevant commands for searching for the units via Bluetooth network to confirm the search for the indoor units and feed back the search results to the main outdoor unit, thereby realizing a multi-split network of outdoor and indoor units.
[0067] In a possible embodiment, the search and networking command includes the networking information of the main outdoor unit. The networking information of the main outdoor unit includes the main outdoor unit's address information, the number of sub-outdoor units connected to the main outdoor unit and their address information, as well as the distribution of the main outdoor unit and sub-outdoor units. For example, the main outdoor unit and sub-outdoor units may be located in the same area, or they may be located in different areas. The information about the area settings is provided because the location of the main outdoor unit and sub-outdoor units within the area will affect the communication method between the indoor and outdoor units, i.e., multi-connection communication or non-multi-connection communication.
[0068] In a possible implementation, based on the search and networking command, the internal machine that receives the search and networking command is assigned as the main internal machine, and the remaining internal machines are assigned as sub-internal machines.
[0069] In a possible embodiment, the device search and networking command is a device search command sent by the main outdoor unit after it connects to the indoor unit. After receiving the device search and networking command, the indoor unit connected to the main outdoor unit sets itself as the main indoor unit, sets the other indoor units in the Bluetooth network as sub-indoor units, and sends subsequent device search commands.
[0070] In a possible embodiment, the device search and play command includes the play order of the sub-devices. When the main unit broadcasts within the Bluetooth network, it will use a certain play order to quickly and efficiently search for sub-devices within the Bluetooth network and confirm the network status. The play order can be a method of playing one by one according to the sub-device address information, or it can be by playing the corresponding connection location information or code. The sub-device confirms the connection location based on its own network status, location status, and connection status with the sub-external unit.
[0071] In one application scenario, monitoring and after-sales equipment can connect to the network of indoor and outdoor units via Bluetooth, avoiding the previous problem of needing to access the communication bus to view air conditioner parameters, and reducing the difficulty of later equipment maintenance and on-site problem handling.
[0072] In some possible embodiments of the present invention, the step of generating a machine search and on-demand instruction based on the machine search and networking instruction specifically includes:
[0073] Based on the device search and networking command, a device search prompt command is generated and broadcast within the Bluetooth network range. The device search prompt command includes a prompt message to the sub-unit indicating that it has entered the networking state and the number of sub-units.
[0074] The search and play code is generated based on the number of sub-units, and the search and play instruction is generated based on the search and play code.
[0075] Specifically, this embodiment provides an implementation method for generating a search and play command based on a search and network command. The sub-unit enters the network state according to the search prompt command and waits for the main unit to search for the sub-unit. The main unit determines the search and play code according to the number of sub-units and then generates a search and play command so as to play the commands one by one to all sub-units in the Bluetooth network.
[0076] In a possible embodiment, the number of sub-units is 10, and the search and on-demand codes are numbered from 1 to 10.
[0077] In a possible embodiment, the sub-unit determines the number of sub-units corresponding to the received search and play command. Although the search and play code is set according to the number of sub-units, it is not bound to the sub-unit address information. That is, at this time, the main unit only knows the specific number and play order, but it is not certain which sub-unit corresponds to number 1 or number 2. It needs to be determined according to the search response information fed back by the sub-unit.
[0078] In a possible embodiment, the device search prompt command is a prompt command issued by the master internal unit to the sub-internal unit, which is used to prompt the sub-internal unit to prepare to enter the network connection. Upon receiving the device search prompt command, the sub-internal unit enters the waiting device search state from other states.
[0079] In one application scenario, the steps of generating a device search prompt command based on the device search and networking command, and broadcasting the device search prompt command within the Bluetooth network range, specifically include:
[0080] Get the real-time status of all sub-machines;
[0081] When all internal units are in the off state, the sending of the machine search prompt command meets the preset prompt conditions.
[0082] If at least one sub-unit is in a non-power-off state and the number of times the search prompt command is sent reaches the preset number of times, then the sub-unit in the non-power-off state will be marked and removed from the Bluetooth network.
[0083] Specifically, this embodiment provides an implementation method that generates a device search prompt command based on a device search networking command and broadcasts the device search prompt command within the Bluetooth network range. During the networking process, the internal unit may be in various states, such as power-on state, running state, test state, etc. The internal unit determines that it has been assigned as a sub-internal unit according to the received device search prompt command. At the same time, regardless of the state of the sub-internal unit at this time, it is adjusted to the power-off state so that the main internal unit and the sub-internal unit can collect and play content.
[0084] It should be noted that after receiving the search prompt, the sub-unit may not switch to or remain in the off state due to network failure or its own device issues. In this case, the main unit will send the search prompt again and obtain the status of the sub-unit. If the sub-unit still does not switch to the off state after a preset number of sends, it is determined that the sub-unit cannot form a network. The sub-unit will be removed from the Bluetooth network and marked to facilitate the rapid identification of the faulty sub-unit for maintenance or troubleshooting.
[0085] In one application scenario, the main indoor unit broadcasts a search prompt command at least three times via Bluetooth network. If any sub-indoor unit is still not powered off after the three search prompt commands are broadcast, then the sub-indoor unit is removed from the Bluetooth network.
[0086] In some possible embodiments of the present invention, the step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes:
[0087] Obtain the random order information and sub-unit address information fed back by the sub-unit's broadcast-based search and play command. The random order information is a random identifier generated by the sub-unit based on the play order, and the sub-unit address information identifies the address of the sub-unit.
[0088] If the random order information is a unique on-demand order, lock the corresponding sub-unit and on-demand order, and update the on-demand order search command.
[0089] If the random sequence information identifies at least two sub-internal units, a random sequence regeneration instruction is sent to the corresponding sub-internal unit based on the sub-internal unit address information.
[0090] Specifically, this embodiment provides an implementation method for generating and sending search results to the host external unit based on search response information. The sub-unit generates random order information based on the search and play command, and sends the random order information and sub-unit address information to the host internal unit. The host internal unit locks the sub-unit that meets the conditions based on the random order information and updates the search and play command. Furthermore, if the locking conditions are not met, a random order regeneration command is generated so that the sub-unit that does not meet the locking conditions can regenerate the random order information.
[0091] It should be noted that the random order information is the order code to be played generated by the sub-unit according to the machine search and play command. For example, if there are 10 sub-units, the sub-units randomly select a code as the random order information. In this case, there may be multiple sub-units that select the same code, so this situation needs to be further processed.
[0092] In some possible embodiments of the present invention, the step of updating the device search and playback command specifically includes:
[0093] Obtain the locking information of the locked sub-unit and the locked on-demand sequence;
[0094] The search and playback instructions are updated based on the locked sub-unit and locking information, and the updated content includes all unlocked playback priority.
[0095] Send the updated search and play command to the unlocked sub-units and obtain the search response information from the unlocked sub-units.
[0096] Specifically, this embodiment provides an implementation method for updating the search and play instructions. After locking a sub-unit, the corresponding sequence of the sub-unit needs to be removed so that subsequent unlocked sub-units can be played.
[0097] In some possible embodiments of the present invention, when the random order information is a unique on-demand order, the step of locking the corresponding sub-machine specifically includes:
[0098] Based on the unique random sequence information, obtain the corresponding sub-internal address information;
[0099] The address information of the outdoor unit connected to the indoor unit is determined based on the address information of the indoor unit.
[0100] The search results are generated based on the internal and external machine address information.
[0101] Specifically, this embodiment provides an implementation method for locking the corresponding sub-internal unit. After receiving the response information from the corresponding sub-internal unit, the main internal unit counts the number of feedback from the sub-internal units, determines that the number of sub-internal units that have fed back the search response information corresponds to the number of sub-internal units identified by the search network command, and then generates the search result based on the search response information fed back by all sub-internal units.
[0102] In some possible embodiments of the present invention, the step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes:
[0103] Based on the number of machine search response messages and the address information of the sub-internal unit, determine the number of online sub-internal units.
[0104] The number of online sub-external units is determined based on the search response information, wherein the search response information sent by the internal unit includes information on whether there are any online sub-external units;
[0105] The search results are generated based on the number of online internal and external sub-units.
[0106] Specifically, this embodiment provides an implementation method for generating and sending search results to the main outdoor unit based on search response information. After the sub-indoor unit provides the corresponding search response information, the connection status of the sub-indoor unit to the sub-outdoor unit is determined, and the corresponding sub-indoor unit address information and sub-outdoor unit address information are counted to determine the connection status of the sub-indoor unit and the sub-outdoor unit, and a search result is generated. Then, the search result is sent to the sub-outdoor unit to determine the final networking of the air conditioner's indoor and outdoor units.
[0107] Furthermore, the indoor and outdoor units may be connected in a one-to-one correspondence, or there may be cases where they are not connected. Therefore, it is necessary to determine the connection status of the indoor and outdoor units, whether they are connected in a one-to-one correspondence, and whether they are connected to the nearest unit. If there is a difference from the expected connection status, adjustments are made. If the expected connection requirements are met, the networking is considered complete.
[0108] It should be noted that the data transmission and processing center is still based on the main outdoor unit, but each outdoor unit can freely choose its installation location and only needs to communicate with the nearest indoor unit, which can solve the problem of limited installation area.
[0109] In some possible embodiments of the present invention, the step of generating the machine search result based on the number of online indoor units and the number of online outdoor units specifically includes:
[0110] Based on the network information of the main outdoor unit, if the sub-outdoor and sub-indoor units are multi-connected, the number of online sub-indoor units and the number of online sub-outdoor units are matched, and then the machine search results are generated.
[0111] Based on the network information of the main outdoor unit, if the number of online sub-outdoor units and sub-indoor units is determined to be mismatched with the number of sub-indoor units included in the search network command, an alarm message will be generated.
[0112] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online indoor units and the number of online outdoor units. The indoor and outdoor units may be connected in a one-to-one correspondence, or there may be cases where they are not connected. Therefore, the connection status of the indoor and outdoor units is determined, whether it is a one-to-one correspondence, and whether it is connected to the nearest unit. If there is a difference from the expected connection status, adjustments are made. If the expected connection requirements are met, the network is considered complete.
[0113] It should be noted that multi-connection networking is mainly divided into two cases: one is multiple outdoor units connected, and the other is no multiple outdoor units connected. Depending on the connection method of the outdoor units, the acquisition of the search response information of the sub-indoor units and the generation of the corresponding search results are determined. This embodiment is based on multiple outdoor units connected.
[0114] Furthermore, based on the number of online sub-units and the number of online sub-external units, if it is determined that the number of online sub-units and the number of online sub-external units match the information identified in the network information of the main external unit, then the machine search result is generated.
[0115] Furthermore, if the number of online indoor units and the number of online outdoor units do not match the information identified in the network information of the main outdoor unit, it indicates a fault and requires troubleshooting. Based on relevant problem information, such as the mismatch in numbers, alarm information is generated to facilitate subsequent maintenance and troubleshooting.
[0116] In an application scenario, such as Figure 2 As shown, when the outdoor unit is multi-unit, the main outdoor unit and the sub-outdoor units are located in at least two installation areas. This installation method can meet the needs of users with smaller installation areas. At this time, the outdoor unit can communicate with any adjacent indoor unit. After the main outdoor unit informs the main indoor unit that the outdoor unit is multi-unit, the main indoor unit determines the connection status of the sub-indoor unit and the sub-outdoor unit based on this information.
[0117] In some possible embodiments of the present invention, the step of generating the machine search result based on the number of online indoor units and the number of online outdoor units specifically includes:
[0118] Based on the network information of the main outdoor unit, if the sub-outdoor and sub-indoor units are not multi-connected units, the number of online sub-indoor units and the number of online sub-outdoor units are matched, and then the machine search results are generated.
[0119] Based on the network information of the main outdoor unit, if the number of online sub-indoor units and sub-indoor units is not a multi-connector, and the number of online sub-indoor units does not match the number of sub-outdoor units included in the search network command, an alarm message will be generated.
[0120] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online indoor units and the number of online outdoor units. The indoor and outdoor units may be connected in a one-to-one correspondence, or there may be cases where they are not connected. Therefore, the connection status of the indoor and outdoor units is determined, whether it is a one-to-one correspondence, and whether it is connected to the nearest unit. If there is a difference from the expected connection status, adjustments are made. If the expected connection requirements are met, the network is considered complete.
[0121] It should be noted that multi-connection networking is mainly divided into two cases: one is multiple external units connected, and the other is no multiple external units connected. Depending on the connection method of the external units, the acquisition of the search response information of the sub-internal units and the generation of the corresponding search results are determined. This embodiment is based on the case where no multiple external units are connected.
[0122] Furthermore, based on the number of online sub-units and the number of online sub-external units, if it is determined that the number of online sub-units and the number of online sub-external units match the information identified in the network information of the main external unit, then the machine search result is generated.
[0123] Furthermore, if the number of online indoor units and the number of online outdoor units do not match the information identified in the network information of the main outdoor unit, it indicates a fault and requires troubleshooting. Based on relevant problem information, such as the mismatch in numbers, alarm information is generated to facilitate subsequent maintenance and troubleshooting.
[0124] In an application scenario, such as Figure 3 As shown, when the outdoor unit is not multi-unit, the main outdoor unit and the sub-outdoor unit are located in the same installation area. This installation method is suitable for situations with a large installation area. In this case, the sub-outdoor unit communicates with the indoor unit through the main outdoor unit, and the main outdoor unit transmits various data through its connection with the main indoor unit.
[0125] It should be noted that when the outdoor unit is not multi-unit, the outdoor unit may need to connect with the indoor unit to enable communication between the two. In this case, it is also necessary to obtain the address information of the sub-indoor unit and the sub-outdoor unit to ensure that the connected outdoor and indoor units meet the preset networking requirements.
[0126] Furthermore, when the outdoor unit is not multi-unit, the purpose of connecting the outdoor unit and the indoor unit is to determine the shortest distance. That is, by checking whether the connection status between the outdoor unit and the indoor unit matches the address information of the sub-indoor unit and the sub-outdoor unit obtained by the main indoor unit, and whether the proximity principle is met, it is determined whether the connection status needs to be adjusted.
[0127] In a possible implementation, if the main indoor unit informs the main indoor unit that the outdoor unit is not in a multi-connection state, the main indoor unit begins to query the connection status of each indoor and outdoor unit. For example, the main indoor unit queries sub-indoor unit 2 to see if there is a connected sub-outdoor unit, and if so, what the sub-outdoor unit's address information is. If sub-outdoor unit 2 has a sub-outdoor unit, it replies that it exists and provides the sub-outdoor unit's address information; if it does not exist, it replies that it does not exist. This process continues until all sub-indoor units have completed their on-demand playback.
[0128] In some specific embodiments of the present invention, such as Figures 1 to 4 As shown, this solution provides a networking device for an air conditioner, applied to the main indoor unit. The device includes:
[0129] The instruction receiving module 100 is used to assign the indoor unit that receives the search and networking instruction to the main indoor unit and the remaining indoor units to the sub-indoor units based on the search and networking instruction. The search and networking instruction includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units.
[0130] The instruction broadcasting module 200 is used to generate a search and play instruction based on the search and network command, and broadcast the search and play instruction within the Bluetooth network range. The search and play instruction includes at least the play order information that identifies the sub-unit.
[0131] The result generation module 300 is used to obtain the search response information fed back by the sub-indoor unit based on the search and play command, and generate the search result to be sent to the main outdoor unit based on the search response information. The search response information is the feedback information of the sub-indoor unit based on the search and play command.
[0132] The steps for generating a device search and on-demand command based on the device search and networking command may specifically include:
[0133] Based on the device search and networking command, a device search prompt command is generated and broadcast within the Bluetooth network range. The device search prompt command includes a prompt message to the sub-unit indicating that it has entered the networking state and the number of sub-units.
[0134] The search and play code is generated based on the number of sub-units, and the search and play instruction is generated based on the search and play code.
[0135] Specifically, this embodiment provides an implementation method for generating search and play commands based on search and network commands.
[0136] The steps for generating the search results to be sent to the host and outdoor units based on the search response information may specifically include:
[0137] Obtain the random order information and sub-unit address information fed back by the sub-unit's broadcast-based search and play command. The random order information is a random identifier generated by the sub-unit based on the play order, and the sub-unit address information identifies the address of the sub-unit.
[0138] If the random order information is a unique on-demand order, lock the corresponding sub-unit and on-demand order, and update the on-demand order search command.
[0139] If the random sequence information identifies at least two sub-internal units, a random sequence regeneration instruction is sent to the corresponding sub-internal unit based on the sub-internal unit address information.
[0140] Specifically, this embodiment provides an implementation method for generating and sending search results to the host and outdoor units based on search response information.
[0141] The steps to update the device search and playback instructions may include:
[0142] Obtain the locking information of the locked sub-unit and the locked on-demand sequence;
[0143] The search and playback instructions are updated based on the locked sub-unit and locking information, and the updated content includes all unlocked playback priority.
[0144] Send the updated search and play command to the unlocked sub-units and obtain the search response information from the unlocked sub-units.
[0145] Specifically, this embodiment provides an implementation method for updating the search and play command.
[0146] If the random order information is a unique on-demand order, the steps to lock the corresponding sub-unit may include:
[0147] Based on the unique random sequence information, obtain the corresponding sub-internal address information;
[0148] The address information of the outdoor unit connected to the indoor unit is determined based on the address information of the indoor unit.
[0149] The search results are generated based on the internal and external machine address information.
[0150] Specifically, this embodiment provides an implementation method for locking the corresponding sub-internal unit.
[0151] The steps for generating the search results to be sent to the host and outdoor units based on the search response information may specifically include:
[0152] Based on the number of machine search response messages and the address information of the sub-internal unit, determine the number of online sub-internal units.
[0153] The number of online sub-external units is determined based on the search response information, wherein the search response information sent by the internal unit includes information on whether there are any online sub-external units;
[0154] The search results are generated based on the number of online internal and external sub-units.
[0155] Specifically, this embodiment provides an implementation method for generating and sending search results to the host and outdoor units based on search response information.
[0156] The steps for generating machine search results based on the number of online indoor and outdoor units may specifically include:
[0157] Based on the network information of the main outdoor unit, if the sub-outdoor and sub-indoor units are multi-connected, the number of online sub-indoor units and the number of online sub-outdoor units are matched, and then the machine search results are generated.
[0158] Based on the network information of the main outdoor unit, if the number of online sub-outdoor units and sub-indoor units is determined to be mismatched with the number of sub-indoor units included in the search network command, an alarm message will be generated.
[0159] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online sub-indoor units and the number of online sub-outdoor units.
[0160] The steps for generating machine search results based on the number of online indoor and outdoor units may specifically include:
[0161] Based on the network information of the main outdoor unit, if the sub-outdoor and sub-indoor units are not multi-connected units, the number of online sub-indoor units and the number of online sub-outdoor units are matched, and then the machine search results are generated.
[0162] Based on the network information of the main outdoor unit, if the number of online sub-indoor units and sub-indoor units is not a multi-connector, and the number of online sub-indoor units does not match the number of sub-outdoor units included in the search network command, an alarm message will be generated.
[0163] Specifically, this embodiment provides an implementation method for generating machine search results based on the number of online sub-indoor units and the number of online sub-outdoor units.
[0164] In some specific embodiments of the present invention, such as Figures 1 to 4 As shown, this solution provides an air conditioner, including: a memory 810 and a processor 830; the memory 810 and the processor 830 communicate with each other through a bus; the memory 810 stores computer instructions that can be executed on the processor 830; when the processor 830 calls the computer instructions, it can execute the above-mentioned networking method of the air conditioner.
[0165] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5 As shown, the electronic device may include a processor 810, a communications interface 820, a memory 830, and a communication bus 840. The processor 810, communications interface 820, and memory 830 communicate with each other via the communication bus 840. The processor 810 can call logical instructions from the memory 830 to execute the networking method of the air conditioner.
[0166] It should be noted that the electronic device in this embodiment can be a server, a PC, or other devices, as long as its structure includes the following: Figure 5The processor 810, communication interface 820, memory 830, and communication bus 840 shown are interconnected via the communication bus 840. The processor 810 can call logical instructions stored in the memory 830 to execute the aforementioned method. This embodiment does not limit the specific implementation of the electronic device.
[0167] The server can be a single server or a group of servers. The server group can be centralized or distributed (for example, the servers can be a distributed system).
[0168] In possible embodiments, the server can be local or remote relative to the terminal. For example, the server can access information stored in the user terminal, a database, or any combination thereof via a network.
[0169] As another example, the server can directly connect to at least one of the user terminal and the database to access the information and / or data stored therein.
[0170] In possible embodiments, the server can be implemented on a cloud platform; by way of example only, the cloud platform may include private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, inter-cloud, multi-cloud, or any combination thereof.
[0171] In possible embodiments, the server and user terminal can be implemented on an electronic device having one or more components as described in the embodiments of the present invention.
[0172] Furthermore, networks can be used for the exchange of information and / or data.
[0173] In possible embodiments, one or more components in the interaction scenario (e.g., server, user terminal, and database) may send information and / or data to other components.
[0174] In possible embodiments, the network can be any type of wired or wireless network, or a combination thereof. By way of example only, the network may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), wireless local area networks (WLANs), a metropolitan area network (MAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof.
[0175] In possible embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and / or network switching nodes, through which one or more components of the interaction scenario can connect to the network to exchange data and / or information.
[0176] Furthermore, the logic instructions in the aforementioned memory 830 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0177] Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0178] In a possible embodiment, the present invention provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the networking method for the air conditioner provided in the above embodiments.
[0179] In a possible embodiment, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, and when the program instructions are executed by a computer, the computer is able to perform the methods provided in the above-described method embodiments.
[0180] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0181] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or some parts of embodiments.
[0182] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A networking method for air conditioners, characterized in that, Applied to the main internal unit, the method includes: Based on the search and networking command, the indoor unit that receives the search and networking command is assigned as the main indoor unit, and the remaining indoor units are assigned as sub-indoor units. The search and networking command includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units. Based on the search and networking command, a search and play command is generated, and the search and play command is broadcast within the Bluetooth network range. The search and play command includes at least the play order information that identifies the sub-unit. Based on the search and play command, the search response information fed back by the sub-indoor unit is obtained, and the search result is generated and sent to the main outdoor unit according to the search response information. The search response information is the feedback information of the sub-indoor unit based on the search and play command.
2. The networking method for air conditioners according to claim 1, characterized in that, The step of generating a search-for-play instruction based on the search-for-the-device networking instruction specifically includes: Based on the search and networking command, a search prompt command is generated and broadcast within the Bluetooth network range. The search prompt command includes a prompt message to the sub-unit indicating that it has entered the networking state and the number of the sub-units. A search and play code is generated based on the number of sub-units, and a search and play instruction is generated based on the search and play code.
3. The networking method for air conditioners according to claim 2, characterized in that, The step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes: Obtain the random order information and sub-unit address information fed back by the search and play command based on the broadcast of the sub-unit, wherein the random order information is random identification information generated by the sub-unit according to the play order, and the sub-unit address information identifies the address of the sub-unit; If the random order information is a unique on-demand order, lock the corresponding sub-unit and the on-demand order, and update the on-demand order search command; If the random order information identifies at least two sub-internal units, a random order regeneration instruction is sent to the corresponding sub-internal unit based on the sub-internal unit address information.
4. The networking method for air conditioners according to claim 3, characterized in that, The step of updating the device search and playback command specifically includes: Obtain the locking information of the locked sub-machine and the locked on-demand sequence; The search and playback command is updated based on the locked sub-unit and the locking information, and the updated content includes all unlocked playback order. Send the updated search and play command to the unlocked sub-unit, and obtain the search response information of the unlocked sub-unit.
5. The networking method for air conditioners according to claim 3, characterized in that, The step of locking the corresponding sub-device when the random order information is a unique on-demand order specifically includes: Based on the unique random sequence information, obtain the corresponding sub-internal address information of the sub-internal unit; The address information of the outdoor unit connected to the indoor unit is determined based on the address information of the indoor unit. The search result is generated based on the internal unit address information and the external unit address information.
6. The networking method for an air conditioner according to any one of claims 3 to 5, characterized in that, The step of generating a search result to be sent to the host / outdoor unit based on the search response information specifically includes: Based on the number of machine search response messages and the sub-internal unit address information, determine the number of online sub-internal units of the sub-internal unit; The number of online sub-outdoor units is determined based on the search response information, wherein the search response information sent by the sub-indoor unit includes information on whether there are any online sub-outdoor units; The search results are generated based on the number of online sub-units and the number of online sub-units.
7. The networking method for air conditioners according to claim 6, characterized in that, The step of generating the search results based on the number of online indoor units and the number of online outdoor units specifically includes: Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are multi-connected units, and the number of online sub-indoor units matches the number of online sub-outdoor units, then the search result is generated; Based on the networking information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are multi-unit systems, and it is determined that the number of online sub-indoor units does not match the number of sub-indoor units included in the search network command, then an alarm message is generated.
8. The networking method for air conditioners according to claim 6, characterized in that, The step of generating the search results based on the number of online indoor units and the number of online outdoor units specifically includes: Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are not multi-connected units, if it is determined that the number of online sub-indoor units matches the number of online sub-outdoor units, then the search result is generated. Based on the network information of the main outdoor unit, if the sub-outdoor unit and the sub-indoor unit are not multi-connected units, and it is determined that the number of online sub-indoor units does not match the number of sub-outdoor units included in the search network command, then an alarm message is generated.
9. A networking device for an air conditioner, characterized in that, Applied to the main indoor unit, the device includes: The instruction receiving module is used to assign the indoor unit that receives the search and networking instruction as the main indoor unit and assign the remaining indoor units as sub-indoor units based on the search and networking instruction. The search and networking instruction includes at least the networking information of the main outdoor unit, the number of sub-outdoor units, and the number of sub-indoor units connected to the sub-outdoor units. The instruction broadcasting module is used to generate a search and play instruction based on the search and network command, and broadcast the search and play instruction within the Bluetooth network range. The search and play instruction includes at least play order information that identifies the sub-unit. The result generation module is used to obtain the search response information fed back by the sub-indoor unit based on the search and play command, and generate the search result to be sent to the main outdoor unit according to the search response information. The search response information is the feedback information of the sub-indoor unit based on the search and play command.
10. An air conditioner, characterized in that, include: Memory and processor; The memory and the processor communicate with each other via a bus; The memory stores computer instructions that can be executed on the processor; When the processor invokes the computer instructions, it can execute the networking method of the air conditioner according to any one of claims 1 to 8.