Fast communication method for home appliance system, controller, home appliance system and storage medium

By using priority sorting and timing mechanisms, home appliances can proactively send response commands when they do not receive a high-priority response, thus solving the problem of long confirmation times in smart home appliance systems and achieving faster status updates and an improved user experience.

WO2026001014A1PCT designated stage Publication Date: 2026-01-02MIDEA GROUP WUHAN REFRIGERATION EQUIPMENT CO LTD +1
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/077808
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-06-28
Filing Date
2025-02-18
Publication Date
2026-01-02

AI Technical Summary

Technical Problem

Existing smart home appliance systems suffer from slow system response and poor user experience due to excessively long call confirmation and status updates when devices are powered off or the number of devices is mismatched.

Method used

Through priority sorting and timing mechanisms, home appliances proactively send response commands when they do not receive a response from a higher-priority device. The central controller calculates the target duration based on the device sequence and historical response times, thereby shortening the roll call confirmation time.

Benefits of technology

It improved the efficiency of the system's roll call, reduced the status update time, and enhanced the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025077808_02012026_PF_FP_ABST
    Figure CN2025077808_02012026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a fast communication method for a home appliance system, a controller, a home appliance system and a storage medium. The home appliance system comprises a centralized controller and a plurality of home appliance devices. The method comprises: a centralized controller sequentially sending polling commands to a plurality of home appliance devices in a preset polling order, the polling order priority of a first device being higher than that of a second device (S310); when the second device detects that the centralized controller sends a first polling command to the first device, starting timing (S320); when a timing duration reaches a target duration, and the second device does not detect a preceding response command of a preceding device during timing, the second device sending a second response command to the centralized controller, wherein the target duration is determined by means of the polling order ranking of the first device and the second device and a historical response duration of the first device (S330).
Need to check novelty before this filing date? Find Prior Art

Description

Fast communication method of home appliance system, controller, home appliance system and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] The present application claims priority to the Chinese patent application No. 202410865960.8, filed on June 28, 2024, and entitled "Fast communication method of home appliance system, controller, home appliance system and storage medium", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD

[0003] The present application relates to the technical field of home appliance system, and in particular, to a fast communication method of home appliance system, a controller, a home appliance system and a storage medium. BACKGROUND

[0004] In the related art, for a smart home appliance system composed of a central controller and multiple home appliances, after the home appliance system is powered on, the central controller needs to perform roll call to confirm the system state and update the central controller interface. For example, under the premise that the system supports up to 16 home appliances, it takes more than 20 seconds for the system to complete a round of roll call; if the system is incomplete, such as the devices in the system are powered off or the system is set to support more devices than the actual number of connected devices, the system state response is slow and the experience is poor. SUMMARY

[0005] The present application aims to at least partially solve one of the technical problems existing in the prior art. To this end, the present application proposes a fast communication method of home appliance system, a home appliance system, a computer-readable storage medium and a computer program product.

[0006] In a first aspect, embodiments of the present application provide a fast communication method of home appliance system, the home appliance system comprising a central controller and multiple home appliances, the multiple home appliances comprising a first device and a second device; the method is applied to the second device and comprises:

[0007] starting timing when the central controller is listened to sending a first roll call command to the first device, wherein the roll call sequence priority of the first device is higher than that of the second device;

[0008] sending a second answer command to the central controller when the timing duration reaches a target duration and the second device does not listen to a prior answer command of a prior device during the timing, wherein the prior device is a home appliance with a roll call sequence priority higher than the second device, and the target duration is determined by the roll call sequence ranking of the first device and the second device and the historical answer duration of the first device.

[0009] According to some embodiments of the present application, the sending of the second answering command to the central controller comprises:

[0010] The sending of the second answering command to the central controller, so that the central controller determines that the previous device is offline or in an abnormal state and determines that the second device is normal or online according to the second answering command.

[0011] According to some embodiments of the present application, after the starting of the timing, the method further comprises:

[0012] When the second device listens to the previous answering command of the previous device before the timing duration reaches the target duration, the timing duration is cleared, and the listening to the roll-call command sent by the central controller is continued.

[0013] According to some embodiments of the present application, after the continuing of the listening to the roll-call command sent by the central controller, the method further comprises:

[0014] When the second device receives the second roll-call command sent by the central controller, the sending of the second answering command to the central controller.

[0015] According to some embodiments of the present application, the second answering command and the previous answering command carry device state information and device address information.

[0016] According to some embodiments of the present application, after the sending of the second answering command to the central controller, the method further comprises:

[0017] The stopping of the listening to the roll-call command sent by the central controller and the answering command of a subsequent device, wherein the subsequent device is an electrical appliance device with a lower roll-call sequence priority than the second device.

[0018] According to some embodiments of the present application, the target duration is less than the historical answering duration of the first device, and the value of the target duration and the ranking difference between the second device and the first device are in a positive correlation.

[0019] According to some embodiments of the present application, the target duration is determined by the following steps:

[0020] The obtaining of the historical answering duration of the first device, the first roll-call sequence ranking of the first device, the second roll-call sequence ranking of the second device, and the total quantity of all the electrical appliance devices; and

[0021] The calculation of the target duration according to the historical answering duration, the first roll-call sequence ranking, the second roll-call sequence ranking, and the total quantity of the electrical appliance devices.

[0022] According to some embodiments of the present application, the target time length is calculated by the following formula:

[0023] Td=(Add2-Add1) / N*Tr, wherein the Td is the target time length, the Add2 is the second roll call order ranking, the Add1 is the first roll call order ranking, the N is the total amount of devices, and the Tr is the historical response time length.

[0024] According to some embodiments of the present application, the historical response time length is determined by the following steps:

[0025] obtaining a communication baud rate, a response data length, and a received data time; and

[0026] calculating the historical response time length according to the communication baud rate, the response data length, and the received data time, wherein the calculation formula of the historical response time length is Tr=communication baud rate*response data length+received data time.

[0027] According to some embodiments of the present application, the received data time is determined by the following steps:

[0028] obtaining the communication baud rate, a roll call data length, and a preset coefficient; and

[0029] calculating the received data time according to the communication baud rate, the roll call data length, and the preset coefficient, wherein the received data time is the product of the communication baud rate, the roll call data length, and the preset coefficient.

[0030] In a second aspect, embodiments of the present application provide a rapid communication method of a home appliance system, the home appliance system comprising a central controller and a plurality of home appliance devices, the plurality of home appliance devices comprising a first device and a second device; the method is applied to the central controller, and comprises:

[0031] sending a first roll call command to the first device; and

[0032] receiving a second response command fed back by the second device based on the first roll call command, determining that the first device is in an abnormal or offline state, and determining that the second device is in a normal or online state; wherein the second response command is generated by the second device in a case that a timing length of the first roll call command listened to by the second device reaches a target time length, and no previous response command of a previous device is listened to, the previous device is a home appliance device with a roll call order priority higher than the second device, and the target time length is determined by a roll call order ranking of the first device and the second device, and a historical response time length of the first device.

[0033] In a third aspect, embodiments of the present application provide a home appliance system, comprising a master controller and a plurality of home appliance devices, the plurality of home appliance devices comprising a first device and a second device, the second device being configured to perform the fast communication method of the home appliance system according to the first aspect, or the master controller being configured to perform the fast communication method of the home appliance system according to the second aspect.

[0034] In a fourth aspect, embodiments of the present application provide a computer readable storage medium storing computer executable instructions for performing the fast communication method of the home appliance system according to the first aspect, or performing the fast communication method of the home appliance system according to the second aspect.

[0035] In a fifth aspect, embodiments of the present application provide a computer program product comprising computer programs or computer instructions, wherein the computer programs or the computer instructions are stored in a computer readable storage medium, and a processor of a computer device reads the computer programs or the computer instructions from the computer readable storage medium, and the processor executes the computer programs or the computer instructions, so that the computer device performs the fast communication method of the home appliance system according to the first aspect, or performs the fast communication method of the home appliance system according to the second aspect.

[0036] Additional aspects and advantages of the present application will be made apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS

[0037] The accompanying drawings are included to provide a further understanding of the technical solutions of the present application, constitute a part of the specification and are used to explain the technical solutions of the present application together with the embodiments of the present application, and do not constitute a limitation on the technical solutions of the present application.

[0038] FIG. 1 is a master-slave point naming communication timing diagram of 16 home appliance devices according to the prior art;

[0039] FIG. 2 is a point naming communication timing diagram of only the 16th home appliance device being in a normal state according to the prior art;

[0040] FIG. 3 is a flow chart of a fast communication method of a home appliance system according to an embodiment of the present application;

[0041] FIG. 4 is a communication timing diagram in a case where the 1st device is abnormal and the 2nd device is normal according to an embodiment of the present application;

[0042] FIG. 5 is a communication timing diagram in a case where the 1st and 2nd devices are abnormal and the 3rd device is normal according to an embodiment of the present application;

[0043] FIG. 6 is a flowchart of a quick communication method of the home appliance system according to another embodiment of the present application;

[0044] FIG. 7 is a communication timing diagram according to an embodiment of the present application, in which the No. 1 device and the No. 2 device are normal;

[0045] FIG. 8 is a communication timing diagram according to an embodiment of the present application, in which the No. 1 device is abnormal and the No. 2 and No. 3 devices are normal;

[0046] FIG. 9 is a flowchart of a quick communication method of the home appliance system according to another embodiment of the present application;

[0047] FIG. 10 is a flowchart of a quick communication method of the home appliance system according to another embodiment of the present application;

[0048] FIG. 11 is a flowchart of a quick communication method of the home appliance system according to another embodiment of the present application;

[0049] FIG. 12 is a communication timing diagram according to an embodiment of the present application, in which only the No. 16 device is normal;

[0050] FIG. 13 is a communication timing diagram according to an embodiment of the present application, in which the No. 1, No. 3, and No. 16 devices are normal; and

[0051] FIG. 14 is a schematic diagram of a controller for performing a quick communication method of a home appliance system according to an embodiment of the present application. DETAILED DESCRIPTION

[0052] Embodiments of the present application are described in detail below with reference to the attached drawings, wherein the same or like reference numerals and signs refer to the same or like components or components having the same or similar functions throughout the several views. The embodiments described below are merely examples for the explanation of the present application and should not be understood as a limitation to the present application.

[0053] In the description of the present application, it is to be understood that, in relation to the orientation description, the orientation or position relationship indicated by, for example, up, down, front, back, left, right, etc. is based on the orientation or position relationship shown in the drawings, and is merely for the convenience of describing the present application and simplifying the description, and does not indicate or imply that the indicated device or element must have a particular orientation, be constructed and operated in a particular orientation, and therefore should not be understood as a limitation to the present application.

[0054] In the description of the present application, the meaning of several is one or more, the meaning of multiple is more than two, greater than, less than, more than, etc. are understood as not including the number, above, below, within, etc. are understood as including the number. If it is described to the first, the second is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features or implicitly indicating the order of the indicated technical features.

[0055] In the description of the present application, unless otherwise explicitly limited, the words such as setting, installing, connecting, etc. should be broadly understood, and those skilled in the art can reasonably determine the specific meaning of the above words in the present application in combination with the specific content of the technical solution.

[0056] In some cases, for a smart home appliance system composed of a central controller and a plurality of home appliances, after the home appliance system is powered on, the central controller needs to conduct a roll call to confirm the system state and update the central controller interface. For example, under the premise that the system supports up to 16 home appliances, it takes more than 20 seconds for the system to complete a round of roll call; if the system is incomplete, such as the devices in the system are powered off, or the system setting supports more devices than the actual number of connected devices, the system state response is slow to update, and the experience is poor.

[0057] For example, as shown in FIG. 1, FIG. 1 is a master-slave control roll call communication timing diagram of 16 existing home appliances; specifically, the central controller conducts a roll call from low address to high address, that is, it first sends a roll call command to the low address device, the low address device answers, and the low address completes the roll call; the central controller completes the roll call in order from low to high device address. After the roll call is completed, the device state that can be supported for connection set on the central controller will be updated to an online or offline state.

[0058] The current mechanism completes the roll call in a fixed master-slave device roll call mode. When the user sets that 16 devices can be connected on the central controller, only one of them is actually connected, and the master-slave roll call is started, the user has to wait for a long time to get the system state, and then troubleshoot the problem according to the system state.

[0059] In addition, as shown in FIG. 2, FIG. 2 is a roll call communication timing diagram of the existing only 16th home appliance in normal state; specifically, when the 1st to 15th devices have abnormalities and cannot answer, the system needs to go through 15 roll call time periods to obtain the state of the 16th device, and the response is slow to update.

[0060] Based on the above situation, the embodiments of the present application propose a fast communication method of a home appliance system, a controller, a home appliance system and a storage medium, aiming to solve the problem of poor roll call experience and slow state update caused by system abnormalities, thereby improving the roll call efficiency of the system.

[0061] The various embodiments of the home appliance system will be further described below with reference to the accompanying drawings.

[0062] In an embodiment, the home appliance system includes but is not limited to a master controller and a plurality of home appliances, wherein the master controller is connected to the plurality of home appliances in sequence. The master controller and the plurality of home appliances can form a master-slave relationship.

[0063] In addition, in an embodiment, various controllers such as sub-controllers can be provided between the master controller and the plurality of home appliances, and the master controller can be connected to the plurality of home appliances through the sub-controllers.

[0064] The master controller can send a roll call command to the plurality of home appliances in sequence according to a preset roll call order, for example, each home appliance corresponds to an address, and the master controller can roll call from a low address to a high address.

[0065] In an embodiment, the plurality of home appliances includes at least a first device and a second device, wherein the roll call order priority of the first device is higher than that of the second device, and the master controller sends a roll call command to the first device in priority.

[0066] In addition, in an embodiment, a home appliance with a roll call order priority higher than that of the second device can be defined as a first device, which includes at least the first device, and the first device can also include a third device with a roll call order priority higher than that of the second device in addition to the first device. The roll call order priority of the third device can be higher than that of the first device or lower than that of the first device.

[0067] Based on the hardware structure of the home appliance system according to the various embodiments, the various embodiments of the fast communication method of the home appliance system according to the present application are proposed below.

[0068] As shown in FIG. 3, FIG. 3 is a flowchart of the fast communication method of the home appliance system according to an embodiment of the present application. The fast communication method of the home appliance system can include but is not limited to step S310, step S320, and step S330.

[0069] In step S310, the master controller sends a roll call command to the plurality of home appliances in sequence according to a preset roll call order, wherein the roll call order priority of the first device is higher than that of the second device.

[0070] In step S320, when the second device listens to the master controller sending a first roll call command to the first device, the second device starts timing.

[0071] In step S330, the second device sends a second answering command to the controller in a case that the time length reaches the target time length and the second device does not listen to the prior answering command of the prior device during the timing, wherein the prior device is the home appliance device with the higher roll call order priority than the second device, and the target time length is determined by the roll call order ranking of the first device and the second device and the historical answering time length of the first device.

[0072] In an embodiment, after the system is powered on, the controller sends a roll call command to the multiple home appliance devices in sequence according to a preset roll call order, for example, the first device is called first, and then the second device is called. After the controller sends a first roll call command to the first device, the second device listens to the first roll call command and performs timing, and also listens to whether other devices answer during the timing. If the time length reaches the target time length, the second device still does not listen to the prior device answering the first roll call command, which indicates that the first device is abnormal, and a third device with a roll call order priority between the first device and the second device is also abnormal. In this case, the second device sends a second answering command to the controller.

[0073] It should be noted that the target time length is less than the historical answering time length of the first device, that is, when the roll call time period of the first device has not ended, the second device can answer in priority, so as to shorten the overall state updating time of the system.

[0074] It should be noted that for the home appliance system with some abnormal devices, for example, in the case that the first device is abnormal, when the prior device with a higher roll call order priority cannot answer the first roll call command of the controller, the second device with a lower roll call order priority sends a second answering command to the controller after the time length reaches the target time length, without waiting for each prior device to complete the entire roll call time period, so as to shorten the overall state updating time of the system and improve the roll call efficiency of the system. Moreover, for the home appliance system with a large number of connected home appliance devices, the roll call efficiency is more obvious.

[0075] In an embodiment, the controller determines that the prior device is in an offline or abnormal state according to the second answering command, and determines that the second device is in a normal or online state.

[0076] For the fast communication method of FIG. 3, two specific embodiments are listed below for convenience of understanding, as follows.

[0077] As shown in FIG. 4, FIG. 4 is a communication timing diagram in a case that the No. 1 device is abnormal and the No. 2 device is normal, according to an embodiment of the present application, wherein the No. 1 device corresponds to the first device, the No. 2 device corresponds to the second device, and the prior device is the No. 1 device.

[0078] Specifically, after the home appliance system is powered on, the first device will be sent a first roll-call command by the controller, and the second device will listen to the first roll-call command on the bus and count time. Then, since the first device is abnormal, the first device cannot answer, and when the second device does not listen to the first device answering the first roll-call command within a target time length, the second device will send a second answer command to the controller. In response to this, after receiving the second answer command sent by the second device, the controller will know that the first device is offline or abnormal, and the second device is normal or online.

[0079] As shown in FIG. 5, FIG. 5 is a communication timing diagram in the case that the first and second devices are abnormal and the third device is normal, according to an embodiment of the present application. In FIG. 5, the first device corresponds to the first device, the third device corresponds to the second device, and the preceding devices include the first and second devices.

[0080] Specifically, after the home appliance system is powered on, the first device will be sent a first roll-call command by the controller, and the third device will listen to the first roll-call command on the bus and count time. Then, since the first device is abnormal, the first device cannot answer, and since the second device is also abnormal, the second device cannot answer as shown in FIG. 4. When the third device does not listen to the first and second devices answering the first roll-call command within a target time length, the third device will send a second answer command to the controller. In response to this, after receiving the second answer command sent by the third device, the controller will know that the first and second devices are offline or abnormal, and the third device is normal or online.

[0081] In addition, as shown in FIG. 6, FIG. 6 is a flowchart of the fast communication method of the home appliance system, according to another embodiment of the present application. After step S320 is performed, the fast communication method of the home appliance system can further include, but is not limited to, step S610 and step S620.

[0082] In step S610, the second device listens to the preceding answer command of the preceding device before the counting time length reaches the target time length.

[0083] In step S620, the second device clears the counting time length and continues to listen to the roll-call command sent by the controller.

[0084] In an embodiment, after the system is powered on, the concentrator sends a roll call command to the plurality of home appliances in a preset roll call order, for example, the first device is rolled first, and the second device is rolled second. After the concentrator sends the first roll call command to the first device, the second device listens to the first roll call command and starts timing, and also listens to whether other devices answer during the timing. If the second device listens to the first device answering the first roll call command before the target timing duration is reached, it means that there is a normal device in the first device that has not completed the roll call process. In this case, the second device does not send a second answer command to the concentrator, and the timing duration is cleared, and the second device continues to listen to the next roll call command.

[0085] For the fast communication method of FIG. 6, two specific embodiments are listed below for easy understanding, as follows:

[0086] As shown in FIG. 7, FIG. 7 is a communication timing diagram when both the first device and the second device are normal, according to an embodiment of the present application. In FIG. 7, the first device corresponds to the first device, the second device corresponds to the second device, and the first device is the preceding device.

[0087] Specifically, after the home appliance system is powered on, the concentrator first sends a first roll call command to the first device. At the same time, the second device listens to the first roll call command on the bus and starts timing. Then, since the first device is normal, the first device answers. Therefore, the second device listens to the first device answering the first roll call command within the target timing duration. In this case, the second device does not send a second answer command to the concentrator, and the timing duration is cleared. The second device continues to listen to the next roll call command.

[0088] As shown in FIG. 8, FIG. 8 is a communication timing diagram when the first device is abnormal and the second device and the third device are normal, according to an embodiment of the present application. In FIG. 8, the first device corresponds to the first device, the third device corresponds to the second device, and the first device and the second device are the preceding devices.

[0089] Specifically, after the home appliance system is powered on, the concentrator first sends a first roll call command to the first device. At the same time, the second device and the third device listen to the first roll call command on the bus and start timing. Then, since the first device is abnormal, the first device cannot answer. However, when the second device does not listen to the first device answering the first roll call command, the second device sends an answer command to the concentrator. At this time, the third device listens to the second device answering within the target timing duration. Therefore, the third device does not send a second answer command to the concentrator, and the timing duration is cleared. The third device continues to listen to the next roll call command.

[0090] It should be noted that the target time length corresponding to the No. 2 device is less than the target time length corresponding to the No. 3 device, so that the No. 2 device can respond to answer earlier than the No. 3 device under normal circumstances, avoiding the No. 3 device directly answering the question by skipping the answer of the No. 2 device, and ensuring the execution of the roll call order.

[0091] In an embodiment, after continuing to listen to the roll call command sent by the controller, if the next roll call command is a second roll call command for the second device, when the second device receives the second roll call command sent by the controller, the second device responds to send a second answer command to the controller.

[0092] For example, as shown in FIG. 7, after the No. 2 device listens to the answer of the first roll call command within the target time length, the No. 2 device does not send a second answer command to the controller, and the timing length is cleared and the next roll call command is continued to be listened to; then, the controller sends a second roll call command to the No. 2 device, and the No. 2 device responds to answer the second answer command.

[0093] Alternatively, for example, as shown in FIG. 8, after the No. 3 device listens to the answer of the No. 2 device within the target time length, the No. 3 device does not send a second answer command to the controller, and the timing length is cleared and the next roll call command is continued to be listened to; then, since the No. 2 device answers, the controller directly skips the No. 2 device and directly sends a second roll call command to the No. 3 device, and the No. 3 device responds to answer the second answer command.

[0094] In an embodiment, the answer command of each home appliance device carries device state information and device address information, wherein the second answer command and the previous answer command in the above process both carry device state information and device address information.

[0095] The answer command of the home appliance device contains the running state information of the device, and the controller does not need to query the home appliance device multiple times. After the home appliance device receives the roll call command of the controller, if the query address of the controller is consistent with the local address of the home appliance device, the home appliance device immediately answers the local state and the local address, wherein the local state can refer to on-off, mode, wind speed, temperature, etc.

[0096] In an embodiment, after the second device sends a second answer command to the controller, the second device stops listening to the roll call command sent by the controller and the answer command of the subsequent device, wherein the subsequent device is a home appliance device with a lower priority in the roll call order than the second device.

[0097] Specifically, since the second device has already answered the central controller, continuing to listen to the central controller and the following device will only increase the communication burden, therefore, the second device will stop continuing to listen after sending the second answer command to the central controller.

[0098] In an embodiment, the target duration is less than the historical answer duration of the first device, and the value of the target duration is positively correlated with the ranking difference between the second device and the first device.

[0099] Specifically, the farther the second device is from the first device in the order of ranking, the longer the target duration corresponding to the second device will be; the closer the second device is to the first device in the order of ranking, the shorter the target duration corresponding to the second device will be.

[0100] For example, as shown in FIG. 8, the target duration corresponding to the second device is less than the target duration corresponding to the third device, so that the second device can respond to answer earlier than the third device under normal circumstances, avoiding the third device directly answering by skipping the second device, and ensuring the execution of the roll call order.

[0101] In addition, as shown in FIG. 9, which is a flowchart of a fast communication method of a home appliance system provided by another embodiment of the present application, the process of obtaining the target duration can include, but is not limited to, step S910 and step S920.

[0102] Step S910, obtaining the historical answer duration of the first device, the first roll call order ranking of the first device, the second roll call order ranking of the second device, and the total number of all home appliance devices;

[0103] Step S920, calculating the target duration according to the historical answer duration, the first roll call order ranking, the second roll call order ranking, and the total number of devices.

[0104] Specifically, since it is necessary to ensure that the home appliance device with the lowest roll call priority has the opportunity to answer within the roll call time period of the first device under the extreme condition that all the preceding home appliance devices are abnormal, the embodiment of the present application can obtain the historical answer duration of the first device and the total number of all home appliance devices, divide the historical answer duration into multiple equal or unequal interval time periods, i.e., multiple target durations, and each home appliance device with a lower roll call priority than the first device corresponds to a target duration, and the lower the roll call priority, the longer the target duration corresponding to the home appliance device. For example, the target duration corresponding to the second device is less than the target duration corresponding to the third device.

[0105] In an embodiment, the target time length is calculated by the following formula: Td=(Add2-Add1) / N*Tr, where Td is the target time length, Add2 is the second roll call order rank, Add1 is the first roll call order rank, N is the total number of devices, and Tr is the historical answering time length.

[0106] Specifically, the embodiment of the present application can obtain the historical answering time length of the first device and the total number of all home appliances, and divide the historical answering time length into multiple equal-interval time periods.

[0107] For example, when the total number of home appliances is 1, the target time length corresponding to the second device is (2-1) / 16*Tr, i.e., 1 / 16*Tr, and the target time length corresponding to the third device is (3-1) / 16*Tr, i.e., 2 / 16*Tr. Then, when the first device cannot answer abnormally, if the second device is in a normal state, the second device will answer when the timing time length reaches 1 / 16*Tr, and if the second device is in an abnormal state, the third device in a normal state will answer when the timing time length reaches 2 / 16*Tr.

[0108] In addition, as shown in FIG. 10, FIG. 10 is a flowchart of the fast communication method of the home appliance system according to another embodiment of the present application. The process of obtaining the historical answering time length can include, but is not limited to, step S1010 and step S1020.

[0109] Step S1010, obtaining the communication baud rate, the answering data length, and the receiving data time;

[0110] Step S1020, calculating the historical answering time length according to the communication baud rate, the answering data length, and the receiving data time, where the calculation formula of the historical answering time length is Tr=communication baud rate*answering data length+receiving data time.

[0111] In an embodiment, the historical answering time length includes two stages, one is a receiving data stage, and the corresponding time length is the receiving data time; the other is an answering data stage, and the corresponding time length is the answering data time. Since the answering data time is related to the answering data length, the answering data time is the product of the communication baud rate and the answering data length.

[0112] In addition, as shown in FIG. 11, FIG. 11 is a flowchart of the fast communication method of the home appliance system according to another embodiment of the present application. The process of obtaining the receiving data time can include, but is not limited to, step S1110 and step S1120.

[0113] Step S1110, obtaining the communication baud rate, the roll call data length, and a preset coefficient;

[0114] Step S1120, calculating the receiving data time according to the communication baud rate, the roll-call data length and a preset coefficient, wherein the receiving data time is the product of the communication baud rate, the roll-call data length and the preset coefficient.

[0115] In an embodiment, since the receiving data time is related to the roll-call data length, the receiving data time can be the product of the communication baud rate and the roll-call data length.

[0116] In addition, in order to ensure the complete receiving of data, a preset coefficient can be set appropriately, the preset coefficient can be greater than 1, and the receiving data time can be the product of the communication baud rate, the roll-call data length and the preset coefficient.

[0117] It can be understood that the preset coefficient can be greater than 1 as described above, and the embodiment of the present application does not limit the specific value of the preset coefficient.

[0118] Based on the fast communication method of the household appliance system of each of the above embodiments, the overall embodiment of the fast communication method of the household appliance system of the present application is proposed as follows.

[0119] In an embodiment, as shown in FIG. 12, FIG. 12 is a communication timing diagram in the case where only the 16th device is normal according to an embodiment of the present application.

[0120] Specifically, the controller connects 16 household appliances, the controller starts roll-calling from the 1st device, the 16th device receives the roll-call command of the 1st device, starts the timer to count time, and when the time reaches (16-1) / 16*Tr, the 16th device does not listen to the answer of the 1st device, and the 16th device sends an answer command of the device, after the controller receives the answer command of the 16th device, the 1st to 15th devices are set to offline or abnormal state, and the 16th device is in normal state.

[0121] In an embodiment, as shown in FIG. 13, FIG. 13 is a communication timing diagram in the case where the 1st, 3rd and 16th devices are normal according to an embodiment of the present application.

[0122] Specifically, the 1st device is connected to the system, the controller checks the 1st device, the 1st device answers, and the 3rd and 16th devices stop counting time after listening to the answer of the 1st device on the bus; the controller checks the 2nd device, the 2nd device is not connected, the 3rd and 16th devices count time, the 3rd device counts time, and when the time reaches (3-2) / 16*Tr, the 3rd device answers the controller; the 16th device stops counting time after listening to the answer of the 3rd device on the bus; the controller checks the 4th device, the 1st and 3rd devices judge that the 4th device is the slave address information and has answered, and do not count time, and the 16th device counts time, and when the time reaches (16-4) / 16*Tr, the 16th device answers the controller.

[0123] In addition, in an embodiment, the central controller sends a roll call command to the No. 1 device, the No. 3 device receives the roll call command of the No. 1 device, starts a timer to count time, and when the time is up, i.e. (3-1) / 16*Tr, the No. 3 device does not hear the response of the No. 1 device and the No. 2 device, the No. 3 device sends a response command of the No. 3 device, the central controller receives the response command of the No. 3 device, and sets the No. 1 device and the No. 2 device to offline or abnormal state, and the No. 3 device is in normal state.

[0124] In addition, in an embodiment, the central controller sends a roll call command to the No. 2 device, the No. 3 device receives the roll call command of the No. 2 device, starts a timer to count time, and when the time is up, i.e. (3-2) / 16*Tr, the No. 3 device does not hear the response of the No. 2 device, the No. 3 device sends a response command of the No. 3 device, the central controller receives the response command of the No. 3 device, and sets the No. 2 device to offline or abnormal state, and the No. 3 device is in normal state.

[0125] In addition, in an embodiment, the central controller sends a roll call command to the No. 3 device, the No. 3 device receives the roll call command of the No. 3 device, the roll call address is consistent with the No. 3 device, the No. 3 device sends a response command of the No. 3 device, the central controller receives the response command of the No. 3 device, and the No. 3 device is in normal state.

[0126] In addition, in an embodiment, the central controller sends a roll call command to the No. 4 device, the No. 16 device receives the roll call command of the No. 4 device, starts a timer to count time, and when the time is up, i.e. (16-4) / 16*Tr, the No. 16 device does not hear the response of the No. 4 device to the No. 15 device, the No. 16 device sends a response command of the No. 16 device, the central controller receives the response command of the No. 16 device, and sets the No. 4 device to offline or abnormal state, and the No. 16 device is in normal state.

[0127] Based on the above-mentioned various embodiments of the fast communication method of the household appliance system, the following respectively proposes various embodiments of the controller, the household appliance system, the computer readable storage medium and the computer program product of the present application.

[0128] As shown in FIG. 14, FIG. 14 is a schematic diagram of a controller for executing the fast communication method of the household appliance system according to an embodiment of the present application. The controller 100 according to the present application comprises a processor 110, a memory 120 and a computer program stored in the memory 120 and executable on the processor 110, wherein one processor 110 and one memory 120 are taken as an example in FIG. 14.

[0129] The processor 110 and the memory 120 can be connected through a bus or other means, and the connection through the bus is taken as an example in FIG. 14.

[0130] The memory 120, as a non-transitory computer readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 120 can include a high-speed random access memory, and can also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state memory device. In some embodiments, the memory 120 can optionally include a memory 120 that is remotely arranged relative to the processor 110, and these remote memories 120 can be connected to the controller 100 through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0131] Those skilled in the art can understand that the device structure shown in FIG. 14 does not constitute a limitation on the controller 100, and can include more or fewer components than those shown, or combine certain components, or different component arrangements.

[0132] In the controller 100 shown in FIG. 14, the processor 110 can be used to invoke the fast communication program stored in the memory 120, thereby implementing the fast communication method of the home appliance system described above. Specifically, the non-transitory software programs and instructions required to implement the fast communication method of the home appliance system of the above-mentioned embodiments are stored in the memory 120, and when executed by the processor 110, the fast communication method of the home appliance system of the above-mentioned embodiments is executed.

[0133] It is worth noting that since the controller 100 of the embodiments of the present application can execute the fast communication method of the home appliance system of any of the above-mentioned embodiments, the specific implementation and technical effects of the controller 100 of the embodiments of the present application can refer to the specific implementation and technical effects of the fast communication method of the home appliance system of any of the above-mentioned embodiments.

[0134] In addition, one embodiment of the present application also provides a home appliance system including a central controller and a plurality of home appliance devices, the plurality of home appliance devices including a first device and a second device, and the home appliance system is configured to execute the fast communication method of the home appliance system of any of the above-mentioned embodiments.

[0135] It is worth noting that since the home appliance system of the embodiments of the present application can execute the fast communication method of the home appliance system of any of the above-mentioned embodiments, the specific implementation and technical effects of the home appliance system of the embodiments of the present application can refer to the specific implementation and technical effects of the fast communication method of the home appliance system of any of the above-mentioned embodiments.

[0136] Further, an embodiment of the present application provides a computer readable storage medium storing computer executable instructions for performing the fast communication method of the home appliance system as described above. Illustratively, the method steps in FIG. 3, FIG. 6, FIG. 9 to FIG. 11 as described above are performed.

[0137] It is worth noting that since the computer readable storage medium of the embodiment of the present application is capable of performing the fast communication method of the home appliance system of any of the above embodiments, the specific implementation and technical effects of the computer readable storage medium of the embodiment of the present application can refer to the specific implementation and technical effects of the fast communication method of the home appliance system of any of the above embodiments.

[0138] Further, an embodiment of the present application provides a computer program product comprising computer programs or computer instructions stored in a computer readable storage medium, a processor of a computer device reading the computer programs or computer instructions from the computer readable storage medium, the processor executing the computer programs or computer instructions to make the computer device perform the fast communication method of the home appliance system as described above. Illustratively, the method steps in FIG. 3, FIG. 6, FIG. 9 to FIG. 11 as described above are performed.

[0139] It is worth noting that since the computer program product of the embodiment of the present application is capable of performing the fast communication method of the home appliance system of any of the above embodiments, the specific implementation and technical effects of the computer program product of the embodiment of the present application can refer to the specific implementation and technical effects of the fast communication method of the home appliance system of any of the above embodiments.

[0140] As will be appreciated by one of ordinary skill in the art, all or some of the steps, systems, etc. in the methods disclosed above can be embodied in software, firmware, hardware, and / or suitable combinations thereof. Some or all of the physical components can be implemented with software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or can be implemented as hardware, or as an integrated circuit, such as an application- specific integrated circuit. Such software can be distributed on computer readable media, which can comprise computer storage media (or non-transitory media), and communication media (or transitory media). As is well known to those of ordinary skill in the art, computer storage media includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Further, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and includes any information delivery media.

[0141] The above description is that of the preferred embodiments of the present application. Various equivalents substitutions and modifications can be conceived by those skilled in the art without departing from the spirit and scope of the present application, and such equivalents substitutions and modifications are included in the scope of the claims.

Claims

1. A fast communication method for a home appliance system, wherein, The home appliance system includes a central controller and multiple home appliances, the multiple home appliances including a first device and a second device; The method is applied to the second device and includes: When the central controller sends a first roll call command to the first device, a timer is started, wherein the roll call order priority of the first device is higher than that of the second device; and If the timing duration reaches the target duration and the second device does not receive a prior response command from the preceding device during the timing period, it sends a second response command to the central controller. The preceding device is a home appliance with a higher priority in the calling order than the second device. The target duration is determined by the calling order ranking of the first device and the second device, as well as the historical response duration of the first device.

2. The method according to claim 1, wherein, Sending the second response command to the central controller includes: A second response command is sent to the central controller, so that the central controller determines whether the prior device is offline or in an abnormal state and whether the second device is in a normal or online state based on the second response command.

3. The method according to claim 1 or 2, further comprising, after the start timing: When the second device hears the prior response command from the preceding device before the timed duration reaches the target duration, it resets the timed duration to zero and continues to listen for the roll call command sent by the central controller.

4. The method according to claim 3, further comprising, after continuing to listen to the roll call command sent by the central controller: When the second device receives the second roll call command sent by the central controller, it sends a second response command to the central controller.

5. The method according to claim 4, wherein, The second response command and the prior response command carry device status information and device address information.

6. The method according to any one of claims 1 to 5, further comprising, after sending the second response command to the central controller: Stop listening to the call-out command and the response command of the subsequent device sent by the central controller, wherein the subsequent device is a home appliance with a lower call-out priority than the second device.

7. The method according to any one of claims 1 to 6, wherein, The target duration is less than the historical response duration of the first device, and the value of the target duration is positively correlated with the ranking difference between the second device and the first device.

8. The method according to claim 7, wherein, The target duration is determined through the following steps: Obtain the historical response duration of the first device, the first ranking order of the first device, the second ranking order of the second device, and the total number of all said home appliances; as well as The target duration is calculated based on the historical response duration, the first ranking order, the second ranking order, and the total number of devices.

9. The method according to claim 8, wherein, The target duration is calculated using the following formula: Td = (Add2 - Add1) / N * Tr, where Td is the target duration, Add2 is the second ranking order of the call-to-action order, Add1 is the first ranking order of the call-to-action order, N is the total number of devices, and Tr is the duration of the historical responses.

10. The method according to claim 9, wherein, The duration of the historical responses was determined through the following steps: Obtain the communication baud rate, response data length, and data reception time; and The historical response duration is calculated based on the communication baud rate, the response data length, and the data reception time. The formula for calculating the historical response duration is: Tr = Communication baud rate * Response data length + Data reception time.

11. The method according to claim 10, wherein, The data reception time is determined through the following steps: Obtain the communication baud rate, name data length, and preset coefficient; and The data reception time is calculated based on the communication baud rate, the name data length, and the preset coefficient, wherein the data reception time is the product of the communication baud rate, the name data length, and the preset coefficient.

12. A fast communication method for a home appliance system, wherein, The home appliance system includes a central controller and multiple home appliances, the multiple home appliances including a first device and a second device; The method is applied to the central controller and includes: Send the first roll call command to the first device; and The system receives a second response command from the second device based on the first call-out command, determines that the first device is in an abnormal or offline state, and determines that the second device is in a normal or online state; wherein, the second response command is generated by the second device when the timer duration for listening to the first call-out command reaches the target duration and no prior response command from a preceding device is heard, wherein the preceding device is a home appliance with a higher call-out priority than the second device, and the target duration is determined by the call-out order ranking of the first device and the second device, and the historical response duration of the first device.

13. A home appliance system, comprising a central controller and multiple home appliances, wherein, The plurality of home appliances include a first device and a second device, wherein the second device is used to execute the fast communication method of the home appliance system as described in any one of claims 1 to 11, or the central controller is used to execute the fast communication method of the home appliance system as described in claim 12.

14. A computer-readable storage medium storing computer-executable instructions, wherein, The computer-executable instructions are used to execute the fast communication method of the home appliance system as described in any one of claims 1 to 11, or to execute the fast communication method of the home appliance system as described in claim 12.

15. A computer program product comprising a computer program or computer instructions, wherein, The computer program or the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer program or the computer instructions from the computer-readable storage medium. The processor executes the computer program or the computer instructions, causing the computer device to perform the fast communication method of the home appliance system as described in any one of claims 1 to 11, or to perform the fast communication method of the home appliance system as described in claim 12.

Citation Information

Patent Citations

  • Multi-device linkage control method and device and storage medium

    CN111143061A

  • Air conditioner communication control method and device, air conditioning unit and remote control equipment

    CN115930377A

  • Continuous addressing communication method and system, computer equipment and storage medium

    CN116723176A

  • Link device and link device communication address configuration method

    WO2022000969A1