CN115560436A - Information interaction method and device, air conditioner and storage medium - Google Patents

Information interaction method and device, air conditioner and storage medium Download PDF

Info

Publication number
CN115560436A
CN115560436A CN202110749942.XA CN202110749942A CN115560436A CN 115560436 A CN115560436 A CN 115560436A CN 202110749942 A CN202110749942 A CN 202110749942A CN 115560436 A CN115560436 A CN 115560436A
Authority
CN
China
Prior art keywords
machine
socket
communication
voltage
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110749942.XA
Other languages
Chinese (zh)
Inventor
李青云
邓焯伟
罗炳章
余圩钱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
Original Assignee
GD Midea Air Conditioning Equipment Co Ltd
Foshan Shunde Midea Electric Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by GD Midea Air Conditioning Equipment Co Ltd, Foshan Shunde Midea Electric Science and Technology Co Ltd filed Critical GD Midea Air Conditioning Equipment Co Ltd
Priority to CN202110749942.XA priority Critical patent/CN115560436A/en
Publication of CN115560436A publication Critical patent/CN115560436A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/88Electrical aspects, e.g. circuits
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices

Abstract

The application discloses an information interaction method, an information interaction device, an air conditioner and a storage medium, wherein the air conditioner comprises a host machine and a sub machine, a first socket on the host machine comprises a first communication socket, and a second socket on the sub machine, which is opposite to the host machine, comprises a second communication socket; the method comprises the following steps: determining that the submachine is installed in place on the host computer, determining that the voltage and the current of any one communication socket meet communication conditions when the first communication socket is connected with the second communication socket, and controlling the host computer to form an information transmission line through the two communication sockets to send a first instruction to the submachine; the sub machine responds to the first instruction to generate response information, and the control host machine receives the response information sent by the sub machine through the information transmission line. Therefore, the first communication socket on the host computer is contacted with the second communication socket on the sub computer, and when the output voltage and the current of any one communication socket are determined to 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, so that the information interaction between the host computer and the sub computer can be successfully realized.

Description

Information interaction method and device, air conditioner and storage medium
Technical Field
The present application relates to electronic information technology, and in particular, to an information interaction method, apparatus, air conditioner, and storage medium.
Background
With the improvement of living standard, people have higher and higher quality demand for air, and besides basic functions of refrigeration, heating and the like, the air conditioner also needs to integrate other functions, such as an oxygen generation function, a humidity detection function and the like. Because the requirements of users on various quality indexes of air are different due to the fact that the users use different air conditioning environments, different additional function modules are designed to be connected to the air conditioner in an easy plug-in mode, and therefore the users can configure the additional function modules according to the functional requirements. However, the long-time plugging operation easily deforms the contacts, resulting in failure of information interaction.
Disclosure of Invention
In order to solve the technical problems, the application provides an information interaction method, an information interaction device, an air conditioner and a storage medium.
The technical scheme of the application is realized as follows:
in a first aspect, an information interaction method is provided, which is applied to an air conditioner and is characterized in that the air conditioner comprises a host machine and a sub machine, wherein the host machine comprises a first socket, and the sub machine comprises a second socket corresponding to the first socket; wherein the first jack comprises a first communications jack and the second jack comprises a second communications jack; the method comprises the following steps:
when the sub-machine is determined to be installed in place on the main machine and the output voltage and the output current of any communication socket meet communication conditions when the first communication socket is connected with the second communication socket, the main machine is controlled to send a first instruction to the sub-machine through an information transmission line formed by the first communication socket and the second communication socket;
and the sub machine responds to the first instruction to generate response information, and controls the main machine to receive the response information sent by the sub machine through the information transmission line.
In the above solution, 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 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 determining that the sub-machine is installed in place on the main machine, the method further comprises: controlling the host to supply power to the submachine through the first power supply socket and the second power supply socket; controlling the host to send a first self-checking signal to the first voltage and current detection module, and detecting whether the output voltage and the output current of the first communication socket meet the communication condition by using the first voltage and current detection module; or, the submachine is controlled to send a second self-checking signal to the second voltage and current detection module, and the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition.
In the foregoing solution, the communication condition includes: 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.
In the above 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 submachine and the second voltage and current detection module; the first voltage and current amplification module is used for amplifying the output voltage and the 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 for amplifying the output voltage and the output current of the submachine so as to enable the output voltage passing through the second communication socket to be greater than the preset voltage threshold value and enable the output current passing through the second communication socket to be greater than the preset current threshold value.
In the above scheme, the main machine further comprises an electric suction device, and the sub machine further comprises a suction head corresponding to the electric suction device; or the submachine further comprises the electric suction device, and the main machine further comprises the suction head corresponding to the electric suction device; the method further comprises the following steps: and controlling the electric suction device to be in a closed state so as to ensure that the sub machine cannot be pulled out of the main machine under the condition of electrification.
In the foregoing solution, if the response information is failure information or shutdown information, the method further includes: and controlling the main machine to stop supplying power to the sub machine through the first power supply socket and the second power supply socket.
In the above solution, after the power supply to the slave unit is stopped, the method further includes: and the sub machine executes the discharging operation, and controls the electric suction device to be in an open state when the discharging time of the sub machine is determined to be greater than a preset time threshold.
In the above solution, before determining that the sub-machine is installed in place on the main machine, the method further includes: and when the host receives a second instruction, responding to the second instruction and detecting whether the submachine is installed in place on the host.
In the above scheme, the host further includes a first switch and a second switch, the first switch is a panel switch of the host, and an open/close state of the first switch represents whether the sub-machine is covered by the upper panel of the host; the opening and closing state of the second switch represents whether the submachine is inserted into the main machine installation cavity or not; the detecting whether the sub machine is installed in place on the main machine comprises the following steps: detecting whether the first switch and the second switch are both in a closed state; if both the sub machine and the host machine are in the closed state, determining that the sub machine is installed in place on the host machine; and if any one switch is in an open state, determining that the sub machine is not installed in place on the main machine.
In the above scheme, 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 submachine through the information transmission line; the submachine responds to the shutdown instruction and returns corresponding shutdown information to the host machine through the information transmission line; and controlling the host machine to control the submachine to be in a non-working state based on the shutdown information.
In the above-described aspect, the communication scheme of the information transmission line is a single-wire half-duplex communication scheme.
In a second aspect, an information interaction device is provided, which is applied to an air conditioner and is characterized in that the air conditioner comprises a host machine and a sub machine, wherein the host machine comprises a first socket, and the sub machine comprises a second socket corresponding to the first socket; wherein the first jack comprises a first communications jack and the second jack comprises a second communications jack; the device comprises:
the determining unit is used for determining that the submachine is installed in place on the host, and controlling the host to send a first instruction to the submachine through an information transmission line formed by the first communication socket and the second communication socket when determining that the output voltage and the output current of any one communication socket meet communication conditions when the first communication socket is connected with the second communication socket;
and the control unit is used for responding the first instruction by the sub machine to generate response information and controlling the main machine to receive the response information sent by the sub machine through the information transmission line.
In a third aspect, there is provided an air conditioner comprising: a processor and a memory configured to store a computer program operable on the processor, wherein the processor is configured to perform the steps of the aforementioned method when executing the computer program.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the aforementioned method.
By adopting the technical scheme, the first communication socket on the host computer is contacted with the second communication socket on the submachine, and when the output voltage and current of any communication socket meet the communication conditions, the information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conducting state, information interaction between the host computer and the submachine can be successfully realized, and information interaction failure caused when the connection between the host computer and the submachine fails is avoided.
Drawings
Fig. 1 is a schematic flow chart of an information interaction method in an embodiment of the present application;
FIG. 2 is a schematic diagram of an air conditioner according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a first voltage-to-current amplifying circuit and a second voltage-to-current amplifying circuit in an embodiment of the present application;
FIG. 4 is a second flowchart of an information interaction method according to an embodiment of the present application;
FIG. 5 is a schematic view of an external interface of an oxygen generation plant according to an embodiment of the present application;
FIG. 6 is a schematic view of the control structure of an oxygen generation plant in the embodiment of the present application;
fig. 7 is a schematic view of a third flow of an information interaction method in an embodiment of the present application;
FIG. 8 is a schematic structural diagram of an information interaction apparatus according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an air conditioner assembly according to an embodiment of the present application.
Detailed Description
So that the manner in which the features and elements of the present embodiments can be understood in detail, a more particular description of the embodiments, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
An embodiment of the present application provides an information interaction method, and fig. 1 is a first flow diagram of the information interaction method in the embodiment of the present application.
The information interaction method shown in fig. 1 is applied to an air conditioner, the air conditioner comprises a main machine and a sub machine, the main machine comprises a first socket, and the sub machine comprises a second socket corresponding to the first socket. To this end, the present application provides a structure diagram of an air conditioner, fig. 2 is a schematic diagram of a structure of the air conditioner in the embodiment of the present application, and as shown in fig. 2, the structure of the air conditioner includes an upper air conditioner main component and a lower expansion functional component, the upper air conditioner main component realizes basic functions of cooling and heating of the air conditioner, the lower expansion functional component includes a lower air duct air inlet side portion and an upper air duct air outlet side portion, air duct cavities of the upper air duct and the lower air duct are communicated, the lower air duct air inlet side portion includes an air inlet valve assembly, the upper air duct air outlet side portion includes an installation cavity (including a first socket) and an air outlet valve assembly of one or more sub-machines (also referred to as plug-and-play functional modules), the sub-machines can be pushed and pulled out (plug-and-play) in a drawer-type manner, and the plurality of sub-machines share an air duct after being all inserted. Illustratively, the submachine at least comprises a HEPA filter screen device, an ion generator device, a humidifying device or an oxygen generating device. Wherein, the HEPA filter screen device is used for removing fine particles (including fine particles with the diameter less than 2.5 microns) in the air; the ion generator device generates negative ions by utilizing a method of boosting power frequency voltage to required voltage by using a high-voltage transformer, and releases the negative ions into air to purify the air; the humidifying device can increase the content of moisture in the air so that the air becomes humid; the oxygen generator can increase the oxygen content in the air, increase the oxygen content of blood through human respiration, and make people have better spirit.
As shown in fig. 1, the information interaction method may include the specific steps of:
step 101: when the sub-machine is determined to be installed in place on the main machine and the output voltage and the output current of any one communication socket meet communication conditions when the first communication socket is connected with the second communication socket, the main machine is controlled to send a first instruction to the sub-machine through an information transmission line formed by the first communication socket and the second communication socket;
here, the first socket on the master unit includes a first communication socket, and the second socket on the slave unit includes a second communication socket.
It should be noted that when the first communication jack on the host computer is connected with the second communication jack on the sub computer, the contact resistance (including the shrinkage resistance and the film resistance) exists at the position of the communication contact, and the communication contact may deform due to long-time plugging and unplugging operations, and may also be oxidized due to environmental pollution, resulting in an increase in the contact resistance, and the situation that the film resistance cannot be punctured, and further resulting in a failure in information interaction may occur. In order to avoid the situation of information interaction failure, after the submachine is determined to be installed in place on the main machine, when the connection between the first communication jack and the second communication jack is detected in advance, whether the output voltage and the output current of the first communication jack or the second communication jack meet the communication condition is determined, and when the communication condition is determined to be met, the film resistor is directly punctured when the first communication jack and the second communication jack are contacted, so that the information interaction between the main machine and the submachine can be ensured; otherwise, when the communication condition is determined not to be met, the film resistor cannot be broken down when the first communication jack is contacted with the second communication jack, namely, information interaction cannot be carried out between the host machine and the submachine.
In some embodiments, the first outlet further comprises a first power supply outlet, and the second outlet further comprises a second power supply outlet; 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 submachine is determined to be installed in place on the main machine, the method further comprises the following steps: the control host computer supplies power to the submachine through the first power supply socket and the second power supply socket; the control host sends a first self-checking signal to the first voltage and current detection module, and the first voltage and current detection module is used for detecting whether the output voltage and the output current of the first communication socket meet communication conditions; or, the sub-machine is controlled to send a second self-checking signal to the second voltage and current detection module, and the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition.
That is, the first voltage and current detection module is installed on the host side, the first voltage and current detection module is used to detect whether the output voltage and the output current of the first communication socket satisfy the communication condition, and when the communication condition is determined to be satisfied, the information interaction between the host and the slave machine is described, wherein the host can send command information (i.e. the first command mentioned above) to the slave machine through the information transmission line formed by the first communication socket and the second communication socket.
Or, a second voltage and current detection module is installed on the slave unit side, the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition, and when the communication condition is determined to be met, the host unit and the slave unit can perform information interaction, wherein the host unit can send instruction information (namely the first instruction) to the slave unit through an information transmission line formed by the first communication socket and the second communication socket.
For example, when the submachine is an oxygen generator, the first command may be an oxygen generation command.
In some embodiments, 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; 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.
Here, the preset voltage threshold is a voltage allowable value of the contact resistance, and the preset current threshold is a current allowable value of the contact resistance.
That is to say, the output voltage of first communication socket is greater than and predetermines voltage threshold and output current is greater than and predetermines the electric current threshold, or, the output voltage of second communication socket is greater than and predetermines voltage threshold and output current is greater than and predetermines the electric current threshold, directly punctures rete resistance when first communication socket contacts with second communication socket, guarantees the normal interaction of information between host computer and the parasite aircraft.
In some embodiments, a first voltage and current amplification module is connected in series between the output end of the main 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 sub machine and the second voltage and current detection module; the first voltage and current amplification module is used for amplifying the output voltage and the output current of the host computer, so that the output voltage passing through the first communication socket is larger than a preset voltage threshold value, and the output current passing through the first communication socket is larger than a preset current threshold value; the second voltage and current amplification module is used for amplifying the output voltage and the output current of the submachine so as to enable the output voltage passing through the second communication jack to be larger than a preset voltage threshold value and enable the output current passing through the second communication jack to be larger than a preset current threshold value.
In practical application, because the output voltage and the output current of the host machine and the output voltage and the output current of the submachine are too low to break down the film resistor, the output end of the host machine is connected with the first voltage and current amplification module, the output end of the submachine is connected with the second voltage and current amplification module, so that the output voltage of the host machine is amplified to be greater than a preset voltage threshold value and the output current of the host machine is amplified to be greater than a preset current threshold value by using the first voltage and current amplification module, and the output voltage of the submachine is amplified to be greater than the preset voltage threshold value and the output current of the submachine is amplified to be greater than the preset current threshold value by using the second voltage and current amplification module.
Step 102: the sub machine responds to the first instruction to generate response information, and the control host machine receives the response information sent by the sub machine through the information transmission line.
In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.
It should be noted that, general information interaction includes 4 lines, namely, a VCC power line, an RXD receiving line, a TXD transmitting line and a GND ground line, and the more signal bits, the more the socket is affected by structural design and installation errors, and the possibility of alignment failure exists in the socket. In order to reduce the risk of alignment failure, the RXD receiving wire, the TXD transmitting wire and the GND ground wire share one wire, namely information interaction is adjusted to be 2 wires (comprising a power supply socket and a communication socket) from 4 wires, and therefore the risk of alignment failure is reduced. Wherein, power supply socket and communication socket can set up to the haplopore and aim at, also can set up to spring, magnetism to inhale the formula butt joint.
Specifically, the host machine and the slave machine are both arranged in a single-wire half-duplex communication mode, the single-wire half-duplex communication mode refers to simplex communication capable of switching directions, namely, the host machine sends information to the slave machine (corresponding to step 101) and the slave machine sends information to the host machine (corresponding to step 102) through the same information transmission line based on the single-wire half-duplex communication mode.
Exemplarily, the submachine is the oxygenerator, and when first instruction was the oxygenerator instruction, the host computer sent the oxygenerator instruction to the submachine, and when until the submachine response oxygenerator instruction, the control submachine was sent the response information that the information transmission line corresponds the oxygenerator instruction to the host computer, and when the host computer received this response information, stopped sending the oxygenerator instruction to the submachine. When the first instruction is a shutdown instruction, the host machine sends the shutdown instruction to the submachine, the submachine responds to the shutdown instruction and controls the submachine to send shutdown information to the host machine through the information transmission line, and when the host machine receives the shutdown information, the host machine stops supplying power to the submachine.
Here, the execution subject of steps 101 to 102 may be a processor of the information interaction apparatus.
By adopting the technical scheme, the first communication socket on the host computer is contacted with the second communication socket on the submachine, and when the output voltage and current of any communication socket meet the communication conditions, the information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conducting state, information interaction between the host computer and the submachine can be successfully realized, and information interaction failure caused when the connection between the host computer and the submachine fails is avoided.
In the embodiment, the situation that the information interaction fails because the voltages and currents of the output ends of the host machine and the sub machine are small and the contact resistance cannot be broken down is pointed out, and the corresponding voltage and current amplification modules are arranged on the host machine and the sub machine; in order to ensure that information interaction is correct, the corresponding voltage and current detection module is arranged on either the host machine or the submachine, and when the voltage and current detection module detects that the output voltage and the output current of the communication socket meet communication conditions, the correctness of the information interaction between the host machine and the submachine can be ensured. In view of the above, the present application provides a first voltage-current amplifying circuit for a first voltage-current amplifying module on the host machine, and a second voltage-current amplifying circuit for a second voltage-current amplifying module on the slave machine, and fig. 3 is a schematic structural diagram of the first voltage-current amplifying circuit and the second voltage-current amplifying circuit in the embodiment of the present application, where in fig. 3, a first voltage-current detecting module is installed on the host machine, or a second voltage-current detecting module is installed on the slave machine (schematic diagram is not given here).
Before the circuit structure is specifically explained, it should be noted that, in the above embodiment, it is indicated that the RXD receiving line, the TXD transmitting line and the GND ground line are collinear, that is, share one communication socket, which corresponds to the CN1 terminal of the master (i.e., the first communication socket) and the CN2 terminal of the slave (i.e., the second communication socket) in fig. 3.
As shown in fig. 3, taking the first output voltage of the host as 5V and the second output voltage of the slave as 5V, the first voltage-current amplifier and the second voltage-current amplifier amplify the voltage into 12V respectively, and amplify the current in the circuit, and the first voltage-current detection module detects that the amplified voltage 12V is greater than the preset voltage threshold at the point where the CN1 end and the CN2 end communicate with each other, and the amplified current is greater than the preset current threshold at the point where the CN1 end and the CN2 end communicate with each other, so that the film resistor can be directly broken through, and the normal interaction of information between the host and the slave is realized.
The first voltage and current amplifying circuit corresponding to the host comprises a first sub-circuit (namely, a receiving information circuit) and a second sub-circuit (namely, a sending information circuit); the second voltage-current amplification circuit corresponding to the submachine comprises a third sub-circuit (namely an information receiving circuit) and a fourth sub-circuit (namely an information sending circuit); that is, when the host machine sends information to the sub machine, the host machine sends information through the second sub circuit, and the sub machine receives information through the third sub circuit; when the sub-machine sends information to the main machine, the sub-machine sends information through the fourth sub-circuit, and the main machine receives information through the first sub-circuit.
Specifically, the first sub-circuit is a circuit corresponding to the host computer when receiving the information sent by the sub-computer, and specifically includes: resistors R10, R14, R15 and R16, triodes NPN5 and NPN6 and a diode D4 are connected in the following mode: the negative electrode of the D4 is connected with the port 1 of the CN1 through the first voltage and current detection module, the positive electrode of the D4 is connected with the collector of the NPN5 through the R10, the emitter of the NPN5 is grounded through the R16, the base of the NPN5 is connected with the 5V output voltage through the R14, the collector of the NPN6 is connected with the 5V output voltage through the R15 and is also connected with the KT-RXD (namely, an information receiving port), the base of the NPN6 is connected with the emitter of the NPN5, and the emitter of the NPN6 is grounded.
The second sub-circuit is a circuit corresponding to the host computer when sending information to the sub-computer, and specifically comprises: the resistor R9, R11, R12, R13, the triode NPN4, the PNP2 and the diode D3 are connected in the following mode: the negative electrode of the D3 is connected with the port 1 of the CN1 through the first voltage and current detection module, the positive electrode of the D3 is connected with the collector electrode of the PNP2 through the R9, the emitter electrode of the PNP2 is connected with a 12V voltage source and is also connected with the base electrode of the PNP2 through the R11, the base electrode of the PNP2 is connected with the collector electrode of the NPN4 through the R12, the base electrode of the NPN4 is connected with 5V output voltage through the R13, and the emitter electrode of the NPN4 is connected with the KT-TXD (namely an information sending port).
The third sub-circuit is a circuit corresponding to the sub-pole receiving information sent by the host, and specifically includes: the resistors R5, R6, R7 and R8, the triodes NPN2 and NPN3 and the diode D2 are connected in the following mode: the negative electrode of the D2 is connected with the port 1 of the CN1, the positive electrode of the D2 is connected with the collector of the NPN2 through the R5, the emitter of the NPN2 is grounded through the R7, the base electrode of the NPN2 is connected with the 5V output voltage through the R6, the collector of the NPN3 is connected with the 5V output voltage through the R8 and is also connected with the ZY-RXD (namely an information receiving port), the base electrode of the NPN3 is connected with the emitter of the NPN2, and the emitter of the NPN3 is grounded.
The fourth sub-circuit is a circuit corresponding to the information sent by the sub-machine to the host, and specifically comprises: resistors R1, R2, R3 and R4, a triode NPN1, a PNP1 and a diode D1, wherein the connection mode is as follows: the negative electrode of the D1 is connected with the port 1 of the CN1, the positive electrode of the D1 is connected with the collector of the PNP1 through the R4, the emitter of the PNP1 is connected with a 12V voltage source and is also connected with the base electrode of the PNP1 through the R3, the base electrode of the PNP1 is connected with the collector of the NPN1 through the R2, the base electrode of the NPN1 is connected with 5V output voltage through the R1, and the emitter of the NPN1 is connected with the ZY-TXD (namely an information sending port).
It should be noted that the first voltage-current amplification circuit and the second voltage-current amplification circuit shown in fig. 3 are only exemplary circuits, and any other circuits may be used as long as the above functions can be achieved.
Based on the above embodiment, the present application further provides an information interaction method, and fig. 4 is a second flow diagram of the information interaction method in the embodiment of the present application.
As shown in fig. 4, the information interaction method is applied to an air conditioner, the air conditioner comprises a host machine and a sub machine, the host machine comprises a first jack, and the sub machine comprises a second jack corresponding to the first jack; the information interaction method comprises the following steps:
step 401: when the host receives the second instruction, responding to the second instruction, and detecting whether the submachine is installed in place on the host;
here, the second instruction is a detection instruction. Illustratively, the host receives the detection instruction by clicking a detection key on a terminal Application (APP), clicking a detection key on a remote control board of the control host, or clicking a detection key on the host.
Here, after the host receives the detection instruction, in order to avoid the occurrence of an unsafe problem caused by operations such as the host directly supplying power to the slave when the slave is not installed in place, it is necessary to first 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, and the open-close state of the first switch represents whether the sub-machine is covered by an upper panel of the host; the opening and closing state of the second switch represents whether the sub machine is inserted into the main machine installation cavity or not; whether the detection parasite aircraft is installed in place on the host computer includes: detecting whether the first switch and the second switch are both in a closed state; if both are in a closed state, determining that the submachine is installed in place on the main machine; and if any one switch is in an open state, determining that the sub machine is not installed in place on the main machine.
That is to say, the panel switch state of the host machine covering the sub machine and the switch state of the second switch in the installation cavity of the sub machine are detected, if the panel switch is detected to be in the open state and the second switch is detected to be in the closed state, children may drive to pull out the sub machine due to curiosity, at the moment, the sub machine is in the charged state, sparks are easily generated when the sub machine is directly pulled out, and electric shock is possibly unsafe; if the second switch is detected to be in an open state, the sub machine is not inserted into the main machine mounting cavity no matter the panel switch is in a closed state or an open state at the moment; therefore, only when the panel switch and the second switch are both in a closed state, the sub-machine is installed in place on the main machine, and the unsafe problem does not exist.
For the setting of the first switch (for example, a panel switch), the lower expansion functional component in fig. 2 includes a panel and a chassis, and the panel switch is mounted on the chassis, and for example, the panel switch may be a magnetic switch or a push switch.
For the setting of the second switch, exemplarily, the present application provides an external structure diagram of a sub-machine (such as an oxygen generating device), fig. 5 is a schematic diagram of an external interface of the oxygen generating device in the embodiment of the present application, and as shown in fig. 5, the external interface of the oxygen generating device includes: the air flow interface, the positioning contact, the power input or socket (namely the second power supply socket) and the information interaction or socket (the second communication socket).
The positioning contact is a magnetic component which can be identified by a magnetic control switch (namely a second switch) or a mechanical component which can push a key switch (namely the second switch), and the magnetic control switch or the key switch which is matched with the positioning contact for use is arranged in an oxygen making device installation cavity on the host machine. Airflow interface includes the air inlet, oxygen gas vent and nitrogen gas vent, after oxygenerator packs into the air conditioner, oxygenerator's air inlet and the lower wind channel intercommunication of the lower extension functional unit of air conditioner, the back is opened to lower wind channel air inlet valve, the air reachs the oxygenerator air inlet through upper and lower wind channel, oxygenerator oxygen gas outlet and the air outlet intercommunication of expanding functional unit down, can arrange oxygen to indoorly from the air outlet, the nitrogen gas outlet pipeline that has still pre-buried on the lower extension functional unit, the nitrogen gas outlet pipeline extends to outdoors, the direct butt joint of pre-buried nitrogen gas outlet pipeline on oxygenerator packs into air conditioner back nitrogen gas outlet and the air conditioner, in order to discharge nitrogen gas outdoors.
Step 402: when the submachine is installed in place on the host computer, detecting whether the output voltage and the output current of any communication socket meet communication conditions when the first communication socket is connected with the second communication socket;
here, the first socket indicated above includes a first communication socket, and the second socket includes a second communication socket;
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 submachine is determined to be installed in place on the main machine, the method further comprises the following steps: the control host computer supplies power to the submachine through a first power supply socket and a second power supply socket; the control host sends a first self-checking signal to the first voltage and current detection module, and the first voltage and current detection module is used for detecting whether the output voltage and the output current of the first communication socket meet communication conditions; or the submachine is controlled to send a second self-checking signal to the second voltage and current detection module, and the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition.
In some embodiments, 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; 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.
In some embodiments, 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 sub machine and the second voltage and current detection module; the first voltage and current amplification module is used for amplifying the output voltage and the output current of the host computer, so that the output voltage passing through the first communication socket is larger than a preset voltage threshold value, and the output current passing through the first communication socket is larger than a preset current threshold value; the second voltage and current amplification module is used for amplifying the output voltage and the output current of the submachine so as to enable the output voltage passing through the second communication socket to be larger than a preset voltage threshold value and the output current passing through the second communication socket to be larger than a preset current threshold value.
Step 403: when the communication condition is met, the control host sends a first instruction to the submachine through an information transmission line consisting of the first communication socket and the second communication socket;
in practical application, when the first communication socket and the second communication socket meet communication conditions, the control host computer sends a first instruction to the submachine according to a preset time period through the information transmission line, and the host computer stops sending the first instruction to the submachine until the submachine receives and responds to an oxygen generation instruction.
Step 404: the sub machine responds to the first instruction to generate response information, and the control host machine receives the response information sent by the sub machine through the information transmission line.
In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.
Exemplarily, the submachine is the oxygenerator, and when first instruction was the oxygenerator instruction, the submachine response oxygenerator instruction, and the response information that control submachine will make the oxygenerator instruction and send to the host computer through information transmission line, and the host computer stops sending the oxygenerator instruction to the submachine.
Illustratively, if the response information is fault information, the host stops supplying power to the submachine and sends alarm information to prompt a user that the submachine has a fault.
In some embodiments, the method further comprises: when the host receives the shutdown instruction or detects that the first switch is in an open state, the host is controlled to send the shutdown instruction to the submachine through the information transmission line; the submachine responds to the stop instruction and returns corresponding stop information to the mainframe through the information transmission line; and the control host controls the submachine to be in a non-working state based on the shutdown information.
Here, use the parasite aircraft as oxygenerator for the example, the host computer receives the instruction of shutting down, probably because the host computer sends oxygen concentration inquiry instruction to the parasite aircraft through information transmission line, the parasite aircraft returns oxygen concentration in with current air to the host computer through information transmission line, the host computer detects oxygen concentration in the air and reaches the threshold value, send alarm information with the suggestion user click on terminal APP make oxygen system shut down the button, click the system oxygen on the remote control board of control host computer and shut down the button or click the system oxygen on the host computer and shut down the button, so that the host computer receives the instruction of shutting down. The host sends the received stopping instruction to the submachine, and after the submachine responds to the stopping instruction to stop oxygen generation, the host stops supplying power to the submachine so that the submachine is in an out-of-operation state.
Or, when detecting that the panel switch (i.e. the first switch) is in the open state, the problem of insecurity exists, so the host computer also needs to be controlled to send the shutdown instruction to the submachine through the information transmission line, and after the submachine responds to the shutdown instruction to stop oxygen generation, the host computer stops supplying power to the submachine so as to enable the submachine to be in the non-working state. Compared with the mode that the host directly stops supplying power to the submachine after receiving the stop command, the mode of controlling the submachine to be in the non-operating state can prolong the service life of the submachine.
By adopting the technical scheme, the first communication socket on the host computer is contacted with the second communication socket on the submachine, and when the output voltage and current of any communication socket meet the communication conditions, the information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conducting state, information interaction between the host computer and the submachine can be successfully realized, and information interaction failure caused when the connection between the host computer and the submachine fails is avoided.
Based on the above embodiments, the main machine of the embodiment of the present application takes an air conditioner, and the sub-machine takes an oxygen generator as an example, and a control structure diagram of the oxygen generator is provided, and fig. 6 is a schematic diagram of the control structure of the oxygen generator in the embodiment of the present application.
As shown in fig. 6, when the air conditioner 61 receives the detection instruction, the control detection component 614 detects whether the first switch and the second switch indicated in the above embodiment are both in the closed state, and when both are in the closed state, the air conditioner control board 615 receives the related instruction information, and then controls the air inlet/outlet valve component 618 to open and close, and controls the power module 610 of the high-power switch to turn on or off through the relay driving circuit 616, and after the power module 610 of the high-power switch turns on or off, the air conditioner 61 cannot supply power to the oxygen generation device 60 through the first power supply socket 612 in the oxygen generation load interface board 611 and the second power supply socket 606 in the oxygen generation input interface 605, that is, the oxygen generation device 60 turns on or off accordingly. After the oxygen generating device 60 is powered on, the oxygen generating device 60 waits for receiving an oxygen generating starting instruction sent by the air conditioner 61 through the first communication socket 613 and the second communication socket 607, and after the oxygen generating starting instruction is received, the oxygen generating device 60 controls the oxygen generating core component 601 to work and starts oxygen generation; after receiving the fault or oxygen concentration query information, the oxygen generator 60 returns the information pre-queried by the air conditioner 61; after receiving the shutdown instruction, the oxygen generation device 60 controls the oxygen generation core component 601 to execute the shutdown operation and then sends shutdown information to the air conditioner 61, and the air conditioner 61 controls the oxygen generation device 60 to power off and closes the air inlet valve assembly 618. The first voltage and current amplifying circuit 617 pre-adjusts the output voltage of the first communication jack 613, and the second voltage and current amplifying circuit 604 pre-adjusts the output voltage of the second communication jack 607, so that the film layer resistance between the communication contacts can be directly broken down after the first communication jack 613 and the second communication jack 607 are in contact with each other, thereby realizing information interaction between the oxygen generating device 60 and the air conditioner 61. Here, the voltage and current detection module is not illustrated in fig. 6, and specifically, the first voltage and current detection module may be connected in series between the first communication jack 613 and the first voltage and current amplification circuit 617, or the second voltage and current detection module may be connected in series between the second communication jack 607 and the second voltage and current amplification circuit 604.
Based on the above embodiment, the present application further provides an information interaction method, and fig. 7 is a third flow diagram of the information interaction method in the embodiment of the present application.
As shown in fig. 7, the information interaction method is applied to an air conditioner, the air conditioner comprises a host machine and a sub machine, the host machine comprises a first jack, and the sub machine comprises a second jack corresponding to the first jack; the information interaction method comprises the following steps:
step 701: when the submachine is determined to be installed in place on the main machine, the main machine is controlled to supply power to the submachine through the first power supply socket and the second power supply socket;
here, the first outlet includes a first power supply outlet, and the second outlet includes a second power supply outlet.
In some embodiments, the host further comprises a first switch and a second switch, and the open-close state of the first switch represents whether the sub-machine is covered by the upper panel of the host; the opening and closing state of the second switch represents whether the sub machine is inserted into the main machine installation cavity or not; and detecting that the first switch and the second switch are both in a closed state, determining that the submachine is installed in place on the main machine, namely the submachine is inserted into the main machine, and then supplying power to the submachine by the main machine through the first power supply socket and the second power supply socket.
Step 702: controlling the electric suction device to be in a closed state so as to ensure that the sub machine cannot be pulled out of the main machine under the condition of electrification;
in some embodiments, the main machine further comprises an electric suction device, and the sub machine further comprises a suction head corresponding to the electric suction device; or the sub machine also comprises an electric suction device, and the main machine also comprises a suction head corresponding to the electric suction device.
In consideration of the unsafe problem that the strong-current plug is easy to generate sparks and get an electric shock, the electric suction device is arranged on the main machine, the suction head is arranged on the sub machine, or the electric suction device is arranged on the sub machine, and the suction head is arranged on the main machine, so that the electric suction device is in a closed state when the sub machine is in an electrified condition and cannot be pulled out of the main machine, and the safety is ensured.
Step 703: when the output voltage and the output current of any one communication jack meet communication conditions when the first communication jack is connected with the second communication jack, the control host sends a first instruction to the submachine through an information transmission line formed by the first communication jack and the second communication jack according to a preset time period;
here, the first jack includes a first communication jack, and the second jack includes a second communication jack.
When the output voltage and the output current of any one communication jack meet the communication condition when the first communication jack is connected with the second communication jack, namely, information interaction can be carried out between the host and the submachine, the host can send a first instruction to the submachine through the information transmission line according to a preset time period until the submachine receives the first instruction and responds to the first instruction. Otherwise, the host computer needs to send the first instruction to the submachine all the time according to the preset time period.
The above-mentioned preset time period may be set by manual experience or obtained by experiment.
Step 704: the sub machine responds to the first instruction to generate response information, and the control host machine receives the response information sent by the sub machine through the information transmission line.
In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.
In some embodiments, if the response message is a failure message or a shutdown message, the method further includes: and the control host stops supplying power to the submachine through the first power supply socket and the second power supply socket.
In practical application, the host machine sends a fault inquiry command to the submachine through the information transmission line, the submachine returns fault information to the host machine through the information transmission line, and the host machine stops supplying power to the submachine through the first power supply socket and the second power supply socket. Or the host machine sends a stopping instruction to the submachine through the information transmission line, the submachine returns stopping information to the host machine through the information transmission line, and the host machine stops supplying power to the submachine through the first power supply socket and the second power supply socket.
In some embodiments, after the power supply to the sub-machine is stopped, the method further comprises: and the sub machine executes the discharging operation, and controls the electric suction device to be in an open state when the discharging time of the sub machine is determined to be greater than a preset time threshold.
Here, the preset time threshold may be understood as an average discharge time of the slave unit. After the host stops supplying power to the sub-machine, the sub-machine starts discharging, when the discharging time is longer than a preset time threshold value, the sub-machine is not electrified, the electric suction device is controlled to be in an open state, and the sub-machine can be safely pulled out from the host under the condition of power failure. Otherwise, the submachine is not discharged completely, namely the submachine is electrified at the moment, and the electric actuation device is controlled to be in a closed state, so that the submachine cannot be pulled out from the main machine, and the dangerous condition of electric shock is avoided when the submachine is pulled out from the main machine under the electrified condition.
By adopting the technical scheme, the first communication socket on the host computer is contacted with the second communication socket on the submachine, and when the output voltage and current of any communication socket meet the communication conditions, the information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conducting state, information interaction between the host computer and the submachine can be successfully realized, and information interaction failure caused when the connection between the host computer and the submachine fails is avoided.
In order to implement the method of the embodiment of the present application, based on the same inventive concept, an information interaction device is further provided in the embodiment of the present application, fig. 8 is a schematic structural diagram of the information interaction device in the embodiment of the present application, as shown in fig. 8, the information interaction device is applied to an air conditioner, the air conditioner includes a host and a sub-machine, the host includes a first socket, and the sub-machine includes a second socket corresponding to the first socket; wherein the first jack comprises a first communication jack and the second jack comprises a second communication jack; the information interaction device comprises:
a determining unit 801, configured to determine that the slave machine is installed in place on the host machine, and when it is determined that an output voltage and an output current of any one communication socket satisfy a communication condition when the first communication socket is connected to the second communication socket, control the host machine to send a first instruction to the slave machine through an information transmission line formed by the first communication socket and the second communication socket;
a control unit 802, configured to generate response information in response to the first instruction by the slave unit, and control the host unit to receive the response information sent by the slave unit via the information transmission line.
By adopting the technical scheme, the first communication socket on the host computer is contacted with the second communication socket on the sub computer, when the output voltage and current of any communication socket 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, the information interaction between the host computer and the sub computer can be successfully realized, and the information interaction failure caused when the connection between the host computer and the sub computer is failed is avoided.
In some embodiments, the first outlet further comprises a first power supply outlet, and the second outlet further comprises a second power supply outlet; 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 submachine is determined to be installed in place on the main machine, the method further comprises the following steps: the control host computer supplies power to the submachine through a first power supply socket and a second power supply socket; the control host sends a first self-checking signal to the first voltage and current detection module, and the first voltage and current detection module is used for detecting whether the output voltage and the output current of the first communication socket meet communication conditions; or, the sub-machine is controlled to send a second self-checking signal to the second voltage and current detection module, and the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition.
In some embodiments, 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; 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.
In this embodiment, 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, or 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, so that an information transmission line formed by the first communication socket and the second communication socket is ensured to be in a conducting state, and information interaction between the host computer and the slave computer is accurately realized.
In some embodiments, a first voltage and current amplification module is connected in series between the output end of the main 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 sub machine and the second voltage and current detection module; the first voltage and current amplification module is used for amplifying the output voltage and the output current of the host computer, so that the output voltage passing through the first communication socket is larger than a preset voltage threshold value, and the output current passing through the first communication socket is larger than a preset current threshold value; the second voltage and current amplification module is used for amplifying the output voltage and the output current of the submachine so as to enable the output voltage passing through the second communication socket to be larger than a preset voltage threshold value and the output current passing through the second communication socket to be larger than a preset current threshold value.
In some embodiments, the main machine further comprises an electric suction device, and the sub machine further comprises a suction head corresponding to the electric suction device; or the sub machine also comprises an electric suction device, and the main machine also comprises a suction head corresponding to the electric suction device; the method further comprises the following steps: the electric suction device is controlled to be in a closed state so as to ensure that the sub machine cannot be pulled out of the main machine under the condition of electrification.
In this embodiment, the purpose of setting up electronic actuation device is that, electronic actuation device is in the closed state under the sub-machine electrified state, and the sub-machine also can not pull out from the host computer this moment, guarantees the power consumption security.
In some embodiments, if the response message is a fault message or a shutdown message, the control host stops supplying power to the submachine through the first power supply socket and the second power supply socket.
In some embodiments, after the power supply to the sub machine is stopped, the sub machine performs a discharging operation, and when it is determined that the discharging time of the sub machine is greater than a preset time threshold, the electric attraction device is controlled to be in an open state.
In this embodiment, after the sub machine finishes discharging, the electric suction device is in an open state, and at this time, the sub machine can be safely pulled out from the main machine.
In some embodiments, before it is determined that the sub-machine is installed in place on the main machine, when the main machine receives a second instruction, whether the sub-machine is installed in place on the main machine is detected in response to the second instruction.
In some embodiments, the host further comprises a first switch and a second switch, and the open-close state of the first switch represents whether the sub-machine is covered by the upper panel of the host; the opening and closing state of the second switch represents whether the sub machine is inserted into the main machine installation cavity or not; whether the detection parasite aircraft is installed in place on the host computer includes: detecting whether the first switch and the second switch are both in a closed state; if both are in a closed state, determining that the submachine is installed in place on the main machine; and if any one switch is in an open state, determining that the sub machine is not installed in place on the main machine.
In some embodiments, when the host receives the shutdown instruction or detects that the first switch is in an on state, the host is controlled to send the shutdown instruction to the submachine through the information transmission line; the submachine responds to the shutdown instruction and returns corresponding shutdown information to the host machine through the information transmission line; and the control host controls the submachine to be in a non-working state based on the shutdown information.
In some embodiments, the communication mode of the information transmission line is a single-wire half-duplex communication mode.
The embodiment of the present application further provides another air conditioner, fig. 9 is a schematic structural diagram of the air conditioner in the embodiment of the present application, and as shown in fig. 9, the air conditioner includes: a processor 901 and a memory 902 configured to store a computer program capable of running on the processor;
wherein the processor 901 is configured to execute the method steps in the previous embodiments when running the computer program.
Of course, in actual practice, the various components of the air conditioner are coupled together by a bus system 903, as shown in FIG. 9. It is understood that the bus system 903 is used to enable communications among the components. The bus system 903 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are identified in fig. 9 as the bus system 903.
In practical applications, the processor may 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 is understood that the electronic device for implementing the above processor function may be other electronic devices, and the embodiments of the present application are not limited in particular.
The Memory may be a volatile Memory (volatile Memory), such as a Random-Access Memory (RAM); or a non-volatile Memory (non-volatile Memory), such as a Read-Only Memory (ROM), a flash Memory (flash Memory), a Hard Disk (HDD), or a Solid-State Drive (SSD); or a combination of the above types of memories and provides instructions and data to the processor.
In an exemplary embodiment, the present application further provides a computer-readable storage medium for storing a computer program.
Optionally, the computer-readable storage medium may be applied to any one of the methods in the embodiments of the present application, and the computer program enables a computer to execute corresponding processes implemented by a processor in each method in the embodiments of the present application, which is not described herein again for brevity.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may be separately used as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit. Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The methods disclosed in the several method embodiments provided in the present application may be combined arbitrarily without conflict to arrive at new method embodiments.
Features disclosed in several of the product embodiments provided in the present application may be combined in any combination to yield new product embodiments without conflict.
The features disclosed in the several method or apparatus embodiments provided herein may be combined in any combination to arrive at a new method or apparatus embodiment without conflict.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (14)

1. An information interaction method is applied to an air conditioner and is characterized in that the air conditioner comprises a host machine and a sub machine, wherein the host machine comprises a first socket, and the sub machine comprises a second socket corresponding to the first socket; wherein the first jack comprises a first communications jack and the second jack comprises a second communications jack; the method comprises the following steps:
when the sub-machine is determined to be installed in place on the main machine and the output voltage and the output current of any communication socket meet communication conditions when the first communication socket is connected with the second communication socket, the main machine is controlled to send a first instruction to the sub-machine through an information transmission line formed by the first communication socket and the second communication socket;
the sub machine responds to the first instruction to generate response information, and the main machine is controlled to receive the response information sent by the sub machine through the information transmission line.
2. The method of claim 1,
the first outlet further comprises a first power supply outlet and the second outlet further comprises a second power supply outlet; 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 determining that the sub machine is installed in place on the main machine, the method further comprises:
controlling the host to supply power to the submachine through the first power supply socket and the second power supply socket;
controlling the host to send a first self-checking signal to the first voltage and current detection module, and detecting whether the output voltage and the output current of the first communication socket meet the communication condition by using the first voltage and current detection module;
or, the submachine is controlled to send a second self-checking signal to the second voltage and current detection module, and the second voltage and current detection module is used for detecting whether the output voltage and the output current of the second communication socket meet the communication condition.
3. The method of claim 2,
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;
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.
4. The method of claim 3,
a first voltage and current amplification module is connected between the output end of the host machine and the first voltage and current detection module in series, and a second voltage and current amplification module is connected between the output end of the submachine and the second voltage and current detection module in series;
the first voltage and current amplification module is used for amplifying the output voltage and the output current of the host, so that the output voltage through the first communication socket is greater than the preset voltage threshold value, and the output current through the first communication socket is greater than the preset current threshold value; the second voltage and current amplification module is used for amplifying the output voltage and the output current of the submachine so as to enable the output voltage passing through the second communication socket to be greater than the preset voltage threshold value and enable the output current passing through the second communication socket to be greater than the preset current threshold value.
5. The method of claim 2,
the main machine also comprises an electric suction device, and the sub machine also comprises a suction head corresponding to the electric suction device; or the submachine further comprises the electric suction device, and the main machine further comprises the suction head corresponding to the electric suction device;
the method further comprises the following steps:
and controlling the electric suction device to be in a closed state so as to ensure that the sub machine cannot be pulled out of the main machine under the condition of electrification.
6. The method of claim 5, wherein if the response message is a failure message or a shutdown message, the method further comprises:
and controlling the main machine to stop supplying power to the sub machine through the first power supply socket and the second power supply socket.
7. The method of claim 6, wherein after the stopping of the power supply to the sub-machine, the method further comprises:
and the sub machine executes discharging operation, and when the discharging time of the sub machine is determined to be greater than a preset time threshold value, the electric suction device is controlled to be in an open state.
8. The method of claim 1, wherein before the determining that the sub-machine is installed in place on the main machine, the method further comprises:
and when the host receives a second instruction, responding to the second instruction and detecting whether the submachine is installed in place on the host.
9. The method according to claim 8, wherein the host computer further comprises a first switch and a second switch, wherein the open-close state of the first switch represents whether the sub computer is covered by the host computer upper panel; the opening and closing state of the second switch represents whether the submachine is inserted into the host installation cavity or not;
the detecting whether the submachine is installed in place on the main machine comprises the following steps:
detecting whether the first switch and the second switch are both in a closed state;
if both are in the closed state, determining that the submachine is installed in place on the main machine;
and if any one switch is in an open state, determining that the sub machine is not installed in place on the main machine.
10. The method of claim 9, further comprising:
when the host receives a stop instruction or detects that the first switch is in an open state, the host is controlled to send the stop instruction to the submachine through the information transmission line;
the submachine responds to the shutdown instruction and returns corresponding shutdown information to the host machine through the information transmission line;
and controlling the host machine to control the submachine to be in a non-working state based on the shutdown information.
11. The method according to claim 1, wherein the communication scheme of the information transmission line is a single-wire half-duplex communication scheme.
12. An information interaction device is applied to an air conditioner and is characterized in that the air conditioner comprises a host machine and a sub machine, wherein the host machine comprises a first socket, and the sub machine comprises a second socket corresponding to the first socket; wherein the first jack comprises a first communications jack and the second jack comprises a second communications jack; the device comprises:
the determining unit is used for determining that the submachine is installed in place on the host, and controlling the host to send a first instruction to the submachine through an information transmission line formed by the first communication socket and the second communication socket when determining that the output voltage and the output current of any one communication socket meet communication conditions when the first communication socket is connected with the second communication socket;
and the control unit is used for responding the first instruction by the sub machine to generate response information and controlling the main machine to receive the response information sent by the sub machine through the information transmission line.
13. An air conditioner, characterized in that the air conditioner comprises: a processor and a memory configured to store a computer program capable of running on the processor,
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 11 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 11.
CN202110749942.XA 2021-07-02 2021-07-02 Information interaction method and device, air conditioner and storage medium Pending CN115560436A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110749942.XA CN115560436A (en) 2021-07-02 2021-07-02 Information interaction method and device, air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110749942.XA CN115560436A (en) 2021-07-02 2021-07-02 Information interaction method and device, air conditioner and storage medium

Publications (1)

Publication Number Publication Date
CN115560436A true CN115560436A (en) 2023-01-03

Family

ID=84736885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110749942.XA Pending CN115560436A (en) 2021-07-02 2021-07-02 Information interaction method and device, air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN115560436A (en)

Similar Documents

Publication Publication Date Title
US11162700B2 (en) Method and apparatus for identifying air-conditioning circuit, and air conditioner
JP3162069U (en) Temperature control power supply device
CN107906697B (en) Air conditioner
CN202003174U (en) Remote controller and power supply control circuit of same
CN115560436A (en) Information interaction method and device, air conditioner and storage medium
CN203810635U (en) Air conditioner load control device capable of following air conditioner panel opening and closing status and air conditioner
CN207586677U (en) Time switch
CN101614431B (en) Control circuit of air conditioner
WO2018133409A1 (en) Power management circuit, electronic device, and method for controlling electronic device
CN108001130B (en) Switching circuit, tire pressure monitoring system and electricity saving method of tire pressure monitoring system
CN116610063B (en) Control system for power supply of vehicle
CN202383814U (en) Remote controller with voice prompt function
CN206819515U (en) A kind of testing chamber for medicine stability warning device
CN111174390A (en) Power taking circuit, wire controller, air conditioner and resistance control method
US20120079307A1 (en) PSU Self-Test
CN203907886U (en) Air-conditioner load control device following opening and closing state of air-conditioner panel and air-conditioner
CN216083451U (en) Sensor drive circuit, system and air conditioner
CN216897718U (en) Air conditioner energy-saving control device based on window magnetism monitoring
CN217082870U (en) Air-conditioning gateway
CN216672981U (en) Key circuit, power control system and vehicle
CN220043435U (en) Power supply time sequence control device of road side MEC system
CN214278709U (en) Sound sensitive control panel
CN217133344U (en) Plug-in interface protection circuit applied to plug-in monitoring equipment
CN213278624U (en) Energy-saving wiring board for computer
CN202852141U (en) Self-suction electromagnetic valve driving device of gas water heater

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination