Air conditioning communication control method, device, air conditioning unit and remote control equipment
By allowing the remote control end to be separated from the timing limitation of the main device in the air conditioning network, the remote control end becomes the main device, which solves the problem of easy failure of remote control in the air conditioning network, and improves the success rate of remote control and the efficiency of the air conditioning communication bus.
Patent Information
- Application Number
- CN202211591462.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-12
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-12-12
AI Technical Summary
Remote control in existing air conditioners is prone to failure, especially when the computer configuration is not high or stuck, which affects the user experience and leads to low efficiency of the air conditioner communication bus.
When sending a call-named data frame to the remote control end on the main device's air conditioner external unit, the remote control end first sends a shorter data frame to inform the main device that there is a control command that needs to be issued, resulting in the air conditioner external unit becoming a slave device and remote control The terminal becomes the main device, freely controlling the air conditioner unit.
It improves the success rate of remote control and the efficiency of the air conditioning communication bus, solving the problem that remote control is prone to failure.
Smart Images

Figure CN115930377B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of air conditioning, and in particular to an air conditioning communication control method, device, air conditioning unit and remote control equipment. Background Art
[0002] Commercial air conditioners usually need to remotely monitor air conditioner data, remotely control the air conditioner on and off, and remotely control the air conditioner's working mode through a computer. Usually, air conditioners use a master-slave communication method. For example, if there is an outdoor unit, an indoor unit, and a wired controller in the air conditioning network, the outdoor unit initiates the roll call, regularly calls the indoor unit, and then calls the wired controller. If remote control is required, it is agreed that the remote control device (such as a computer) will be called again, and the roll call will be repeated after a certain period of time (such as 500ms). The waiting time of 500ms is mainly due to the fact that the computer is a multi-threaded device, and there is a certain delay in receiving data, interpreting data, and replying. However, the defect of the above solution is that the efficiency of the air conditioner communication bus becomes low, and when the computer configuration is not high or is stuck, the control may fail, affecting the user experience.
[0003] With regard to the problem that remote control in air-conditioning networking is prone to failure in related technologies, no effective solution has been proposed so far. Summary of the invention
[0004] The present invention provides an air conditioning communication control method, an apparatus, an air conditioning unit and a remote control device, so as to at least solve the problem that the remote control in the air conditioning networking in the prior art is prone to failure.
[0005] To solve the above technical problems, according to one aspect of an embodiment of the present invention, an air conditioner communication control method is provided, which is applied to a main device in an air conditioner communication network, and the main device at least includes an air conditioner outdoor unit; the method includes:
[0006] Sending roll call data frames to slave devices in the air-conditioning communication network in a preset order; wherein the slave devices at least include a remote control terminal;
[0007] Receive the reply frame returned from the device;
[0008] When the reply frame is a data frame sent by the remote control terminal, judging whether the remote control terminal needs to send a control instruction to the main device according to the data frame;
[0009] If yes, stop sending roll call data frames to other slave devices and receive control instructions sent by the remote control end;
[0010] Otherwise, continue to send roll call data frames to other slave devices.
[0011] Furthermore, the slave device further includes at least one of the following: an air conditioner indoor unit, a wired controller, and a gateway; after receiving a reply frame returned from the slave device, it further includes:
[0012] When the reply frame is a data frame sent by the air conditioner indoor unit, the wired controller or the gateway, the data of the air conditioner communication network is updated according to the reply frame;
[0013] Continue to send roll call data frames to other slave devices.
[0014] Furthermore, after receiving the control instruction sent by the remote control terminal, the method further includes:
[0015] Monitoring whether a first communication frame sent by a remote control terminal is received; wherein the first communication frame is used to indicate that the control instruction has been sent;
[0016] If yes, continue to send roll call data frames to other slave devices;
[0017] Otherwise, continue to receive control instructions sent by the remote control terminal.
[0018] Furthermore, after receiving the control instruction sent by the remote control terminal, the method further includes:
[0019] Monitoring whether a second communication frame sent by the remote control terminal is received; wherein the second communication frame is used to indicate that the control instruction has not been sent completely;
[0020] If yes, continue to send roll call data frames to other slave devices;
[0021] Otherwise, continue to receive control instructions sent by the remote control terminal.
[0022] Furthermore, after continuing to send roll call data frames to other slave devices, it also includes:
[0023] After the other slave devices have completed the roll call, a handshake frame is sent to the remote control end to inform the remote control end to wait for receiving control instructions.
[0024] Furthermore, before stopping sending roll call data frames to other slave devices, the method further includes:
[0025] Send a handshake frame to the remote control end to inform the remote control end to wait for receiving control instructions.
[0026] According to another aspect of an embodiment of the present invention, there is provided an air conditioner communication control method, characterized in that it is applied to a slave device in an air conditioner communication network, and the slave device at least includes a remote control terminal; the method comprises:
[0027] Monitor whether the roll call data frame sent by the main device in the air conditioner communication network is received;
[0028] When receiving the roll call data frame, determine whether it is necessary to send a control instruction to the main device;
[0029] If yes, sending a first reply frame to the master device within a first preset time; wherein the first reply frame is used to indicate that a control instruction needs to be sent;
[0030] Otherwise, a second reply frame is sent to the master device within the first preset time; wherein the second reply frame is used to indicate that there is no need to send a control instruction.
[0031] Further, after sending the first reply frame to the master device, it also includes:
[0032] Monitor whether the handshake frame sent by the master device is received;
[0033] When a handshake frame is received, a control instruction is sent to the master device.
[0034] Furthermore, after sending the control instruction to the main device, it also includes:
[0035] Start the timer;
[0036] After the timing time reaches the second preset time, determining whether the control instruction has been sent;
[0037] If yes, a first communication frame is sent to the master device; wherein the first communication frame is used to indicate that the control instruction has been sent;
[0038] Otherwise, stop sending the control instruction and send a second communication frame to the master device; wherein the second communication frame is used to indicate that the control instruction has not been completely sent.
[0039] Further, after sending the second communication frame to the master device, the method further includes:
[0040] Monitor whether the handshake frame sent by the master device is received;
[0041] When a handshake frame is received, the unsent control instructions are sent to the master device.
[0042] According to another aspect of an embodiment of the present invention, there is provided an air conditioner communication control device, which is applied to a main device in an air conditioner communication network, wherein the main device at least includes an air conditioner outdoor unit; the device includes:
[0043] A sending module, used to send roll call data frames to slave devices in the air-conditioning communication network in a preset order; wherein the slave devices at least include a remote control terminal;
[0044] A receiving module, used to receive a reply frame returned from the device;
[0045] A first judgment module, used for judging whether the remote control terminal needs to send a control instruction to the main device according to the data frame when the reply frame is a data frame sent by the remote control terminal;
[0046] The first control module is used for, if yes, stopping sending roll call data frames to other slave devices and receiving control instructions sent by the remote control terminal;
[0047] The second control module is used for continuing to send roll call data frames to other slave devices otherwise.
[0048] According to another aspect of an embodiment of the present invention, there is provided an air conditioner communication control device, which is applied to a slave device in an air conditioner communication network, wherein the slave device at least includes a remote control terminal; the device includes:
[0049] A monitoring module is used to monitor whether a roll call data frame sent by a master device in the air conditioning communication network is received;
[0050] The second judgment module is used to judge whether it is necessary to send a control instruction to the main device when receiving the roll call data frame;
[0051] A third control module is used for sending a first reply frame to the master device within a first preset time if yes; wherein the first reply frame is used to indicate that a control instruction needs to be sent;
[0052] The fourth control module is used for, otherwise, sending a second reply frame to the master device within the first preset time; wherein the second reply frame is used to indicate that there is no need to send the control instruction.
[0053] According to another aspect of an embodiment of the present invention, an air-conditioning unit is provided, wherein an external unit of the air-conditioning unit includes the air-conditioning communication control device as described above.
[0054] According to another aspect of an embodiment of the present invention, a remote control device is provided. The remote control device includes the air conditioner communication control device as described above.
[0055] According to another aspect of the embodiments of the present invention, there is provided a storage medium comprising computer executable instructions, wherein the computer executable instructions are used to execute the air conditioner communication control method as described above when executed by a computer processor.
[0056] In the present invention, a solution for improving the success rate of remote control is provided. When the air-conditioning outdoor unit of the main device sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is control refrigeration that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, the problem of easy failure of remote control in air-conditioning networking is effectively solved, the success rate of remote control is improved, and the efficiency of the air-conditioning communication bus is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] Figure 1is an optional flow chart of an air conditioning communication control method according to an embodiment of the present invention;
[0058] Figure 2 is an optional schematic diagram of an air conditioning communication control method according to an embodiment of the present invention;
[0059] Figure 3 is another optional flow chart of the air conditioner communication control method according to an embodiment of the present invention;
[0060] Figure 4 is an optional structural block diagram of an air conditioner communication control device according to an embodiment of the present invention;
[0061] Figure 5 This is another optional structural block diagram of the air conditioner communication control device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0062] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0063] Example 1
[0064] In a preferred embodiment 1 of the present invention, an air conditioner communication control method is provided, which is applied to a main device in an air conditioner communication network, and the main device at least includes an air conditioner outdoor unit; specifically, Figure 1 An optional flow chart of the method is shown as follows: Figure 1 As shown, the method includes the following steps S102-S110:
[0065] S102: sending roll call data frames to slave devices in the air conditioner communication network in a preset order; wherein the slave devices at least include a remote control terminal;
[0066] S104: receiving a reply frame returned from the device;
[0067] S106: when the reply frame is a data frame sent by the remote control terminal, judging whether the remote control terminal needs to send a control instruction to the main device according to the data frame;
[0068] S108: If yes, stop sending roll call data frames to other slave devices and receive control instructions sent by the remote control terminal;
[0069] S110: Otherwise, continue to send roll call data frames to other slave devices.
[0070] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0071] Figure 2 An optional schematic diagram showing the air conditioning communication control method is shown, such as Figure 2 As shown, when the master device calls out the slave device, it will call out the slave device in order and sequence. The slave device also includes at least one of the following: air conditioner indoor unit, wired controller, gateway. The timing setting is mainly considered for the remote control end. For example, a computer is a multi-threaded device, which has a certain delay in receiving data, interpreting data, and replying. Therefore, it waits for a certain time after calling out the name. The waiting time is the sequence. The timing can be set to 500 milliseconds or other time to receive the reply frame sent by the remote control end. If the reply frame is sent by a slave device other than the remote control end, perform the following operations: update the data of the air conditioner communication network according to the reply frame; continue to send the calling out data frame to other slave devices.
[0072] When calling the roll to the remote control end, if the remote control end does not have a control command to send, the remote control end will send data within 500 milliseconds to inform the master device that there is no control command to send, and the master device will continue to call the roll. When calling the roll to the remote control end, if the remote control end has a control command to send, the computer remote control will send a very short frame of data within 500 milliseconds to inform the master device that there is a control command to send. After receiving the master device, it determines that the remote control end has a control command, that is, it sends a handshake frame to inform the computer remote control end, and stops calling the roll data. At this time, the master device will become a slave. The remote control end automatically switches to the host. At this time, the remote control end is no longer restricted by the master device's roll call timing and can freely send control commands.
[0073] After receiving the control instruction sent by the remote control end, it also includes: monitoring whether the first communication frame sent by the remote control end is received; wherein the first communication frame is used to indicate that the control instruction has been sent; if so, continue to send the roll call data frame to other slave devices; otherwise, continue to receive the control instruction sent by the remote control end.
[0074] If the remote control terminal can send all control commands within X seconds, it will inform the master device through the communication frame that the sending is completed. At this time, the original master device becomes the master again, and the remote control terminal becomes the slave, entering the normal working state.
[0075] Monitor whether a second communication frame sent by the remote control terminal is received; wherein the second communication frame is used to indicate that the control instruction has not been sent completely; if yes, continue to send roll call data frames to other slave devices; otherwise, continue to receive the control instruction sent by the remote control terminal. After continuing to send roll call data frames to other slave devices, it also includes: after the roll call of other slave devices is completed, send a handshake frame to the remote control terminal to inform the remote control terminal to wait for receiving the control instruction.
[0076] If the remote control terminal fails to send all control commands within X seconds, it will stop sending control commands and inform the slave device through data frames (the time is up, but the control commands have not been sent). At this time, the original master device becomes the host again, and the remote control terminal becomes the slave, entering the normal working state. At this time, the master device continues to call out other devices in the network, with the purpose of re-updating the latest data of all units in a round of networking. After the data update is completed, a handshake frame is sent to inform the computer remote control terminal and stop calling out data. At this time, the master device will become a slave, and the remote control terminal will automatically switch to the host. At this time, the remote control terminal is no longer restricted by the master device's call out timing, and will continue to send the control commands that have not been sent within X seconds.
[0077] Optionally, before stopping sending roll call data frames to other slave devices, the method further includes: sending a handshake frame to the remote control terminal to inform the remote control terminal to wait for receiving a control instruction.
[0078] The above solution can improve the efficiency of the air conditioner communication bus, and effectively solve the problem that when the computer configuration is not high or there are too many threads during freezing, the control may fail.
[0079] Example 2
[0080] In a preferred embodiment 2 of the present invention, another air conditioner communication control method is provided, which is applied to a slave device in an air conditioner communication network, and the slave device at least includes a remote control terminal; specifically, Figure 3 An optional flow chart of the method is shown as follows: Figure 3 As shown, the method includes the following steps S302-S308:
[0081] S302: monitoring whether a roll call data frame sent by a master device in the air conditioning communication network is received;
[0082] S304: upon receiving the roll call data frame, determining whether a control instruction needs to be sent to the master device;
[0083] S306: If yes, sending a first reply frame to the master device within a first preset time; wherein the first reply frame is used to indicate that a control instruction needs to be sent;
[0084] S308: Otherwise, send a second reply frame to the master device within the first preset time; wherein the second reply frame is used to indicate that there is no need to send the control instruction.
[0085] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0086] After sending the first reply frame to the master device, the method further includes: monitoring whether a handshake frame sent by the master device is received; and sending a control instruction to the master device when the handshake frame is received.
[0087] After sending the control instruction to the main device, it also includes: starting timing; after the timing time reaches a second preset time, determining whether the control instruction has been sent; if so, sending a first communication frame to the main device; wherein the first communication frame is used to indicate that the control instruction has been sent; otherwise, stopping sending the control instruction and sending a second communication frame to the main device; wherein the second communication frame is used to indicate that the control instruction has not been sent.
[0088] After sending the second communication frame to the master device, the method further includes: monitoring whether a handshake frame sent by the master device is received; when the handshake frame is received, sending the unsent control instructions to the master device.
[0089] When calling the roll to the remote control end, if the remote control end does not have a control command to send, the remote control end will send data within 500 milliseconds to inform the master device that there is no control command to send, and the master device will continue to call the roll. When calling the roll to the remote control end, if the remote control end has a control command to send, the computer remote control will send a very short frame of data within 500 milliseconds to inform the master device that there is a control command to send. After receiving the master device, it determines that the remote control end has a control command, that is, it sends a handshake frame to inform the computer remote control end, and stops calling the roll data. At this time, the master device will become a slave. The remote control end automatically switches to the host. At this time, the remote control end is no longer restricted by the master device's roll call timing and can freely send control commands.
[0090] If the remote control terminal can send all control commands within X seconds, it will inform the master device through the communication frame that the sending is completed. At this time, the original master device becomes the master again, and the remote control terminal becomes the slave, entering the normal working state.
[0091] If the remote control terminal fails to send all control commands within X seconds, it will stop sending control commands and inform the slave device through data frames (the time is up, but the control commands have not been sent). At this time, the original master device becomes the host again, and the remote control terminal becomes the slave, entering the normal working state. At this time, the master device continues to call out other devices in the network, with the purpose of re-updating the latest data of all units in a round of networking. After the data update is completed, a handshake frame is sent to inform the computer remote control terminal and stop calling out data. At this time, the master device will become a slave, and the remote control terminal will automatically switch to the host. At this time, the remote control terminal is no longer restricted by the master device's call out timing, and will continue to send the control commands that have not been sent within X seconds.
[0092] Example 3
[0093] Based on the air conditioning communication control method provided in the above embodiment 1, a preferred embodiment 3 of the present invention further provides an air conditioning communication control device, specifically, Figure 4 An optional structural block diagram of the device is shown, such as Figure 4 As shown, the device comprises:
[0094] The sending module 402 is used to send roll call data frames to slave devices in the air-conditioning communication network in a preset order; wherein the slave devices at least include a remote control terminal;
[0095] The receiving module 404 is connected to the sending module 402 and is used to receive a reply frame returned from the device;
[0096] A first judgment module 406, connected to the receiving module 404, is used to judge whether the remote control terminal needs to send a control instruction to the main device according to the data frame when the reply frame is a data frame sent by the remote control terminal;
[0097] The first control module 408 is connected to the first judgment module 406 and is used to stop sending roll call data frames to other slave devices if yes, and receive control instructions sent by the remote control terminal;
[0098] The second control module 410 is connected to the first control module 408, and is used for continuing to send roll call data frames to other slave devices otherwise.
[0099] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0100] Among them, the slave device also includes at least one of the following: an air conditioner indoor unit, a wire controller, and a gateway; the device also includes: a roll call frame, which is used to update the data of the air conditioner communication network according to the reply frame after receiving the reply frame returned by the slave device, when the reply frame is a data frame sent by the air conditioner indoor unit or the wire controller or the gateway; and continue to send roll call data frames to other slave devices.
[0101] The device also includes: a first monitoring module, which is used to monitor whether a first communication frame sent by the remote control terminal is received after receiving the control instruction sent by the remote control terminal; wherein the first communication frame is used to indicate that the control instruction has been sent; if so, continue to send roll call data frames to other slave devices; otherwise, continue to receive the control instruction sent by the remote control terminal.
[0102] And, a second monitoring module is used to monitor whether a second communication frame sent by the remote control end is received after receiving the control instruction sent by the remote control end; wherein the second communication frame is used to indicate that the control instruction has not been sent completely; if so, continue to send roll call data frames to other slave devices; otherwise, continue to receive the control instruction sent by the remote control end.
[0103] The first notification module is used to send a handshake frame to the remote control end after continuing to send roll call data frames to other slave devices and completing the roll call of other slave devices, so as to notify the remote control end to wait for receiving control instructions.
[0104] The second notification module is used to send a handshake frame to the remote control terminal before stopping sending the roll call data frame to other slave devices, so as to notify the remote control terminal to wait for receiving the control instruction.
[0105] Regarding the device in the above embodiment, the specific manner in which each unit and module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0106] Example 4
[0107] Based on the air conditioning communication control method provided in the above embodiment 2, a preferred embodiment 4 of the present invention further provides an air conditioning communication control device, specifically, Figure 5 An optional structural block diagram of the device is shown, such as Figure 5 As shown, the device comprises:
[0108] A monitoring module 502 is used to monitor whether a roll call data frame sent by a master device in the air-conditioning communication network is received;
[0109] The second judgment module 504 is connected to the monitoring module 502 and is used to judge whether it is necessary to send a control instruction to the main device when receiving the roll call data frame;
[0110] The third control module 506 is connected to the second judgment module 504, and is used to send a first reply frame to the master device within a first preset time if yes; wherein the first reply frame is used to indicate that a control instruction needs to be sent;
[0111] The fourth control module 508 is connected to the third control module 506, and is used for sending a second reply frame to the master device within the first preset time otherwise; wherein the second reply frame is used to indicate that the control instruction does not need to be sent.
[0112] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0113] The device also includes: a third monitoring module, which is used to monitor whether a handshake frame sent by the main device is received after sending a first reply frame to the main device; when the handshake frame is received, send a control instruction to the main device.
[0114] The fourth monitoring module is used to start timing after sending a control instruction to the main device; after the timing time reaches a second preset time, determine whether the control instruction has been sent; if so, send a first communication frame to the main device; wherein the first communication frame is used to indicate that the control instruction has been sent; otherwise, stop sending the control instruction and send a second communication frame to the main device; wherein the second communication frame is used to indicate that the control instruction has not been sent.
[0115] The fifth monitoring module is used to monitor whether a handshake frame sent by the main device is received after sending the second communication frame to the main device; when the handshake frame is received, the unsent control instruction is sent to the main device.
[0116] Regarding the device in the above embodiment, the specific manner in which each unit and module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0117] Example 5
[0118] Based on the air conditioning communication control device provided in the above-mentioned embodiment 3, in a preferred embodiment 5 of the present invention, an air conditioning unit is further provided, and the external unit of the air conditioning unit includes the air conditioning communication control device as in the above-mentioned embodiment 3.
[0119] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0120] Example 6
[0121] Based on the air conditioning communication control device provided in the above-mentioned embodiment 4, a remote control device is further provided in a preferred embodiment 6 of the present invention, including the air conditioning communication control device as in the above-mentioned embodiment 4.
[0122] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0123] Example 7
[0124] Based on the air conditioning communication control method provided in the above-mentioned embodiments 1-2, a storage medium containing computer executable instructions is also provided in a preferred embodiment 7 of the present invention. When the computer executable instructions are executed by a computer processor, they are used to execute the air conditioning communication control method such as the above-mentioned embodiment 1 or embodiment 2.
[0125] In the above implementation, a solution for improving the success rate of remote control is provided. When the main device, the air-conditioning outdoor unit, sends roll call data to the remote control terminal, the remote control terminal will first send a shorter data frame to inform the main device that there is refrigeration control that needs to be sent. At this time, the air-conditioning outdoor unit will become a slave device to be called, and the remote control terminal will become the master device. After the remote control terminal becomes the master device, it is no longer affected by the slow response of the computer device and the timing of the air-conditioning unit, and can freely control the air-conditioning unit. Therefore, it effectively solves the problem of easy failure of remote control in air-conditioning networking, improves the success rate of remote control, and at the same time improves the efficiency of the air-conditioning communication bus.
[0126] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not invented by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0127] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. An air conditioning communication control method, characterized in that: The method is applied to a main device in an air-conditioning communication network, wherein the main device at least includes an air-conditioning outdoor unit; and the method includes: Sending roll call data frames to slave devices in the air-conditioning communication network in a preset order; wherein the slave devices at least include a remote control terminal; receiving a reply frame returned by the slave device; When the reply frame is a data frame sent by the remote control terminal, judging whether the remote control terminal needs to send a control instruction to the master device according to the data frame; wherein the remote control terminal becomes the master device when sending the data frame, and the master device in the air conditioner communication network becomes the slave device; If yes, stop sending the roll call data frame to other slave devices and receive the control command sent by the remote control terminal; Otherwise, continue to send the roll call data frame to other slave devices.
2. The method according to claim 1, characterized in that The slave device further comprises at least one of the following: an air conditioner indoor unit, a wired controller, and a gateway; after receiving a reply frame returned by the slave device, the slave device further comprises: When the reply frame is a data frame sent by the air conditioner indoor unit, the wire controller or the gateway, updating the data of the air conditioner communication network according to the reply frame; Continue to send the roll call data frame to other slave devices.
3. The method according to claim 1, characterized in that After receiving the control instruction sent by the remote control terminal, the method further includes: Monitoring whether a first communication frame sent by the remote control terminal is received; wherein the first communication frame is used to indicate that the control instruction has been sent; If yes, continue to send the roll call data frame to other slave devices; Otherwise, continue to receive the control instruction sent by the remote control terminal.
4. The method according to claim 2, characterized in that: After receiving the control instruction sent by the remote control terminal, the method further includes: monitoring whether a second communication frame sent by the remote control terminal is received; wherein the second communication frame is used to indicate that the control instruction has not been sent completely; If yes, continue to send the roll call data frame to other slave devices; Otherwise, continue to receive the control instruction sent by the remote control terminal.
5. The method according to claim 4, characterized in that After continuing to send the roll call data frame to other slave devices, the method further includes: After the roll call of the other slave devices is completed, a handshake frame is sent to the remote control terminal to inform the remote control terminal to wait for receiving the control instruction.
6. The method according to claim 1, characterized in that Before stopping sending the roll call data frame to other slave devices, the method further includes: A handshake frame is sent to the remote control terminal to inform the remote control terminal to wait for receiving the control instruction.
7. An air conditioning communication control method, characterized in that: The method is applied to a slave device in an air-conditioning communication network, wherein the slave device at least includes a remote control terminal; the method includes: Monitoring whether a roll call data frame sent by a master device in the air conditioning communication network is received; Upon receiving the roll call data frame, determining whether a control instruction needs to be sent to the master device; If yes, a first reply frame is sent to the master device within a first preset time; wherein the first reply frame is used to indicate that a control instruction needs to be sent; wherein the remote control terminal becomes the master device when sending the first reply frame, and the master device in the air conditioner communication network becomes the slave device; Otherwise, a second reply frame is sent to the master device within the first preset time; wherein the second reply frame is used to indicate that there is no need to send a control instruction.
8. The method according to claim 7, characterized in that After sending the first reply frame to the master device, the method further includes: Monitor whether a handshake frame sent by the master device is received; When the handshake frame is received, the control instruction is sent to the master device.
9. The method according to claim 8, characterized in that After sending the control instruction to the master device, the method further includes: Start the timer; After the timing time reaches a second preset time, determining whether the control instruction has been sent; If yes, sending a first communication frame to the master device; wherein the first communication frame is used to indicate that the control instruction has been sent; Otherwise, stop sending the control instruction and send a second communication frame to the master device; wherein the second communication frame is used to indicate that the control instruction has not been completely sent.
10. The method according to claim 9, characterized in that After sending the second communication frame to the master device, the method further includes: Monitor whether a handshake frame sent by the master device is received; When the handshake frame is received, the unsent control instruction is sent to the master device.
11. An air conditioning communication control device, characterized in that: The main device used in the air conditioner communication network includes at least an air conditioner outdoor unit; the device includes: A sending module, used for sending roll call data frames to slave devices in the air-conditioning communication network in a preset order; wherein the slave devices at least include a remote control terminal; A receiving module, used for receiving a reply frame returned by the slave device; A first judgment module is used to judge whether the remote control terminal needs to send a control instruction to the master device according to the data frame when the reply frame is a data frame sent by the remote control terminal; wherein the remote control terminal becomes the master device when sending the data frame, and the master device in the air conditioner communication network becomes the slave device; A first control module, configured to, if yes, stop sending the roll call data frame to the other slave devices, and receive a control instruction sent by the remote control terminal; The second control module is used for continuing to send the roll call data frame to other slave devices otherwise.
12. An air conditioning communication control device, characterized in that: The slave device is applied to the air conditioner communication network, and the slave device at least includes a remote control terminal; the device includes: A monitoring module, used for monitoring whether a roll call data frame sent by a master device in the air-conditioning communication network is received; A second judgment module is used to judge whether it is necessary to send a control instruction to the master device when receiving the roll call data frame; A third control module is used for, if yes, sending a first reply frame to the master device within a first preset time; wherein the first reply frame is used to indicate that a control instruction needs to be sent; wherein the remote control terminal becomes the master device when sending the first reply frame, and the master device in the air conditioning communication network becomes the slave device; The fourth control module is used for, otherwise, sending a second reply frame to the master device within the first preset time; wherein the second reply frame is used to indicate that there is no need to send a control instruction.
13. An air conditioning unit, characterized in that: The external unit of the air-conditioning unit includes the air-conditioning communication control device as claimed in claim 11.
14. A remote control device, characterized in that: The remote control device comprises the air conditioning communication control apparatus as claimed in claim 12.
15. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the air conditioning communication control method according to any one of claims 1 to 6 or 7 to 10 when executed by a computer processor.
