CN109140684A - Air-conditioning and its communication fault detection method, device and storage medium - Google Patents
Air-conditioning and its communication fault detection method, device and storage medium Download PDFInfo
- Publication number
- CN109140684A CN109140684A CN201810954112.9A CN201810954112A CN109140684A CN 109140684 A CN109140684 A CN 109140684A CN 201810954112 A CN201810954112 A CN 201810954112A CN 109140684 A CN109140684 A CN 109140684A
- Authority
- CN
- China
- Prior art keywords
- computer
- host computer
- test data
- slave computer
- self
- 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.)
- Granted
Links
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/30—Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
- F24F11/32—Responding to malfunctions or emergencies
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/62—Control 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/63—Electronic processing
- F24F11/64—Electronic processing using pre-stored data
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
Abstract
This application involves a kind of air-conditioning and its communication fault detection methods, device and storage medium, export the host computer of host computer test data to air-conditioning;The address that host computer is called the roll according to host computer test data is monitored, host computer communication failure is carried out according to address and detects to obtain upper computer detection result;The slave computer for exporting slave computer test data to air-conditioning carries out slave computer communication failure according to the feedback of slave computer and detects to obtain slave computer testing result, wherein the feedback for being fed back to slave computer and being carried out according to slave computer test data of slave computer.Corresponding test data is sent to the upper computer and lower computer of air-conditioning respectively, communication failure detection is carried out according to the feedback of the address of the roll-call of the host computer listened to and slave computer, can quick lock in the reason of leading to communication failure, communication failure detection efficiency is high.
Description
Technical field
This application involves communication detection technical fields, more particularly to a kind of air-conditioning and its communication fault detection method, dress
It sets and storage medium.
Background technique
Current controlling intelligent household appliances especially residential central air conditioning is very universal in life, but due to its function
Relative complex, so that product development after-sales service difficulty is also relatively large, especially the communication failure during after-sales service is accounted for
Very big maintenance rate usually repairs master worker and needs to be taken time and effort, or directly that electrical appliance kit is complete with the debugging of various methods
Portion more brings and solves the problems, such as, traditional communication fault detection method detection efficiency is low.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of air-conditioning that communication failure detection efficiency is high and its logical
Interrogate fault detection method, device and storage medium.
A kind of communication fault detection method of air-conditioning, which comprises
Export the host computer of host computer test data to air-conditioning;
The address that the host computer is called the roll according to the host computer test data is monitored, host computer is carried out according to the address
Communication failure detects to obtain upper computer detection result;
It is logical to carry out slave computer according to the feedback of the slave computer for the slave computer for exporting slave computer test data to the air-conditioning
News fault detection obtains slave computer testing result, wherein the slave computer is fed back to the slave computer according to the slave computer
The feedback that test data carries out.
It is described in one of the embodiments, to detect to obtain upper machine examination according to address progress host computer communication failure
Survey result, comprising:
When the address only includes exporting the address of the equipment of the host computer test data, upper computer detection result is
Upper communication is normal;
When it only includes exporting the address of the equipment of the host computer test data that the address is non-, upper computer detection result
For host computer communication abnormality.
The slave computer includes line control machine and outer machine, the output slave computer test data in one of the embodiments,
To the slave computer of the air-conditioning, slave computer communication failure is carried out according to the feedback of the slave computer and detects to obtain the next machine testing knot
Fruit, comprising:
Line control machine test data is exported to the line control machine, number is tested according to the line control machine when receiving the line control machine
According to reply data when, the slave computer testing result is that line control machine communication is normal;When not receiving the line control machine according to institute
When stating the reply data of line control machine test data, the slave computer testing result is line control machine communication abnormality;
Outer machine test data is exported to the outer machine, when receiving the outer machine according to the reply of the outer machine test data
When data, the slave computer testing result is that the communication of outer machine is normal;Number is tested according to the outer machine when not receiving the outer machine
According to reply data when, the slave computer testing result be outer machine communication abnormality.
In one of the embodiments, before the step of host computer for exporting host computer test data to air-conditioning, also
Include:
Self-checking data are exported to second communicating circuit by the first communicating circuit;
Self-test, which is carried out, according to the feedback of second communicating circuit obtains self-detection result;Wherein, second communicating circuit
The feedback for being fed back to second communicating circuit and being carried out according to the self-checking data;
When the self-detection result is to communicate normal, the host computer of the progress output host computer test data to air-conditioning
Step.
It is described in one of the embodiments, that self-test knot is obtained according to the progress self-test of the feedback of second communicating circuit
Fruit, comprising:
When receiving reply data of second communicating circuit according to the self-checking data, self-detection result is logical
News are normal;
When not receiving reply data of second communicating circuit according to the self-checking data, self-detection result is
Communication abnormality.
In one of the embodiments, before the step of host computer for exporting host computer test data to air-conditioning, also
Include:
Receive the roll-call data that the host computer of air-conditioning is sent;
According to the roll-call data by the first communicating circuit reply data to the host computer, and receive the second communication electricity
The snoop results on road;
Self-test, which is carried out, according to the snoop results obtains self-detection result;
When the self-detection result is to communicate normal, the host computer of the progress output host computer test data to air-conditioning
Step.
It is described in one of the embodiments, that self-detection result is obtained according to snoop results progress self-test, comprising:
When snoop results are to listen to the first communicating circuit response, self-detection result is that communication is normal;
When snoop results are not hear the first communicating circuit response, self-detection result is communication abnormality.
A kind of communication failure detection device of air-conditioning, described device include:
Host computer test data output module, for exporting the host computer of host computer test data to air-conditioning;
Upper computer detection module, the address called the roll for monitoring the host computer according to the host computer test data, root
Host computer communication failure is carried out according to the address to detect to obtain upper computer detection result;
Slave computer detection module, for exporting the slave computer of slave computer test data to the air-conditioning, according to the bottom
The feedback of machine carries out slave computer communication failure and detects to obtain slave computer testing result, wherein being fed back to for the slave computer is described
The feedback that slave computer is carried out according to the slave computer test data.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor
It is performed the steps of when row
Export the host computer of host computer test data to air-conditioning;
The address that the host computer is called the roll according to the host computer test data is monitored, host computer is carried out according to the address
Communication failure detects to obtain upper computer detection result;
It is logical to carry out slave computer according to the feedback of the slave computer for the slave computer for exporting slave computer test data to the air-conditioning
News fault detection obtains slave computer testing result, wherein the slave computer is fed back to the slave computer according to the slave computer
The feedback that test data carries out.
A kind of air-conditioning, including detection device, upper computer and lower computer, the host computer and the slave computer are all connected with described
Detection device,
The detection device obtains upper computer detection result and slave computer testing result for executing above-mentioned steps;
The host computer is called the roll for the host computer test data based on the received;
The slave computer is fed back for the slave computer test data based on the received.
Above-mentioned air-conditioning and its communication fault detection method, device and storage medium, output host computer test data to air-conditioning
Host computer;The address that host computer is called the roll according to host computer test data is monitored, the inspection of host computer communication failure is carried out according to address
Measure upper computer detection result;Slave computer test data is exported to the slave computer of air-conditioning, is carried out down according to the feedback of slave computer
Position machine communication failure detects to obtain slave computer testing result, wherein the slave computer that is fed back to of slave computer tests number according to slave computer
According to the feedback of progress.Corresponding test data is sent respectively to the upper computer and lower computer of air-conditioning, according to the host computer listened to
Roll-call address and slave computer feedback can quick lock in the reason of leading to communication failure, communication failure detection efficiency is high.
Detailed description of the invention
Fig. 1 is the flow diagram of the communication fault detection method of air-conditioning in one embodiment;
Fig. 2 is the flow diagram of the communication fault detection method of air-conditioning in another embodiment;
Fig. 3 is the flow diagram of the communication fault detection method of air-conditioning in another embodiment;
Fig. 4 is the flow diagram of the communication fault detection method of air-conditioning in another embodiment;
Fig. 5 is the structural block diagram of the communication failure detection device of air-conditioning in one embodiment;
Fig. 6 is the structural block diagram of air-conditioning in one embodiment;
Fig. 7 is the structural schematic diagram of air-conditioning in one embodiment;
Fig. 8 is the structural schematic diagram of detection instrument in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood
The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not
For limiting the application.
The application scenarios of the application are as follows: applied to the air-conditioning of two core communication modes, basic principle is first according to certain timing
It charges to storage capacitor, then discharges to capacitor;The communication process of upper and lower computer is completed in capacitor discharging time, to realize communication
With the dual function of power supply, power supply and the control of communication succession are realized on host computer, pass through the communication of upper and lower computer
Process judge communication whether failure.
In one embodiment, it as shown in Figure 1, providing a kind of communication fault detection method of air-conditioning, answers in this way
For being illustrated for the controller of detection instrument, comprising the following steps:
Step S110: the host computer of output host computer test data to air-conditioning.
Specifically, host computer is air-conditioning internal machine, and the timing that interior machine is powered and communicated as PC control, controller is sent
Host computer test data, that is, host computer tests exclusive data frame to interior machine.
Step S120: monitoring the address that host computer is called the roll according to host computer test data, and it is logical to carry out host computer according to address
News fault detection obtains upper computer detection result.
Specifically, it after the host computer that interior machine receives controller transmission tests exclusive data frame, can be tested according to host computer
Exclusive data frame carries out corresponding slave computer and calls the roll, since host computer, slave computer are all each device addresses in same bus
It is all different, the address of the roll-call of interior machine can be listened to, host computer communication failure is carried out according to the address of the roll-call of interior machine
Detection.
Step S130: the slave computer of output slave computer test data to air-conditioning carries out slave computer according to the feedback of slave computer
Communication failure detects to obtain slave computer testing result.
Specifically, the feedback for being fed back to slave computer and being carried out according to slave computer test data of slave computer, corresponding output are the next
Machine test data, that is, slave computer special test data frame to slave computer, slave computer slave computer test data can carry out based on the received
Corresponding feedback, according to the feedback of slave computer judge slave computer whether communication failure.
Further, controller, can be by upper computer detection after obtaining upper computer detection result and slave computer testing result
As a result it exports with slave computer testing result to display device and shows.
The communication fault detection method of above-mentioned air-conditioning, the host computer of output host computer test data to air-conditioning;It monitors upper
The address that machine is called the roll according to host computer test data carries out host computer communication failure according to address and detects to obtain upper computer detection knot
Fruit;The slave computer for exporting slave computer test data to air-conditioning carries out slave computer communication failure according to the feedback of slave computer and detects
To slave computer testing result, wherein the feedback for being fed back to slave computer and being carried out according to slave computer test data of slave computer.To air-conditioning
Upper computer and lower computer send corresponding test data respectively, according to the address of the roll-call of the host computer listened to and slave computer
Feedback can quick lock in the reason of leading to communication failure, communication failure detection efficiency is high.
In one embodiment, step S120 includes: when address only includes the ground for exporting the equipment of host computer test data
When location, upper computer detection result is that upper communication is normal;It only include the ground for exporting the equipment of host computer test data when address is non-
When location, upper computer detection result is host computer communication abnormality.
Specifically, after interior machine receives host computer test data, can only call the roll the controller of detection instrument, will not point again
Other devices in name slave computer, in the present embodiment, other devices include line control machine and outer machine, and interior machine is only called the roll controller;
When the controller in detection instrument based on the received address detected to call the roll address only include output host computer test data
When the address of equipment, judge that interior machine can indicate that interior machine communication is normal with oneself normal communication;If the address that interior machine is called the roll is non-
When only including the address of the equipment of output host computer test data, that is, listen to the address that the address that interior machine is called the roll includes controller
Outside, when the address for further including other devices or the address without including controller, judge that interior machine reception is problematic, machine in expression
Communication abnormality.
Further, can also limit detection instrument controller monitor host computer according to host computer test data when default
The address of roll-call in length carries out host computer communication failure according to address and detects to obtain upper computer detection as a result, accordingly, step
S120 includes: when the address of the roll-call listened in preset duration only includes the address for exporting the equipment of host computer test data
When, upper computer detection result is that upper communication is normal;It only include output when the address of the roll-call listened in preset duration is non-
When the address of the equipment of host computer test data, upper computer detection result is host computer communication abnormality.In the present embodiment, it presets
Shi Changwei 30s, if continuous 30s, interior machine all cannot roll-call detection instrument controller, then judge in machine receive it is problematic,
Machine communication abnormality in showing.
In one embodiment, as shown in Fig. 2, slave computer includes line control machine and outer machine, step S130 includes step S132
With step S134.
Step S132: output line control machine test data is to line control machine, when receiving line control machine according to line control machine test data
Reply data when, slave computer testing result is that line control machine communication is normal;Number is tested according to line control machine when not receiving line control machine
According to reply data when, slave computer testing result be line control machine communication abnormality.
Step S134: the outer machine test data of output to outer machine, when receiving outer machine according to the reply number of outer machine test data
According to when, slave computer testing result is that the communication of outer machine is normal;When not receiving reply data of the outer machine according to outer machine test data,
Slave computer testing result is outer machine communication abnormality.
Specifically, the controller that can also further limit detection instrument exports slave computer test data to slave computer, according to
Feedback of the slave computer in preset duration carries out slave computer communication failure and detects to obtain slave computer testing result, accordingly, step
S132 includes: output line control machine test data to line control machine, is tested when receiving line control machine in preset duration according to line control machine
When the reply data of data, slave computer testing result is that line control machine communication is normal;When not receiving line control machine in preset duration
When according to the reply data of line control machine test data, slave computer testing result is line control machine communication abnormality;Step S134 includes: defeated
Machine test data is to outer machine out, when receiving reply data of the outer machine according to outer machine test data in preset duration, under
Position machine testing result is that the communication of outer machine is normal;When not receiving outer machine in preset duration according to the reply number of outer machine test data
According to when, slave computer testing result be outer machine communication abnormality.In the present embodiment, preset duration 30s.
Further, the communicating circuit partial function of detection instrument i.e. the first communicating circuit and the second communicating circuit are and sky
It adjusts unit communication bus to interact, achievees the purpose that segmentation detection communication line, the first communicating circuit are the communication of slave computer
Circuit is not required to be powered the control of timing;Second communicating circuit is host computer communicating circuit, is needed when testing outer machine part
It is powered the control of timing.
When the line control machine test data that the controller that line control machine receives detection instrument is sent, line control machine will do it line traffic control
Device test data is replied, when the reply of line control machine every string specific test data can be received in the controller 30s of detection instrument,
Then illustrate that line control machine communication is normal.
Due to the low-power consumption that outer machine has the function of, the relay 1 by interior machine is needed to realize, when needing to enter low-power consumption
When function, control relay is disconnected, and inside and outside inter-machine communication line is to disconnect;In order to avoid the interference of interior machine data, second is used
Communicating circuit individually tests outer machine communication condition: the second communicating circuit imitates the timing control that interior machine is powered and communicates,
And the outer machine of outer machine test data roll-call is sent, if can normally receive in the controller 30s of detection instrument, outer machine is every to be gone here and there back
Complex data, then outer machine communication is normal, otherwise outer machine communication abnormality.
In one embodiment, as shown in figure 3, before step S110, including step S011 to step S013.
Step S011: self-checking data are exported by the first communicating circuit.
Step S012: self-test is carried out according to the feedback of the second communicating circuit and obtains self-detection result.
Step S013: when self-detection result is to communicate normal, step S110 is carried out.
Specifically, the feedback for being fed back to the second communicating circuit and being carried out according to self-checking data of the second communicating circuit, when
After the air-conditioning communication failure of two core communicating circuits, the first communicating circuit interface that will test tool is connected to line control machine communications connecting blocks
On;First communicating circuit interface is connected on outer machine communications connecting blocks;After powering on, the controller of detection instrument sends closure control letter
Number control detection instrument internal relay closure carry out self-test, verify the first communicating circuit and the second communicating circuit it is whether intact,
Self checking method is as follows: exporting self-checking data by the first communicating circuit, self-checking data are detection instrument self-test spy use
Data, interior machine, line control machine and outer machine not can recognize self-checking data, self-checking data by the first communicating circuit export to
In bus, self-test is carried out according to the feedback of the second communicating circuit and obtains self-detection result.
In one embodiment, step S012 includes: when time for receiving the second communicating circuit according to self-checking data
When complex data, self-detection result is that communication is normal;When not receiving the second communicating circuit according to the reply data of self-checking data
When, self-detection result is communication abnormality.
Specifically, when receiving reply data of second communicating circuit according to self-checking data, illustrate the second communication
Circuit can normally receive self-checking data and feed back to complex data, and the first communicating circuit and the second communicating circuit are normal,
When not receiving reply data of second communicating circuit according to self-checking data, then illustrate that the first communicating circuit and second leads to
Interrogate the communication abnormality between circuit.
In another embodiment, as shown in figure 4, before step S110, including step S014 to step S017.
Step S014: the roll-call data that the host computer of air-conditioning is sent are received.
Step S015: according to roll-call data by the first communicating circuit reply data to host computer, and the second communication is received
The snoop results of circuit.
Step S016: self-test is carried out according to snoop results and obtains self-detection result.
Step S017: when self-detection result is to communicate normal, step S110 is carried out.
Specifically, after the air-conditioning communication failure of two core communicating circuits, the first communicating circuit interface that will test tool is connect
Onto line control machine communications connecting blocks;Second communicating circuit interface is connected on outer machine communications connecting blocks;After powering on, the control of detection instrument
Device transmission closure processed controls the relay closure progress self-test of signal control detection instrument, verifies the first communicating circuit and second and leads to
Interrogate whether circuit is intact, and self checking method is as follows: interior machine is as host computer roll-call slave computer (giving slave computer sending point data), and the
One communicating circuit receives, and can reply in fixed data frames to bus, and the second communicating circuit, which monitors the first communicating circuit, at this time is
It is no to there is response to obtain the first snoop results and be sent to controller, self-test is carried out according to snoop results and obtains self-detection result, when certainly
Examine result be communicate it is normal when, controller output disconnect control signal control relay disconnect, and execute step S110 start into
The detection of row unit equipment communication failure.
In one embodiment, step S016 includes: the self-test when snoop results are to listen to the first communicating circuit response
As a result normal for communication;When snoop results are not hear the first communicating circuit response, self-detection result is communication abnormality.
Specifically, when snoop results are to listen to the first communicating circuit response, illustrate that the first communicating circuit and second leads to
Communication between news circuit be it is intact, illustrate that communication is normal, when snoop results are to monitor less than the first communicating circuit response, then
Illustrate to communicate unsuccessful, communication abnormality between the first communicating circuit and the second communicating circuit.
Further, after step S015, further includes: reply data extremely by the second communicating circuit according to roll-call data
Host computer, and receive the snoop results of the first communicating circuit.Step S016 is updated to the snoop results according to the second communicating circuit
Self-test, which is carried out, with the snoop results of the first communicating circuit obtains self-detection result.
Specifically, after the snoop results for obtaining the second communicating circuit, when second takes turns interior machine and call the roll, it is exchanged with the first communication
Circuit is monitored, and the second communicating circuit carries out reply data, and the first communicating circuit monitors whether the second communicating circuit has response to obtain
Snoop results are simultaneously sent to controller.The snoop results of second communicating circuit and the snoop results of the first communicating circuit carry out self-test
Obtain self-detection result.
Further, when the snoop results of the second communicating circuit are to listen to the first communicating circuit response, and first communicates
The snoop results of circuit are when listening to the second communicating circuit response, and self-detection result is that communication is normal;When the second communicating circuit
Snoop results are not hear the first communicating circuit response, and the second snoop results are when listening to the second communicating circuit response,
Self-detection result is communication abnormality;When the snoop results of the second communicating circuit are to listen to the first communicating circuit response, and first is logical
The snoop results of news circuit are when not hearing the second communicating circuit response, and self-detection result is communication abnormality;When the second communication electricity
The snoop results on road are not hear the first communicating circuit response, and the snoop results of the first communicating circuit are not hear second
When communicating circuit response, self-detection result is communication abnormality.
Specifically, when the snoop results of the second communicating circuit are to listen to the first communicating circuit response, and the first communication is electric
The snoop results on road are when listening to the second communicating circuit response, and self-detection result is that communication is normal, and controller output disconnects control
Signal control relay disconnects, and executes step S110 and start to carry out the detection of unit equipment communication failure.When the second communicating circuit
Snoop results and the first communicating circuit snoop results in have one when not listening to response, then illustrate to communicate it is unsuccessful,
Detection instrument is abnormal.
The communication fault detection method of above-mentioned air-conditioning, after unit quotes communication failure, unit power-off passes through detection instrument
Controller carries out self-test to detection instrument, after detecting that detection instrument communication is normal, passes through corresponding test data pair respectively
Total built-in unit i.e. in machine, line control machine and outer machine detected, according to the feedback of each equipment can quick lock in lead to communication failure
The reason of, communication failure detection efficiency is high, avoids traditional maintenance master worker and needs with the method attempted or directly by electric appliance
Box is all more brought solves the problem of to cause maintenance cost high and heavy workload, and needs high altitude operation some
Occasion, the safety to maintenance personal are also a kind of test, the big problem of security risk.
It should be understood that although each step in the flow chart of Fig. 1-4 is successively shown according to the instruction of arrow,
These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps
Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 1-4
Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps
Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively
It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately
It executes.
In one embodiment, as shown in figure 5, a kind of communication failure detection device of air-conditioning, device include that host computer is surveyed
Try data outputting module 110, upper computer detection module 120 and slave computer detection module 130, in which:
Host computer test data output module 110, for exporting the host computer of host computer test data to air-conditioning.
Upper computer detection module 120, the address called the roll for monitoring host computer according to host computer test data, according to address
Host computer communication failure is carried out to detect to obtain upper computer detection result.
Slave computer detection module 130, for exporting the slave computer of slave computer test data to air-conditioning, according to the anti-of slave computer
Feed row slave computer communication failure detects to obtain slave computer testing result, wherein slave computer is fed back to slave computer according to bottom
The feedback that machine test data carries out.
In one embodiment, upper computer detection module includes: when address only includes exporting setting for host computer test data
When standby address, upper computer detection result is that upper communication is normal;It only include setting for output host computer test data when address is non-
When standby address, upper computer detection result is host computer communication abnormality.
In one embodiment, slave computer includes line control machine and outer machine, and upper computer detection module includes that line control machine detection is single
First and outer machine testing unit.
Line control machine detection unit is for exporting line control machine test data to line control machine, when receiving line control machine according to line control machine
When the reply data of test data, slave computer testing result is that line control machine communication is normal;When not receiving line control machine according to line traffic control
When the reply data of device test data, slave computer testing result is line control machine communication abnormality.
Outer machine testing unit is for exporting outer machine test data to outer machine, when receiving outer machine according to outer machine test data
When replying data, slave computer testing result is that the communication of outer machine is normal;When not receiving outer machine according to the reply of outer machine test data
When data, slave computer testing result is outer machine communication abnormality.
In one embodiment, further include before host computer test data output module self-checking data outputting module and
Selftest module.Self-checking data outputting module is used to export self-checking data by the first communicating circuit to the second communication electricity
Road;Selftest module is used to carry out self-test according to the feedback of the second communicating circuit to obtain self-detection result;Wherein, second communicating circuit
It is fed back to the feedback that the second communicating circuit is carried out according to self-checking data;When self-detection result is to communicate normal, control upper
Machine test data output module exports the host computer of host computer test data to air-conditioning.
In one embodiment, selftest module includes: when time for receiving the second communicating circuit according to self-checking data
When complex data, self-detection result is that communication is normal;When not receiving the second communicating circuit according to the reply data of self-checking data
When, self-detection result is communication abnormality.
It in another embodiment, further include roll-call data reception module, prison before host computer test data output module
Listen module and selftest module.Roll-call data reception module is used to receive the roll-call data that the host computer of air-conditioning is sent;Monitor module
For replying data to host computer by the first communicating circuit according to roll-call data, and receive the monitoring knot of the second communicating circuit
Fruit;Selftest module is used to carry out self-test according to snoop results to obtain self-detection result;When self-detection result is to communicate normal, in control
Position machine test data output module exports the host computer of host computer test data to air-conditioning.
In one embodiment, selftest module includes: the self-test when snoop results are to listen to the first communicating circuit response
As a result normal for communication;When snoop results are not hear the first communicating circuit response, self-detection result is communication abnormality.
The communication failure detection device of above-mentioned air-conditioning, after unit quotes communication failure, unit power-off passes through detection instrument
Controller carries out self-test to detection instrument, after detecting that detection instrument communication is normal, passes through corresponding test data pair respectively
Total built-in unit i.e. in machine, line control machine and outer machine detected, according to the feedback of each equipment can quick lock in lead to communication failure
The reason of, communication failure detection efficiency is high.
The specific of communication failure detection device about air-conditioning limits the communication failure that may refer to above for air-conditioning
The restriction of detection method, details are not described herein.Modules in the communication failure detection device of above-mentioned air-conditioning can whole or portion
Divide and is realized by software, hardware and combinations thereof.Above-mentioned each module can be embedded in the form of hardware or independently of computer equipment
In processor in, can also be stored in a software form in the memory in computer equipment, in order to processor calling hold
The corresponding operation of the above modules of row.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated
Machine program performs the steps of the host computer of output host computer test data to air-conditioning when being executed by processor;Monitor host computer
According to the address that host computer test data is called the roll, host computer communication failure is carried out according to address and detects to obtain upper computer detection knot
Fruit;The slave computer for exporting slave computer test data to air-conditioning carries out slave computer communication failure according to the feedback of slave computer and detects
To slave computer testing result, wherein the feedback for being fed back to slave computer and being carried out according to slave computer test data of slave computer.
In one embodiment, when computer program is executed by processor, the inspection of host computer communication failure is carried out according to address
Measure upper computer detection result, comprising: local location only includes host computer when exporting the address of the equipment of host computer test data
Testing result is that upper communication is normal;When it only includes the address of equipment of output host computer test data that address is non-, host computer
Testing result is host computer communication abnormality.
In one embodiment, when computer program is executed by processor, slave computer includes line control machine and outer machine, under output
Position machine test data carries out slave computer communication failure according to the feedback of slave computer and detects to obtain the next machine examination to the slave computer of air-conditioning
The step of surveying result, comprising: output line control machine test data is to line control machine, when receiving line control machine according to line control machine test data
Reply data when, slave computer testing result is that line control machine communication is normal;Number is tested according to line control machine when not receiving line control machine
According to reply data when, slave computer testing result be line control machine communication abnormality;Outer machine test data is exported to outer machine, when receiving
When outer machine is according to the reply data of outer machine test data, slave computer testing result is that the communication of outer machine is normal;When not receiving outer machine
When according to the reply data of outer machine test data, slave computer testing result is outer machine communication abnormality.
In one embodiment, when computer program is executed by processor, output host computer test data is upper to air-conditioning
Before the step of position machine, further includes: export self-checking data to the second communicating circuit by the first communicating circuit;According to second
The feedback of communicating circuit carries out self-test and obtains self-detection result;Wherein, the second communicating circuit be fed back to the second communicating circuit according to
The feedback that self-checking data carry out;When self-detection result is to communicate normal, output host computer test data is carried out to air-conditioning
The step of host computer.
In one embodiment, it when computer program is executed by processor, is carried out certainly according to the feedback of the second communicating circuit
Inspection obtains self-detection result, comprising: when receiving reply data of second communicating circuit according to self-checking data, self-detection result
It is normal to communicate;When not receiving reply data of second communicating circuit according to self-checking data, self-detection result is communication
It is abnormal.
In one embodiment, when computer program is executed by processor, output host computer test data is upper to air-conditioning
Before the step of position machine, further includes: receive the roll-call data that the host computer of air-conditioning is sent;Pass through the first communication according to roll-call data
Circuit replys data to host computer, and receives the snoop results of the second communicating circuit;Self-test is carried out according to snoop results to obtain certainly
Examine result;When self-detection result is to communicate normal, the step of exporting host computer of the host computer test data to air-conditioning is carried out.
In one embodiment, when computer program is executed by processor, self-test is carried out according to snoop results and obtains self-test
As a result, comprising: when snoop results are to listen to the first communicating circuit response, self-detection result is that communication is normal;Work as snoop results
When not hear the first communicating circuit response, self-detection result is communication abnormality.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable
It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen
Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise
Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM
(PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include
Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms,
Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing
Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM
(RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
In one embodiment, as shown in fig. 6, a kind of air-conditioning, including detection device 210, host computer 220 and slave computer
230, host computer 220 and slave computer 230 are all connected with detection device 210, and detection device 210 is for exporting host computer test data extremely
The host computer 220 of air-conditioning;The address that host computer 220 is called the roll according to host computer test data is monitored, host computer is carried out according to address
Communication failure detects to obtain upper computer detection result;And the slave computer 230 of slave computer test data to air-conditioning is exported, under
The feedback of position machine 230 carries out slave computer communication failure and detects to obtain slave computer testing result;Host computer 220 is for based on the received
220 test data of host computer is called the roll;Slave computer 230 is fed back for 230 test data of slave computer based on the received.
Specifically, in the present embodiment, air-conditioning is the air-conditioning of two cores communication, and host computer is interior machine unit, and slave computer is outer
Machine unit and line control machine, detection device are detection instrument, connection relationship such as Fig. 7 institute of detection instrument and host computer, slave computer
Show.The connection that will test tool is connected between air-conditioning upper and lower computer on connection, it can be achieved that judging automatically leads to communication failure
The reason of.
Further, as shown in figure 8, detection device includes controller, the first communicating circuit, the second communicating circuit, relay
Device (relay 2 in corresponding diagram), first interface (COM1 in corresponding diagram) and second interface (COM2 in corresponding diagram), first
Communicating circuit and the second communicating circuit are all connected with controller, and the first communicating circuit connects the second communicating circuit by relay, the
One communicating circuit be used to connect by first interface in machine unit and line control machine connection, the second communicating circuit is for passing through the
Two interfaces connect the connection of interior machine unit and outer machine unit.
In one embodiment, detection device further includes the display for connecting controller.Communication failure is obtained in controller
As a result after, communication failure result is sent to display and is shown.Display can be LED light, display screen etc., staff
Communication failure device can be intuitively known by display, improve convenience.Above-mentioned detection device not only can be on unit
The reason of locking leads to communication failure, the functional interface that individually can also carry out mainboard to interior machine, line control machine, outer machine are tested.
The specific of interaction about the equipment room in air-conditioning limits the communication failure inspection that may refer to above for air-conditioning
The restriction of survey method, details are not described herein.
Above-mentioned air-conditioning sends corresponding test data, root by upper computer and lower computer of the detection device to air-conditioning respectively
According to the roll-call of the host computer listened to address and slave computer feedback can quick lock in lead to air-conditioning communication failure the reason of, lead to
It is high to interrogate fault detection efficiency.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously
It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art
It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application
Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.
Claims (10)
1. a kind of communication fault detection method of air-conditioning, which comprises
Export the host computer of host computer test data to air-conditioning;
The address that the host computer is called the roll according to the host computer test data is monitored, host computer communication is carried out according to the address
Fault detection obtains upper computer detection result;
The slave computer for exporting slave computer test data to the air-conditioning carries out slave computer communication event according to the feedback of the slave computer
Barrier detection obtains slave computer testing result, wherein the slave computer that is fed back to of the slave computer is tested according to the slave computer
The feedback that data carry out.
2. the method according to claim 1, wherein described carry out the inspection of host computer communication failure according to the address
Measure upper computer detection result, comprising:
When the address only includes exporting the address of the equipment of the host computer test data, upper computer detection result is upper
Communication is normal;
When it only includes exporting the address of the equipment of the host computer test data that the address is non-, upper computer detection result is upper
Position machine communication abnormality.
3. the method according to claim 1, wherein the slave computer includes line control machine and outer machine, the output
Slave computer test data carries out slave computer communication failure according to the feedback of the slave computer and detects to the slave computer of the air-conditioning
The step of to slave computer testing result, comprising:
Line control machine test data is exported to the line control machine, when receiving the line control machine according to the line control machine test data
When replying data, the slave computer testing result is that line control machine communication is normal;When not receiving the line control machine according to the line
When controlling the reply data of device test data, the slave computer testing result is line control machine communication abnormality;
Outer machine test data is exported to the outer machine, when receiving the outer machine according to the reply data of the outer machine test data
When, the slave computer testing result is that the communication of outer machine is normal;When not receiving the outer machine according to the outer machine test data
When replying data, the slave computer testing result is outer machine communication abnormality.
4. the method according to claim 1, wherein host computer of the output host computer test data to air-conditioning
The step of before, further includes:
Self-checking data are exported to second communicating circuit by the first communicating circuit;
Self-test, which is carried out, according to the feedback of second communicating circuit obtains self-detection result;Wherein, second communicating circuit is anti-
Feedback is the feedback that second communicating circuit is carried out according to the self-checking data;
When the self-detection result is to communicate normal, the step of host computer of the output host computer test data to air-conditioning is carried out
Suddenly.
5. according to the method described in claim 4, it is characterized in that, described carry out certainly according to the feedback of second communicating circuit
Inspection obtains self-detection result, comprising:
When receiving reply data of second communicating circuit according to the self-checking data, self-detection result is to communicate just
Often;
When not receiving reply data of second communicating circuit according to the self-checking data, self-detection result is communication
It is abnormal.
6. the method according to claim 1, wherein host computer of the output host computer test data to air-conditioning
The step of before, further includes:
Receive the roll-call data that the host computer of air-conditioning is sent;
According to the roll-call data by the first communicating circuit reply data to the host computer, and receive the second communicating circuit
Snoop results;
Self-test, which is carried out, according to the snoop results obtains self-detection result;
When the self-detection result is to communicate normal, the step of host computer of the output host computer test data to air-conditioning is carried out
Suddenly.
7. according to the method described in claim 6, it is characterized in that, described obtain self-test according to snoop results progress self-test
As a result, comprising:
When snoop results are to listen to the first communicating circuit response, self-detection result is that communication is normal;
When snoop results are not hear the first communicating circuit response, self-detection result is communication abnormality.
8. a kind of communication failure detection device of air-conditioning, which is characterized in that described device includes:
Host computer test data output module, for exporting the host computer of host computer test data to air-conditioning;
Upper computer detection module, the address called the roll for monitoring the host computer according to the host computer test data, according to institute
Address progress host computer communication failure is stated to detect to obtain upper computer detection result;
Slave computer detection module, for exporting the slave computer of slave computer test data to the air-conditioning, according to the slave computer
Feedback carries out slave computer communication failure and detects to obtain slave computer testing result, wherein the slave computer is fed back to the bottom
The feedback that machine is carried out according to the slave computer test data.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt
Processor realizes step described in any one of claims 1 to 7 when executing.
10. a kind of air-conditioning, which is characterized in that including detection device, upper computer and lower computer, the host computer and the slave computer
It is all connected with the detection device,
The step that the detection device is used to execute as described in any one of claims 1 to 7 obtain upper computer detection result with
Slave computer testing result;
The host computer is called the roll for the host computer test data based on the received;
The slave computer is fed back for the slave computer test data based on the received.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954112.9A CN109140684B (en) | 2018-08-21 | 2018-08-21 | Air conditioner, communication fault detection method and device thereof and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954112.9A CN109140684B (en) | 2018-08-21 | 2018-08-21 | Air conditioner, communication fault detection method and device thereof and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109140684A true CN109140684A (en) | 2019-01-04 |
CN109140684B CN109140684B (en) | 2020-08-25 |
Family
ID=64790548
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810954112.9A Active CN109140684B (en) | 2018-08-21 | 2018-08-21 | Air conditioner, communication fault detection method and device thereof and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109140684B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110260475A (en) * | 2019-05-13 | 2019-09-20 | 珠海格力电器股份有限公司 | Bus control method, device, equipment, host computer and air-conditioning |
CN111765714A (en) * | 2020-06-01 | 2020-10-13 | 珠海格力电器股份有限公司 | Group control method and device of integrated condensing unit, storage medium and condensing unit |
CN112178881A (en) * | 2020-09-30 | 2021-01-05 | 珠海格力电器股份有限公司 | Self-checking method and device of RS485 network |
CN112556131A (en) * | 2020-12-15 | 2021-03-26 | 佛山市顺德区美的电子科技有限公司 | Switching control panel for air conditioning system, air conditioning system and self-adaptive control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07180890A (en) * | 1993-12-22 | 1995-07-18 | Matsushita Seiko Co Ltd | Communication apparatus for air conditioner |
CN101706144A (en) * | 2009-11-05 | 2010-05-12 | 宁波奥克斯空调有限公司 | Method for judging communication failures of indoor unit and outdoor unit of varied-frequency air conditioner |
CN102546341A (en) * | 2011-12-28 | 2012-07-04 | 四川长虹电器股份有限公司 | Method for detecting address conflicts in multi-connected air-conditioning units |
CN104279719A (en) * | 2013-07-02 | 2015-01-14 | 广东美的制冷设备有限公司 | Air conditioning system and communication method thereof |
CN104954214A (en) * | 2015-06-24 | 2015-09-30 | 珠海格力电器股份有限公司 | Method and system for improving RS485 communication extensibility |
-
2018
- 2018-08-21 CN CN201810954112.9A patent/CN109140684B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07180890A (en) * | 1993-12-22 | 1995-07-18 | Matsushita Seiko Co Ltd | Communication apparatus for air conditioner |
CN101706144A (en) * | 2009-11-05 | 2010-05-12 | 宁波奥克斯空调有限公司 | Method for judging communication failures of indoor unit and outdoor unit of varied-frequency air conditioner |
CN102546341A (en) * | 2011-12-28 | 2012-07-04 | 四川长虹电器股份有限公司 | Method for detecting address conflicts in multi-connected air-conditioning units |
CN104279719A (en) * | 2013-07-02 | 2015-01-14 | 广东美的制冷设备有限公司 | Air conditioning system and communication method thereof |
CN104954214A (en) * | 2015-06-24 | 2015-09-30 | 珠海格力电器股份有限公司 | Method and system for improving RS485 communication extensibility |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110260475A (en) * | 2019-05-13 | 2019-09-20 | 珠海格力电器股份有限公司 | Bus control method, device, equipment, host computer and air-conditioning |
CN111765714A (en) * | 2020-06-01 | 2020-10-13 | 珠海格力电器股份有限公司 | Group control method and device of integrated condensing unit, storage medium and condensing unit |
CN111765714B (en) * | 2020-06-01 | 2021-07-30 | 珠海格力电器股份有限公司 | Group control method and device of integrated condensing unit, storage medium and condensing unit |
CN112178881A (en) * | 2020-09-30 | 2021-01-05 | 珠海格力电器股份有限公司 | Self-checking method and device of RS485 network |
CN112556131A (en) * | 2020-12-15 | 2021-03-26 | 佛山市顺德区美的电子科技有限公司 | Switching control panel for air conditioning system, air conditioning system and self-adaptive control method |
Also Published As
Publication number | Publication date |
---|---|
CN109140684B (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109140684A (en) | Air-conditioning and its communication fault detection method, device and storage medium | |
CN104390306B (en) | Air-conditioning communication system, the air-conditioning means of communication and air conditioner | |
CN107741078B (en) | Detection device and detection method | |
CN106415673B (en) | For diagnosing the method and diagnostic testing apparatus of the state in vehicle | |
CN104062967B (en) | The method for diagnosing faults of start stop system and device | |
CN108076660A (en) | A kind of device and method of PCBA functional tests | |
CN106155042A (en) | The method of testing of a kind of entire car controller troubleshooting and device | |
CN107764142A (en) | A kind of double set Redundancy Design all-electronin fuse testers and its method of testing | |
CN109031069A (en) | The diagnostic system of high-tension switch cabinet Partial discharge signal | |
CN109613348A (en) | A kind of high-voltaghe compartment tooling automatic detection device | |
KR20160069884A (en) | Apparatus for testing electric vehicle charging and method thereof | |
CN102928732B (en) | Line diagnosis instrument and line diagnosis method | |
CN106791223A (en) | A kind of monitor terminal goes offline the detection method and system of reason | |
CN109490675B (en) | Early warning method, electronic device and test system | |
CN105182941B (en) | A kind of intelligent bicycle vehicle body device detection system based on bus | |
CN109412819A (en) | Method and device for warning device power down | |
CN104881341A (en) | Server as well as testing method and system for computer hard disk | |
CN109313228B (en) | Electrical network inspection device | |
CN104898070A (en) | Power supply test method and device | |
CN110850354A (en) | Metering fault recognition module detection method, device, system and storage medium | |
CN109729539A (en) | A kind of air conditioner quickly produces survey method with wireless communication module | |
CN109766227A (en) | The test method of server test system and its switch | |
CN109720233A (en) | A kind of split type charging pile and its connecting detection method and apparatus | |
CN108870641A (en) | A kind of driving malfunction detection method, device and air conditioner | |
CN105929273B (en) | Air conditioner and its indoor unit electric heater starting detection system and method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |