An information interaction method and device, an air conditioner, and a storage medium

By setting voltage and current detection and amplification modules on the main unit and sub-unit of the air conditioner, detecting communication conditions and using an electric suction device, the problem of information exchange failure caused by contact deformation is solved, and reliable information interaction and secure connection are achieved.

CN115560436BActive Publication Date: 2025-10-17FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110749942.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-02
Publication Date
2025-10-17
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

Prolonged plugging and unplugging operations cause the air conditioner's contacts to deform, resulting in failure of information interaction.

Method used

By setting voltage and current detection modules and amplification modules on the host and slave, the output voltage and current of the communication socket are detected and ensured to meet the communication conditions. An electric suction device is used to ensure that the slave cannot be unplugged when powered. A single-line half-duplex communication method is adopted to reduce the risk of alignment failure.

Benefits of technology

It realizes reliable information exchange between the host and the slave, avoids information exchange failure caused by connection failure, and improves security and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115560436B_ABST
    Figure CN115560436B_ABST
Patent Text Reader

Abstract

The application discloses an information interaction method and device, an air conditioner and a storage medium. The air conditioner comprises a host and a slave. A first communication socket on the host comprises a first communication socket, and a second communication socket on the slave opposite to the host comprises a second communication socket. The method comprises the following steps: determining that the slave is installed in place on the host, determining that the voltage and current of any one of the communication sockets meet the communication condition when the first communication socket is connected with the second communication socket, and controlling the host to send a first instruction to the slave through the information transmission line formed by the two communication sockets. The slave generates response information in response to the first instruction, and the host controls the slave to send the response information through the information transmission line. In this way, the first communication socket on the host is in contact with the second communication socket on the slave, and when the output voltage and current of any one of the communication sockets meet the communication condition, the information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conduction state, and the information interaction between the host and the slave can be successfully realized.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to electronic information technology, and in particular to an information interaction method and device, an air conditioner, and a storage medium. BACKGROUND

[0002] With the improvement of living standards, people have higher and higher demands for air quality. In addition to basic functions such as cooling and heating, air conditioners also need to integrate other functions, such as oxygen production function, humidity detection function, etc. Because of the different environments in which users use air conditioners, users have different demands for various quality indicators of air. Therefore, different additional function modules are designed to be easily plugged into air conditioners, so that users can configure additional function modules according to their functional needs. However, long-term plugging and unplugging operations can easily deform the contacts, resulting in information interaction failure. SUMMARY

[0003] To solve the above technical problems, the present application provides an information interaction method and device, an air conditioner, and a storage medium.

[0004] The technical solution of the present application is implemented as follows:

[0005] In a first aspect, an information interaction method is provided, applied to an air conditioner. The air conditioner includes a host and a slave. The host includes a first socket, and the slave includes a second socket corresponding to the first socket. The first socket includes a first communication socket, and the second socket includes a second communication socket. The method includes the following steps:

[0006] When it is determined that the slave is installed in place on the host, and it is determined that the output voltage and output current of any one of the communication sockets meet the communication condition when the first communication socket and the second communication socket are connected, a first instruction is sent to the slave through an information transmission line composed of the first communication socket and the second communication socket.

[0007] The slave generates response information in response to the first instruction, and the host receives the response information sent by the slave through the information transmission line.

[0008] In the scheme, the first socket further comprises a first power supply socket, and the second socket further comprises a second power supply socket; the first communication socket is connected with a first voltage and current detection module, and the second communication socket is connected with a second voltage and current detection module; after determining that the slave machine is installed in place on the host machine, the method further comprises: controlling the host machine to supply power to the slave machine through the first power supply socket and the second power supply socket; controlling the host machine to send a first self-check signal to the first voltage and current detection module, and detecting whether the output voltage and output current of the first communication socket meet the communication condition by using the first voltage and current detection module; or, controlling the slave machine to send a second self-check signal to the second voltage and current detection module, and detecting whether the output voltage and output current of the second communication socket meet the communication condition by using the second voltage and current detection module.

[0009] In the scheme, the communication condition comprises: the output voltage of the first communication socket is greater than a preset voltage threshold, and the output current is greater than a preset current threshold; or, the output voltage of the second communication socket is greater than the preset voltage threshold, and the output current is greater than the preset current threshold.

[0010] In the scheme, a first voltage and current amplification module is connected in series between the output end of the host machine and the first voltage and current detection module, and a second voltage and current amplification module is connected in series between the output end of the slave machine and the second voltage and current detection module; the first voltage and current amplification module is used to amplify the output voltage and output current of the host machine, so that the output voltage of the first communication socket is greater than the preset voltage threshold, and the output current of the first communication socket is greater than the preset current threshold; the second voltage and current amplification module is used to amplify the output voltage and output current of the slave machine, so that the output voltage of the second communication socket is greater than the preset voltage threshold, and the output current of the second communication socket is greater than the preset current threshold.

[0011] In the scheme, the host machine further comprises an electrically operated suction device, and the slave machine further comprises a suction head corresponding to the electrically operated suction device; or, the slave machine further comprises the electrically operated suction device, and the host machine further comprises the suction head corresponding to the electrically operated suction device; the method further comprises: controlling the electrically operated suction device to be in a closed state, so as to ensure that the slave machine cannot be pulled out of the host machine in a live condition.

[0012] In the scheme, if the response information is fault information or shutdown information, the method further comprises: controlling the host machine to stop supplying power to the slave machine through the first power supply socket and the second power supply socket.

[0013] In the scheme, after the power supply to the slave machine is stopped, the method further comprises: the slave machine performs a discharging operation, and when it is determined that the discharging time of the slave machine is greater than a preset time threshold, the electrically attracted device is controlled to be in an open state.

[0014] In the scheme, before it is determined that the slave machine is installed in place on the host machine, the method further comprises: when the host machine receives a second instruction, the second instruction is responded to, and it is detected whether the slave machine is installed in place on the host machine.

[0015] In the scheme, the host machine further comprises a first switch and a second switch, the first switch is a panel switch of the host machine, and the open and close states of the first switch represent whether the slave machine is covered by the panel of the host machine; the open and close states of the second switch represent whether the slave machine is inserted into the installation cavity of the host machine; the detection of whether the slave machine is installed in place on the host machine comprises: detection of whether the first switch and the second switch are both in a closed state; if both are in the closed state, it is determined that the slave machine is installed in place on the host machine; if any one switch is in an open state, it is determined that the slave machine is not installed in place on the host machine.

[0016] In the scheme, the method further comprises: when the host machine receives a shutdown instruction or detects that the first switch is in an open state, the host machine is controlled to send the shutdown instruction to the slave machine through the information transmission line; the slave machine responds to the shutdown instruction and returns corresponding shutdown information to the host machine through the information transmission line; and the host machine is controlled to control the slave machine to be in an inoperative state based on the shutdown information.

[0017] In the scheme, the communication mode of the information transmission line is a single-wire half-duplex communication mode.

[0018] In a second aspect, an information interaction device is provided, which is applied to an air conditioner, and the air conditioner comprises a host machine and a slave machine, the host machine comprises a first socket, and the slave machine comprises a second socket corresponding to the first socket; wherein the first socket comprises a first communication socket, and the second socket comprises a second communication socket; the device comprises:

[0019] A determination unit is configured to determine whether the slave machine is installed in place on the host machine, and when it is determined that the output voltage and the output current of any one communication socket meet a communication condition when the first communication socket and the second communication socket are connected, the host machine is controlled to send a first instruction to the slave machine through an information transmission line composed of the first communication socket and the second communication socket.

[0020] The control unit is configured to control the host to receive the response information sent by the slave through the information transmission line in response to the first instruction.

[0021] In a third aspect, an air conditioner is provided, comprising a processor and a memory configured to store a computer program capable of running on the processor, wherein the processor is configured to execute the steps of the foregoing method when running the computer program.

[0022] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program, wherein the computer program is executed by a processor to implement the steps of the foregoing method.

[0023] With the above technical solution, when the output voltage and current of any communication socket meet the communication condition, the information transmission line composed of the first communication socket and the second communication socket is ensured to be in a conductive state, and the information interaction between the host and the slave can be successfully realized, avoiding the information interaction failure caused by the connection failure of the host and the slave. BRIEF DESCRIPTION OF DRAWINGS

[0024] Figure 1 The first flowchart of the information interaction method in the embodiment of the present application is shown in the figure.

[0025] Figure 2 The structure diagram of the air conditioner in the embodiment of the present application is shown in the figure.

[0026] Figure 3 The structure diagram of the first voltage and current amplification circuit and the second voltage and current amplification circuit in the embodiment of the present application is shown in the figure.

[0027] Figure 4 The second flowchart of the information interaction method in the embodiment of the present application is shown in the figure.

[0028] Figure 5 The external interface diagram of the oxygen generating device in the embodiment of the present application is shown in the figure.

[0029] Figure 6 The control structure diagram of the oxygen generating device in the embodiment of the present application is shown in the figure.

[0030] Figure 7 The third flowchart of the information interaction method in the embodiment of the present application is shown in the figure.

[0031] Figure 8 The structure diagram of the information interaction device in the embodiment of the present application is shown in the figure.

[0032] Figure 9 The structure diagram of the air conditioner in the embodiment of the present application is shown in the figure. DETAILED DESCRIPTION

[0033] In order to enable more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below with reference to the accompanying drawings, which are only used for reference and do not limit the embodiments of the present application.

[0034] The embodiments of the present application provide an information interaction method, Figure 1 The first flowchart of the information interaction method in the embodiments of the present application is shown in FIG. 1.

[0035] Figure 1 The information interaction method shown in the embodiments of the present application is applied to an air conditioner, which includes a main machine and a sub-machine. The main machine includes a first socket, and the sub-machine includes a second socket corresponding to the first socket. In this regard, the present application provides an air conditioner structure diagram, Figure 2 The air conditioner structure diagram in the embodiments of the present application is shown in FIG. 2. Figure 2 As shown in FIG. 2, the air conditioner structure includes an upper air conditioner main component and a lower extended function component. The upper air conditioner main component implements basic functions of the air conditioner such as refrigeration and heating. The lower extended function component includes a lower air duct air inlet side part and an upper air duct air outlet side part. The air duct cavities of the upper air duct and the lower air duct are connected. The lower air duct air inlet side part includes an air inlet valve assembly. The upper air duct air outlet side part includes an installation cavity (including the first socket) of one or more sub-machines (which can also be referred to as plug-in function modules) and an air outlet valve assembly. The sub-machines can be pushed into and pulled out of the installation cavity structure in a drawer-like manner (plug and play). After the multiple sub-machines are inserted, they share the air duct. Exemplarily, the sub-machines at least include a HEPA filter screen device, an ion generator device, a humidifying device, or an oxygen generating device. The HEPA filter screen device is used to remove fine particulate matter (including fine particulate matter with a diameter of less than 2.5 microns) in the air. The ion generator device generates negative ions by using a high-voltage transformer to step up the power frequency voltage to the required voltage and releases the negative ions into the air to purify the air. The humidifying device can increase the moisture content in the air to make the air humid. The oxygen generating device can increase the oxygen content in the air to increase the oxygen content of the blood of the human body when breathing, so that the human body is in a better mental state.

[0036] As shown in FIG. 3, the specific steps of the information interaction method can include: Figure 1

[0037] Step 101: When it is determined that the sub-machine is installed in place on the main machine, and it is determined that the output voltage and the output current of any one of the communication sockets meet the communication condition when the first communication socket and the second communication socket are connected, the main machine sends a first instruction to the sub-machine through the information transmission line composed of the first communication socket and the second communication socket.

[0038] Here, the first socket on the main machine includes the first communication socket, and the second socket on the sub-machine includes the second communication socket.

[0039] ​It should be noted that when the first communication socket on the host is connected with the second communication socket on the slave machine, there is a contact resistance (including a shrinkage resistance and a film layer resistance) at the connecting contact. After a long time of plugging and unplugging operation, the connecting contact will be deformed, and it can also be oxidized due to environmental pollution, resulting in an increase in the contact resistance, and a situation that the film layer resistance cannot be broken through can occur, thereby causing a situation of information interaction failure. In order to avoid the situation of information interaction failure, the present application determines whether the output voltage and the output current of the first communication socket or the second communication socket satisfy the communication condition when the first communication socket is connected with the second communication socket after the slave machine is installed in place on the host, and determines that the film layer resistance is directly broken through when the first communication socket is connected with the second communication socket when the communication condition is satisfied, so as to ensure that the host and the slave machine can interact information. Conversely, when the communication condition is not satisfied, the film layer resistance cannot be broken through when the first communication socket is connected with the second communication socket, that is, the host and the slave machine cannot interact information.

[0040] In some embodiments, the first socket further comprises a first power supply socket, and the second socket further comprises a second power supply socket; the first communication socket is connected with the first voltage and current detection module, and the second communication socket is connected with the second voltage and current detection module; after the slave machine is installed in place on the host, the method further comprises: controlling the host to supply power to the slave machine through the first power supply socket and the second power supply socket; controlling the host to send a first self-check signal to the first voltage and current detection module, and detecting whether the output voltage and the output current of the first communication socket satisfy the communication condition by using the first voltage and current detection module; or, controlling the slave machine to send a second self-check signal to the second voltage and current detection module, and detecting whether the output voltage and the output current of the second communication socket satisfy the communication condition by using the second voltage and current detection module.

[0041] That is, the first voltage and current detection module is installed on the host side, and whether the output voltage and the output current of the first communication socket satisfy the communication condition is detected by using the first voltage and current detection module. When the communication condition is satisfied, it is indicated that the host and the slave machine can interact information. Here, the host can send instruction information (i.e., the first instruction mentioned above) to the slave machine through the information transmission line composed of the first communication socket and the second communication socket.

[0042] Or, the second voltage and current detection module is installed on the slave machine side, and whether the output voltage and the output current of the second communication socket satisfy the communication condition is detected by using the second voltage and current detection module. When the communication condition is satisfied, it is indicated that the host and the slave machine can interact information. Here, the host can send instruction information (i.e., the first instruction mentioned above) to the slave machine through the information transmission line composed of the first communication socket and the second communication socket.

[0043] For example, when the slave machine is an oxygen generating device, the first instruction can be an oxygen generating instruction.

[0044] In some embodiments, the communication condition comprises: the output voltage of the first communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value; or, the output voltage of the second communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value.

[0045] Here, the preset voltage threshold value is a voltage allowable value of the contact resistance, and the preset current threshold value is a current allowable value of the contact resistance.

[0046] That is, the output voltage of the first communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value, or, the output voltage of the second communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value, the first communication jack and the second communication jack are in contact with the film layer resistance, and the normal interaction of information between the host and the slave is ensured.

[0047] In some embodiments, the output end of the host is connected with the first voltage and current detection module in series, and the output end of the slave is connected with the second voltage and current detection module in series; wherein the first voltage and current amplification module is used to amplify the output voltage and the output current of the host, so that the output voltage of the first communication jack is greater than a preset voltage threshold value, and the output current of the first communication jack is greater than a preset current threshold value; the second voltage and current amplification module is used to amplify the output voltage and the output current of the slave, so that the output voltage of the second communication jack is greater than a preset voltage threshold value, and the output current of the second communication jack is greater than a preset current threshold value.

[0048] In practical application, because the output voltage and the output current of the host, and the output voltage and the output current of the slave are too low to break through the film layer resistance, the first voltage and current amplification module is connected to the output end of the host, and the second voltage and current amplification module is connected to the output end of the slave, so as to use the first voltage and current amplification module to amplify the output voltage of the host to be greater than a preset voltage threshold value and to amplify the output current of the host to be greater than a preset current threshold value, and use the second voltage and current amplification module to amplify the output voltage of the slave to be greater than a preset voltage threshold value and to amplify the output current of the slave to be greater than a preset current threshold value, so that the first communication jack and the second communication jack are in contact with the film layer resistance, so as to ensure that the host and the slave can interact information.

[0049] Step 102: the slave generates response information in response to the first instruction, and controls the host to receive the response information sent by the slave through the information transmission line.

[0050] In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.

[0051] It should be noted that the general information interaction includes 4 lines, namely the VCC power line, the RXD receiving line, the TXD sending line and the GND ground line, the more signal bits, the more the structure design and installation errors affect the possibility of alignment failure of the socket. In order to reduce the risk of alignment failure, the RXD receiving line, the TXD sending line and the GND ground line are shared in one line, that is, the information interaction is adjusted from 4 lines to 2 lines (including the power supply socket and the communication socket), so as to reduce the risk of alignment failure. Among them, the power supply socket and the communication socket can be set as single-hole alignment, and can also be set as spring type, magnetic type docking.

[0052] Specifically, the host and the slave machine are set to adopt a single-wire half-duplex communication mode, which refers to a single-wire half-duplex communication mode that can switch direction, that is, the host to the slave machine (corresponding to step 101) and the slave machine to the host (corresponding to step 102) are both based on a single-wire half-duplex communication mode to send information through the same information transmission line.

[0053] For example, when the slave machine is an oxygen generating device and the first instruction is an oxygen generating instruction, the host sends the oxygen generating instruction to the slave machine until the slave machine responds to the oxygen generating instruction, and the slave machine sends the response information corresponding to the oxygen generating instruction to the host through the information transmission line. When the host receives the response information, the host stops sending the oxygen generating instruction to the slave machine. When the first instruction is a stop instruction, the host sends the stop instruction to the slave machine, the slave machine responds to the stop instruction, and the slave machine sends the stop information to the host through the information transmission line. When the host receives the stop information, the host stops supplying power to the slave machine.

[0054] Here, the execution subject of steps 101 to 102 can be the processor of the information interaction device.

[0055] By using the above technical solution, when the first communication socket on the host and the second communication socket on the slave machine are in contact and the output voltage and current of any communication socket meet the communication condition, it is ensured that the information transmission line composed of the first communication socket and the second communication socket is in a conduction state, and the information interaction between the host and the slave machine can be successfully realized, avoiding the information interaction failure caused by the connection failure of the host and the slave machine.

[0056] The above embodiments point out that due to the low voltage and current at the output terminals of the host and sub-machine, the contact resistance may not be broken down, resulting in the failure of information exchange. The present application installs corresponding voltage and current amplification modules on both the host and sub-machine. It also points out that in order to ensure the correct information exchange, by installing corresponding voltage and current detection modules on either the host or the sub-machine, the correctness of the information exchange between the host and the sub-machine can be guaranteed when the voltage and current detection modules are used to detect that the output voltage and output current of the communication socket meet the communication conditions. In this regard, the present application provides a first voltage and current amplification circuit for the first voltage and current amplification module on the host, and a second voltage and current amplification circuit for the second voltage and current amplification module on the sub-machine. Figure 3 This is a schematic diagram of the structure of the first voltage-current amplifier circuit and the second voltage-current amplifier circuit in the embodiment of the present application, wherein: Figure 3 In the embodiment, a first voltage and current detection module is installed on the host, or a second voltage and current detection module is installed on the slave (schematic diagram is not shown here).

[0057] Here, before the circuit structure is specifically described, it should be noted that in the above embodiment, the RXD receiving line, the TXD transmitting line and the GND ground line are on the same line, that is, they share a communication socket, corresponding to Figure 3 The CN1 end of the host (i.e. the first communication socket) and the CN2 end of the slave (i.e. the second communication socket).

[0058] like Figure 3 As shown, taking the first output voltage of the host as 5V and the second output voltage of the slave as 5V as an example, they are amplified to 12V by the first voltage-current amplifying circuit and the second voltage-current amplifying circuit respectively, and the current in the circuit is also amplified. The first voltage-current detection module is used to detect that the amplified voltage of 12V is greater than the preset voltage threshold at the connecting contact between CN1 and CN2, and the amplified current is greater than the preset current threshold at the connecting contact between CN1 and CN2, so the membrane resistance can be directly broken down to achieve normal information interaction between the host and the slave.

[0059] The first voltage and current amplifying circuit corresponding to the host includes a first sub-circuit (i.e., an information receiving circuit) and a second sub-circuit (i.e., an information sending circuit); the second voltage and current amplifying circuit corresponding to the slave includes a third sub-circuit (i.e., an information receiving circuit) and a fourth sub-circuit (i.e., an information sending circuit); that is, when the host sends information to the slave, the host sends the information via the second sub-circuit, and the slave receives the information via the third sub-circuit; when the slave sends information to the host, the slave sends the information via the fourth sub-circuit, and the host receives the information via the first sub-circuit.

[0060] Specifically, the first sub-circuit is a corresponding circuit when the host receives information sent by the slave, and specifically comprises resistors R10, R14, R15, R16, transistors NPN5, NPN6 and a diode D4, and is connected in the following manner: the negative electrode of D4 is connected to the 1 port of CN1 through the first voltage and current detection module, the positive electrode of D4 is connected to the collector of NPN5 through R10, the emitter of NPN5 is grounded through R16, the base of NPN5 is connected to a 5V output voltage through R14, the collector of NPN6 is connected to a 5V output voltage through R15 and is also connected to KT-RXD (i.e. a receiving information port), the base of NPN6 is connected to the emitter of NPN5, and the emitter of NPN6 is grounded.

[0061] The second sub-circuit is a corresponding circuit when the host sends information to the slave, and specifically comprises resistors R9, R11, R12, R13, transistors NPN4, PNP2 and a diode D3, and is connected in the following manner: the negative electrode of D3 is connected to the 1 port of CN1 through the first voltage and current detection module, the positive electrode of D3 is connected to the collector of PNP2 through R9, the emitter of PNP2 is connected to a 12V voltage source and is also connected to its base through R11, the base of PNP2 is connected to the collector of NPN4 through R12, the base of NPN4 is connected to a 5V output voltage through R13, and the emitter of NPN4 is connected to KT-TXD (i.e. a sending information port).

[0062] The third sub-circuit is a corresponding circuit when the slave receives information sent by the host, and specifically comprises resistors R5, R6, R7, R8, transistors NPN2, NPN3 and a diode D2, and is connected in the following manner: the negative electrode of D2 is connected to the 1 port of CN1, the positive electrode of D2 is connected to the collector of NPN2 through R5, the emitter of NPN2 is grounded through R7, the base of NPN2 is connected to a 5V output voltage through R6, the collector of NPN3 is connected to a 5V output voltage through R8 and is also connected to ZY-RXD (i.e. a receiving information port), the base of NPN3 is connected to the emitter of NPN2, and the emitter of NPN3 is grounded.

[0063] The fourth sub-circuit is a corresponding circuit when the slave sends information to the host, and specifically comprises resistors R1, R2, R3, R4, transistors NPN1, PNP1 and a diode D1, and is connected in the following manner: the negative electrode of D1 is connected to the 1 port of CN1, the positive electrode of D1 is connected to the collector of PNP1 through R4, the emitter of PNP1 is connected to a 12V voltage source and is also connected to its base through R3, the base of PNP1 is connected to the collector of NPN1 through R2, the base of NPN1 is connected to a 5V output voltage through R1, and the emitter of NPN1 is connected to ZY-TXD (i.e. a sending information port).

[0064] It should be noted that, Figure 3The first voltage and current amplification circuit and the second voltage and current amplification circuit shown in the above embodiment are only example circuits, and other circuits capable of achieving the above functions can also be used.

[0065] Based on the above embodiment, the application further provides an information interaction method, Figure 4 FIG. 2 is a second flowchart of the information interaction method in the embodiment of the application.

[0066] As shown in Figure 4 The information interaction method is applied to an air conditioner, the air conditioner includes a host and a slave, the host includes a first socket, and the slave includes a second socket corresponding to the first socket; the information interaction method can include the following steps:

[0067] In step 401, when the host receives a second instruction, the host detects whether the slave is installed in place on the host in response to the second instruction.

[0068] Here, the second instruction is a detection instruction. For example, the host receives the detection instruction by clicking a detection button on a terminal application (APP), clicking a detection button on a remote control panel of the host, or clicking a detection button on the host.

[0069] Here, after the host receives the detection instruction, to avoid the host directly supplying power to the slave and other operations when the slave is not installed in place, which can cause unsafe problems, the host needs to first detect whether the slave is installed in place on the host.

[0070] To solve the problem of how to detect whether the slave is installed in place on the host, in some embodiments, the host further includes a first switch and a second switch, an open and close state of the first switch represents whether the slave is covered by a panel on the host, and an open and close state of the second switch represents whether the slave is inserted into a mounting cavity of the host; the detection of whether the slave is installed in place on the host includes: detecting whether the first switch and the second switch are both in a closed state; if both are in the closed state, it is determined that the slave is installed in place on the host; if any one of the switches is in an open state, it is determined that the slave is not installed in place on the host.

[0071] That is, the open and close states of the panel switch covering the slave on the host and the second switch in the mounting cavity of the host are detected; if the panel switch is detected to be in an open state and the second switch is detected to be in a closed state, a child can pull out the slave due to curiosity, at this time, the slave is in an electrified state, and sparks are easy to be generated when the slave is directly pulled out, which can cause electric shock and is very unsafe; if the second switch is detected to be in an open state, at this time, the panel switch is in either a closed state or an open state, and the slave is not inserted into the mounting cavity of the host; therefore, only when the panel switch and the second switch are both in the closed state, the slave is installed in place on the host and there is no unsafe problem.

[0072] The setting for the first switch (for example, a panel switch), Figure 2 The middle and lower expansion function component includes a panel and a chassis, and the panel switch is installed on the chassis. For example, the panel switch can be a magnetic control switch or a button switch.

[0073] The setting for the second switch. For example, the application provides an external structure diagram of a sub-machine (for example, an oxygen generating device), Figure 5 The external interface of the oxygen generating device is shown in the schematic diagram of the external interface of the oxygen generating device in the embodiments of the application. As shown in the figure, the external interface of the oxygen generating device includes an air flow interface, a positioning contact, a power input (that is, a second power supply socket), and an information interaction (that is, a second communication socket). Figure 5

[0074] The positioning contact refers to a magnetic assembly that can be recognized by the magnetic control switch (that is, the second switch) or a mechanical assembly that can push the button switch (that is, the second switch). The magnetic control switch or the button switch used in cooperation with the positioning contact is installed in the oxygen generating device installation cavity on the main machine. The air flow interface includes an air inlet, an oxygen outlet, and a nitrogen outlet. After the oxygen generating device is installed in the air conditioner, the air inlet of the oxygen generating device is in communication with the upper and lower air ducts of the lower expansion function component of the air conditioner. After the air inlet valve of the lower air duct is opened, air reaches the air inlet of the oxygen generating device through the upper and lower air ducts. The oxygen outlet of the oxygen generating device is in communication with the air outlet of the lower expansion function component, and oxygen can be discharged to the indoor environment through the air outlet. The nitrogen outlet pipeline is also pre-buried on the lower expansion function component, and the nitrogen outlet pipeline extends to the outdoor environment. After the oxygen generating device is installed in the air conditioner, the nitrogen outlet is directly connected to the pre-buried nitrogen outlet pipeline of the air conditioner to discharge nitrogen to the outdoor environment.

[0075] Step 402: determining whether the output voltage and the output current of any one of the first communication socket and the second communication socket meet the communication condition when the sub-machine is installed in place on the main machine and the first communication socket is connected to the second communication socket;

[0076] Here, the first socket includes the first communication socket, and the second socket includes the second communication socket.

[0077] In some embodiments, the first socket further includes a first power supply socket, and the second socket further includes a second power supply socket. The first communication socket is connected to the first voltage and current detection module, and the second communication socket is connected to the second voltage and current detection module. After the sub-machine is installed in place on the main machine, the method further includes: controlling the main machine to supply power to the sub-machine through the first power supply socket and the second power supply socket; controlling the main machine to send a first self-check signal to the first voltage and current detection module, and using the first voltage and current detection module to detect whether the output voltage and the output current of the first communication socket meet the communication condition; or, controlling the sub-machine to send a second self-check signal to the second voltage and current detection module, and using the second voltage and current detection module to detect whether the output voltage and the output current of the second communication socket meet the communication condition. ​

[0078] In some embodiments, the communication condition comprises: the output voltage of the first communication socket is greater than a preset voltage threshold, and the output current is greater than a preset current threshold; or, the output voltage of the second communication socket is greater than a preset voltage threshold, and the output current is greater than a preset current threshold.

[0079] In some embodiments, a first voltage and current amplification module is connected in series between the output end of the host and the first voltage and current detection module, and a second voltage and current amplification module is connected in series between the output end of the slave and the second voltage and current detection module; wherein the first voltage and current amplification module is configured to amplify the output voltage and the output current of the host, so that the output voltage of the first communication socket is greater than a preset voltage threshold, and the output current of the first communication socket is greater than a preset current threshold; the second voltage and current amplification module is configured to amplify the output voltage and the output current of the slave, so that the output voltage of the second communication socket is greater than a preset voltage threshold, and the output current of the second communication socket is greater than a preset current threshold.

[0080] Step 403: When the communication condition is met, the host is controlled to send a first instruction to the slave through the information transmission line composed of the first communication socket and the second communication socket.

[0081] In actual application, when the first communication socket and the second communication socket meet the communication condition, the host is controlled to send the first instruction to the slave through the information transmission line according to a preset time period, and the host stops sending the first instruction to the slave until the slave receives and responds to the oxygen production instruction.

[0082] Step 404: The slave generates response information in response to the first instruction, and the host is controlled to receive the response information sent by the slave through the information transmission line.

[0083] In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.

[0084] For example, when the slave is an oxygen production device and the first instruction is an oxygen production instruction, the slave responds to the oxygen production instruction, controls the slave to send the response information corresponding to the oxygen production instruction to the host through the information transmission line, and the host stops sending the oxygen production instruction to the slave.

[0085] For example, if the response information is fault information, the host stops supplying power to the slave and sends an alarm information to prompt the user that the slave has a fault.

[0086] In some embodiments, the method further comprises: when the host receives a shutdown instruction or detects that the first switch is in an open state, the host is controlled to send the shutdown instruction to the slave through the information transmission line; the slave responds to the shutdown instruction and returns corresponding shutdown information to the host through the information transmission line; and the host is controlled to control the slave to be in an inoperative state based on the shutdown information.

[0087] Here, the sub-machine is taken as an example of the oxygen generating device, the host machine receives the stop command, which may be because the host machine sends the oxygen concentration query command to the sub-machine through the information transmission line, the sub-machine returns the current oxygen concentration in the air to the host machine through the information transmission line, the host machine detects that the oxygen concentration in the air reaches the threshold value, and sends an alarm information to prompt the user to click the oxygen generating stop button on the terminal APP, click the oxygen generating stop button on the remote control panel of the host machine, or click the oxygen generating stop button on the host machine, so that the host machine receives the stop command. The host machine sends the received stop command to the sub-machine, and after the sub-machine stops generating oxygen in response to the stop command, the host machine stops supplying power to the sub-machine, so that the sub-machine is in an inactive state.

[0088] Alternatively, when it is detected that the panel switch (i.e. the first switch) is in an open state, there is an unsafe problem, so the host machine also needs to send a stop command to the sub-machine through the information transmission line, and after the sub-machine stops generating oxygen in response to the stop command, the host machine stops supplying power to the sub-machine, so that the sub-machine is in an inactive state. The above-mentioned way of controlling the sub-machine to be in an inactive state can prolong the service life of the sub-machine compared with the way of directly stopping the power supply to the sub-machine after the host machine receives the stop command.

[0089] By adopting the above technical solution, when the output voltage and current of any communication socket meet the communication condition, it is ensured that the information transmission line composed of the first communication socket and the second communication socket is in a conduction state, and the information interaction between the host machine and the sub-machine can be successfully realized, avoiding the information interaction failure caused by the connection failure of the host machine and the sub-machine.

[0090] Based on the above embodiment, the host machine is taken as an example of the air conditioner, and the sub-machine is taken as an example of the oxygen generating device, and a control structure diagram of the oxygen generating device is given, Figure 6 The control structure diagram of the oxygen generating device in the embodiment of the present application is shown in FIG. 1.

[0091] As Figure 6As shown, when the air conditioner 61 receives the detection instruction, the control detection component 614 detects whether the first switch and the second switch in the above embodiment are both in the closed state. When both are in the closed state, the air conditioner control board 615 receives the relevant instruction information, controls the opening and closing of the air inlet and outlet valve assembly 618, controls the on-off of the high-power switching power supply module 610 through the relay driving circuit 616, and after the high-power switching power supply module 610 is turned on and off, the air conditioner 61 cannot supply power to the oxygen generating device 60 through the first power supply socket 612 in the oxygen generating load interface board 611 and the second power supply socket 606 in the oxygen input interface 605, that is, the oxygen generating device 60 is turned on and off. After the oxygen generating device 60 is powered on, it waits to receive the oxygen generating start instruction sent by the air conditioner 61 through the first communication socket 613 and the second communication socket 607. After receiving the oxygen generating start instruction, the oxygen generating device 60 controls the oxygen generating core component 601 to work and start oxygen generation. After receiving the fault or oxygen concentration query information, the oxygen generating device 60 returns the information queried by the air conditioner 61 in advance. After receiving the shutdown instruction, the oxygen generating device 60 controls the oxygen generating core component 601 to execute the shutdown operation and then sends the shutdown information to the air conditioner 61. The air conditioner 61 controls the oxygen generating device 60 to be powered off and closes the air inlet valve assembly 618. Among them, the first voltage and current amplification circuit 617 pre-adjusts the output voltage of the first communication socket 613, and the second voltage and current amplification circuit 604 pre-adjusts the output voltage of the second communication socket 607. When the first communication socket 613 and the second communication socket 607 are in contact, the membrane resistance between the communication contacts can be directly broken down to realize the information interaction between the oxygen generating device 60 and the air conditioner 61. Figure 6 The voltage and current detection module is not shown in the embodiment, and can be connected in series between the first communication socket 613 and the first voltage and current amplification circuit 617, or can be connected in series between the second communication socket 607 and the second voltage and current amplification circuit 604.

[0092] Based on the above embodiment, the application also provides an information interaction method, Figure 7 The third flowchart of the information interaction method in the embodiment of the application is shown.

[0093] As Figure 7 shown, the information interaction method is applied to an air conditioner, which includes a host and a slave. The host includes a first socket, and the slave includes a second socket corresponding to the first socket. The information interaction method can include the following steps:

[0094] Step 701: When the slave is installed in place on the host, the host supplies power to the slave through the first power supply socket and the second power supply socket.

[0095] Here, the first socket includes a first power supply socket, and the second socket includes a second power supply socket.

[0096] In some embodiments, the host further comprises a first switch and a second switch, the open / close state of the first switch representing whether the sub-device is covered by the upper panel of the host, and the open / close state of the second switch representing whether the sub-device is inserted into the installation cavity of the host; when both the first switch and the second switch are detected to be in the closed state, it is determined that the sub-device is installed in place on the host, i.e., the sub-device is inserted into the host, and at this time the host can supply power to the sub-device through the first power supply socket and the second power supply socket.

[0097] Step 702: control the electric suction device to be in the closed state to ensure that the sub-device cannot be pulled out of the host in the case of live electricity;

[0098] In some embodiments, the host further comprises an electric suction device, and the sub-device further comprises a suction head corresponding to the electric suction device; or the sub-device further comprises an electric suction device, and the host further comprises a suction head corresponding to the electric suction device.

[0099] Here, in view of the unsafe problems of strong electricity plug-in, such as sparks and electric shock, the electric suction device is arranged on the host, and the suction head is arranged on the sub-device, or the electric suction device is arranged on the sub-device, and the suction head is arranged on the host, so that the electric suction device is in the closed state when the sub-device is live, and cannot be pulled out of the host, to ensure safety.

[0100] Step 703: when the output voltage and output current of any one of the first communication socket and the second communication socket connected to each other meet the communication condition, control the host to send a first instruction to the sub-device through the information transmission line composed of the first communication socket and the second communication socket according to a preset time period;

[0101] Here, the first socket comprises the first communication socket, and the second socket comprises the second communication socket.

[0102] Here, when the output voltage and output current of any one of the first communication socket and the second communication socket connected to each other meet the communication condition, i.e., the host and the sub-device can exchange information, the host can send the first instruction to the sub-device through the information transmission line according to the preset time period until the sub-device receives the first instruction and responds to the first instruction. Otherwise, the host needs to send the first instruction to the sub-device according to the preset time period.

[0103] The above-mentioned preset time period can be set by artificial experience or obtained by experiment.

[0104] Step 704: the sub-device generates response information in response to the first instruction, and controls the host to receive the response information sent by the sub-device through the information transmission line.

[0105] In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.

[0106] In some embodiments, if the response information is fault information or shutdown information, the method further comprises: controlling the host to stop supplying power to the slave machine via the first power supply socket and the second power supply socket.

[0107] In actual application, the host sends a fault query instruction to the slave machine via the information transmission line, the slave machine returns fault information to the host via the information transmission line, and the host stops supplying power to the slave machine via the first power supply socket and the second power supply socket. Alternatively, the host sends a shutdown instruction to the slave machine via the information transmission line, the slave machine returns shutdown information to the host via the information transmission line, and the host stops supplying power to the slave machine via the first power supply socket and the second power supply socket.

[0108] In some embodiments, after stopping supplying power to the slave machine, the method further comprises: the slave machine performs a discharging operation, and when it is determined that the discharging time of the slave machine is greater than a preset time threshold, controlling the electrically operated attraction device to be in an open state.

[0109] Here, the preset time threshold can be understood as the average discharging time of the slave machine. After the host stops supplying power to the slave machine, the slave machine starts discharging. When the discharging time is greater than the preset time threshold, it indicates that the slave machine is not electrified at this time, and the electrically operated attraction device is controlled to be in an open state, ensuring that the slave machine can be safely pulled out of the host in the case of power failure. Conversely, if the slave machine has not completed discharging, i.e., the slave machine is electrified at this time, the electrically operated attraction device is controlled to be in a closed state, so that the slave machine cannot be pulled out of the host, avoiding the risk of electric shock when the slave machine is pulled out of the host in the case of electrification.

[0110] By using the above technical solution, when the output voltage and current of any communication socket meet the communication condition, it is ensured that the information transmission line composed of the first communication socket and the second communication socket is in a conductive state, and the information interaction between the host and the slave machine can be successfully realized, avoiding information interaction failure caused by connection failure of the host and the slave machine.

[0111] To implement the method of the embodiments of the present application, based on the same inventive concept, the embodiments of the present application also provide an information interaction device, Figure 8 For the structural schematic diagram of the information interaction device in the embodiments of the present application, as shown in Figure 8 The information interaction device is applied to an air conditioner, the air conditioner includes a host and a slave machine, the host includes a first socket, and the slave machine includes a second socket corresponding to the first socket; the first socket includes a first communication socket, and the second socket includes a second communication socket; the information interaction device includes:

[0112] The determining unit 801 is configured to determine that the slave machine is installed in place on the host machine, and determine that the output voltage and the output current of any one of the communication jacks satisfy a communication condition when the first communication jack and the second communication jack are connected, and control the host machine to send a first instruction to the slave machine through an information transmission line composed of the first communication jack and the second communication jack.

[0113] The control unit 802 is configured to control the host machine to receive the response information sent by the slave machine through the information transmission line in response to the first instruction.

[0114] By using the above technical solution, when the first communication jack of the host machine and the second communication jack of the slave machine are in contact, and the output voltage and the output current of any one of the communication jacks satisfy the communication condition, it is ensured that the information transmission line composed of the first communication jack and the second communication jack is in a conduction state, and the information interaction between the host machine and the slave machine can be successfully realized, and the information interaction failure caused by the connection failure of the host machine and the slave machine is avoided.

[0115] In some embodiments, the first jack further includes a first power supply jack, and the second jack further includes a second power supply jack; the first communication jack is connected with a first voltage and current detection module, and the second communication jack is connected with a second voltage and current detection module; after the slave machine is installed in place on the host machine, the method further includes: controlling the host machine to supply power to the slave machine through the first power supply jack and the second power supply jack; controlling the host machine to send a first self-check signal to the first voltage and current detection module, and detecting whether the output voltage and the output current of the first communication jack satisfy the communication condition by using the first voltage and current detection module; or, controlling the slave machine to send a second self-check signal to the second voltage and current detection module, and detecting whether the output voltage and the output current of the second communication jack satisfy the communication condition by using the second voltage and current detection module.

[0116] In some embodiments, the communication condition includes: the output voltage of the first communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value; or, the output voltage of the second communication jack is greater than a preset voltage threshold value, and the output current is greater than a preset current threshold value.

[0117] In this embodiment, the output voltage of the first communication jack is greater than a preset voltage threshold value and the output current is greater than a preset current threshold value, or the output voltage of the second communication jack is greater than a preset voltage threshold value and the output current is greater than a preset current threshold value, which ensures that the information transmission line composed of the first communication jack and the second communication jack is in a conduction state, and accurately realizes the information interaction between the host machine and the slave machine.

[0118] In some embodiments, the first voltage and current detection module and the first voltage and current amplification module are connected in series between the output end of the host and the first communication jack, and the second voltage and current detection module and the second voltage and current amplification module are connected in series between the output end of the slave and the second communication jack; the first voltage and current amplification module is configured to amplify the output voltage and the output current of the host, so that the output voltage through the first communication jack is greater than a preset voltage threshold and the output current through the first communication jack is greater than a preset current threshold; and the second voltage and current amplification module is configured to amplify the output voltage and the output current of the slave, so that the output voltage through the second communication jack is greater than the preset voltage threshold and the output current through the second communication jack is greater than the preset current threshold.

[0119] In some embodiments, the host further comprises an electrically-driven suction device, and the slave further comprises a suction head corresponding to the electrically-driven suction device; or the slave further comprises an electrically-driven suction device, and the host further comprises a suction head corresponding to the electrically-driven suction device; and the method further comprises: controlling the electrically-driven suction device to be in a closed state, so as to ensure that the slave cannot be pulled out of the host in a live condition.

[0120] In the embodiment, the purpose of arranging the electrically-driven suction device is to ensure that the electrically-driven suction device is in the closed state in the live condition of the slave, so that the slave cannot be pulled out of the host, thereby ensuring the safety of power utilization.

[0121] In some embodiments, if the response information is fault information or shutdown information, the host is controlled to stop supplying power to the slave through the first power supply jack and the second power supply jack.

[0122] In some embodiments, after the slave stops being supplied with power, the slave performs a discharging operation, and when it is determined that the discharging time of the slave is greater than a preset time threshold, the electrically-driven suction device is controlled to be in an open state.

[0123] In the embodiment, after the slave completes discharging, the electrically-driven suction device is in the open state, so that the slave can be safely pulled out of the host.

[0124] In some embodiments, before it is determined that the slave is installed in place on the host, when the host receives a second instruction, the slave is detected as to whether it is installed in place on the host in response to the second instruction.

[0125] In some embodiments, the host further comprises a first switch and a second switch, the open and closed states of the first switch represent whether the slave is covered by a panel on the host, and the open and closed states of the second switch represent whether the slave is inserted into a mounting cavity of the host; and the detection of whether the slave is installed in place on the host comprises: detecting whether the first switch and the second switch are both in the closed state; if both are in the closed state, it is determined that the slave is installed in place on the host; and if any one of the switches is in the open state, it is determined that the slave is not installed in place on the host.

[0126] In some embodiments, the host sends a stop command to the slave through the information transmission line when the host receives the stop command or detects that the first switch is in the open state; the slave responds to the stop command and returns corresponding stop information to the host through the information transmission line; and the host controls the slave to be in the inoperative state based on the stop information.

[0127] In some embodiments, the communication mode of the information transmission line is single-wire half-duplex communication mode.

[0128] The embodiments of the present application also provide another air conditioner, Figure 9 The structure of the air conditioner in the embodiments of the present application is shown in FIG. 1, which includes a processor 901 and a memory 902 configured to store a computer program capable of running on the processor. Figure 9

[0129] When the processor 901 is configured to run the computer program, the processor 901 executes the method steps in the foregoing embodiments.

[0130] Of course, in actual application, as shown in FIG. 1, various components in the air conditioner are coupled together through a bus system 903. It can be understood that the bus system 903 is used to realize the connection and communication between the components. The bus system 903 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, all the buses are marked as the bus system 903 in FIG. 1. Figure 9 Figure 9

[0131] In actual application, the processor can be at least one of an application specific integrated circuit (ASIC), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic device used to realize the function of the processor can also be other devices, and the embodiments of the present application do not make specific limitation.

[0132] ​​​The above memory can be a volatile memory, such as a random-access memory (RAM), or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk (HDD) or a solid-state disk (SSD), or a combination of the above kinds of memories, and provides instructions and data to the processor.

[0133] In the example embodiments, the application also provides a computer readable storage medium for storing the computer program.

[0134] Optionally, the computer readable storage medium can be applied to any of the methods in the embodiments of the application, and the computer program causes the computer to execute the corresponding procedures realized by the processor in the various methods of the embodiments of the application. For brevity, details are not repeated here.

[0135] In several embodiments provided in the application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division, and actual implementation can have another division manner. For example, multiple units or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.

[0136] The units described above as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. can be located in one place or distributed on multiple network units; part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0137] In addition, each function unit in each embodiment of the present application can be integrated in one processing module, or each unit can be separately as a unit, or two or more units can be integrated in one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software function unit. Those skilled in the art can understand that all or part of the steps of the above-mentioned method embodiments can be completed by program instruction related hardware, and the above-mentioned program can be stored in a computer readable storage medium, and the program executes the steps of the above-mentioned method embodiments when executed; and the above-mentioned storage medium includes mobile storage device, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and various storage medium capable of storing program codes.

[0138] The methods disclosed in the several method embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method embodiments.

[0139] The features disclosed in the several product embodiments provided by the present application can be combined arbitrarily without conflict to obtain new product embodiments.

[0140] The features disclosed in the several method or device embodiments provided by the present application can be combined arbitrarily without conflict to obtain new method or device embodiments.

[0141] The above is only a specific embodiment of the present application, but the protection scope of the present application is not limited to this, any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. An information interaction method, applied to an air conditioner, characterized in that: The air conditioner includes a main unit and a slave unit, the main unit includes a first socket, and the slave unit includes a second socket corresponding to the first socket; wherein the first socket includes a first communication socket, and the second socket includes a second communication socket; the method includes: When determining that the slave is properly installed on the host and determining that the output voltage and output current of either the first communication socket and the second communication socket meet communication conditions when the first communication socket and the second communication socket are connected, controlling the host to send a first instruction to the slave via an information transmission line formed by the first communication socket and the second communication socket; The slave generates response information in response to the first instruction, and controls the host to receive the response information sent by the slave via the information transmission line; Before determining that the sub-machine is installed in place on the host, the method further includes: when the host receives a second instruction, responding to the second instruction, detecting whether the sub-machine is installed in place on the host; The host also includes a first switch and a second switch, the open and closed state of the first switch indicates whether the sub-machine is covered by the upper panel of the host; the open and closed state of the second switch indicates whether the sub-machine has been inserted into the installation cavity of the host; the detection of whether the sub-machine is installed in place on the host includes: detecting whether the first switch and the second switch are both in the closed state; if both are in the closed state, it is determined that the sub-machine is installed in place on the host; if any one of the switches is in the open state, it is determined that the sub-machine is not installed in place on the host.

2. The method according to claim 1, characterized in that The first socket further includes a first power supply socket, and the second socket further includes a second power supply socket; the first communication socket is connected to a first voltage and current detection module, and the second communication socket is connected to a second voltage and current detection module; After determining that the slave is installed in place on the host, the method further includes: Controlling the host to supply power to the slave via the first power supply socket and the second power supply socket; Controlling the host to send a first self-test signal to the first voltage and current detection module, and using the first voltage and current detection module to detect whether the output voltage and output current of the first communication socket meet the communication conditions; Alternatively, the slave is controlled to send a second self-test signal to the second voltage and current detection module, and the second voltage and current detection module is used to detect whether the output voltage and output current of the second communication socket meet the communication condition.

3. The method according to claim 2, characterized in that The communication conditions include: the output voltage of the first communication socket is greater than a preset voltage threshold, and the output current is greater than a preset current threshold; Alternatively, the output voltage of the second communication socket is greater than the preset voltage threshold, and the output current is greater than the preset current threshold.

4. The method according to claim 3, characterized in that A first voltage and current amplification module is connected in series between the output end of the host and the first voltage and current detection module, and a second voltage and current amplification module is connected in series between the output end of the slave and the second voltage and current detection module; Among them, the first voltage and current amplification module is used to amplify the output voltage and output current of the host so that the output voltage through the first communication socket is greater than the preset voltage threshold, and the output current through the first communication socket is greater than the preset current threshold; the second voltage and current amplification module is used to amplify the output voltage and output current of the slave so that the output voltage through the second communication socket is greater than the preset voltage threshold, and the output current through the second communication socket is greater than the preset current threshold.

5. The method according to claim 2, characterized in that The main unit further includes an electric suction device, and the slave unit further includes a suction head corresponding to the electric suction device; or the slave unit further includes the electric suction device, and the main unit further includes the suction head corresponding to the electric suction device; The method further comprises: The electric suction device is controlled to be in a closed state to ensure that the slave cannot be pulled out from the main unit when it is powered.

6. The method according to claim 5, characterized in that If the response information is fault information or shutdown information, the method further includes: The host is controlled to stop supplying power to the slave via the first power supply socket and the second power supply socket.

7. The method according to claim 6, characterized in that After stopping power supply to the slave, the method further includes: The slave performs a discharge operation, and when it is determined that the discharge time of the slave is greater than a preset time threshold, the electric suction device is controlled to be in an open state.

8. The method according to claim 1, characterized in that The method further comprises: When the host receives a shutdown instruction or detects that the first switch is in an open state, the host is controlled to send the shutdown instruction to the slave via the information transmission line; The slave responds to the shutdown instruction and returns corresponding shutdown information to the host via the information transmission line; The host is controlled to control the slave to be in an inoperative state based on the shutdown information.

9. The method according to claim 1, characterized in that The communication mode of the information transmission line is a single-line half-duplex communication mode.

10. An information interaction device, applied to an air conditioner, characterized in that: The air conditioner includes a main unit and a slave unit, the main unit includes a first socket, and the slave unit includes a second socket corresponding to the first socket; wherein the first socket includes a first communication socket, and the second socket includes a second communication socket; the device includes: a determining unit, configured to determine that the slave is properly installed on the host and that, when the first communication socket and the second communication socket are connected, the output voltage and the output current of either communication socket meet communication conditions, and control the host to send a first instruction to the slave via the information transmission line formed by the first communication socket and the second communication socket; a control unit, configured for the slave to generate response information in response to the first instruction, and to control the host to receive the response information sent by the slave via the information transmission line; The determining unit is further configured to determine whether the sub-machine is installed in place on the host machine and, upon receiving a second instruction, respond to the second instruction to detect whether the sub-machine is installed in place on the host machine; The host also includes a first switch and a second switch, the open and closed state of the first switch indicates whether the sub-machine is covered by the upper panel of the host; the open and closed state of the second switch indicates whether the sub-machine has been inserted into the installation cavity of the host; the determination unit is also used to detect whether the first switch and the second switch are both in the closed state; if both are in the closed state, it is determined that the sub-machine is installed in place on the host; if any one of the switches is in the open state, it is determined that the sub-machine is not installed in place on the host.

11. An air conditioner, characterized in that: The air conditioner includes: a processor and a memory configured to store a computer program that can be run on the processor. Wherein, the processor is configured to execute the steps of the method according to any one of claims 1 to 9 when running the computer program.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 9 are implemented.

Citation Information

Patent Citations

  • Floor type air conditioner indoor unit and air conditioner

    CN212618764U

  • Dust suction and charging device for floor sweeping robot, and dust suction and charging method thereof

    US20200359868A1